We are evaluating Aspose.Word, mainly for MailMerge functionality. One of the requirements is to allow end user (with little knowledge of mailmerge) to modify the templates.
To ensure that they use the correct fields, I have created a Header document, which lists all the valid fields. They can then add this header doc to there file (Mail Merge Helper -> Data Source -> Get Data -> Header option)
This way they can just click and insert the needed field anywhere using the “Insert Merge Field” drop down. So far so good…
Now when I put TableStart:MyTable in the header file, word strips out the “:” and just inserts TableStartMyTable. Is there a work around for this? I guess there are two approaches:
- Make word not to strip the : (how?)
- Make Aspose use a different delimiter ("_" underscore) instead of “:” - again how?