• 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: Ken Tozier <email@hidden>
  • Date: Sat, 18 Jun 2011 02:08:37 -0400

On Jun 18, 2011, at 1:49 AM, Dave DeLong wrote:

> Fair enough. This is certainly a great alternative to stripping out the document level attributes, but I'd still prefer the format to be as "native" as possible. Using HTML like this feels a bit kludgey.
>
> Dave

There's nothing particularly kludgy about using HTML to create styled text documents. The entire internet is based on it. Once the html file is created, you can save it as RTF and any residual kludgyness goes away. If the minor hack of writing a header and footer to a file bothers you, there's always NSXMLDocument which will allow you to do basically the same thing as the hack, in a completely clean way. Not sure about streaming partial xml nodes though, you'd have to look into it

http://tinyurl.com/NSXMLDocument.

Good Luck!_______________________________________________

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: Joar Wingfors <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>)

  • Prev by Date: Re: Writing extremely large RTF or .doc files
  • Next by Date: Release a NSWindowController after the window is closed
  • 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