Hello,
I have a Word document (doc1.doc) that I save in AsposePDF format (doc1.xml) with Aspose.Words 5.0.0.0.
When I load the doc1.xml with Aspose.PDF 3.6.2.0 an exception is raised.
Here’s the conversion code:
Dim PdfDoc As New Aspose.Pdf.Pdf
Dim pdfLic As New Aspose.Pdf.License
pdfLic.SetLicense("c:\temp\mylicense.lic")
PdfDoc.BindXML("c:\temp\doc1.xml", Nothing)
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"
Source="Aspose.Pdf"
StackTrace:
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 4.4.3.0 + Aspose.PDF 3.6.1.0 (I don’t know which component upgrade caused this issue).
Please advice how to workaround this issue!
Best regards,
Pascal.