Previous Next


                                        112
CHAPTER 3                                                                           Syntax



Note: To make the format and contents of the cross-reference stream readable in this
example, an ASCIIHexDecode filter is specified. As explained in implementation
note 20 in Appendix H, the example would not be acceptable to Acrobat 6.0 and lat-
er viewers as written.

Example 3.11

  1 0 obj                          % The document root, at offset 23.
      << /Type /Catalog
         /StructTreeRoot 3 0 R
         …
      >>
  endobj

  12 0 obj
  …
  endobj
  …
  99 0 obj
  …
  endobj

  xref                             % The main xref section, at offset 2664
  0 100                            % This subsection has entries for objects 0 - 99.
  0000000002 65535 f               % Entry for object 0
  0000000023 00000 n               % Entry for object 1, the root
  0000000003 65535 f               % Entry for object 2 (object stream), marked free in this table
  0000000004 65535 f               % Entry for object 3, marked free in this table
  0000000005 65535 f               %…
  0000000006 65535 f
  0000000007 65535 f
  0000000008 65535 f
  0000000009 65535 f
  0000000010 65535 f
  0000000011 65535 f
  0000000000 65535 f               % Entry for object 11 (xref stream), marked free in this table.
  0000000045 00000 n               % Entry for object 12, in use.
  0000000179 00000 n               % Entry for object 13, in use.
  …
  0000002201 00000 n               % Entry for object 99, in use.
  trailer
      << /Size 100
          /Root 1 0 R

Previous Next