We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Incorrect Merging results


I’m using words.net version 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:
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",
doc.MailMerge.Execute(names, names);

Best regards,