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

Free Support Forum - aspose.com

DOCX merge in SharePoint

We have not purchased SharePoint word-component. But we are looking for a web component which our developers can merge multiple DOCX files. The DOCX files are in SharePoint. We want to open several docx files from SharePoint, and merge them but we need to:
1) Preserve headers, footers for each docx
2) Once the files are merged into 1 final file, we also want to keep the original page number from the original document (not resequencing the page number).

Can the above requirements be done with any of the ASPOSE components?

Thank you.
Hi,

Thanks for your interest in Aspose.Words.

Aspose.Words for SharePoint has two main features: document conversion and report generation. It integrates with SharePoint and provides a user interface for these features. You can use these features programmatically as well. But, Aspose.Words for SharePoint does not expose the whole document object module like Aspose.Words for .NET does. For example, the MailMerge feature is available in Aspose.Words for .NET; but you cannot use the MailMerge class via Aspose.Words for SharePoint. You may please see the System Requirements of Aspose.Words for SharePoint.

So, in case you just want to open a document and save it to PDF in SharePoint library and nothing else, then you should choose 'Aspose.Words for SharePoint'. On the other hand, if you want to take advantage of the whole Aspose.Words API then we would recommend you please go for 'Aspose.Words for.NET' API. And of-course, you can integrate Aspose.Words for .NET with SharePoint environment. For this, we would suggest you please go through the following blog post and video tutorial:
Using Aspose.Total for .NET with SharePoint for File Creation and Manipulation.

hdinh:
1) Preserve headers, footers for each docx
2) Once the files are merged into 1 final file, we also want to keep the original page number from the original document (not resequencing the page number).

Yes, you can meet these requirements using Aspose.Words for .NET API. Please refer to the following section of documentation:

Joining and Appending Word Documents

Please let us know if we can be of any further assistance.

Best regards,