Previous Next


                                                1058
APPENDIX G                                                          Example PDF Files




                             TABLE G.1 Objects in minimal example
OBJECT NUMBER                  OBJECT TYPE

1                              Catalog (document catalog)

2                              Outlines (outline dictionary)

3                              Pages (page tree node)

4                              Page (page object)

5                              Content stream

6                              Procedure set array

Note: When using Example G.1 as a starting point for creating other files, remem-
ber to update the ProcSet array as needed (see Section 10.1, “Procedure Sets”). Also,
remember that the cross-reference table entries may need to have a trailing space
(see Section 3.4.3, “Cross-Reference Table”).

Example G.1

    %PDF−1. 4
    1 0 obj
       << /Type /Catalog
           /Outlines 2 0 R
           /Pages 3 0 R
       >>
    endobj

    2 0 obj
       << /Type Outlines
           /Count 0
       >>
    endobj

    3 0 obj
       << /Type /Pages
           /Kids [ 4 0 R ]
           /Count 1
       >>
    endobj

Previous Next