bookmarks
To add a table of contents to a PDF file in Java, you can use our PDF toolkit JPedal. Once you have downloaded the... Bookmarks are a useful way to outline the structure of a PDF file, acting like a table of contents. Many viewers will display bookmarks... JPedal already has the ability to read bookmarks from PDF files so now you can chain this functionality with our OutlineWriter to copy bookmarks...