I am using Aspose Words to create files with tables of content in both .docx and in .pdf. The issue I am having is when I compose the word document, and I have tables that have content that wraps in a cell, regardless of whether it is a header or not, the PDF version does not auto fit to an appropriate cell width for the “column”.
I can save the word document as PDF and it looks fine, but that is not a tenable solution as there is automation involved and depending upon use, we want to generate a word document or a PDF.
I have used methods like
Table.AutoFit(AutoFitBehavior.*) and there has not been a discernible difference in the PDF table output.
Attached is an example outlining the difference in the table outputs.
PDFWrappingAndLeftOverSpace.zip (34.6 KB)
Thank you for your help!