unoserver 3.2

Using LibreOffice to convert documents is easy, you can use a command like this to convert a file to PDF, for example: $ libreoffice --headless --convert-to pdf ~/Documents/MyDocument.odf However, that will load LibreOffice into memory, convert a file and then exit LibreOffice, which means that the next time you convert a document LibreOffice needs to be loaded into memory again. To avoid that, LibreOffice has a listener mode, where it can listen for commands via a port, and load and convert documents without exiting and reloading the software. This lowers the CPU load when converting many documents with somewhere between 50% and 75%, meaning you can convert somewhere between two and four times as many documents in the same time using a listener. Unoserver contains three commands to help you do this, unoserver which starts a listener on the specified IP interface and port, and unoconverter which will connect to a listener and ask it to convert a document, as well as unocompare which will connect to a listener and ask it to compare two documents and convert the result document.
Tags | conversion documents libreoffice server python |
---|---|
License | MITL |
State | stable |