See attached Word and PDF files. I’m using Aspose.Words 5.3.0 and Aspose.PDF.184.108.40.206 and the following code to convert the files:
Dim docStream As New IO.MemoryStream doc.Save(docStream, Aspose.Words.SaveFormat.AsposePdf) Dim pdf As New Aspose.Pdf.Pdf() pdf.BindXML(docStream, Nothing) pdf.IsImagesInXmlDeleteNeeded = True
First page, section 1 (Program feedback), the spacing between the words in the containing table cell in Word is larger than in the PDF.
The square boxes in Word are center aligned in the table cell, but in PDF they are left aligned.
First page, section 3 (Pathways), the square boxes next to the “No” and “Yes” are positioned correctly in Word, but not in the PDF.
First page, section 4 (Regional Coordinator support), the table with the four (empty) rows is indented in Word, but not in the PDF. This is strange, because on the second page, section 6, the table IS indented correctly in both the Word and the PDF?
Second page, section 7 (Program declaration) - the boxes next to “Cheque number” are separated in Word but together in the PDF.
As an aside: I’m using Word 2007 and when I just save the document as PDF, it produces a much better PDF document than Aspose.PDF. Is there some way I can do that on the web server? Is there some way I can “print” the Aspose Word document to a PDF printer (or something), which will give me a more accurate PDF?