AnsweredAssumed Answered

Can't open some *.docx files preview

Question asked by mhlabene on Dec 2, 2016
Latest reply on Apr 3, 2017 by mhlabene

Hello,

 

I am able to open *.docx files which are kind of smaller than 700kb, files which are ~1MB or bigger can't be previewed.

I can only download the document.

 

Tried this config in "alfresco-global.properties" but didn't work:

 

### 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=false
jodconverter.officeHome=D:/alfresco-community/libreoffice/App/libreoffice
jodconverter.portNumbers=8100

 

## Transformers ##
content.transformer.OpenOffice.mimeTypeLimits.docx.pdf.maxSourceSizeKBytes=10768
content.transformer.OpenOffice.mimeTypeLimits.ppt.pdf.maxSourceSizeKBytes=10768
content.transformer.OpenOffice.mimeTypeLimits.pptx.pdf.maxSourceSizeKBytes=10768

 

I also found out that I can't open *.docx files with file name longer than 41 characters.

If I open a file with file name longer 41 characters the message "could not load pdf content" appears.

But that's not the problem, cause I can shorten the file names.

 

Can anyone help please?

Outcomes