Hello ,
I am using Aspose.Total Product Version 2013.04.30 and File Version 13.4.0.0
I am using mail Merge Function to add text to cover page
doc.MailMerge.Execute(New String() {“ABC”, “PQR”, “LMN”}, New Object() {strLabel1,strLable2,strLable3})
while creating MSWord file in between I want to insert cover page gain periodically
for that I have copied first page and inserted plz see code below.
builder.MoveToDocumentEnd()
builder.InsertBreak(BreakType.SectionBreakContinuous)
Dim a As Node = doc.Sections(0).Clone()
builder.Document.AppendChild(a)
but problem is for each new cover page only lable for “PQR” is different
my Question is how to change this oldtext “PQR” with newtext "PQR"
I have tried if it gives as a child element of builder or document but it gives child element as entire page i.e section
please help me for how to insert first page in between and replace oldtext with newtext
Regards ,
Jeevan Joshi.
Hi Jeevan,
Thanks for your inquiry. To ensure a timely and accurate response, please share the following resources:
- Please attach your input Word document.
- Please attach the output Word file that shows the undesired behavior.
- Please create a standalone/runnable simple application (for example a Console Application Project) that demonstrates the code you used to generate your output document
- Please attach your target Word document showing the desired behavior. You can use Microsoft Word to create your target Word document. I will investigate as to how you are expecting your final document be generated like.
As soon as you get these pieces of information ready for me, I'll start investigation into your issue and provide you more information.
Best regards,