[Solved] Open office convert to pdf with API

The Application Programming Interface and the OASIS Open Document Format

[Solved] Open office convert to pdf with API

Postby paulao » Thu Nov 22, 2007 9:41 pm

Someone has called an example of the libraries open Office to convert a document doc to pdf?

Many thanks
paulao
 
Posts: 13
Joined: Thu Nov 22, 2007 7:25 pm

Re: Open office convert to pdf

Postby hol.sten » Thu Nov 22, 2007 11:48 pm

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".
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
hol.sten
Volunteer
 
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Open office convert to pdf

Postby paulao » Fri Nov 23, 2007 9:22 pm

Many Thanks
paulao
 
Posts: 13
Joined: Thu Nov 22, 2007 7:25 pm


Return to UNO API and ODF

Who is online

Users browsing this forum: No registered users and 3 guests