Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
17.3.0
-
None
-
Unknown
-
Description
Following this discussion with the JODConverter developer it seem that we need to adapt some parameter on the export to increase the stability of libreoffice export.
This issue is to apply the last recommendation described in the upstream ticket.
On my side the code that I used to test which work greatly is
var storeProps = new HashMap<String, Object>(); storeProps.put("FilterName", "writerweb8_writer"); storeProps.put("FilterOptions", "EmbedImages"); var loadProps = new HashMap<String, Object>(); loadProps.put("FilterName", "HTML (StarWriter)"); LocalConverter .builder() .officeManager(manager) .loadProperties(loadProps) .storeProperties(storeProps) .build() .convert(inputFile) .to(outputFile) .execute();
This new code solved the export issues that I had with some document.