FROM : Moray Taylor
DATE : Fri Dec 10 23:10:04 2004
Hi,
In my program I require an NSAttributedString that can not only
contain styles such as bold, italic etc.. , but contain 'named styles'
much like Quark Xpress or MS Word would have.
I assume I can use the addAttribute:withRange to set where my 'named
styles' are, but how would I make the NSAttributedString lookup what
these styles meant, and render itself accordingly? Is this possible, or
do I need to make my own attributedstring class?
Thanks for any advice
Moray
DATE : Fri Dec 10 23:10:04 2004
Hi,
In my program I require an NSAttributedString that can not only
contain styles such as bold, italic etc.. , but contain 'named styles'
much like Quark Xpress or MS Word would have.
I assume I can use the addAttribute:withRange to set where my 'named
styles' are, but how would I make the NSAttributedString lookup what
these styles meant, and render itself accordingly? Is this possible, or
do I need to make my own attributedstring class?
Thanks for any advice
Moray
| Related mails | Author | Date |
|---|---|---|
| Moray Taylor | Dec 10, 23:10 | |
| Jonathan Jackel | Dec 12, 07:34 | |
| Douglas Davidson | Dec 12, 21:26 |






Cocoa mail archive

