We are using “words-19.11-jdk17.jar”.
When converting DOC to DOCX and back to DOC, the ‘from center’ shading style of the last square shape on the last page of the ‘doc3-new.doc’ document isn’t properly preserved.
Using the following code for DOC2DOCX:
com.aspose.words.Document doc = new com.aspose.words.Document(inputPath);
doc.save(outputPath, com.aspose.words.SaveFormat.DOCX);
Using the following code for DOCX2DOC:
com.aspose.words.Document doc = new com.aspose.words.Document(inputPath);
doc.save(outputPath, com.aspose.words.SaveFormat.DOC);
GradientShapes.zip (21.4 KB)