• 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
Saving document data with RTF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving document data with RTF


  • Subject: Saving document data with RTF
  • From: Steve Gehrman <email@hidden>
  • Date: Tue, 11 Dec 2001 11:21:44 -0800

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


  • Prev by Date: Re: [ANN] New NSTask sample
  • Next by Date: Re: About, ReadMe, and Registration Windows
  • Previous by thread: Standard output and bad file descriptor ?
  • Next by thread: AS from ObjC
  • Index(es):
    • Date
    • Thread