• 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: Jean-Christophe Helary <email@hidden>
  • Date: Sat, 18 Jun 2011 17:02:36 +0900

On Jun 18, 2011, at 4:15 PM, Joar Wingfors wrote:

>> I surely can't be the first person to want to do  this, so I ask: what have I missed?  How can I generate extremely large rich-text files without having to build the entire file in memory before writing it out?
>
>
> Perhaps your requirements for RTF formatting are simple enough that you can create the document "manually", not relying on the capabilities provided by Cocoa / NSAttributedString? And in that case simply append to the document as you traverse your db. I've never looked at the RTF spec., so I've no idea how feasible that would be...

Unless the documents involve a lot of non ascii texts, creating RTF "by hand" is pretty trivial. I'm using Oreilly's RTF Pocket Guive for reference for all the RTF formatting I need. And I think the author has a site where you can get the samples and see what kind of RTF coding is required.

Jean-Christophe Helary
----------------------------------------
fun: http://mac4translators.blogspot.com
work: http://www.doublet.jp (ja/en > fr)
tweets: http://twitter.com/brandelune

_______________________________________________

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

References: 
 >Writing extremely large RTF or .doc files (From: Dave DeLong <email@hidden>)
 >Re: Writing extremely large RTF or .doc files (From: Ken Tozier <email@hidden>)
 >Re: Writing extremely large RTF or .doc files (From: Dave DeLong <email@hidden>)
 >Re: Writing extremely large RTF or .doc files (From: Ken Tozier <email@hidden>)
 >Re: Writing extremely large RTF or .doc files (From: Dave DeLong <email@hidden>)
 >Re: Writing extremely large RTF or .doc files (From: Ken Tozier <email@hidden>)
 >Re: Writing extremely large RTF or .doc files (From: Joar Wingfors <email@hidden>)

  • Prev by Date: Re: pagingEnabled on NSScrollView?
  • Next by Date: Re: Writing extremely large RTF or .doc files
  • Previous by thread: Re: Writing extremely large RTF or .doc files
  • Next by thread: Re: Writing extremely large RTF or .doc files
  • Index(es):
    • Date
    • Thread