PDF Conversion Fails

Java, C++, C#, Delphi, ??? - Using the UNO bridges

PDF Conversion Fails

Postby ankit » Tue May 29, 2018 9:24 am

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?
OpenOffice 3.1 on Windows 10
Posts: 1
Joined: Tue May 29, 2018 8:11 am

Re: PDF Conversion Fails

Postby RoryOF » Tue May 29, 2018 9:57 am

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
Apache OpenOffice 4.1.8 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
Posts: 32028
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: PDF Conversion Fails

Postby John_Ha » Tue May 29, 2018 4:29 pm

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.
LO, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Posts: 8097
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Return to External Programs

Who is online

Users browsing this forum: No registered users and 2 guests