No work preview some officce documents

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

No work preview some officce documents

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

2 Replies
Highlighted
Senior Member II

Re: No work preview some officce documents

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...

Highlighted
Active Member

Re: No work preview some officce documents

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