Free Support Forum - aspose.com

Lost tables inside IF fields with Aspose 7

Hi,

I have found some problems with the version 7 of Aspose.Words

We have some documents with some tables and some of this tables are inside of IF fields. The problem is that calling the sub MailMerge.Execute we lose the tables and only retrieves the text of the cells. This was not happened with the previous version of Aspose.Words

Thank you.

Hi

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

Thanks for your request. Could you please attach your document here for testing? I will investigate the issue and provide you more information.

Best regards,

Yes, of course

You can test the document whit this code:

doc = New Document("TableInsideIF.doc")

Dim campos() As String = {"CONDICION", "CAMPO1", "CAMPO2"}

Dim valores() As String = {"1", "A", "B"}

doc.MailMerge.Execute(campos,valores)

doc.Save("MailMerged.doc")

Once you run the code, open the document with Word and if you check the option "show/hide fields code", the table will disappear.

Greetings

Hi

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

Thank you for additional information. 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 resolved.

Best regards,

The issues you have found earlier (filed as 11154) have been fixed in this update.


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