Problem with save document

We have a document with a special header.
When i try to save this document the layout changes.
The document is .dotx, but i have the same problem with .docx.

It looks like that the end of section disappears.

code is:
adoc = new Aspose.Words.Document(fileNaam);
bool trackRevisions = adoc.TrackRevisions;
adoc.Unprotect();
adoc.TrackRevisions = trackRevisions;
adoc.Save(fileNaam);

Aspose.Words for .NET
Enterprise

Hi Ernst,


Thanks for your inquiry.

Perhaps, you are using an older version of Aspose.Words; as with Aspose.Words v13.2.0, I am unable to reproduce this problem on my side. I would suggest you please upgrade to the latest version of Aspose.Words i.e. v13.2.0 and let us know how it goes on your side. I hope, this will help.

I have attached the output Docx file with this post for your kind reference.