Previous Next


                                                       719
       SECTION 8.6                                                                 Interactive Forms



KEY   TYPE               VALUE

IF    dictionary         (Optional; PDF 1.3; button fields only) An icon fit dictionary (see Table 8.97) specify-
                         ing how to display a button field’s icon within the annotation rectangle of its widget
                         annotation.

Opt   array              (Required; choice fields only) An array of options to be presented to the user. Each
                         element of the array can take either of two forms:
                         • A text string representing one of the available options
                         • A two-element array consisting of a text string representing one of the available op-
                              tions and a default appearance string for constructing the item’s appearance dynam-
                              ically at viewing time (see “Variable Text” on page 677)

A     dictionary         (Optional) An action to be performed when this field’s widget annotation is activated
                         (see Section 8.5, “Actions”).

AA    dictionary         (Optional) An additional-actions dictionary defining the field’s behavior in response
                         to various trigger events (see Section 8.5.2, “Trigger Events”).

RV    text string or     (Optional; PDF 1.5) A rich text string, as described in “Rich Text Strings” on page 680.
      text stream

       In an FDF field dictionary representing a button field, the optional IF entry holds
       an icon fit dictionary (PDF 1.3) specifying how to display the button’s icon within
       the annotation rectangle of its widget annotation. Table 8.97 shows the contents
       of this type of dictionary.

                                  TABLE 8.97 Entries in an icon fit dictionary
KEY   TYPE             VALUE

SW    name             (Optional) The circumstances under which the icon should be scaled inside the annota-
                       tion rectangle:
                          A     Always scale.
                          B     Scale only when the icon is bigger than the annotation rectangle.
                          S     Scale only when the icon is smaller than the annotation rectangle.
                          N     Never scale.
                       Default value: A.

Previous Next