Hi Aspose support,
Recently we faced with the issue when convert docx document into strict compliance format a table loses conditional formatting for cell (even rows are not colored) and total row has wrong border formatting.
See the difference:
TableFormattingIssue.png (29.3 KB)
Original document:SourceDocument.zip (30.1 KB)
Converted with Aspose document:ConvertedWithAspose.zip (12.7 KB)
Expected behavior: Table should look the same as in original document.
Code example:
public static void ReSaveDocument(string inputFile, string outputFile, string openPassword)
{
Document doc = new Document(inputFile, new Aspose.Words.LoadOptions() { Password = !string.IsNullOrEmpty(openPassword) ? openPassword : null });
doc.Unprotect();
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.Docx);
saveOptions.Compliance = OoxmlCompliance.Iso29500_2008_Strict;
doc.Save(outputFile, saveOptions);
}
Checked on Aspose.Words.dll v19.9.0
Please help with this problem.
Thanks in advance.