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

Free Support Forum - aspose.com

Formatting issue when converting Word to PDF

Hi,

This is Appalanaidu Valle from India. We are using Aspose.Words (9.7.0.0) to convert document to Pdf.
We have some issues with pdf format conversion. But same document I have tested with online convert pdf sites (http://convertonlinefree.com/ and http://www.fastpdf.com/) those sites converted document properly without any format issue. Same document I have used with aspose.words dll 9.7.0.0 version with below code snippet :

Document doc = new Document(MyDir + filename);
doc.Save(MyDir + filename + "PdfSaveOut.pdf");

Please download the attached file to test at your end. Please help me out to resolve this issue. We are going to release the solution to production so we are hurry. Please give me the response ASAP.

Thanks,
Naidu

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

<![endif]–>

Hi Naidu,


Thanks for your inquiry. After an initial test with Aspose.Words 14.2.0, I was unable to reproduce this issue on my side (please see attached out.pdf). I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link. I hope, this helps.
http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/default.aspx

Best regards,