Previous Next
622
CHAPTER 8 Interactive Features
Example 8.8 shows the definition of a text annotation.
Example 8.8
22 0 obj
<< /Type /Annot
/Subtype /Text
/Rect [ 266 116 430 204 ]
/Contents ( The quick brown fox ate the lazy mouse . )
>>
endobj
Link Annotations
A link annotation represents either a hypertext link to a destination elsewhere in
the document (see Section 8.2.1, “Destinations”) or an action to be performed
(Section 8.5, “Actions”). Table 8.24 shows the annotation dictionary entries spe-
cific to this type of annotation.
TABLE 8.24 Additional entries specific to a link annotation
KEY TYPE VALUE
Subtype name (Required) The type of annotation that this dictionary describes; must be Link
for a link annotation.
A dictionary (Optional; PDF 1.1) An action to be performed when the link annotation is ac-
tivated (see Section 8.5, “Actions”).
Dest array, name or (Optional; not permitted if an A entry is present) A destination to be displayed
byte string when the annotation is activated (see Section 8.2.1, “Destinations”; see also im-
plementation note 89 in Appendix H).
H name (Optional; PDF 1.2) The annotation’s highlighting mode, the visual effect to be
used when the mouse button is pressed or held down inside its active area:
N (None) No highlighting.
I (Invert) Invert the contents of the annotation rectangle.
O (Outline) Invert the annotation’s border.
P (Push) Display the annotation as if it were being pushed below the sur-
face of the page; see implementation note 90 in Appendix H.
Default value: I.
Note: In PDF 1.1, highlighting is always done by inverting colors inside the anno-
tation rectangle.
Previous Next