Previous Next


                                                        189
            SECTION 3.10                                                            File Specifications



3.10.5 Collection Items

            Beginning with PDF 1.7, a collection item dictionary contains the data described
            by the collection schema dictionary for a particular file in a collection (see
            Section 8.2.4, “Collections). Table 3.45 describes the entries in a collection item
            dictionary.

                               TABLE 3.45 Entries in a collection item dictionary
KEY          TYPE           VALUE

Type         name           (Optional) The type of PDF object that this dictionary describes; if present, must be
                            CollectionItem for a collection item dictionary.

Other        text string,   (Optional) Provides the data corresponding to the related fields in the collection dic-
keys         date,          tionary. If the entry is a dictionary, then it is a collection subitem dictionary (see
chosen by    number or      Table 3.46).
producer     dictionary
                            The type of each entry must match the type of data identified by the collection field
                            dictionary (see Table 8.8 on page 591). For example, if the corresponding collection
                            field has a Subtype entry of S, then the entry is a text string.
                            A single collection item dictionary may contain multiple entries, with one entry rep-
                            resenting each key (see Example 8.3 on page 593).

            A collection subitem dictionary provides the data corresponding to the related
            fields in the collection dictionary, and it provides a means of associating a prefix
            string with that data value. The prefix is ignored by the sorting algorithm.
            Table 3.46 describes the entries in a collection subitem dictionary.

                             TABLE 3.46 Entries in a collection subitem dictionary
KEY          TYPE           VALUE

Type         name           (Optional) The type of PDF object that this dictionary describes; if present, must be
                            CollectionSubitem for a collection item dictionary.

D            text string,   (Optional) The data corresponding to the related entry in the collection field dictio-
             date, or       nary (see Table 8.8 on page 591). The type of data must match the data type identified
             number         by the collection field dictionary. Default: none.

P            text string    (Optional) A prefix string that is concatenated with the text string presented to the
                            user. This entry is ignored when a PDF viewer application sorts the items in the col-
                            lection. Default: none.

Previous Next