• 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: Writing extremely large RTF or .doc files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing extremely large RTF or .doc files


  • Subject: Re: Writing extremely large RTF or .doc files
  • From: Peter Hudson <email@hidden>
  • Date: Sat, 18 Jun 2011 11:19:02 +0100

I'm not sure quite how big you data is - but I write big data sets to file by writing all the data into an NSTextView - and then get the RTF data from the view.

There is also quite a lot of scope for combining separate RTF files. You can see how to do this by renaming your RTF file with a .m extension and have a look at it in xCode.
Each file has a header section and a data section. I have often taken one complete file and then added data from other files by stripping off the headers and popping it in the right place.


Peter
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: Writing extremely large RTF or .doc files
  • Next by Date: Drawing focus rings
  • Previous by thread: Re: Writing extremely large RTF or .doc files
  • Next by thread: Release a NSWindowController after the window is closed
  • Index(es):
    • Date
    • Thread