I want to generate a Table of content document using doc4j. I tried the below sample program and it worked. However, I want the following changes and I am not sure how to do it. I have attached the document which describes what exactly I want.
1. When the user clicks on Heading 1 or Heading 2 in TOC, the cursor is taken to the detailed section. Now I want to show a detailed paragraph for each item like the description about the book / laptop and its price.
2. Is it possible to give hyperlink in the detailed section to the heading 2 items like Java/Oracle/SQL tuning/4 Gb Ram.. On click on these link it should take the specific website like amazon...
How do it. please provide me with a code.