everyone, I want to generate a word with POI (XWPF), and I want to generate directory in my .docx File. When I click this directory I can jump to corresponding chapter. I am a new bird in POI word, so I cannot find some method for solving my problems. Can anyone give me some advice? Thanks a lot.
Asked
Active
Viewed 447 times
0
-
You are looking for Table of Contents. There is an answer here: http://stackoverflow.com/a/40264237/2296441 – jmarkmurphy Mar 31 '17 at 11:11
-
Possible duplicate of [Creating a Table of Contents for a XWPFDocument with page numbers' indication](http://stackoverflow.com/questions/40235909/creating-a-table-of-contents-for-a-xwpfdocument-with-page-numbers-indication) – jmarkmurphy Mar 31 '17 at 11:13
-
Thank you so much, your advice is very helpful for me. – Sucy Apr 01 '17 at 02:19
-
If it helps you, please up vote – jmarkmurphy Apr 01 '17 at 12:13