Table incorect after convert to PDF

If “1.docx” convert with Aspose.Word then table on pages 3-11 incorrect (result “1_Aspose.pdf”).
If the same file open with MsWord 2016 and save to PDF then table OK (result “1_MS Word.pdf”).
1_Aspose.pdf (149.1 KB)
1_MS Word.pdf (434.2 KB)
1.zip (54.3 KB)

@aihtos.r,

While using the latest version of Aspose.Words i.e. 18.3, we managed to reproduce the following issues on our end.

WORDSNET-16562: Table incorrect after convert to PDF
WORDSNET-16563: Cell background becomes black upon rendering

Your thread has also been linked to these issues and you will be notified as soon as they are resolved. Sorry for the inconvenience.

As a temporary workaround, please use the following code:

Document doc = new Document(MyDir + @"1\1.docx");
doc.UpdateTableLayout();
doc.Save(MyDir + @"1\18.3.pdf");

The issues you have found earlier (filed as WORDSNET-16563) have been fixed in this Aspose.Words for .NET 18.4 update and this Aspose.Words for Java 18.4 update.

This error has not fixed in Aspose.Words 18.4
1.docx in attachment.1.zip (51.5 KB)

doc.UpdateTableLayout(); does not work. Table incorrect with doc.save()

@aihtos.r,

We have logged a new issue. The ID of this issue is WORDSNET-16740. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

However, the following code produces correct output when using the latest version of Aspose.Words for .NET i.e. 18.4 (see 18.4-after-updatetable.pdf (133.0 KB)).

Document doc = new Document(MyDir + @"1\1.docx");
doc.UpdateTableLayout();
doc.Save(MyDir + @"1\18.4-after-updatetable.pdf");

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