Incorrect Merging results

Hi,

I’m using words.net version 5.3.0.0 and have run into a merging problem. I have a merge template created from word which has pleading lines and numbers down the left side of the page which are located in a text box within the header of the document. I’ve attached the merge template for you to look at. when I do the merge with the data, the top of the header shows, but the pleading line and numbers have been removed (I’ve attached the completed merge document also). Any idea why the pleading line are being removed?

Thanks in advance!

Hi John,
Thanks for your request. I cannot reproduce the problem on my side. I used the latest version of Aspose.Words for testing. You can download the latest version from here:
https://releases.aspose.com/words/net
I used the following code for testing:

Document doc = new Document(@"Test001\in.docx");
string[] names = {"CountyAttorneyAddress", "CountyAttorneyAddress2", "CountyAttorneyCityState",
"DefendantFirstName", "DefendantMiddleName", "DefendantLastName", "CaseNumber",
"DefendantLastName", "PetitionDateStr", "TrialReviewDtae", "TrialReviewTime",
"OrderDateStr"};
doc.MailMerge.Execute(names, names);
doc.Save(@"Test001\out.docx");

Best regards,