Previous Next


                                                 722
       CHAPTER 8                                                           Interactive Features



       FDF Annotation Dictionaries

       Each annotation dictionary in an FDF file must have a Page entry (see Table
       8.101) indicating the page of the source document to which the annotation is
       attached.

                TABLE 8.101 Additional entry for annotation dictionaries in an FDF file
KEY        TYPE                VALUE

Page       integer             (Required for annotations in FDF files) The ordinal page number on which
                               this annotation should appear, where page 0 is the first page.


  8.6.7 XFA Forms

       PDF 1.5 introduces support for interactive forms based on the Adobe XML
       Forms Architecture (XFA). The XFA entry in the interactive forms dictionary (see
       Table 8.67) specifies an XFA resource, which is an XML stream that contains the
       form information. The format of an XFA resource is described in the XML Data
       Package (XDP) Specification (see the Bibliography).

       The XFA entry may be either a stream containing the entire XFA resource or an
       array specifying individual packets that together make up the XFA resource. The
       resource includes but is not limited to the following information:

       • The form template (specified in the template packet), which describes the char-
         acteristics of the form, including its fields, calculations, validations, and for-
         matting. The XML Template Specification describes the architecture of a form
         template (see Bibliography).
       • The data (specified in the datasets packet), which represents the state of the
         form
       • The configuration information (specified in the config packet), which is re-
         quired to properly process the form template and associated data. Configura-
         tion information is formatted as described in the XML Configuration
         Specification (see Bibliography).

       Each packet represents a complete XML element, with the exception of the first
       and last packet, which specify begin and end tags for the xdp:xdp element. Exam-
       ple 8.20 shows the XFA entry consisting of an array of packets; Example 8.21
       shows the same entry specified as a stream.

Previous Next