Insert word document into main document

Hello.
I’m generating a Word document with Aspose 5.x. I need to insert a Word document within a paragraph (or section). The insertion works fine except that the formatting of the inserted document has an impact on the formatting and the TOC of the main document. Indeed the inserted document contains itself a TOC and other heading styles.
The question is how to do to insert a document without impacting the formatting and the TOC of the main document ?
Many thanks for your answer !
Best regards
Augusto

Hi

Thanks for your inquiry. Could you please attach your document and code for testing? I will try to reproduce the problem on my side and provide you more information.
In addition, it would be great if you show me what the expected output is.
Best regards,