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

On 08/30/2015 09:06 PM, Aurelius Octavian wrote:
With UNO it's possible to set the PDF-Export's filter options before
doing the actual PDF export, like for example set "PDF/1a" format, "No
(Jpeg) compression", etc. Here's the list:

How to do the same thing with Libreoffice being called from the
command-line with the parameter "--convert-to pdf" ? The "--help"
message says:

--convert-to pdf:writer_pdf_Export[:output_filter_options]

Unfortunately, I don't find these mentioned ":output_filter_options".
Does anybody know them?

Those filter option arguments got added as a fix for <> "CLI: Encoding issue when Converting documents: esp. UTF-8 in headless mode." However, their usage is rather awkward, as you need to have intimate knowledge about the individual filters' arguments, and how each filter's code expects those arguments to be encoded as a string. See comment <> for an example for Calc's CSV filter.

If I knew C++ in large projects better, I would dare to look at
Libreoffice's source-code (and I did so), but it's very Greek to me.

I fear there's no way around somebody interested in this topic picking this up, reading the source code and writing documentation for the various filters what the filter option strings should look like.

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.