There are two commandline-oriented scripts that come with ulif.openoffice:
Assuming you acticated the virtual environment where the package was installed (or installed the package otherwise accessible) you can start the oooctl-server with:
(py27) $ oooctl start
Do:
(py27) $ oooctl --help
to see all options.
You can stop the daemon with:
(py27) $ oooctl stop
The converter script can be called like this:
(py27) $ oooclient sourcefile.doc
to create a sourcefile.html.zip conversion. The ZIP file will (beside the generated HTML document) contain all images and extracted CSS styles.
Do:
(py27) $ oooclient -meta-procord=oocp, -oocp-out-fmt=pdf sourcefile.doc
to create a PDF of sourefile.doc.