I want to create word document with table of contents.
Please suggest any API to statisfy my need.
I tried with Apache POI, iText but those are not supporting Table Of Contents(TOC). with commercial version of aspose.word i can create TOC. but after creating document i need to press F9 to see those TOC. Is there any API's that we can create TOC in word without any manual interaction.