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

Free Support Forum - aspose.com

Need to add content of multiple word docs to one document

Hi All,

My requirement is like,

Need to generate letters for various companies by using mailmerge, which I successfully through and saved on the server itself.

Now I need to print all the pages content at one click. For that what we are thinking is, add content of all letters to one word document and print it.

So I need some code from you guys, like to add multiple word document contents to one document using aspose.

Looking forward for your quick reply.

Thanks & Regards

Madhu Kiran K

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. If you have lot of Word documents you can load each of them to documents and then concatenate these documents using appendDocument method:


Please let me know in case of any issues. I will be glad to help you.

Best regards,

Hi Andrey,

Thanks for your immediate response.

I need one more help from you like, how to add one document to another document by using documentbuilder as I need to format the paragraphs of the source document.

Looking forward for your quick reply.


Madhu Kiran


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. There is no way to insert one document into another using DocumentBuilder. But I think, in your case, you can try using an approach suggested here:


Hope this helps.

Best regards.

Hi Madhu,

Here is the same article Alexey posted above in Java for you