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

Free Support Forum - aspose.com

Retain Spacing between Table Cells spanning across multiple Text Columns upon Word DOCX to PDF File Conversion Java

When we convert DOCX to PDF, PDF is loosing table cell spaces. Attched DOCX and PDF . Tried with updateTableLayout() and updatePageLayout() options but not helped.
Kindly suggest.

TestOut.pdf (60.8 KB)

Document doc = new Document("\Test.docx");
doc.save("\TestOut.pdf", SaveFormat.PDF);Test.zip (41.5 KB)

@vijji,

You’re right; the layout of Table spanning across multiple text-columns currently gets broken during converting DOCX to PDF by using Aspose.Words for Java. We have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-21009. 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.

Cellspace is causing the issue. We are losing cell space while converting DOCX to PDF.
cellspace.zip (19.9 KB)
Please help. Thank you.

@vijji,

You are right; spacing between Table Cells is not preserved during DOCX to PDF conversion. We have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-21050. We will further look into the details of this problem and will keep you updated on the status of linked issues. We apologize for your inconvenience.