mailmerge string with multiple format specifiers

Hey,

I have a word template which I fill using syncfusion docIO.  I have a group notes, which i populate with a list of Notes.  These notes however can be styled like <b>this</b><u>is</u><i>a</i>quote note.
passing the string to the mailmerge like this produces that exact output and is of course not readable for users.
I have tried to use mergefieldeventhandler but I am only able to boldify (for example) the complete string, and not just 1 word of the string.

What is the best approach to this problem?

1 Reply

DB Dilli Babu Nandha Gopal Syncfusion Team October 31, 2018 09:23 AM UTC

Hi Thierry,

Thank you for contacting Syncfusion support.

We suspect that your requirement is to perform Mail merge with the formatted HTML string which can be achieved with the help of MergeField event and InsertXHTML API. Please find the example project from below and let us know if it helps.
http://www.syncfusion.com/downloads/support/forum/140644/ze/DocIO_CoreApp-895232569.zip
 
 
To know more about mail merge and its events, kindly refer the following documentation link  
 
Regards, 
Dilli babu.

 


Loader.
Up arrow icon