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
Post a Comment