We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Creating Table of Contents

Hi,



Maybe I missed but I do not see how I can create a page(s) with a table of contents.



Do you have a sample for me (or a link to a sample)?



Thanks,



Marcel

Hi Marcel,


Thanks for your inquiry. Sure, you can find an example for inserting a TOC (Table of Contents) field in the document at the following page (please refer to the insertTableOfContents method):
http://www.aspose.com/docs/display/wordsjava/DocumentBuilder

Best regards,