What is unoconv and how to use it?

What is unoconv and how to use it?

“unoconv” is a command line program that is used to convert between different office document file formats. It uses an instance of LibreOffice to do the conversion and is used by the Assignment activity to convert documents to pdf so that they can be annotated.

How do I install unoconv on Ubuntu?

Installing unoconv. unoconv can be installed using packages coming from your distribution, or simply by copying the unoconv python script to your system. If you installed unoconv by hand, make sure you have the required LibreOffice or OpenOffice packages installed.

How to change Python unoconv file to Python 3?

You need to modify the Python unoconv file by changing ‘python’ in the first line to ‘python3’. You also need to change the permissions on the directory /var/www so that the user www-data can write to it (www-data needs to write to its home directory which it cannot do by default).

How do I use unoconv with LibreOffice?

unoconv is a command line utility that can convert any file format that LibreOffice can import, to any file format that LibreOffice is capable of exporting. unoconv uses the LibreOffice’s UNO bindings for non-interactive conversion of documents and therefore needs an LibreOffice instance to communicate with.

How do I find a good Python installation to use unoconv?

To find a good Python installation to use to run unoconv, do the following: To find which Python to use to run unoconv, you can try a script I made. It should list all Pythons that have Libreoffice libraries installed. How does unoconv work?

What Uno packages do I need to use Uno?

A hard requirement is the UNO python bindings which are often inside a subpackage named +libreoffice-pyuno+ or +libobasis4.4-pyuno+. Various sub-packages are needed for specific import or export filters, e.g. XML-based filters require the xsltfilter subpackage, e.g. +libobasis4.4-xsltfilter+.

author

Back to Top