Previous Next
877
SECTION 10.6 Logical Structure
KEY TYPE VALUE
H boolean (Optional) If true, the attribute is hidden; that is, it should not be shown in any user inter-
face element that presents the attributes of an object. Default value: false.
PDF documents that contain user properties must provide a UserProperties entry
with a value of true in the document’s mark information dictionary (see
Table 10.8). This entry allows consumer applications to quickly determine
whether it is necessary to search the structure tree for elements containing user
properties.
Example 10.14 shows a structure element containing user properties called Part
Name, Part Number, Supplier, and Price.
Example 10.14
100 0 obj
<< /Type /StructElem
/S /Figure % Structure type
/P 50 0 R % Parent in structure tree
/A << /O /UserProperties % Attribute object
/P [ % Array of user properties
<< /N (Part Name) /V (Framostat) >>
<< /N (Part Number) /V 11603 >>
<< /N (Supplier) /V (Just Framostats) /H true >> % Hidden attribute
<< /N (Price) /V -37.99 /F ($37.99) >> % Formatted value
]
>>
>>
endobj
10.6.5 Example of Logical Structure
Example 10.15 shows portions of a PDF file with a simple document structure.
The structure tree root (object 300) contains elements with structure types Chap
(object 301) and Para (object 304). The Chap element, titled Chapter 1, contains
elements with types Head1 (object 302) and Para (object 303).
These elements are mapped to the standard structure types specified in Tagged
PDF (see Section 10.7.3, “Standard Structure Types”) by means of the role map
specified in the structure tree root. Objects 302 through 304 have attached at-
tributes (see Section 10.6.4, “Structure Attributes”and Section 10.7.4, “Standard
Structure Attributes”).
Previous Next