Projects / Universal Office Converter

Universal Office Converter

unoconv converts between any document formats that LibreOffice understands. It uses LibreOffice's UNO bindings for non-interactive conversion of documents. Supported document formats include Open Document Format (.odt), MS Word (.doc), MS Office Open/MS OOXML (.xml), Portable Document Format (.pdf), HTML, XHTML, RTF, Docbook (.xml), and more, but image, spreadsheet and presentation formats are also supported.

Tags
Licenses
Implementation

Recent releases

  •  10 Sep 2012 18:35

    Release Notes: This release adds stability improvements using LibreOffice/OpenOffice, improvements to Mac OS X, Windows, and FreeBSD support (works out-of-the-box), a fix to the "encoded text" filter, changes and improvements to the export and import filter options (-e/-i), and various other improvements and documentation updates.

    •  16 Apr 2012 15:01

      Release Notes: This release improves Windows, Mac OS X, OpenBSD, and Gentoo support, has been completely rewritten to support parallel LibreOffice/OpenOffice installations, uses the UNO_PATH environment variable to select the installation, and includes various small fixes and improvements.

      •  20 Oct 2010 22:03

        Release Notes: Improved Linux, Mac OS X, and Windows support for OpenOffice 3. An updated filter list for OpenOffice 3. Unified Office Format support. The option -o/--outputpath to outputh converted files to a different path. Improved exit codes. A -T/--timeout option so that unoconv doesn't give up after one connection failure. Update links and indexes when converting. The option -t/--template to apply style templates during conversion (useful for providing documents with a forced corporate identity). Many other stability and functionality improvements.

        •  01 Sep 2007 21:16

          Release Notes: The doctype is automatically selected. Listener and Convertor were implemented as separate classes. Mac OS X NeoOfice and OpenSUSE 10 path support was added. OpenOffice listener is started and stopped automatically if necessary. OpenOffice listener can now be started independently. An unoconv manual page was added.

          •  20 May 2007 15:52

            Release Notes: This release adds support for graphics, presentation, and spreadsheet document types (+-100 exported formats are supported). Better detection of OpenOffice Python bindings. Better error output. Matching by extension if the backend does not match the name. Verbose output has been added.

            Recent comments

            20 Sep 2008 01:05 sixtyfive

            Page size
            When converting from .html to .doc, you get a page that's as wide as the longest sentence (which, of course, can be quite wide). Is there an option to force, for example A4 or US Letter in the generated document, if applicable?

            31 Aug 2007 19:34 dag

            Re: Conversion from pdf to eps


            > Any suggestion? I tried a lot of

            > softwares for this converstion but I

            > cant use them as I need to support Mac

            > Os, Linux and window. One alternative is

            > uses pdf2ps (in mac and linux) and then

            > ps2epsi. --> need to get .bat file for

            > window.

            If you cannot convert by opening/importing the file in OpenOffice and saving/exporting it to the desired output format, then unoconv is of no help either.

            unoconv is designed to provide command-line batch conversion of files using UNO (Open Office bindings).

            16 Jul 2007 18:21 linda_octa

            Conversion from pdf to eps
            I tried to use unoconv-01 and -02 to convert single page pdf document to eps file and i get this error:
            C:\workspace\TestingPDFConversion>python.bat unoconv2.
            py -b eps -d g openofficepage1.pdf
            unoconv: error during conversion:
            The provided document cannot be exported to Encapsulated PostScript [eps].


            I am using OpenOffice2.2 and have uno, python 2.3 installed. Conversion from odt to word, odt to pdf are fine.

            Any suggestion? I tried a lot of softwares for this converstion but I cant use them as I need to support Mac Os, Linux and window. One alternative is uses pdf2ps (in mac and linux) and then ps2epsi. --> need to get .bat file for window.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.