Free Support Forum - aspose.com

Problem with formatting when saving as PDF

Hi, when saving the attached Word document (03 Modello Fax Essedici Corporate Italiano_debug.doc) as PDF (or BMP, PNG, XPS, etc. etc) using Aspose.Words 9.5.0.0 ( or 9.7.0.0) the document looks different than in MS Word.


the vb.net code used is quite simple:

Public Sub testSaveAsPDF(ByVal pathDoc As String)
Dim myDoc As New Aspose.Words.Document(pathDoc)

myDoc.Save(“c:\out.pdf”, SaveFormat.Pdf)
myDoc.Save(“c:\out.bmp”, SaveFormat.Bmp)
myDoc.Save(“c:\out.png”, SaveFormat.Png)
myDoc.Save(“c:\out.xps”, SaveFormat.Xps)
myDoc.Save(“c:\out.tiff”, SaveFormat.Tiff)

myDoc = Nothing
End Sub

I have attached a file “output.rar” with samples of generated output files.

Is it possible to get a Hotfix for this problem (based on version 9.5.0.0 or 9.7.0.0)?

Thanks and regards.

marco acorte

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is supported.

The problem occurs because there is floating table inside your document. At the moment, Aspose.Words does not support positioning of floating tables. As a temporary workaround, you can set “Text wrapping” of your table to “None” using MS Word.

Best regards,

The issues you have found earlier (filed as WORDSNET-1940) have been fixed in this .NET update and in this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(1)