Hi,
I’ve recently updated from Aspose.Words 24.2 to newest version and noticed a change in how MailMerge.Execute() affects formatting in some documents . please find the attached code sample in which a string is merged into a mergefield. The mergefield is set to Arial 10, but after performing mailmerge on it and saving it, the font changes to Calibri (Body) 11. This was not the case on the previous Aspose version I used (24.2), where the font stayed the same. Could you please let me know if the new behavior is intentional, and if there is any way to set it to behave like the old version?
MailMergeFormatting.zip (12.8 KB)
@acturisaspose
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSNET-27766
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Hi,
If it’s any help in investigating the issue, while I was looking for a workaround I have noticed that UpdateFields() seems to do something similar on FieldComments fields - as in, Font.Style seems to not be transferred from the logic runs onto the display result runs.
@acturisaspose Than you for additional information. Upon executing mail merge Aspose.Words internally calls UpdateFields
. We will keep you updated and let you know once the issue is resolved or we have more information.
The issues you have found earlier (filed as WORDSNET-27766) have been fixed in this Aspose.Words for .NET 25.3 update also available on NuGet.