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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com