I need to insert two documents in one and make a table of contents, which will be contains lnks to each of imported documents. How can I do it?
Thanks for your request. Please see the following link to learn how to insert one document into another:
If you just need to append the specified document to the end of current document, you can try using appendDocument method:
You can use insertTableOfContents method to create TOC from scratch:
Please let me know if you need more assistance, I will be glad to help you.