We create a main document. We have other documents that we modify and then append to the main document. Two of the documents are having their fonts change from Calibri to Times Roman. I have attached the main document. The last two documents in the main document are the documents where the font is changing. I have also attached the original copy of the 2 documents so you can see their font is Calibri. Below, is an example of how we are merging the documents.
Thanks for your help
Document oMainDocument = new Document();
Document oDocumentTemplate = new Document(strTemplateFile));
Document oDocument = oDocumentTemplate.Clone();
oDocument.Replace("#Test", "Test Data", true, true);
foreach (Section sec in oDocument.Sections)
{
oMainDocument.Sections.Add(sec.Clone());
}
oMainDocument.LastParagraph.AppendBreak(BreakType.PageBreak);
oDocument.SaveToFile(strFullFilename, FileFormat.Docx);