JODConverter and corrupt input ODT files
Posted: Mon Apr 04, 2011 4:54 am
I am trying to use JODConverter to convert ODT files to PDF. The ODT files are being generated on the fly but they are flagged as corrupt but fixable (OO writer shows the dialog box to fix). I have tested out the conversion process and it works just fine with odt files that are not corrupt, but it throws an error on the corrupt ones. Is there a way using the UNO API to automatically fix and then convert to PDF these files? I have tried setting the MediaDescriptor flag "RepairPackage" to true but it still does not work. Any help would be greatly appreciated.
-Ken
-Ken