APPENDIX G
1080
Example PDF Files
The
Prev
entry in the trailer has again been updated so that it points to the cross-
reference section added at the previous stage, and the
startxref
value points to the
newly added cross-reference section.
G.6.4 Stage 4: Add Three Annotations
Finally, three new text annotations are added to the file. Table G.6 lists the objects
involved in this update.
TABLE G.6 Object usage after adding three text annotations
OBJECT IDENTIFIER
OBJECT TYPE
7 0
8 1
9 1
12 0
Annotation array
Annot
(annotation dictionary)
Annot
(annotation dictionary)
Annot
(annotation dictionary)
Object numbers 8 and 9, which were used for the two annotations deleted in the
previous stage, have been reused; however, the new objects have been given a
generation number of 1. In addition, the third text annotation added has been
assigned the previously unused object identifier of
12 0
.
reference section contains five entries, corresponding to object number 0, the
Annots
array, and the three annotations added. The entry for object number 0 is
updated because the previously free entries for object numbers 8 and 9 have been
reused. The entry for object number 0 now shows that the cross-reference table
has no free entries. The
Annots
array is updated to reflect the addition of the
three text annotations.
Example G.10
7 0 obj
[ 10 0 R
11 0 R
81R
91R
12 0 R
]
endobj