Hi Ramasubrahmanyam,
Thanks for your inquiry. You can get/extract specific page using Aspose.Words and perform mail merge using modified data.
If you want to extract specific page from Word document, you can achieve this using the “PageSplitter” example project. You can find PageSplitter code in
Aspose.Words for Java examples repository at GitHub. Please check following code example for your kind reference.
If this does not help you, please share some more detail about your query along with input and expected output documents. We will then provide you more information about your query along with code.
//Load the document<o:p></o:p>
Document doc = new Document(MyDir + "in.docx");
// Create and attach collector to
the document before page layout is built.
LayoutCollector layoutCollector = new
LayoutCollector(doc);
// Split nodes in the document into
separate pages.
DocumentPageSplitter splitter = new
DocumentPageSplitter(layoutCollector);
//Get the first page of document
Document newDoc =
splitter.GetDocumentOfPage(1);
newDoc.save(MyDir + "Out.docx");