[ABUSE] By: miroslav / Board: forum-ECM-software (18782)

cancel
Showing results for 
Search instead for 
Did you mean: 
miroslav
Customer

[ABUSE] By: miroslav / Board: forum-ECM-software (18782)

its not spam


Link to post: (Convert document to PDF/A format)
by miroslav


https://hub.alfresco.com/t5/alfresco-content-services-forum/convert-document-to-pdf-a-format/m-p/298...


<div class="topic-subject-wrapper"><div class="lia-message-subject lia-component-message-view-widget-subject"><div class="MessageSubject"><div class="MessageSubjectIcons ">&nbsp;</div></div></div></div><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"><div class="lia-message-body-content"><p>Hello guys,<br /><br />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&nbsp;official option I have found is to use a proprietary "Document transformation engine".&nbsp;I don't like it because you need a windows server and ms office.<br /><br />LibreOffice supports generation PDF/A via "<span>SelectPdfVersion</span>" property in a user configuration file (r<span>egistrymodifications.xcu</span>)<br /><a href="https://ask.libreoffice.org/en/question/2590/convert-files-to-pdfa-on-command-line-headless-mode/" target="_blank" rel="nofollow noopener noreferrer">https://ask.libreoffice.org/en/question/2590/convert-files-to-pdfa-on-command-line-headless-mode/</a... /><br /><span>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.<br /></span><br />Libreoffice runs as a service in my environment (docker).&nbsp;</p><pre>/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</pre><p>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&nbsp;it doesn't seem to have any effect.&nbsp;<br /><br />Also try patch and OOoDirect approach from link below, but<span>&nbsp;</span><span>I cannot find the relevant configuration files (openoffice-document-formats.xml).</span></p><p><a href="https://issues.alfresco.com/jira/browse/MNT-14700" target="_blank" rel="nofollow noopener noreferrer">https://issues.alfresco.com/jira/browse/MNT-14700</a><br /><br /><span>Is there any way to set alfresco to generate PDF / A?</span></p></div></div>


This message has 0 replies