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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 29 17:16:23 UTC 2018


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

--- Comment #2 from jghadsrf at inboxbear.com ---
The same with pylokit:

from pylokit import Office
import os

lo_path = "/path/to/libreoffice/program/dir"

with Office(lo_path) as lo:
    with lo.documentLoad("test.dox") as doc:
        doc.saveAs("test.pdf", fmt="pdf", options="SelectPdfVersion=1")

os._exit(0)

-- 
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/2187db0d/attachment.html>


More information about the Libreoffice-bugs mailing list