01-31-2018 01:01 AM
I use alfresco 5.2F. Preview works for most documents normally. But sometimes the preview can not open documents dokh or ftx. Initially, I thought it was because of the number of pages. But later he uploaded documents and with a large number of pages. I will attach a log and examples of files that can not be opened
settings alfresco-global.properties
### External executable locations ###
ooo.exe=D:/alfresco-community/libreoffice/App/libreoffice/program/soffice.exe
ooo.enabled=true
ooo.port=8100
img.root=D:\\alfresco-community\\imagemagick
img.coders=${img.root}\\modules\\coders
img.config=${img.root}
img.gslib=${img.root}\\lib
img.exe=${img.root}\\convert.exe
jodconverter.enabled=true
jodconverter.officeHome=D:/alfresco-community/libreoffice/App/libreoffice
jodconverter.portNumbers=8100
## Трансформаторы ##
content.transformer.OpenOffice.extensions.doc.pdf.maxSourceSizeKBytes=51200
content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=51200
content.transformer.OpenOffice.extensions.xls.pdf.maxSourceSizeKBytes=51200
content.transformer.OpenOffice.extensions.xlsx.pdf.maxSourceSizeKBytes=51200
content.transformer.OpenOffice.extensions.ppt.pdf.maxSourceSizeKBytes=51200
content.transformer.OpenOffice.extensions.pptx.pdf.maxSourceSizeKBytes=10240
02-02-2018 04:52 AM
I don’t know what dokh of ftx is, but you can enable logging for the transformer and the runtimeexec in log4j.properties
log4j.logger.org.alfresco.repo.content.transform.TransformerDebug=DEBUG
log4j.logger.org.alfresco.util.exec.RuntimeExec=DEBUG
So you can See if there is any error or a missing transformer...
02-02-2018 05:08 AM
Sorry,
dokh = docx
ftx = pptx
I use alfresco 5.2F. Preview works for most documents normally. But sometimes the preview can not open documents docx or pptx. Initially, I thought it was because of the number of pages. But later he uploaded documents and with a large number of pages. I will attach a log and examples of files that can not be opened
Explore our Alfresco products with the links below. Use labels to filter content by product module.