Previous Next


                                             710
     CHAPTER 8                                                        Interactive Features



8.6.5 Named Pages

     The optional Pages entry (PDF 1.3) in a document’s name dictionary (see Section
     3.6.3, “Name Dictionary”) contains a name tree that maps name strings to indi-
     vidual pages within the document. Naming a page allows it to be referenced in
     two different ways:

     • An import-data action can add the named page to the document into which
       FDF is being imported, either as a page or as a button appearance.
     • A script executed by a JavaScript action can add the named page to the current
       document as a regular page.

     A named page that is to be visible to the user should be left in the page tree (see
     Section 3.6.2, “Page Tree”), and there should be a reference to it in the appropriate
     leaf node of the name dictionary’s Pages tree. If the page is not to be displayed by
     the viewer application, it should be referenced from the name dictionary’s
     Templates tree instead. Such invisible pages should have an object type of
     Template rather than Page and should have no Parent or B entry (see Table 3.27
     on page 145). Regardless of whether the page is named in the Pages or Templates
     tree or is added to a document by an import-data or JavaScript action, the new
     copy is not itself named.


8.6.6 Forms Data Format

     This section describes Forms Data Format (FDF), the file format used for inter-
     active form data (PDF 1.2). FDF is used when submitting form data to a server,
     receiving the response, and incorporating it into the interactive form. It can also
     be used to export form data to stand-alone files that can be stored, transmitted
     electronically, and imported back into the corresponding PDF interactive form.
     In addition, beginning in PDF 1.3, FDF can be used to define a container for an-
     notations that are separate from the PDF document to which they apply.

Previous Next