Re: HTML
Re: HTML
- Subject: Re: HTML
- From: email@hidden
- Date: Wed, 6 Feb 2002 09:57:24 -0800
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.
You are correct, you can't get it out. This is, at bottom, because
doing a high-quality RTFD-to-HTML conversion is quite a difficult
problem. Particularly if you then want the HTML to work in OS X apps
like TextEdit, which do not currently support CSS -- at that point I
would say it is not difficult, but impossible. The conversion would
necessarily be very lossy and would produce very questionable HTML, and
so it was not done. (I can state this because I would have been the one
to do it :->).
Ben Haller
Stick Software
_______________________________________________
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.