Inconsistency between Aspose.Words and MS Word re Adjacent Tables

Hello,

We have noticed a difference in the treatment of adjacent tables between MS Word and Aspose.

Please see the attachment tableRendering.docx which, when converted to PDF (tableRendering.pdf) has columns with awkward proportions. However, the tables looks fine when opened in MS Word.

I believe the issue may relate to the interpretation of this section of the OOXML spec (ISO/IEC 29500-1 17.4.37)

When two tbl elements having the same style (§17.4.62) are present within the document content, without any intervening p elements, the corresponding tables shall be treated as a single table.

Word seems to render these as two separate, but touching, tables. While Aspose seems to have merged grid definitions and rendered a single table.

The spec seems ambiguous, but the MS Word rendering looks better. Is there a way to make Aspose match this?

Below is the code used to generate the pdf

var document = new Document("./tableRendering.docx");
document.Save("./tableRendering.pdf", SaveFormat.Pdf);

Kind Regards,
Draftable

tableRendering.docx (35.5 KB)

tableRendering.pdf (77.1 KB)

@draftable
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-28721

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.