I updated Aspose.word for java to the latest version recently. When I test compatiblity, I got a question.
There are three kind of data defined with tablestart tag and tableend tag(will call MailMerge.executeWithRegions to merge). But fields in two tables are not merged, even call back method is not called.
Could you please give me some support?
I have some update
The call back method is not called because no data in the datasource
But, what confused me is that the original tag in the template is remained in the output word doc.
How do I set mailmerge object?
Thanks for your request. If you need to remove the region that has no data, you should simply set RemoveEmptyRegions option before executing mail merge:
Please let us know if you need more assistance, we are always glad to help you.