Using Aspose Words Java…
I am working on a use-case where we need to inject documents into main document. So lets say I have doc1.docx, doc2.docx, doc3.docx and need to inject all these 3 documents into 1 main document. Before inserting/injecting sub-documents need to also add Header/Title for the sub-document content. That title is not part of sub-document, it is coming from Database. With the title/header also need to add numbering. So please tell me the way to add Title and numbering.
I got the way to insert document into main document but not able to add title/header for this inserted document content.