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)