The PDF file format allows you to specify Destination which you can goto by clicking a link or upon certain actions. There locations can even be in other PDF files. As an example, you might have
[12 0 R /Fit]
which takes you to the Page object described by Object 12 0 R and FitsToPage. Pretty neat but a bit cryptic. So you can create an additional structure (a Name tree) which allows you to refer to the page by a label (defined in the Name tree) rather than the object. So you could have TitlePage instead of 12 0 R and the PDf file would lookup title page in the Name tree (and find 12 0 R).
Name trees make the PDF structure more understandable and also easier to maintain and change. Are you using them?
This post is part of our “Understanding the PDF File Format” series. In each article, we aim to take a specific PDF feature and explain it in simple terms. If you wish to learn more about PDF, we have 13 years worth of PDF knowledge and tips, so click here to visit our series index!
IDRsolutions develop a Java PDF library, a PDF forms to HTML5 converter, a PDF to HTML5 or SVG converter and a Java Image Library that doubles as an ImageIO replacement. On the blog our team post about anything interesting they learn about.