With Aspose.Words for Java:
there is a template docx which contains a few of tables. If it’s loaded and saved to a different file, the tables are changed?
original docx file (docx-template-styles.docx) and new created file (docx-template-styles-2.docx) are attached, please check the difference.
///////////////////////////////////////////////////////////////////////////////
Document doc = new Document("docx-template-styles.docx");
doc.save("docx-template-styles-2.docx");
////////////////////////////////////////////////////////////////////////////////
Thanks for your request. It seems the problem occurs because Table Styles are lost after open/save the document. Currently Aspose.Words does not support Table Styles. This is issue #5262 in our defect database. I will notify you as soon as it is fixed.
Best regards.
Try Aspose.Words again and see if the issue you reported with table styles have been fixed. I think it has been fixed. The issue was incorrecty linked to an issue in Aspose.Words for .NET whereas you are interested in Java.