We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Opening&Saving a Word document changes its layout


When I ran a simple code to open and save the document, the layout has been changed significantly and some elements disappeared.

var document = new Document(@“model.docx”);

The layout in output.docx becomes significantly different and the content control in the model file disappeared. This issue doesn’t happen when opening&saving the document manually using Ms Word.

I’ve attached a screenshot and test files & output files for your reference. Could you please take a look into this?

screenshot.png (50.9 KB)
model.zip (21.8 KB)


Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16624. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-16624) have been fixed in this Aspose.Words for .NET 18.5 update and this Aspose.Words for Java 18.5 update.