Skip to main content

Scripting PDF creation with OpenOffice and PyUno

A few days ago, for the No Software Patents campaign I had to create around 60 pdf files out of the same number of .sxw files. Using the PyUno bindings you can script pretty much and there's even an example to produce html and txt files on stdout. Here's a modified version to save the output on files and to allow pdf conversion as well :ooextract-pdf.py

Comments

Comments powered by Disqus