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

Free Support Forum - aspose.com

Appending a document at specific location

Hi Team,

We are evaluating the Aspose Total for Java.

We have a requirement like, in a word document(filename.doc), there will be some text which is a file name “filename2.doc”.

There will be another word document (filename2.doc).

We need to replace that text “filename2.doc” in filename.doc and append(or merge) the file filename2.doc at that particular position.

How can we achieve this in Aspose software? Please provide any links, APIs or sample code to achieve this.


Hi Prakash,

Thanks for your inquiry. Please refer to the following section of documentation:

Joining and Appending Documents using Aspose.Words for Java
How to Insert a Document into another Document at a Specific Location (see last example)

Hope, this helps.

Best regards,

Ya got the solution. Thank you.