Page 1 of 1

[Solved] Open office convert to pdf with API

PostPosted: Thu Nov 22, 2007 9:41 pm
by paulao
Someone has called an example of the libraries open Office to convert a document doc to pdf?

Many thanks

Re: Open office convert to pdf

PostPosted: Thu Nov 22, 2007 11:48 pm
by hol.sten
Take a look at the OOo Developer's Guide: http://api.openoffice.org/DevelopersGui ... Guide.html

After getting your first connection take a closer look at Writer / Text documents: http://api.openoffice.org/docs/Develope ... Text.xhtml

Try the storeTo() example and use the PDF filter "writer_pdf_Export" instead of the Word filter "MS Word 97".

Re: Open office convert to pdf

PostPosted: Fri Nov 23, 2007 9:22 pm
by paulao
Many Thanks