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

Free Support Forum - aspose.com

Document merging with consistent styles and headings/footers

I have to create a master document that consists of combining 25-30 documents. Each of the documents falls into one of five categories. Each category has it’s own definition of styles for headings, and heading/footer information.
I’ve read through the documentation but have not really seen a way to do this. Applying styles to headings is briefly touched on. Being somewhat new to .Net a code example (C#) would really help.

Thanks for your request. You should define styles that will be used in all groups of document in your master documents. Names of styles should be same as in sub documents. Then you should use AppendDocument method as shown below.

doc.AppendDocument(srcDoc, ImportFormatMode.UseDestinationStyles);

I hope this could help you.
Also see the following link for more information.
Best regards.