Open cmlewis opened 10 years ago
So I was noticing that docx was not renditioning and did some digging. There are some other properties we should be adding in addition to the above to ensure microsoft docs rendition:
path of the OpenOffice.org or LibreOffice installation ooo.exe=C:/alfresco/alfresco-4.2.1/libreoffice/App/libreoffice/program/soffice.exe ooo.enabled=true
This will act as kind of a "catch-all" so both services will have a crack at getting microsoft docs renditioned.
I have the latest renditioning code on release2 and tried uploading a docx. The rendition worked fine, but it lost the table of contents on the first page for some reason. Here's the doc:
Let me know if something gets fixed with docx documents that I should merge to release2.
Alfresco 4.2.+ doesn't allow Office documents to be transformed into PDFs by default (seriously?). Properties must be added to alfresco-global.properties to enable this, or AlfrescoEmbUtil.transformNativeContentAsTSGRendition will never succeed in creating the faux rendtion for tsg:rendition. I tried adding a new alfresco-global.properties file with the necessary props to alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\com.tsgrp.opencontent, but it does not pick them up. According to @parzgnat, an alfresco-global.properties in the module should be picked up, but I could not get it to work.
For now, props must go in the alfresco/tomcat/shared/classes/alfresco-global.properties. We should figure out how to get the file in the module to work so we can commit to trunk.
The properties are as follows:
(Note these properties and other transformation props can be found in alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Transformers\default\transformers.properties)