You can use attributes to hide pretty much whatever information you want in the 
attributes dictionaries associated with individual characters in an 
NSMutableAttributedString. For example, if you use named paragraph styles, each 
character in memory can know which style has been applied to it.  

But when it comes time to save to a file format selected from AppKit additions 
(e.g. RTFFromRange:documentAttributes:), any unusual, application-specific 
attributes will be lost. There is no built-in file format you can select that 
will save just any arbitrarily named attribute.

Am I right?  

—  

Charles

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to