TOT insertion in java

Hi,
Kindly request to share java code for inserting and updating TOT(Table of Tables) with in a word document.

Thanks in Advance,
Gopal

Hello
Thanks for your request. Please see the following link to learn how to use insertTableOfContents method to create TOC from scratch:
https://reference.aspose.com/words/java/com.aspose.words/documentbuilder/#insertTableOfContents-java.lang.String
Also you can try using updateFields method to update TOC:
https://reference.aspose.com/words/java/com.aspose.words/document/#updateFields
Please let me know if you need more assistance, I will be glad to help you.
Best regards,