Following are the steps used for inserting paragraph node from one document to anothe new document.
Document artTextDoc = new Document();
NodeImporter importer = new NodeImporter(doc, artTextDoc, ImportFormatMode.KEEP_SOURCE_FORMATTING);
Section artTextDocSec = new Section(artTextDoc);
artTextDoc.appendChild(artTextDocSec);
Body artTextDocBody = new Body(artTextDoc);
artTextDocSec.appendChild(artTextDocBody);Node importNode = importer.importNode(para, true);
artTextDocBody.appendChild(importNode);
This creates a new document but a blank page is inserted at the begining of a new document.