Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

On Mon, Aug 13, 2012 at 11:37:24AM +0100, Michael Meeks wrote:

On Mon, 2012-08-13 at 11:52 +0200, Michael Stahl wrote:
the best option of using LibreOffice for your purpose is to install it
and connect to it via UNO; read the OOo Dev Guide for details:

      Or to run it from the command-line with:

      --headless --convert-to pdf foo.doc

      The UNO / remote automation stuff has always seemed a horrible way of
doing the simpler conversion cases, and now we have the commandline
sorted out - I'd love to encourage people to spawn that directly.

Note however that for batch conversion, there are limits due to commandline
length and starting an new instance again and again wouldnt improve performance
either. Your best bet for large batch conversions is using the unoconv wrapper
and which can reuse one instance of LibreOffice and remotely trigger the
conversion via UNO(*) without having to restart an instance again and again.

http://askubuntu.com/questions/171243/error-converting-thousands-of-documents-with-libreoffice/171249#171249

Best,

Bjoern

(*) Despite Michaels anti-UNO rants, which you should ignore in this case. I
suspect Michael has an "I hate UNO" sticker on his bumper and is the president
of the UNO hater club.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.