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

Free Support Forum - aspose.com

Aspose. Words Word to PDF conversion. Missing part of the document

Hi Aspose Team,

During using Aspose.Words we noticed that PDF document differs from source Word document. Namely part of the text is missing . The text is placed in the table. We noticed that the problem is observed if the table cell is between two pages. Problem is not observed if gridlines are shown.

If The code snippet we use to convert it is:
static void ConverttoPdf()

{

string dataDir = " C:\Users\…\";

Document doc = new Document(dataDir + " Example2.docx ");

var saveOptions = (PdfSaveOptions)SaveOptions.CreateSaveOptions(SaveFormat.Pdf); saveOptions.Compliance = PdfCompliance.PdfA1b;

doc.Save("C:\Users\…\Example2.pdf");

}

The version of Aspose.Words we use in our project is 19.2. We attached follow the files (source word doc and the PDF conversion result) where you can find the difference.

We wanted to know, whether there is some way to fix it.

Thanks,

Lidia
ConvertToPDF.zip (29.8 KB)

@directum,

We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-18610. 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.

The issues you have found earlier (filed as WORDSNET-18610) have been fixed in this Aspose.Words for .NET 20.4 update and this Aspose.Words for Java 20.4 update.