Hi Aspose Team,
please find the attached code and expected document.
MailMergeRegionsPositionError2.zip (777.4 KB)
We are trying to merge record set with two records, both being RTF fields. We have our implementation of IFieldMergingCallback to insert HTML at the place of mergefield. The problem seems to be that the 2nd time we enter the callback mergefield is in incorrect place (at the end of 1st paragraph, so basically in the middle of text merged for first record).
Could you please take a look and explain why this is happening? Is there anything we can do to correct this on our side?
Thanks,
Mateusz