Sample of using openoffice to convert docs
-----------------------------------------
In the tar.gz you will find a UI program that uses openoffice to 
convert office documents to pdf, the program will iterate on a directory + subdirs (optional)
and convert the docs to pdf naming them "orignalname+.pdf" 

In order to run it you will need to start openoffice listening on a port
Example : 
ooffice "-accept=socket,host=localhost,port=8100;urp;"
You will need to amend in build.properties you oohome and host and port
and then just hit : ant run 

Content of tar.gz:
-----------------
build.properties  - some params for the ant build
contains :
oohome=/opt/OpenOffice.org/ // home of openoffice
host=192.168.188.111 // host where openoffice is running
port=8100 // port where openoffice is running

build.xml - ant build file
use ant usage to see the targets 

src/ dir - source code
oosample/ui - user interface for the program
oosample/converter - the actual converter 

Thanks to Guy Schohet of RI3K and Stephan Bergmann of SUN for thier help.

David Dankwerth
ri3k


