Issue with table column width

Dear Aspose forum,

we use Aspose-Words for Java 23.2 and have a complaint about the way table column widths end up when converting an RTF into a PDF or HTML.

Please see the ZIP archive with the RTF and resulting PDF: table_column_width.zip (82.4 KB)

(The exact same result appears when saving as HTML.)

Our code is quite straight forward:

Document doc = new Document(inputStream);
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setUpdateFields(false);
doc.save(outputStream, pdfSaveOptions);

Is there something we can do via save options or is this a bug?

Kind regards, Stefan

@stefan.raubal I cannot reproduce the problem on my side. As I can see the table is rendered the same way as MS Word renders it. Please see PDF documents produced on my side using Aspose.Words and MS Word:
ms.pdf (18.6 KB)
out_java.pdf (38.1 KB)

I am terribly sorry, I included the wrong RTF file in the ZIP.

Please use this one:
correct_input_file.zip (146.9 KB)

Kind regards, Stefan

@stefan.raubal Thank you for additional information.
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-25080

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.

Thank you, @alexey.noskov !

Please mind that we have paid support - I already also created a ticket there: #176663

1 Like

The issues you have found earlier (filed as WORDSNET-25080) have been fixed in this Aspose.Words for Java 23.12 update.