We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Preserve Layout of Triangular Table with Auto Sized Cells during Word DOCX to PDF Conversion using C#

Hello,
I have a DOCX document created with Aspose that renders incorrectly in PDF.
It contains a triangular table where all cells are auto-sized.
The rendering is better (but not perfect) if I call UpdateTableLayout() before saving, please read details below.
Just try to load the DOCX and save as PDF.

Case 1:
Load and save.
Issues:

  • The table in PDF takes all available width in the page (but should not)
  • The vertical text on the left (“Branch size”) goes partially under the table

Case 2:
Load, call UpdateTableLayout() and save.
Issues:

  • The vertical text on the left (“Branch size”) goes partially under the table

Tested with Aspose.Words 20.3 and Word 2013.
DOCX to PDF triangular table.zip (62.6 KB)

@agarberi,

We tested the scenarios and have managed to reproduce the same problems on our end. For the sake of corrections, we have logged an issue in our issue tracking system. Your ticket number is WORDSNET-20098. We will further look into the details of this issue and will keep you updated on the status. We apologize for your inconvenience.