Page 1 of 1

PDF Conversion Fails

PostPosted: Tue May 29, 2018 9:24 am
by ankit
Hello Team,

I tried to convert excel files with "xlsx" format/type using OpenOffice 3 and 4 but files were converted with corrupted text.
I am using Java 8, with OpenOffice 3 and 4 (using both but one at a time) and jodconverter version 4.1.0.

Is there any way to resolve this?

Re: PDF Conversion Fails

PostPosted: Tue May 29, 2018 9:57 am
by RoryOF
LibreOffice may offer better support for .xlsx format. Another conversion method would be to "print" the files to a virtual PDF printer. Or use an online conversion service such as http://www.zamzar.com

Re: PDF Conversion Fails

PostPosted: Tue May 29, 2018 4:29 pm
by John_Ha
1. Save the file as .ods file. Check it is OK
2. Convert the .ods file to PDF.

See [Tutorial] Differences between Writer and MS Word files for why you should always work in and save Writer files as .odt. It applies to spreadsheet files where the differences are greater.