MailMerge HTML preserve document formatting - missing link

Hi,
A previous forum post includes an attachment from your development team that appears to be what we are after:
This relates to HTML output being merged with the formatting already applied to the Word document template.
Unfortunatly the attachment says that it is present but inaccessible. Please could you point us towards this code if it is still available

Thanks,

Hi Maurice,

Thank you for inquiry. Please find the attachment as workaround shared by my colleague in given thread.

Then use the following code:

for (int i = 0; i <docmailmerragefields.Length; i++)
{
    if (docmailmerragefields[i].Equals("BarcodeString"))
    {
        bbb.MoveToMergeField("BarcodeString");
        InsertHtmlWithBuilderFormatting(bbb, BarcodeString);
    }
}

Please visit the link for more details:
https://forum.aspose.com/t/53489

In case of any ambiguity, please let me know.

That’s great thanks