CHAPTER 3
154
Syntax
In the context of a given content stream, the term
current resource dictionary
refers to the resource dictionary associated with the stream in one of the ways
described above.
Each key in a resource dictionary is the name of a resource type, as shown in
Table 3.30. The corresponding values are as follows:
For resource type
ProcSet
, the value is an array of procedure set names
For all other resource types, the value is a subdictionary. Each key in the sub-
dictionary is the name of a specific resource, and the corresponding value is a
PDF object associated with the name.
TABLE 3.30 Entries in a resource dictionary
KEY
TYPE
VALUE
ExtGState
dictionary
dictionary
(Optional)
A dictionary that maps resource names to graphics state parame-
ter dictionaries (see Section 4.3.4, “Graphics State Parameter Dictionaries”).
(Optional)
A dictionary that maps each resource name to either the name of a
device-dependent color space or an array describing a color space (see Sec-
tion 4.5, “Color Spaces”).
(Optional)
A dictionary that maps resource names to pattern objects (see Sec-
tion 4.6, “Patterns”).
(Optional; PDF 1.3)
A dictionary that maps resource names to shading dic-
tionaries (see “Shading Dictionaries” on page 304).
(Optional)
A dictionary that maps resource names to external objects (see
Section 4.7, “External Objects”).
(Optional)
A dictionary that maps resource names to font dictionaries (see
Chapter 5).
(Optional)
An array of predefined procedure set names (see Section 10.1,
“Procedure Sets”).
(Optional; PDF 1.2)
A dictionary that maps resource names to property list
dictionaries for marked content (see Section 10.5.1, “Property Lists”).
ColorSpace
Pattern
dictionary
dictionary
dictionary
dictionary
array
dictionary
Shading
XObject
Font
ProcSet
Properties
Example 3.16 shows a resource dictionary containing procedure sets, fonts, and
external objects. The procedure sets are specified by an array, as described in
Section 10.1, “Procedure Sets.” The fonts are specified with a subdictionary
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.