• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: styled text to html (mixin' it up)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >styled text to html (From: Sascha Kuehn <email@hidden>)
 >Re: styled text to html (From: Ryan Bates <email@hidden>)
 >Re: styled text to html (From: Jeremy Dronfield <email@hidden>)
 >Re: styled text to html (From: Jeremy Dronfield <email@hidden>)
 >Re: styled text to html (mixin' it up) (From: Chilton Webb <email@hidden>)
 >Re: styled text to html (mixin' it up) (From: Ryan Bates <email@hidden>)

  • Prev by Date: Re: Apple compliant import / export toolbar icons..
  • Next by Date: precompiled header issues...
  • Previous by thread: Re: styled text to html (mixin' it up)
  • Next by thread: Disclosure Triangle Icon
  • Index(es):
    • Date
    • Thread