Free Support Forum - aspose.com

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:

http://www.aspose.com/documentation/java-components/aspose.words-for-java/com/aspose/words/documentbuilder.html#insertTableOfContents(java.lang.String)

Also you can try using updateFields method to update TOC:

http://www.aspose.com/documentation/java-components/aspose.words-for-java/com/aspose/words/document.html#updateFields()

Please let me know if you need more assistance, I will be glad to help you.

Best regards,