objective c - Generate RTF, PDF and MS XML output files -


does have suggestions generating rtf, pdf , ms xml reports xcode ?

i thinking of creating objective-c classes no doubt may exist.

to answer own question...

subclass nsdocument , generate formatted text using nsattributedstring, nstextblock, nsparagraphsstyle , on...

add attributedstring nsdocuments textstorage.

add methods nsdocument provide list of supported output formats available nsattributedstring save dialog.

it's not simple works ok , can used generate formatted documents.

things can't figure out how following:

  • make use of rtf \stylesheets ms word picks styles used different programs.
  • creating new sections, chapters , pages (e.g. rtf tag \page)
  • creating headers , footers.

if knows whether of these supported apple text system please let me know. can custom rtf generator prefer stick standard api's if exist. thanks


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -