Previous Next


                                             144
CHAPTER 3                                                                  Syntax



Example 3.14 illustrates the page tree for a document with three pages. See “Page
Objects,” below, for the contents of the individual page objects, and Section G.4,
“Page Tree Example,” for a more extended example showing the page tree for a
longer document.

Example 3.14

  2 0 obj
     << /Type /Pages
         /Kids [ 4 0 R
                 10 0 R
                 24 0 R
               ]
         /Count 3
     >>
  endobj

  4 0 obj
     << /Type /Page
         … Additional entries describing the attributes of this page …
     >>
  endobj

  10 0 obj
     << /Type /Page
         … Additional entries describing the attributes of this page …
     >>
  endobj

  24 0 obj
     << /Type /Page
         … Additional entries describing the attributes of this page …
     >>
  endobj

In addition to the entries shown in Table 3.26, a page tree node may contain
further entries defining inherited attributes for the page objects that are its
descendants (see “Inheritance of Page Attributes” on page 149).


Page Objects

The leaves of the page tree are page objects, each of which is a dictionary
specifying the attributes of a single page of the document. Table 3.27 shows the
contents of this dictionary (see also implementation note 35 in Appendix H). The

Previous Next