Merge Cells in Word Convert to PDF wrong


#1

Hello, it seems I have localized a bug (that can be reproduced) when converting a DOC which has merged cells in a table. The code I am using to convert is below. I am using version 3.5.0.0 of Aspose.Words.dll. In the 2 attached files, if you convert FORMB10-2.doc the “The rain Spain” row disappears. If you convert FORMB10.doc, both “The rain in Spain” and “Blah Blah Blah” rows disappear.

Dim ms As MemoryStream

Dim xmlDoc As System.Xml.XmlDocument

Dim P As Aspose.Pdf.Pdf

'***Save the current built claim as a AsposePdf format memorystream.

ms = New MemoryStream

mwdClaim.Save(ms, Aspose.Words.SaveFormat.FormatAsposePdf)

'***Start off at the beginning.

ms.Seek(0, IO.SeekOrigin.Begin)

'***Make a new XMLDoc and load the memorysteam.

xmlDoc = New System.Xml.XmlDocument

xmlDoc.Load(ms)

'***

P = New Aspose.Pdf.Pdf

P.BindXML(xmlDoc, Nothing)

P.Save("TEST.pdf")

-Randy


#2

Here is the second file…


#3

Hi,

Thank you for considering Aspose.

I have tested your documents with the latest version of Aspose.Pdf and have not found the problem. Please make sure you are using the latest version. If it still won't work, please attach the PDF document too.


#4

Thank you, I was using a slightly older version of Aspose.Pdf. The problem has been fixed.