Previous Next


                                                    621
          SECTION 8.4                                                                 Anno ta tions



          Additional state changes are made by adding text annotations in reply to the pre-
          vious reply for a given user.


          Text Annotations

          A text annotation represents a “sticky note” attached to a point in the PDF docu-
          ment. When closed, the annotation appears as an icon; when open, it displays a
          pop-up window containing the text of the note in a font and size chosen by the
          viewer application. Text annotations do not scale and rotate with the page; they
          behave as if the NoZoom and NoRotate annotation flags (see Table 8.16 on page
          608) were always set. Table 8.23 shows the annotation dictionary entries specific
          to this type of annotation.

                        TABLE 8.23 Additional entries specific to a text annotation
KEY           TYPE           VALUE

Subtype       name           (Required) The type of annotation that this dictionary describes; must be Text
                             for a text annotation.

Open          boolean        (Optional) A flag specifying whether the annotation should initially be displayed
                             open. Default value: false (closed).

Name          name           (Optional) The name of an icon to be used in displaying the annotation. Viewer
                             applications should provide predefined icon appearances for at least the follow-
                             ing standard names:
                                 Comment                  Key                       Note
                                 Help                     NewParagraph              Paragraph
                                 Insert
                             Additional names may be supported as well. Default value: Note.
                             Note: The annotation dictionary’s AP entry, if present, takes precedence over the
                             Name entry; see Table 8.15 on page 606 and Section 8.4.4, “Appearance Streams.”

State         text string    (Optional; PDF 1.5) The state to which the original annotation should be set; see
                             “Annotation States,” above.
                             Default: “Unmarked” if StateModel is “Marked”; “None” if StateModel is “Re-
                             view”.

StateModel    text string    (Required if State is present, otherwise optional; PDF 1.5) The state model corre-
                             sponding to State; see “Annotation States,” above.

Previous Next