How to convert NSTextView into HTML ?
09/12/03 10:13
Is there a way ?
There is no direct conversion from NSAttributedString (the object containing the text in the NSTextView) but tools converting from PDF and RTF to HTML do exist.
You will find an example here by Gus Mueller.
On sourceforge there is a project name PDFTOHTML.
On the GNU site, there is also a RTF to HTML translator.
Note also that Adobe offers an online tool to convert PDF documents to HTML (here).
Some word processor applications are able to read RTF files and save them as HTML documents, some can be scripted...
You will find an example here by Gus Mueller.
On sourceforge there is a project name PDFTOHTML.
On the GNU site, there is also a RTF to HTML translator.
Note also that Adobe offers an online tool to convert PDF documents to HTML (here).
Some word processor applications are able to read RTF files and save them as HTML documents, some can be scripted...