Due to business needs, we have over 200 report templates(word and excel) to make. The reports are generally of the same kind: populate some kind of data source like POJO, Database, into the special field in report templates. The problem is: there are too many report templates to make using Aspose’s special syntax. And we also encounter another problem: what if the customer want to add some new report template in the long future(They don’t know how to make report template in Aspose)?
Is there any solution for managing lots report templates? Is there any solution for the customer to build their own report templates who don’t have much technical background?
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. If you use simple mail merge, then Aspose.Words does not require any special syntax. It just uses regular mergefields the same way as MS Word does. I think it would not be difficult to insert mergefields into the document:
Mail merge with regions just extends functionality of mail merge feature and of course requires a special syntax of mergefields.
Unfortunately, there is no simpler way to setup templates than using mergefields. Of course, you can use bookmarks, but I think this is not very good and efficient way to fill document with data.