Graphics Programs Reference
In-Depth Information
Example 4-2. PDF objects used to build the page tree illustrated in Figure 4-2
1 0 obj Root node
<< /Type /Pages /Kids [2 0 R 3 0 R 4 0 R] /Count 7 >>
endobj
2 0 obj Intermediate node
<< /Type /Pages /Kids [5 0 R 6 0 R 7 0 R] /Parent 1 0 R /Count 3 >>
endobj
3 0 obj Intermediate node
<< /Type /Pages /Kids [8 0 R 9 0 R 10 0 R] /Parent 1 0 R /Count 3 >>
endobj
4 0 obj Page 7
<< /Type /Page /Parent 1 0 R /MediaBox [0 0 500 500] /Resources << >> >>
endobj
5 0 obj Page 1
<< /Type /Page /Parent 2 0 R /MediaBox [0 0 500 500] /Resources << >> >>
endobj
6 0 obj Page 2
<< /Type /Page /Parent 2 0 R /MediaBox [0 0 500 500] /Resources << >> >>
endobj
7 0 obj Page 3
<< /Type /Page /Parent 2 0 R /MediaBox [0 0 500 500] /Resources << >> >>
endobj
8 0 obj Page 4
<< /Type /Page /Parent 3 0 R /MediaBox [0 0 500 500] /Resources << >> >>
endobj
9 0 obj Page 5
<< /Type /Page /Parent 3 0 R /MediaBox [0 0 500 500] /Resources << >> >>
endobj
10 0 obj Page 6
<< /Type /Page /Parent 3 0 R /MediaBox [0 0 500 500] /Resources << >> >>
endobj
Table 4-5. Entries in an intermediate or root page tree node (*denotes a required entry)
Key
Value type
Value
/Type *
name
Must be /Pages .
/Kids *
array of indirect references
The immediate child page-tree nodes of this node.
/Count *
integer
The number of page nodes (not other page tree nodes) which are eventual
children of this node.
/Parent
indirect reference to page tree node
Reference to the parent of this node (the node of which this is a child).
Must be present if not the root node of the page tree.
In this tree, any page can be found at most two indirect references away from the root
node.
Search WWH ::




Custom Search