Previous Next
1080
APPENDIX G 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 Annotation array
8 1 Annot (annotation dictionary)
9 1 Annot (annotation dictionary)
12 0 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.
Example G.10 shows the lines added to the file by this update. The added cross-
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
Previous Next