Can you please also share your complete code to reproduce the issue?
I have added this code snippet.
This issue appears for both docs and docx . Tested with MS Word 2013 version
Document newDocument = new Document("/Users/ganesh-2007/Downloads/RogerWallsResume.doc");
I have attached RogerWallsResume.doc(original document), other are generated using aspose API version aspose-words-15.5.0-jdk16.jar on MAC OS
Can you please call the following code before calling the same method? I was not able to see this issue after calling this code with the latest version.
Different versions of MS Word use different default values for Compatibility Options. Aspose.Words uses the same default values when you optimize the documents for specific versions.
In general there should not be any issue however in some rare cases, you may see different behavior for different values of compatibility options.