• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: styled text to html


  • Subject: Re: styled text to html
  • From: Ryan Bates <email@hidden>
  • Date: Thu, 19 Feb 2004 17:41:40 -0800

You can loop through every character in the text view's text storage and compare the attributes with the previous character's attributes. You can then insert the appropriate HTML tags depending upon what attributes changed.

Ryan

On Feb 19, 2004, at 1:53 PM, Sascha Kuehn wrote:

hi,

is it possible to convert the contents of a text view (different fonts, sizes and colors) into html code?
if yes, how can i do this?

sascha
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: styled text to html
      • From: Jeremy Dronfield <email@hidden>
References: 
 >styled text to html (From: Sascha Kuehn <email@hidden>)

  • Prev by Date: Re: adding objects to mutable dictionary...
  • Next by Date: Re: adding objects to mutable dictionary...
  • Previous by thread: styled text to html
  • Next by thread: Re: styled text to html
  • Index(es):
    • Date
    • Thread