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 DOCX, DOC, DOTX, DOT, RTF, ODT, OTT, TXT, HTML files and download the result in DOCX, PDF, HTML, EPUB, PNG, JPG 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.|
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use cURL command-line tool to access Aspose.Words web services easily. The following example shows how to make calls to Cloud API with cURL. Feel free to download and explore sample input test_doc.docx, test_multi_pages.docx and output test_doc_output.docx file designed to act as a demonstration and let you figure out the details quickly.
Cloud SDK Family
Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Words Cloud SDKs.
The following code examples demonstrate how to make calls to Aspose.Words web services using various SDKs: