• 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: Joar Wingfors <email@hidden>
  • Date: Sat, 18 Jun 2011 00:15:25 -0700

On 17 jun 2011, at 23.08, Ken Tozier wrote:

> There's nothing particularly kludgy about using HTML to create styled text documents. The entire internet is based on it.


Kind of depends on where this document would be used though. On the Internet? Amazing. On the desktop? Weird!


> Once the html file is created, you can save it as RTF and any residual kludgyness goes away.


That loops back to the original question though, does it not? Ie., if this document is really large, how would he do this HTML+CSS -> RTF conversion?


That said...


On 17 jun 2011, at 21.43, Dave DeLong 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...


j o a r


_______________________________________________

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

  • Follow-Ups:
    • Re: Writing extremely large RTF or .doc files
      • From: Ken Tozier <email@hidden>
    • Re: Writing extremely large RTF or .doc files
      • From: Jean-Christophe Helary <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>)

  • Prev by Date: Re: Release a NSWindowController after the window is closed
  • Next by Date: Re: pagingEnabled on NSScrollView?
  • 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