I am using the Aspose.Words.MailMerging
library to perform mail merge operations. All my templates include pre-defined footers containing headings and page numbers. However, some of the templates are missing a specific footer line.
My objective is to programmatically detect and add this missing footer line only to the templates that do not have it, while preserving the existing formatting—such as font size, style, and layout—of the current footers.
Could you please provide guidance or a recommended approach to achieve this using Aspose.Words, ensuring that the original footer formatting remains unchanged during the mail merge process?
@Srinithin Could you please attach your problematic input and expected output documents here for our reference? We will check the documents and provide you more information.
image.png (12.1 KB)
image.png (3.6 KB)
As shown in the sample screenshots above, some templates include a footer line while others do not. My objective is to programmatically detect and add the missing footer line only to the templates that lack it, while preserving the existing formatting—such as font size, style, and layout—of the current footers.
@siranjeevimurugesan Thank you for additional information, but, unfortunately, screenshots do not give enough information for analysis. So, could you please attach your actual input and expected output documents here for our reference.