Custom style added to paragraphs just by opening and saving document

I have a document which I want to manipulate using Aspose.Words.NET.
I noticed that after saving the document, one of the styles have been applied to all the table cells and all the paragraphs in the footer. I get the same result if there is no other operation, just opening and saving the document.

var doc = new Aspose.Words.Document(@"C:\test\doc.docx");
doc.Save(@"C:\test\doc_resaved.docx");

Before:
image.png (17.6 KB)
image.png (8.7 KB)

After:
image.png (18.5 KB)
image.png (8.2 KB)

doc.docx (9.8 KB)
doc_resaved.docx (15.1 KB)

I also have a rectangle on the first page of the same document as a Fallback:

<mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
	<mc:Choice xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" Requires="wps">
		<!-- ... -->
	</mc:Choice>
	<mc:Fallback>
		<w:pict>
			<v:rect id="Rectangle 1" style="position:absolute;margin-left:-2.25pt;margin-top:24pt;width:265.5pt;height:106.5pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text;v-text-anchor:middle" o:spid="_x0000_s1026" fillcolor="#4bc3d5" stroked="false" strokeweight="1pt" w14:anchorId="6EF24B1E" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml"/>
		</w:pict>
	</mc:Fallback>
</mc:AlternateContent>

After opening and saving the document with Aspose.Words, the rectangle appears on the first page, but it should not:
image.png (4.6 KB)

@zator Thank you for reporting the problems to us. For a sake of correction the problem with styles has been logged as WORDSNET-23886 and the problem with alternate content has been logged as WORDSNET-23885. We will keep you informed and let you know once the problems are resolved.

Thank you for your answer. I just tested this issue with another type of document which has a bulleted list, and the same thing happens for paragraphs of bulleted lists. I’m uploading this other document, it might help.

image.png (5.8 KB)

doc2.docx (8.7 KB)
doc2_resaved.docx (14.4 KB)

@zator Thank you for additional information. I have added the document to the appropriate defect. We will keep you informed and let you know once there are news regarding the reported issues.

The issues you have found earlier (filed as WORDSNET-23885) have been fixed in this Aspose.Words for .NET 22.6 update also available on NuGet.

The issues you have found earlier (filed as WORDSNET-23886) have been fixed in this Aspose.Words for .NET 22.7 update also available on NuGet.