How to add a table of contents to a PDF in Java (Tutorial) (opens in new tab)
To add a table of contents to a PDF file in Java, you can use our PDF toolkit JPedal. Once you have downloaded the JPedal jar, you can use the following lines of code to generate a table of content…
Read the original article