In this chapter, we discuss four topics related not to the visual appearance of a PDF document, but to the ancillary data which may also be included for interactive, onscreen use of documents, and the metadata used to carry extra information with a document for use by programs in a PDF workflow.
Data structures defining a position within a file. They can be used to specify where a bookmark or hyperlink points to. Bookmarks (properly called the document outline) are used as a table of contents for the document.
A stream containing an XML file in a specified format, containing some of the same metadata as the document information dictionary, together with additional fields.
Allow whole files to be encapsulated in a document, much like an email attachment.
Allow text and graphics to be applied on top of a PDF page, separate from the main page content, for display by onscreen readers. One particular kind of annotation is the hyperlink, which allows a user to click somewhere on a page and be redirected to a destination elsewhere in the file.
A document’s bookmarks (properly called the document outline) are a tree of entries (typically titles of chapters, sections, paragraphs etc.) which can be clicked on in a PDF viewer to move around the document. Each entry has some text and a destination describing where it links to.
A destination defines a place in a PDF ...