I have a Word document (doc1.doc) that I save in AsposePDF format (doc1.xml) with Aspose.Words 126.96.36.199.
When I load the doc1.xml with Aspose.PDF 188.8.131.52 an exception is raised.
Here’s the conversion code:
Dim PdfDoc As New Aspose.Pdf.Pdf
Dim pdfLic As New Aspose.Pdf.License
PdfDoc.Save(“c:\temp\doc1.pdf”) <— raises exception
Here’s the exception details:
System.ApplicationException was unhandled
Message=“Cell width is too small: 113,45”
in Aspose.Pdf.Xml.᙭.ᙰ(Pdf ӕ, Section ა, Heading ؼ, Table բ, Row ࿖, Cell ՜, ӝ ӿ, Boolean Ꮘ)
in Aspose.Pdf.Xml.ᙩ.ᙫ(Pdf ӕ, Section ა, Table բ, Row ࿖, Cell ՜, ӝ ӿ)
in Aspose.Pdf.Xml.ᙞ.ᙡ(Pdf ӕ, Section ა, Table բ, Row ࿖, ӝ ӿ)
in Aspose.Pdf.Xml.ᖐ.ᖒ(Pdf ӕ, Section ა, Table բ, ӝ ӿ, Boolean Ꮘ)
in Aspose.Pdf.Xml.ᖄ.ᖇ(Pdf ӕ, Section , ӝ ӿ)
in Aspose.Pdf.Xml.ܻ.ၨ(Pdf ӕ)
in Aspose.Pdf.Xml.ᤧ.(Ӟ , Pdf ӕ)
in Aspose.Pdf.Pdf.Save(String pdfFile)
Attached the source document in both formats (DOC and XML).
Same code was OK with Aspose.Words 184.108.40.206 + Aspose.PDF 220.127.116.11 (I don’t know which component upgrade caused this issue).
Please advice how to workaround this issue!
I tested it this should be a bug of Aspose.Words. I will asked aspose words team to give you a solution soon.
I tested it this should be a bug of Aspose.Words. I will move this thread to Aspose.Words forum in order to help you better.
Thank you for your inquiry.
I have reproduced and logged the issue as #4450 in our defect database. We’ll fix it and notify you here in the thread.
Hello Pascal.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
This issue has been fixed. Correct code will be available in the next hotfix in few days.
I found that after fixing this some other issues have appeared related to Aspose.Pdf. Some text in the table cells is accidentally rendered vertically. I’ll provide them technical information by e-mail.
We have fixed the vertical text bug. A temporary dll which includes this fix is attached. Please try it and let us know if you have any other problem. Thanks.
We have released a new version of Aspose.Words that contains a fix for your issue.
Issue # 4450 - Exception: Cell width is too small
The new version of Aspose.Words is available for download from here.
The issues you have found earlier (filed as 4450) have been fixed in this update.
I confirm that my problem is fixed with Aspose.Words 18.104.22.168 (for .net 2.0) and with the given hotfix of Aspose.PDF.
Thanks for your great support!!