I’m currently using the following code:
Aspose.Words.Document summaryDoc = new Aspose.Words.Document(System.IO.Path.Combine(_folderPath, "SummaryTemplate.docx"));
summaryDoc.MailMerge.Execute(summaryFields, summaryValues);
summaryDoc.MailMerge.CleanupOptions = MailMergeCleanupOptions.RemoveUnusedRegions;
summaryDoc.MailMerge.FieldMergingCallback = new HandleMergeListNumberResetter();
summaryDoc.MailMerge.ExecuteWithRegions(summarySet);
When the file is then displayed, any text that was in the merge fields is no longer spell checked by Word. How do I enable this?
(I checked my template document “SummaryTemplate.docx” and spell check is turned on for the document)