• 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: Exporting tables or tabular data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Exporting tables or tabular data (From: Andrew Merenbach <email@hidden>)
 >Re: Exporting tables or tabular data (From: Volker Runkel <email@hidden>)

  • Prev by Date: Re: NSImageView + NSViewAnimation
  • Next by Date: Re: can't set focus feature on IIDC isight camera
  • Previous by thread: Re: Exporting tables or tabular data
  • Next by thread: NSImageView + NSViewAnimation
  • Index(es):
    • Date
    • Thread