Preview large docx and xlsx

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

Preview large docx and xlsx

Hi!

What should I to do for change the limit of preview files ( docx and xlsx ) to display documents larger than 1 MB.
My installation is Alfresco Community 5.1 and the Windows Server 2012 operating system.

Thanks!

4 Replies
afaust
Master

Re: Preview large docx and xlsx

You need to configure higher limits on the allowed source document size via transformer properties. See the documentation for details and default configuration as reference. Specifically the OpenOffice transformer properties need to be changed.

digcat
Active Member II
Nabilmh
Active Member

Re: Preview large docx and xlsx

HI @afaust ,

I'm facing the same error with preview files more than 3Mb size, despite  I have configured alfresco-global.properties as documentation on link given.

Any Idea Please !!!

4535992
Senior Member

Re: Preview large docx and xlsx

Put these properties on the alfresco-global.properties file, they should work on Alfresco 5:

 

content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.xlsx.pdf.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.pptx.pdf.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.docx.png.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.xlsx.png.maxSourceSizeKBytes=256000

content.transformer.JodConverter.extensions.pptx.png.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.xlsx.pdf.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.pptx.pdf.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.docx.png.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.xlsx.png.maxSourceSizeKBytes=256000

content.transformer.OpenOffice.extensions.pptx.png.maxSourceSizeKBytes=256000