This Java program creates a table of contents at the head of the document using Qoppa’s PDF library jPDFProcess. This sample adds a page at the top of the document and then adds a page title and a link to every page in the document.

Click here to view the java code.