Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving document data with RTF



I want my Applications document format to be .rtf, but I can't seem to find a simple way of adding my own custom controls to the rtf data generated by NSTextStorage...

[textStorage RTFFromRange:NSMakeRange(0, [textStorage length]) documentAttributes:dict];

It would be perfect if I could just add new controls and data to the document attributes, but that doesn't work. I guess the document attributes are limited to a small set of attributes.

Is there a simple way to add my own application specific data with the rtf data generated by NSTextStorage?

--
Steve Gehrman
CocoaTech, Inc.
email@hidden
http://www.cocoatech.com




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.