Hi Aspose team,
We encountered the following problem:
When we try to just resave the attached docx, Aspose inserts an invalid element inside the TableWeb1 table style:
<w:tblPrEx>
<w:tblCellSpacing w:w=“20” w:type=“dxa” />
</w:tblPrEx>
This is not valid based on the OpenXML reference, as tblPrEx is not valid inside a CT_Style element. (However, Word can open it, but it causes us problems that the resaved file is not valid.)
Our goal would be to keep the format valid.
We use the following simple code:
var doc = new Document(path);
doc.Save(outputPath);
I’ve attached the resaved file also.
Please let us know if we can provide any more details to help you investigate the issue.
Best regards,
Gergely Vándor