When converting an ODT to a DOCX the layout of the docx is not preserved correctly.
The layout is different in the translated document.
Using “aspose-words-19.11-jdk17.jar”.
Code Below:
com.aspose.words.Document doc = new com.aspose.words.Document(inputPath); doc.save(outputPath, com.aspose.words.SaveFormat.DOCX);
Before/after attached:
ODT2DOCX.zip (100.5 KB)