Graphics Programs Reference
In-Depth Information
Key
Value type
Value
/Dests
dictionary
A dictionary mapping names to destinations. A destination is a
description of a place within a PDF document to which a hyper-
link sends the user.
dictionary
A viewer preferences dictionary , which allows flags to specify the
behavior of a PDF viewer when the document is viewed on
screen, such as the page it is opened on, the initial viewing scale
and so on.
/ViewerPreferences
/PageLayout
name
Specifies the page layout to be used by PDF viewers. Values
are /SinglePage , /OneColumn , /TwoColumnLeft ,
/TwoColumnRight , /TwoPageLeft , /TwoPageRight .
(Default: /SinglePage ). Details are in Table 28 of ISO
32000-1:2008.
/PageMode
name
Specifies the page mode to be used by PDF viewers. Values
are /UseNone , /UseOutlines , /UseThumbs ,
/FullScreen , /UseOC , /UseAttachments .
(Default: /UseNone ). Details are in Table 28 of ISO
32000-1:2008.
/Outlines
indirect reference to
dictionary
The outline dictionary is the root of the document outline ,
commonly known as the bookmarks.
/Metadata
indirect reference to
stream
The document's XMP metadata—see “XML Meta-
data” on page 93 .
Pages and Page Trees
A page dictionary in a PDF document brings together instructions for drawing the
graphical and textual content (which we consider in Chapter 5 and Chapter 6 ) with the
resources (fonts, images, and other external data) which those instructions make use
of. It also includes the page size, together with a number of other boxes defining crop-
ping and so forth.
The entries in a page dictionary are summarized in Table 4-4 .
Table 4-4. Entries in a page dictionary (*denotes required entry)
Key
Value type
Value
/Type *
name
Must be /Page .
/Parent *
indirect reference to dictionary
The parent node of this node in the page tree.
/Resources
dictionary
The page's resources (fonts, images, and so on). If this entry is
omitted entirely, the resources are inherited from the parent node
in the page tree. If there are really no resources, include this entry
but use an empty dictionary.
/Contents
indirect reference to stream or array of
such references
The graphical content of the page in one or more sections. If this
entry is missing, the page is empty.
Search WWH ::




Custom Search