Re: styled text to html (mixin' it up)
Re: styled text to html (mixin' it up)
- Subject: Re: styled text to html (mixin' it up)
- From: Scott Anguish <email@hidden>
- Date: Sat, 21 Feb 2004 02:18:10 -0500
On Feb 20, 2004, at 9:18 PM, Ryan Bates wrote:
On Feb 20, 2004, at 3:57 PM, Chilton Webb wrote:
How about the opposite--converting HTML to RTF?
NSAttributedString has several HTML initialization methods. See the
docs at:
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSAttributedString.html
Well, true, but there is a rather major caveat.
RTF doesn't support much what of HTML does, so you'll often get images
inserted in place of tables, etc...
if what you want to do is display HTML, you're much better off looking
at WebKit.
_______________________________________________
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.