SECTION 8.9
751
Document Requirements
Example 8.22
<</Type /Measure
/Subtype /RL
/R (1in = 0.1 mi)
/X [ <</U (mi)
/C .00139
/D 100000
]
/D [<< /U (mi) /C 1 >>
<< /U (ft) /C 5280 >>
<< /U (in) /C 12
/F /F /D 8 >>
]
/A [<</U (acres)
/C 640 >>
]
>>
%
x
offset represented in miles
% Conversion from user space units to miles
% Distance: initial unit is miles; no conversion needed
% Conversion from miles to feet
% Conversion from feet to inches
% Fractions of inches rounded to nearest 1/8
% Area: measured in acres
% Conversion from square miles to acres
8.9 Document Requirements
Beginning with PDF 1.7, a document can specify requirements that must be
present in a PDF consumer application in order for the document to function
properly. The
Requirements
entry in the document catalog (see Section 3.6.1,
requirement dictionaries,
whose en-
tries are shown in Table 8.113. (See also implementation note 147 in Appendix
TABLE 8.113 Entries common to all requirement dictionaries
KEY
TYPE
DESCRIPTION
Type
name
name
array
(Optional)
The type of PDF object that this dictionary describes. If
present, must be
Requirement
for a requirement dictionary.
(Required)
The type of requirement that this dictionary describes.
Currently, the only defined value is
EnableJavaScripts
.
(Optional)
An array of
requirement handler dictionaries
(see Table
abled (not executed) if the PDF consumer application can check the
requirement specified in the
S
entry.
S
RH