Hi
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.
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?
Hi
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: https://reference.aspose.com/words/java/com.aspose.words/MailMergeCleanupOptions
Please let us know if you need more assistance, we are always glad to help you.
Best regards,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.