Previous Next


                                                       1042
          APPENDIX F                                                                    Linearized PDF



ITEM           SIZE (BITS)         DESCRIPTION

12             16                  The number of bits needed to represent the numerator of the fractional posi-
                                   tion for each shared object reference. For each shared object referenced from
                                   a page, there is an indication of where in the page’s content stream the object
                                   is first referenced. That position is given as the numerator of a fraction,
                                   whose denominator is specified once for the entire document (in the next
                                   item in this table). The fraction is explained in more detail in Table F.4,
                                   item 5.

13             16                  The denominator of the fractional position for each shared object reference.



                                TABLE F.4 Page offset hint table, per-page entry
ITEM   SIZE (BITS)                 DESCRIPTION

1      See Table F.3, item 3       A number that, when added to the least number of objects in a page (Table
                                   F.3, item 1), gives the number of objects in the page. The first object of the
                                   first page has an object number that is the value of the O entry in the
                                   linearization parameter dictionary at the beginning of the file. The first
                                   object of the second page has an object number of 1. Object numbers for sub-
                                   sequent pages can be determined by accumulating the number of objects in
                                   all previous pages.

2      See Table F.3, item 5       A number that, when added to the least page length (Table F.3, item 4), gives
                                   the length of the page in bytes. The location of the first object of the first page
                                   can be determined from its object number (the O entry in the linearization
                                   parameter dictionary) and the cross-reference table entry for that object (see
                                   Section F.2.3, “First-Page Cross-Reference Table and Trailer (Part 3)”). The
                                   locations of subsequent pages can be determined by accumulating the lengths
                                   of all previous pages. Note that it is necessary to skip over the primary hint
                                   stream, wherever it is located.

3      See Table F.3, item 10      The number of shared objects referenced from the page. For the first page,
                                   this number must be 0; the next two items start with the second page.

4      See Table F.3, item 11      (One item for each shared object referenced from the page) A shared object
                                   identifier—that is, an index into the shared object hint table (described in
                                   Section F.3.2, “Shared Object Hint Table”). Note that a single entry in the
                                   shared object hint table can designate a group of shared objects, only one of
                                   which is referenced from outside the group. That is, shared object identifiers
                                   are not directly related to object numbers.
                                   This identifier combines with the numerators provided in item 5 to form a
                                   shared object reference.

Previous Next