Re: HTML
Re: HTML
- Subject: Re: HTML
- From: Kurt Revis <email@hidden>
- Date: Wed, 6 Feb 2002 09:59:39 -0800
On Wednesday, February 6, 2002, at 09:40 AM, Douglas Davidson wrote:
On Wednesday, February 6, 2002, at 05:37 AM, Simson Garfinkel wrote:
Is there an easy way to get HTML out of an NSTextView (other than by
using
the GnuStep NSTextView, that is).?
It looks like you can get HTML into an NSAtributedString with the
NSAttributedString additions, but I don't see a way to get it out.
No, we don't currently provide that.
...
You could probably write an NSAttributedString to HTML converter
yourself without too much difficulty, that would produce HTML in your
preferred style for the use you have in mind.
It's worth noting that there is an implementation of this in
OmniAppKit. (See NSAttributedString-OAExtensions.m, the method
-htmlString.)
(Apparently I'm the unofficial
pointer-outter-of-things-in-the-Omni-frameworks these days...)
--
Kurt Revis
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: HTML (From: Douglas Davidson <email@hidden>) |