Word table breaks over multiple pages when converting from docx to PDF

Hi,

I’m using the latest Aspose.Word 17.4.0.0 to convert a docx file to PDF. The code I used is:

string docFilePath = “try output.docx”;
string pdfFilePath = “try output.pdf”;
var doc = new Aspose.Words.Document(docFilePath);
doc.Save(pdfFilePath, Aspose.Words.SaveFormat.Pdf);

I have attached the example files “try output.docx” and “try output.pdf”.

As you can see, the docx file has a table with 1 header row and 6 content rows. For some reason, the PDF output inserts page breaks in between every row. This does not happen in Word or when PDF is saved from Word.

Can you please take a look?

Thanks.
Lawrence.

Hi Lawrence,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15235. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.