SECTION 8.2
593
Document-Level Navigation
Example 8.3 shows a collection dictionary representing an email in-box, where
each item in the collection is an email message. The actual email messages are
contained in file specification dictionaries. The organizational data associated
with each email is described in a collection schema dictionary. Most actual orga-
nizational data (from, to, date, and subject) is provided in a collection item dic-
tionary, but the size data comes from the embedded file parameter dictionary.
Example 8.3
/Collection <<
/Type /Collection
/Schema <<
/Type /CollectionSchema
/from << /Subtype /S /N (From) /O 1 /V true /E false>>
/to << /Subtype /S /N (To) /O 2 /V true /E false >>
/date << /Subtype /D /N (Date received) /O 3 /V true /E false >>
/subject << /Subtype /S /N (Subject) /O 4 /V true /E false >>
/size << /Subtype /Size /N (Size) /O 5 /V true /E false >>
>>
/D (Doc1)
/View /D
/Sort << /S /date /A false >>
>>
Example 8.4 shows a collection item dictionary and a collection subitem dictio-
nary. These dictionaries contain entries that correspond to the schema entries
specified in Example 8.3. Section 3.10.5, “Collection Items” specifies the collec-
tion item and collection subitem dictionaries.
Example 8.4
/CI <<
/Type /CollectionItem
/from (Rob McAfee)
/to (Patty McAfee)
/subject <<
/Type /CollectionSubitem
/P (Re:)
/D (Let's have lunch on Friday!)
>>
/date (D:20050621094703-07’00’)
>>
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.