<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Convert document to PDF/A format in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/convert-document-to-pdf-a-format/m-p/85947#M26029</link>
    <description>&lt;DIV class="topic-subject-wrapper"&gt;&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&lt;DIV class="MessageSubjectIcons "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hello guys,&lt;BR /&gt;&lt;BR /&gt;I am trying to convert doc to pdf/a using jodconverter and libreoffice. Default configuration allows to generate only 1.4 or 1.5 format. The only&amp;nbsp;official option I have found is to use a proprietary "Document transformation engine".&amp;nbsp;I don't like it because you need a windows server and ms office.&lt;BR /&gt;&lt;BR /&gt;LibreOffice supports generation PDF/A via "&lt;SPAN&gt;SelectPdfVersion&lt;/SPAN&gt;" property in a user configuration file (r&lt;SPAN&gt;egistrymodifications.xcu&lt;/SPAN&gt;)&lt;BR /&gt;&lt;A href="https://ask.libreoffice.org/en/question/2590/convert-files-to-pdfa-on-command-line-headless-mode/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ask.libreoffice.org/en/question/2590/convert-files-to-pdfa-on-command-line-headless-mode/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The configuration "registrymodifications.xcu" is created dynamically when a transformation is called by jodconverter (hope so). I need to add the "SelectPdfVersion" line to it somehow.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Libreoffice runs as a service in my environment (docker).&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/libreoffice6.1/program/soffice.bin -accept=socket,host=127.0.0.1,port=8100;urp; -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8100 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore&lt;/PRE&gt;&lt;P&gt;I tried to rewrite the jodconverter library in (repository docker) /usr/local/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-jodconverter-core-3.0.1.1.jar to put this config dynamically to (libreoffice docker) /tmp/.jodconverter_socket_host-127.0.0.1_port-8100/user/registrymodifications.xcu but&amp;nbsp;it doesn't seem to have any effect.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also try patch and OOoDirect approach from link below, but&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I cannot find the relevant configuration files (openoffice-document-formats.xml).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-14700" target="_blank" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-14700&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to set alfresco to generate PDF / A?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 20 Apr 2020 13:17:33 GMT</pubDate>
    <dc:creator>miroslav</dc:creator>
    <dc:date>2020-04-20T13:17:33Z</dc:date>
    <item>
      <title>Convert document to PDF/A format</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/convert-document-to-pdf-a-format/m-p/85947#M26029</link>
      <description>&lt;DIV class="topic-subject-wrapper"&gt;&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&lt;DIV class="MessageSubjectIcons "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hello guys,&lt;BR /&gt;&lt;BR /&gt;I am trying to convert doc to pdf/a using jodconverter and libreoffice. Default configuration allows to generate only 1.4 or 1.5 format. The only&amp;nbsp;official option I have found is to use a proprietary "Document transformation engine".&amp;nbsp;I don't like it because you need a windows server and ms office.&lt;BR /&gt;&lt;BR /&gt;LibreOffice supports generation PDF/A via "&lt;SPAN&gt;SelectPdfVersion&lt;/SPAN&gt;" property in a user configuration file (r&lt;SPAN&gt;egistrymodifications.xcu&lt;/SPAN&gt;)&lt;BR /&gt;&lt;A href="https://ask.libreoffice.org/en/question/2590/convert-files-to-pdfa-on-command-line-headless-mode/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ask.libreoffice.org/en/question/2590/convert-files-to-pdfa-on-command-line-headless-mode/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The configuration "registrymodifications.xcu" is created dynamically when a transformation is called by jodconverter (hope so). I need to add the "SelectPdfVersion" line to it somehow.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Libreoffice runs as a service in my environment (docker).&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/libreoffice6.1/program/soffice.bin -accept=socket,host=127.0.0.1,port=8100;urp; -env:UserInstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8100 -headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck -nologo -norestore&lt;/PRE&gt;&lt;P&gt;I tried to rewrite the jodconverter library in (repository docker) /usr/local/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-jodconverter-core-3.0.1.1.jar to put this config dynamically to (libreoffice docker) /tmp/.jodconverter_socket_host-127.0.0.1_port-8100/user/registrymodifications.xcu but&amp;nbsp;it doesn't seem to have any effect.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also try patch and OOoDirect approach from link below, but&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I cannot find the relevant configuration files (openoffice-document-formats.xml).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-14700" target="_blank" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-14700&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to set alfresco to generate PDF / A?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Apr 2020 13:17:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/convert-document-to-pdf-a-format/m-p/85947#M26029</guid>
      <dc:creator>miroslav</dc:creator>
      <dc:date>2020-04-20T13:17:33Z</dc:date>
    </item>
  </channel>
</rss>

