[Libreoffice-bugs] [Bug 121808] New: LibreOfficeKit saveAs options fails for PDF export filter

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 29 17:09:47 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121808

            Bug ID: 121808
           Summary: LibreOfficeKit saveAs options fails for PDF export
                    filter
           Product: LibreOffice
           Version: 6.1.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jghadsrf at inboxbear.com

Description:
By adding

<item oor:path="/org.openoffice.Office.Common/Filter/PDF/Export"><prop
oor:name="SelectPdfVersion" oor:op="fuse"><value>1</value></prop></item>

to registrymodifications.xcu I can get LibreOfficeKit save PDF/A-1 (ISO
19005-1:2005) file.

However adding the SelectPdfVersion=1 option via the LibreOfficeKit API has no
effect. 

Plain PDF 1.5 will be generated. I also tried several other options (PageRange,
Watermark, ..) and all I have tried so far seem to fail to function at all.

I tried this with several LibreOffice versions (from 5.x and 6.x lines) and it
seems to me the options in the API has been totally broken for a while now.


Steps to Reproduce:
1. Add any option to the lokit API for PDF export
2. Check the result
3. The options have no effect

Actual Results:
The options have no impact.

Expected Results:
The options to have impact on the PDF generation.


Reproducible: Always


User Profile Reset: No



Additional Info:
I will attach my (ugly C++ hack) test program. You can also reproduce this with
https://github.com/xrmx/pylokit if you want work less.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181129/28a48261/attachment-0001.html>


More information about the Libreoffice-bugs mailing list