cancel
Showing results for 
Search instead for 
Did you mean: 

Can't open some *.docx files preview

mhlabene
Champ on-the-rise
Champ on-the-rise

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?

1 ACCEPTED ANSWER

douglascrp
World-Class Innovator
World-Class Innovator

Hello.

I see you are on Windows, and there is a know problem related with the file path length.

You can find the problem description and a patch in the following link  

View answer in original post

3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator

Check the log for exceptions and include those here if they do not make the solution immediately obvious.

douglascrp
World-Class Innovator
World-Class Innovator

Hello.

I see you are on Windows, and there is a know problem related with the file path length.

You can find the problem description and a patch in the following link  

Thanks a lot, I will try this patch.