Skip to content
Advertisement

Tag: tableofcontents

PDFBox 2.0.9 – creating TOC with multiple pages

I’m working on PDF Toc. It generates the first page but when I have more elements I did logic to create a new page for TOC. I’m using PDF Box and that PDPageContentStream. I had to create a function to calculate how many pages I need. Then I’m creating the exact amount of pages in the list and add them

Advertisement