Aspose provides a powerful API to merge and combine multiple documents into one. It’s a common document automation task with several practical applications, that may enable greater consistency, streamline document workflows and reduce paper usage.
With this API you can join several Word documents into one, that is easier to review, print and share. For example, you can merge DOCX files and save them into a single consolidated PDF.
The API supports a variety of input and output formats and allows you to combine multiple DOC, DOT, DOCX, DOTX, RTF, ODT, OTT, TXT, HTML files and download the result in DOCX, PDF, HTML, EPUB, PNG, JPEG and other formats.
To append Word documents to the source document, you need to specify their names in the
documentList parameter. The resulting changes are saved in the source document if the
destFileName parameter is missing.
The description of the important API parameters is given below:
|Href||string||Path of the document to append.|
|ImportFormatMode||string||Defines which formatting will be used: appended or destination document. Possible values are KeepSourceFormatting or UseDestinationStyles.|
Usage examples with cURL and Postman
You can carry out REST API interactions using
Postman. Please read these instructions to receive a personal
JWT_TOKEN for authorization.
Aspose.Words Cloud SDK Family
Using SDK is the best way to speed up the development. Please go to the GitHub repository to explore a wide family of our Cloud SDKs. These powerful libraries take care of all low-level programming details and let you focus on your primary tasks.
Usage examples in Python, Java, C#, etc.
The following code samples show how to interact with the REST API using almost any mainstream programming language.
You can find a lot of The following code samples show how to interact with the REST API using almost any mainstream programming language.