Re: Exporting tables or tabular data
Re: Exporting tables or tabular data
- Subject: Re: Exporting tables or tabular data
- From: Andrew Merenbach <email@hidden>
- Date: Mon, 18 Jun 2007 08:25:16 -0700
On Jun 18, 2007, at 12:49 AM, Volker Runkel wrote:
Hi,
1. Compose the proper HTML code so that I have the equivalent of a
web page, then create an RTF/RTFD file from it, or even export as
a web page.
2. Based on Apple's RTF table sample code, create a table
directly /in/ RTF and populate it with the data.
First solution is imho much easier in my opinion, since HTML is
easier to implement. You can then easily create a RTF version of
your report from the HTML by [[NSMutableAttributedString alloc]
initWithHTML:(NSData*)HTMLData]
Cheers,
Volker
Thanks for the response, Volker. Is there any way, with -
initWithHTML:, to load external files from my HTML, like CSS data? or
will the CSS have to be prepackaged with my HTML file? (and if it is,
will it be ignored?)
Cheers,
Andrew
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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