How to transform all docs to PDF/A-1 format in Alfresco

Look for alfresco\WEB-INF\classes\alfresco\mimetype\openoffice-document-formats.xml file.

<document-format>
<name>Portable Document Format</name>
<mime-type>application/pdf</mime-type>
<file-extension>pdf</file-extension>
<export-filters>
<entry>
<family>Presentation</family>
<string>impress_pdf_Export</string>
</entry>
<entry>
<family>Spreadsheet</family>
<string>calc_pdf_Export</string>
</entry>
<entry>
<family>Text</family>
<string>writer_pdf_Export</string>
</entry>
</export-filters>
<!-- ADDED TO TRANSFORM TO PDF/A-1 -->
<export-options>
<entry>
<string>SelectPdfVersion</string>
<int>1</int>
</entry>
</export-options>
<!-- ADDED TO TRANSFORM TO PDF/A-1 -->
</document-format>


With this change, all transformation to PDF will be exported to format PDF/A-1.

Thanks to: http://forums.alfresco.com/en/viewtopic.php?t=6336
OpenOffice Parameters: http://wiki.services.openoffice.org/wiki/API/Tutorials/PDF_export

No hay comentarios: