<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - LibreOfficeKit saveAs options fails for PDF export filter"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121808#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - LibreOfficeKit saveAs options fails for PDF export filter"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121808">bug 121808</a>
              from <span class="vcard"><a class="email" href="mailto:jghadsrf@inboxbear.com" title="jghadsrf@inboxbear.com">jghadsrf@inboxbear.com</a>
</span></b>
        <pre>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)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>