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
ankit
 
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.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 27192
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.
AOO 4.1.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 5689
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