PyODConverter, para Python OpenDocument Converter, es un script Python que automatiza la conversión de documentos de oficina desde la línea de comandos usando

The script does basically the same thing as the command line tool that comes with JODConverter but is much simpler. In fact the Python script was released for the people who use JODConverter only from the command line (not as a Java library or web service) and would like a simpler alternative.

Just like JODConverter, PyODConverter requires to be running as a service and listening on port (by default) 8100; the simplest way to start as a service is from the command line

> “C:\Program Files\ 3.1\program\soffice” -accept=”socket,port=8100;urp;”

The script expects exactly 2 parameters: an input and an output file names. The document formats are inferred from the file extensions.

Since it uses the Python/UNO bridge, the script requires the UNO modules to be already present in your Python installation. Most of the time this means you need to use the Python version installed with, e.g. on Windows

> “C:\Program Files\ 3.1\program\python” test.odt test.pdf

or on Linux

$ /opt/openoffice.org3.1/program/python test.odt test.pdf

If you want to write your own scripts in Python, PyODConverter can also act as a Python module, exporting a DocumentConverter class with a very simple API.

PyODConverter v1.1 is a single Python script and can be downloaded directly from here: [7.8kb]

PyODConverter is distributed under the terms of the GNU LGPL (just like

For help or questions please use the JODConverter Group. (It’s mainly for the Java version of the converter, but it’s not worth creating a separate group just for this Python script.)

v1.1 – 2009-11-14

Fixed HTML import issues by adding FAMILY_WEB
Support for specifying input formats and options
Support for passing filter options to output formats
Added CSV and TXT as input and output formats
Support for overriding Page Style properties, especially useful for specifying how spreadsheets should fit into pages when exporting to PDF

v1.0.0 – 2008-05-05

Let OOo determine the input document type, rather than using the file extension. This means all OOo-supported input types should now be accepted without any additional configuration.


Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s