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

Free Support Forum - aspose.com

Concatenating Multiple Word Doucments


I am creating multiple word documents using Aspose.words for java version 14.3.0. At the end of generation of these documents I need to concatenate them to create one document. To perfomr this for every document I am saving it to an OutputStream and then converting it to a InputStream to store it in a an array. At the end of generation I iterate through them and create the final document.

I wanted to check if there is anyother way for concatenation and I do not have to save to OutputStream and convert back to Inputstream.


Hi Rajeev,

Thanks for your inquiry. Please use Document.appendDocument method to append the specified document to the end of this document. Please read following documentation links for your kind reference and let us know if you have any more queries.