title: Create Word/RTF file with table of contents from Java
body: <p>I want to create a Word or RTF file with a table of contents (with links to each section) from Java. From my understanding, iText &amp; Apache POI do not support generating a table of contents. Some clients of the app still use older versions of Word, so I need a library that supports the older Word doc format. Does anyone know how I can do this? </p>
  
  <p>Thanks,</p>
  
  <p>Glen</p>