OLD | NEW |
(Empty) | |
| 1 import datatypes |
| 2 |
| 3 def buildPdfSpec(pdfspec): |
| 4 pdfspec.addClass('StreamCommonDictionary', 'Dictionary', 'Entries common to al
l stream dictionaries')\ |
| 5 .required('NULL')\ |
| 6 .field('Length')\ |
| 7 .name('Length')\ |
| 8 .type('integer')\ |
| 9 .comment('(Required) The number of bytes from the beginning of the lin
e fol-\nlowing the keyword stream to the last byte just before the keyword\nends
tream. (There may be an additional EOL marker, preceding\nendstream, that is not
included in the count and is not logically part\nof the stream data.) See "Stre
am Extent," above, for further discus-\nsion.')\ |
| 10 .done().done()\ |
| 11 .optional()\ |
| 12 .field('Filter')\ |
| 13 .name('Filter')\ |
| 14 .type('name or array')\ |
| 15 .comment('(Optional) The name of a filter to be applied in processing
the stream\ndata found between the keywords stream and endstream, or an array\no
f such names. Multiple filters should be specified in the order in\nwhich they a
re to be applied.')\ |
| 16 .done().done()\ |
| 17 .optional()\ |
| 18 .field('DecodeParms')\ |
| 19 .name('DecodeParms')\ |
| 20 .type('dictionary or array')\ |
| 21 .comment('(Optional) A parameter dictionary, or an array of such dicti
onaries,\nused by the filters specified by Filter. If there is only one filter a
nd that\nfilter has parameters, DecodeParms must be set to the filter\'s parame-
\nter dictionary unless all the filter\'s parameters have their default\nvalues,
in which case the DecodeParms entry may be omitted. If there\nare multiple filt
ers and any of the filters has parameters set to non-\ndefault values, DecodePar
ms must be an array with one entry for\neach filter: either the parameter dictio
nary for that filter, or the null\nobject if that filter has no parameters (or i
f all of its parameters have\ntheir default values). If none of the filters have
parameters, or if all\ntheir parameters have default values, the DecodeParms en
try may be\nomitted. (See implementation note 7 in Appendix H.)')\ |
| 22 .done().done()\ |
| 23 .optional()\ |
| 24 .field('F')\ |
| 25 .name('F')\ |
| 26 .type('file specification')\ |
| 27 .comment('(Optional; PDF 1.2) The file containing the stream data. If
this entry\nis present, the bytes between stream and endstream are ignored, the\
nfilters are specified by FFilter rather than Filter, and the filter parame-\nte
rs are specified by FDecodeParms rather than DecodeParms. How-\never, the Length
entry should still specify the number of those bytes.\n(Usually there are no by
tes and Length is 0.)')\ |
| 28 .done().done()\ |
| 29 .optional()\ |
| 30 .field('FFilter')\ |
| 31 .name('FFilter')\ |
| 32 .type('name or array')\ |
| 33 .comment('(Optional; PDF 1.2) The name of a filter to be applied in pr
ocessing\nthe data found in the stream\'s external file, or an array of such nam
es.\nThe same rules apply as for Filter.')\ |
| 34 .done().done()\ |
| 35 .optional()\ |
| 36 .field('FDecodeParms')\ |
| 37 .name('FDecodeParms')\ |
| 38 .type('dictionary or array')\ |
| 39 .comment('(Optional; PDF 1.2) A parameter dictionary, or an array of s
uch dic-\ntionaries, used by the filters specified by FFilter. The same rules ap
ply\nas for DecodeParms.')\ |
| 40 .done().done()\ |
| 41 .done() |
| 42 |
| 43 pdfspec.addClass('LzwdecodeAndFlatedecodeFiltersDictionary', 'Dictionary', 'Op
tional parameters for LZWDecode and FlateDecode filters')\ |
| 44 .optional()\ |
| 45 .field('Predictor')\ |
| 46 .name('Predictor')\ |
| 47 .type('integer')\ |
| 48 .comment('()A code that selects the predictor algorithm, if any. If th
e value of this entry\nis 1, the filter assumes that the normal algorithm was us
ed to encode the data,\nwithout prediction. If the value is greater than 1, the
filter assumes that the\ndata was differenced before being encoded, and Predicto
r selects the predic-\ntor algorithm. For more information regarding Predictor v
alues greater\nthan 1, see "LZW and Flate Predictor Functions," below. Default v
alue: 1.')\ |
| 49 .done().done()\ |
| 50 .optional()\ |
| 51 .field('Colors')\ |
| 52 .name('Colors')\ |
| 53 .type('integer')\ |
| 54 .comment('(Used only if Predictor is greater than 1) The number of int
erleaved color com-\nponents per sample. Valid values are 1 to 4 in PDF 1.2 or e
arlier, and 1 or\ngreater in PDF 1.3 or later. Default value: 1.')\ |
| 55 .done().done()\ |
| 56 .optional()\ |
| 57 .field('BitsPerComponent')\ |
| 58 .name('BitsPerComponent')\ |
| 59 .type('integer')\ |
| 60 .comment('(Used only if Predictor is greater than 1) The number of bit
s used to represent\neach color component in a sample. Valid values are 1, 2, 4,
and 8. Default\nvalue: 8.')\ |
| 61 .done().done()\ |
| 62 .optional()\ |
| 63 .field('Columns')\ |
| 64 .name('Columns')\ |
| 65 .type('integer')\ |
| 66 .comment('(Used only if Predictor is greater than 1) The number of sam
ples in each row.\nDefault value: 1.')\ |
| 67 .done().done()\ |
| 68 .optional()\ |
| 69 .field('EarlyChange')\ |
| 70 .name('EarlyChange')\ |
| 71 .type('integer')\ |
| 72 .comment('(LZWDecode only) An indication of when to increase the code
length. If the\nvalue of this entry is 0, code length increases are postponed as
long as pos-\nsible. If it is 1, they occur one code early. This parameter is i
ncluded because\nLZW sample code distributed by some vendors increases the code
length one\ncode earlier than necessary. Default value: 1.')\ |
| 73 .done().done()\ |
| 74 .done() |
| 75 |
| 76 pdfspec.addClass('CcittfaxdecodeFilterDictionary', 'Dictionary', 'Optional par
ameters for the CCITTFaxDecode filter')\ |
| 77 .optional()\ |
| 78 .field('K')\ |
| 79 .name('K')\ |
| 80 .type('integer')\ |
| 81 .comment('()A code identifying the encoding scheme used:\n <0 Pure
two-dimensional encoding (Group 4)\n 0 Pure one-dimensional encoding (Grou
p 3, 1-D)\n >0 Mixed one- and two-dimensional encoding (Group 3,\n 2-
D), in which a line encoded one-dimensionally can be\n followed by at mos
t K - 1 lines encoded two-dimensionally\nThe filter distinguishes among negative
, zero, and positive values of\nK to determine how to interpret the encoded data
; however, it does\nnot distinguish between different positive K values. Default
value: 0.')\ |
| 82 .done().done()\ |
| 83 .optional()\ |
| 84 .field('EndOfLine')\ |
| 85 .name('EndOfLine')\ |
| 86 .type(' boolean')\ |
| 87 .comment('()A flag indicating whether end-of-line bit patterns are req
uired to be\npresent in the encoding. The CCITTFaxDecode filter always accepts\n
end-of-line bit patterns, but requires them only if EndOfLine is true.\nDefault
value: false.')\ |
| 88 .done().done()\ |
| 89 .optional()\ |
| 90 .field('EncodedByteAlign')\ |
| 91 .name('EncodedByteAlign')\ |
| 92 .type(' boolean')\ |
| 93 .comment('()A flag indicating whether the filter expects extra 0 bits
before each\nencoded line so that the line begins on a byte boundary. If true, t
he\nfilter skips over encoded bits to begin decoding each line at a byte\nbounda
ry. If false, the filter does not expect extra bits in the encod-\ned representa
tion. Default value: false.')\ |
| 94 .done().done()\ |
| 95 .optional()\ |
| 96 .field('Columns')\ |
| 97 .name('Columns')\ |
| 98 .type(' integer')\ |
| 99 .comment('()The width of the image in pixels. If the value is not a mu
ltiple of 8,\nthe filter adjusts the width of the unencoded image to the next mu
l-\ntiple of 8, so that each line starts on a byte boundary. Default value:\n172
8.')\ |
| 100 .done().done()\ |
| 101 .optional()\ |
| 102 .field('Rows')\ |
| 103 .name('Rows')\ |
| 104 .type(' integer')\ |
| 105 .comment('()The height of the image in scan lines. If the value is 0 o
r absent, the\nimage\'s height is not predetermined, and the encoded data must b
e\nterminated by an end-of-block bit pattern or by the end of the fil-\nter\'s d
ata. Default value: 0.')\ |
| 106 .done().done()\ |
| 107 .optional()\ |
| 108 .field('EndOfBlock')\ |
| 109 .name('EndOfBlock')\ |
| 110 .type(' boolean')\ |
| 111 .comment('()A flag indicating whether the filter expects the encoded d
ata to be\nterminated by an end-of-block pattern, overriding the Rows pa-\nramet
er. If false, the filter stops when it has decoded the number of\nlines indicate
d by Rows or when its data has been exhausted, which-\never occurs first. The en
d-of-block pattern is the CCITT end-of-\nfacsimile-block (EOFB) or return-to-con
trol (RTC) appropriate for\nthe K parameter. Default value: true.')\ |
| 112 .done().done()\ |
| 113 .optional()\ |
| 114 .field('BlackIs1')\ |
| 115 .name('BlackIs1')\ |
| 116 .type(' boolean')\ |
| 117 .comment('()A flag indicating whether 1 bits are to be interpreted as
black pixels\nand 0 bits as white pixels, the reverse of the normal PDF conventi
on\nfor image data. Default value: false.')\ |
| 118 .done().done()\ |
| 119 .optional()\ |
| 120 .field('DamagedRowsBeforeError')\ |
| 121 .name('DamagedRowsBeforeError')\ |
| 122 .type(' integer')\ |
| 123 .comment('()The number of damaged rows of data to be tolerated before
an\nerror occurs. This entry applies only if EndOfLine is true and K is\nnonnega
tive. Tolerating a damaged row means locating its end in\nthe encoded data by se
arching for an EndOfLine pattern and then\nsubstituting decoded data from the pr
evious row if the previous\nrow was not damaged, or a white scan line if the pre
vious row was\nalso damaged. Default value: 0.')\ |
| 124 .done().done()\ |
| 125 .done() |
| 126 |
| 127 pdfspec.addClass('Jbig2DecodeFilterDictionary', 'Dictionary', 'Optional parame
ter for the JBIG2Decode filter')\ |
| 128 .optional()\ |
| 129 .field('JBIG2Globals')\ |
| 130 .name('JBIG2Globals')\ |
| 131 .type('stream')\ |
| 132 .comment('()A stream containing the JBIG2 global (page 0) segments. Gl
obal segments\nmust be placed in this stream even if only a single JBIG2 image X
Object refers\nto it.')\ |
| 133 .done().done()\ |
| 134 .done() |
| 135 |
| 136 pdfspec.addClass('DctdecodeFilterDictionary', 'Dictionary', 'Optional paramete
r for the DCTDecode filter')\ |
| 137 .optional()\ |
| 138 .field('ColorTransform')\ |
| 139 .name('ColorTransform')\ |
| 140 .type('integer')\ |
| 141 .comment('()A code specifying the transformation to be performed on th
e sample values:\n 0 No transformation.\n 1 If the image has three c
olor components, transform RGB values to\n YUV before encoding and from
YUV to RGB after decoding. If the\n image has four components, transform
CMYK values to YUVK be-\n fore encoding and from YUVK to CMYK after dec
oding. This option\n is ignored if the image has one or two color compon
ents.\nNote: The RGB and YUV used here have nothing to do with the color spaces
de-\nfined as part of the Adobe imaging model. The purpose of converting from RG
B\nto YUV is to separate luminance and chrominance information (see below).\nThe
default value of ColorTransform is 1 if the image has three components\nand 0 o
therwise. In other words, conversion between RGB and YUV is per-\nformed for all
three-component images unless explicitly disabled by setting\nColorTransform to
0. Additionally, the encoding algorithm inserts an Adobe-\ndefined marker code
in the encoded data indicating the ColorTransform value\nused. If present, this
marker code overrides the ColorTransform value given to\nDCTDecode. Thus it is n
ecessary to specify ColorTransform only when decod-\ning data that does not cont
ain the Adobe-defined marker code.')\ |
| 142 .done().done()\ |
| 143 .done() |
| 144 |
| 145 pdfspec.addClass('FileTrailerDictionary', 'Dictionary', 'Entries in the file t
railer dictionary')\ |
| 146 .required('NULL')\ |
| 147 .field('Size')\ |
| 148 .name('Size')\ |
| 149 .type('integer')\ |
| 150 .comment('(Required) The total number of entries in the file\'s cross-
reference table, as defined\nby the combination of the original section and all
update sections. Equivalently, this\nvalue is 1 greater than the highest object
number used in the file.')\ |
| 151 .done().done()\ |
| 152 .optional()\ |
| 153 .field('Prev')\ |
| 154 .name('Prev')\ |
| 155 .type('integer')\ |
| 156 .comment('(Present only if the file has more than one cross-reference
section) The byte offset from\nthe beginning of the file to the beginning of the
previous cross-reference section.')\ |
| 157 .done().done()\ |
| 158 .optional()\ |
| 159 .field('Root')\ |
| 160 .name('Root')\ |
| 161 .type('dictionary')\ |
| 162 .comment('(Required; must be an indirect reference) The catalog dictio
nary for the PDF docu-\nment contained in the file (see Section 3.6.1, "Document
Catalog").')\ |
| 163 .done().done()\ |
| 164 .optional()\ |
| 165 .field('Encrypt')\ |
| 166 .name('Encrypt')\ |
| 167 .type('dictionary')\ |
| 168 .comment('(Required if document is encrypted; PDF 1.1) The document\'s
encryption dictionary\n(see Section 3.5, "Encryption").')\ |
| 169 .done().done()\ |
| 170 .optional()\ |
| 171 .field('Info')\ |
| 172 .name('Info')\ |
| 173 .type('dictionary')\ |
| 174 .comment('(Optional; must be an indirect reference) The document\'s in
formation dictionary\n(see Section 9.2.1, "Document Information Dictionary").')\ |
| 175 .done().done()\ |
| 176 .optional()\ |
| 177 .field('ID')\ |
| 178 .name('ID')\ |
| 179 .type('array')\ |
| 180 .comment('(Optional; PDF 1.1) An array of two strings constituting a f
ile identifier (see Section\n9.3, "File Identifiers") for the file.')\ |
| 181 .done().done()\ |
| 182 .done() |
| 183 |
| 184 pdfspec.addClass('EncryptionCommonDictionary', 'Dictionary', 'Entries common t
o all encryption dictionaries')\ |
| 185 .required('NULL')\ |
| 186 .field('Filter')\ |
| 187 .name('Filter')\ |
| 188 .type('name')\ |
| 189 .comment('(Required) The name of the security handler for this documen
t; see below. Default value:\nStandard, for the built-in security handler. (Name
s for other security handlers can be\nregistered using the procedure described i
n Appendix E.)')\ |
| 190 .done().done()\ |
| 191 .optional()\ |
| 192 .field('V')\ |
| 193 .name('V')\ |
| 194 .type('number')\ |
| 195 .comment('(Optional but strongly recommended) A code specifying the al
gorithm to be used in en-\ncrypting and decrypting the document:\n 0 An al
gorithm that is undocumented and no longer supported, and whose use is\n
strongly discouraged.\n 1 Algorithm 3.1 on page 73, with an encryption ke
y length of 40 bits; see below.\n 2 (PDF 1.4) Algorithm 3.1 on page 73, bu
t allowing encryption key lengths greater\n than 40 bits.\n 3 (PDF
1.4) An unpublished algorithm allowing encryption key lengths ranging\n
from 40 to 128 bits. (This algorithm is unpublished as an export requirement of
\n the U.S. Department of Commerce.)\nThe default value if this entry is
omitted is 0, but a value of 1 or greater is strongly rec-\nommended. (See impl
ementation note 15 in Appendix H.)')\ |
| 196 .done().done()\ |
| 197 .optional()\ |
| 198 .field('Length')\ |
| 199 .name('Length')\ |
| 200 .type('integer')\ |
| 201 .comment('(Optional; PDF 1.4; only if V is 2 or 3) The length of the e
ncryption key, in bits. The value\nmust be a multiple of 8, in the range 40 to 1
28. Default value: 40.')\ |
| 202 .done().done()\ |
| 203 .done() |
| 204 |
| 205 pdfspec.addClass('StandardSecurityHandlerDictionary', 'Dictionary', 'Additiona
l encryption dictionary entries for the standard security handler')\ |
| 206 .required('NULL')\ |
| 207 .field('R')\ |
| 208 .name('R')\ |
| 209 .type('number')\ |
| 210 .comment('(Required) A number specifying which revision of the standar
d security handler should\nbe used to interpret this dictionary. The revision nu
mber should be 2 if the document is\nencrypted with a V value less than 2 (see T
able 3.13) and does not have any of the access\npermissions set (via the P entry
, below) that are designated "Revision 3" in Table 3.15;\notherwise (that is, if
the document is encrypted with a V value greater than 2 or has any\n"Revision 3
" access permissions set), this value should be 3.')\ |
| 211 .done().done()\ |
| 212 .required('NULL')\ |
| 213 .field('O')\ |
| 214 .name('O')\ |
| 215 .type('string')\ |
| 216 .comment('(Required) A 32-byte string, based on both the owner and use
r passwords, that is used in\ncomputing the encryption key and in determining wh
ether a valid owner password was\nentered. For more information, see "Encryption
Key Algorithm" on page 78 and "Pass-\nword Algorithms" on page 79.')\ |
| 217 .done().done()\ |
| 218 .required('NULL')\ |
| 219 .field('U')\ |
| 220 .name('U')\ |
| 221 .type('string')\ |
| 222 .comment('(Required) A 32-byte string, based on the user password, tha
t is used in determining\nwhether to prompt the user for a password and, if so,
whether a valid user or owner pass-\nword was entered. For more information, see
"Password Algorithms" on page 79.')\ |
| 223 .done().done()\ |
| 224 .required('NULL')\ |
| 225 .field('P')\ |
| 226 .name('P')\ |
| 227 .type('integer')\ |
| 228 .comment('(Required) A set of flags specifying which operations are pe
rmitted when the document is\nopened with user access (see Table 3.15).')\ |
| 229 .done().done()\ |
| 230 .done() |
| 231 |
| 232 pdfspec.addClass('CatalogDictionary', 'Dictionary', 'Entries in the catalog di
ctionary')\ |
| 233 .required('NULL')\ |
| 234 .field('Type')\ |
| 235 .name('Type')\ |
| 236 .type('name')\ |
| 237 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must\nbe Catalog for the catalog dictionary.')\ |
| 238 .done().done()\ |
| 239 .optional()\ |
| 240 .field('Version')\ |
| 241 .name('Version')\ |
| 242 .type('name')\ |
| 243 .comment('(Optional; PDF 1.4) The version of the PDF specification to
which the\ndocument conforms (for example, 1.4), if later than the version speci
fied\nin the file\'s header (see Section 3.4.1, "File Header"). If the header sp
eci-\nfies a later version, or if this entry is absent, the document conforms to
\nthe version specified in the header. This entry enables a PDF producer\napplic
ation to update the version using an incremental update; see Sec-\ntion 3.4.5, "
Incremental Updates." (See implementation note 18 in Ap-\npendix H.)\nNote: The
value of this entry is a name object, not a number, and so must\nbe preceded by
a slash character (/) when written in the PDF file (for ex-\nample, /1.4).')\ |
| 244 .done().done()\ |
| 245 .optional()\ |
| 246 .field('Pages')\ |
| 247 .name('Pages')\ |
| 248 .type('dictionary')\ |
| 249 .comment('(Required; must be an indirect reference) The page tree node
that is the\nroot of the document\'s page tree (see Section 3.6.2, "Page Tree")
.')\ |
| 250 .done().done()\ |
| 251 .optional()\ |
| 252 .field('PageLabels')\ |
| 253 .name('PageLabels')\ |
| 254 .type('number tree')\ |
| 255 .comment('(Optional; PDF 1.3) A number tree (see Section 3.8.5, "Numbe
r Trees")\ndefining the page labeling for the document. The keys in this tree ar
e\npage indices; the corresponding values are page label dictionaries (see\nSect
ion 8.3.1, "Page Labels"). Each page index denotes the first page in a\nlabeling
range to which the specified page label dictionary applies. The\ntree must incl
ude a value for page index 0.')\ |
| 256 .done().done()\ |
| 257 .optional()\ |
| 258 .field('Names')\ |
| 259 .name('Names')\ |
| 260 .type('dictionary')\ |
| 261 .comment('(Optional; PDF 1.2) The document\'s name dictionary (see Sec
tion 3.6.3,\n"Name Dictionary").')\ |
| 262 .done().done()\ |
| 263 .optional()\ |
| 264 .field('Dests')\ |
| 265 .name('Dests')\ |
| 266 .type('dictionary')\ |
| 267 .comment('(Optional; PDF 1.1; must be an indirect reference) A diction
ary of names\nand corresponding destinations (see "Named Destinations" on page\n
476).')\ |
| 268 .done().done()\ |
| 269 .optional()\ |
| 270 .field('ViewerPreferences')\ |
| 271 .name('ViewerPreferences')\ |
| 272 .type('dictionary')\ |
| 273 .comment('(Optional; PDF 1.2) A viewer preferences dictionary (see Sec
tion 8.1,\n"Viewer Preferences") specifying the way the document is to be dis-\n
played on the screen. If this entry is absent, viewer applications should\nuse t
heir own current user preference settings.')\ |
| 274 .done().done()\ |
| 275 .optional()\ |
| 276 .field('PageLayout')\ |
| 277 .name('PageLayout')\ |
| 278 .type('name')\ |
| 279 .comment('(Optional) A name object specifying the page layout to be us
ed when the\ndocument is opened:\n SinglePage Display one page at a
time.\n OneColumn Display the pages in one column.\n TwoColumn
Left Display the pages in two columns, with odd-\n
numbered pages on the left.\n TwoColumnRight Display the pages in two
columns, with odd-\n numbered pages on the right.\n(See
implementation note 19 in Appendix H.) Default value: SinglePage.')\ |
| 280 .done().done()\ |
| 281 .optional()\ |
| 282 .field('PageMode')\ |
| 283 .name('PageMode')\ |
| 284 .type('name')\ |
| 285 .comment('(Optional) A name object specifying how the document should
be dis-\nplayed when opened:\n UseNone Neither document outline
nor thumbnail im-\n ages visible\n UseOutlines
Document outline visible\n UseThumbs Thumbnail images visible\n
FullScreen Full-screen mode, with no menu bar, window\n
controls, or any other window visible\nDefault value: UseNone.')\ |
| 286 .done().done()\ |
| 287 .optional()\ |
| 288 .field('Outlines')\ |
| 289 .name('Outlines')\ |
| 290 .type('dictionary')\ |
| 291 .comment('(Optional; must be an indirect reference) The outline dictio
nary that is the\nroot of the document\'s outline hierarchy (see Section 8.2.2,
"Document\nOutline").')\ |
| 292 .done().done()\ |
| 293 .optional()\ |
| 294 .field('Threads')\ |
| 295 .name('Threads')\ |
| 296 .type('array')\ |
| 297 .comment('(Optional; PDF 1.1; must be an indirect reference) An array
of thread\ndictionaries representing the document\'s article threads (see Sectio
n\n8.3.2, "Articles").')\ |
| 298 .done().done()\ |
| 299 .optional()\ |
| 300 .field('OpenAction')\ |
| 301 .name('OpenAction')\ |
| 302 .type('array or dictionary')\ |
| 303 .comment('(Optional; PDF 1.1) A value specifying a destination to be d
isplayed or\nan action to be performed when the document is opened. The value is
\neither an array defining a destination (see Section 8.2.1, "Destinations")\nor
an action dictionary representing an action (Section 8.5, "Actions"). If\nthis
entry is absent, the document should be opened to the top of the\nfirst page at
the default magnification factor.')\ |
| 304 .done().done()\ |
| 305 .optional()\ |
| 306 .field('AA')\ |
| 307 .name('AA')\ |
| 308 .type('dictionary')\ |
| 309 .comment('(Optional; PDF 1.4) An additional-actions dictionary definin
g the actions\nto be taken in response to various trigger events affecting the d
ocument\nas a whole (see "Trigger Events" on page 514). (See also implementation
\nnote 20 in Appendix H.)')\ |
| 310 .done().done()\ |
| 311 .optional()\ |
| 312 .field('URI')\ |
| 313 .name('URI')\ |
| 314 .type('dictionary')\ |
| 315 .comment('(Optional) A URI dictionary containing document-level inform
ation for\nURI (uniform resource identifier) actions (see "URI Actions" on page\
n523).')\ |
| 316 .done().done()\ |
| 317 .optional()\ |
| 318 .field('AcroForm')\ |
| 319 .name('AcroForm')\ |
| 320 .type('dictionary')\ |
| 321 .comment('(Optional; PDF 1.2) The document\'s interactive form (AcroFo
rm) dic-\ntionary (see Section 8.6.1, "Interactive Form Dictionary").')\ |
| 322 .done().done()\ |
| 323 .optional()\ |
| 324 .field('Metadata')\ |
| 325 .name('Metadata')\ |
| 326 .type('stream')\ |
| 327 .comment('(Optional; PDF 1.4; must be an indirect reference) A metadat
a stream\ncontaining metadata for the document (see Section 9.2.2, "Metadata\nSt
reams").')\ |
| 328 .done().done()\ |
| 329 .optional()\ |
| 330 .field('StructTreeRoot')\ |
| 331 .name('StructTreeRoot')\ |
| 332 .type('dictionary')\ |
| 333 .comment('(Optional; PDF 1.3) The document\'s structure tree root dict
ionary (see\nSection 9.6.1, "Structure Hierarchy").')\ |
| 334 .done().done()\ |
| 335 .optional()\ |
| 336 .field('MarkInfo')\ |
| 337 .name('MarkInfo')\ |
| 338 .type('dictionary')\ |
| 339 .comment('(Optional; PDF 1.4) A mark information dictionary containing
informa-\ntion about the document\'s usage of Tagged PDF conventions (see Sec-\
ntion 9.7.1, "Mark Information Dictionary").')\ |
| 340 .done().done()\ |
| 341 .optional()\ |
| 342 .field('Lang')\ |
| 343 .name('Lang')\ |
| 344 .type('text string')\ |
| 345 .comment('(Optional; PDF 1.4) A language identifier specifying the nat
ural language\nfor all text in the document except where overridden by language
speci-\nfications for structure elements or marked content (see Section 9.8.1,\n
"Natural Language Specification"). If this entry is absent, the language is\ncon
sidered unknown.')\ |
| 346 .done().done()\ |
| 347 .optional()\ |
| 348 .field('SpiderInfo')\ |
| 349 .name('SpiderInfo')\ |
| 350 .type('dictionary')\ |
| 351 .comment('(Optional; PDF 1.3) A Web Capture information dictionary con
taining\nstate information used by the Acrobat Web Capture (AcroSpider) plug-\ni
n extension (see Section 9.9.1, "Web Capture Information Dictionary").')\ |
| 352 .done().done()\ |
| 353 .optional()\ |
| 354 .field('OutputIntents')\ |
| 355 .name('OutputIntents')\ |
| 356 .type('array')\ |
| 357 .comment('(Optional; PDF 1.4) An array of output intent dictionaries d
escribing the\ncolor characteristics of output devices on which the document mig
ht be\nrendered (see "Output Intents" on page 684).')\ |
| 358 .done().done()\ |
| 359 .done() |
| 360 |
| 361 pdfspec.addClass('PageTreeNodeDictionary', 'Dictionary', 'Required entries in
a page tree node')\ |
| 362 .required('NULL')\ |
| 363 .field('Type')\ |
| 364 .name('Type')\ |
| 365 .type('name')\ |
| 366 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be Pages for\na page tree node.')\ |
| 367 .done().done()\ |
| 368 .optional()\ |
| 369 .field('Parent')\ |
| 370 .name('Parent')\ |
| 371 .type('dictionary')\ |
| 372 .comment('(Required except in root node; must be an indirect reference
) The page tree node that\nis the immediate parent of this one.')\ |
| 373 .done().done()\ |
| 374 .required('NULL')\ |
| 375 .field('Kids')\ |
| 376 .name('Kids')\ |
| 377 .type('array')\ |
| 378 .comment('(Required) An array of indirect references to the immediate
children of this node.\nThe children may be page objects or other page tree node
s.')\ |
| 379 .done().done()\ |
| 380 .required('NULL')\ |
| 381 .field('Count')\ |
| 382 .name('Count')\ |
| 383 .type('integer')\ |
| 384 .comment('(Required) The number of leaf nodes (page objects) that are
descendants of this\nnode within the page tree.')\ |
| 385 .done().done()\ |
| 386 .done() |
| 387 |
| 388 pdfspec.addClass('PageObjectDictionary', 'Dictionary', 'Entries in a page obje
ct')\ |
| 389 .required('NULL')\ |
| 390 .field('Type')\ |
| 391 .name('Type')\ |
| 392 .type('name')\ |
| 393 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be\nPage for a page object.')\ |
| 394 .done().done()\ |
| 395 .optional()\ |
| 396 .field('Parent')\ |
| 397 .name('Parent')\ |
| 398 .type('dictionary')\ |
| 399 .comment('(Required; must be an indirect reference) The page tree node
that is the im-\nmediate parent of this page object.')\ |
| 400 .done().done()\ |
| 401 .optional()\ |
| 402 .field('LastModified')\ |
| 403 .name('LastModified')\ |
| 404 .type('date')\ |
| 405 .comment('(Required if PieceInfo is present; optional otherwise; PDF 1
.3) The date and\ntime (see Section 3.8.2, "Dates") when the page\'s contents we
re most re-\ncently modified. If a page-piece dictionary (PieceInfo) is present,
the\nmodification date is used to ascertain which of the application data dic-\
ntionaries that it contains correspond to the current content of the page\n(see
Section 9.4, "Page-Piece Dictionaries").')\ |
| 406 .done().done()\ |
| 407 .required('NULL')\ |
| 408 .field('Resources')\ |
| 409 .name('Resources')\ |
| 410 .type('dictionary')\ |
| 411 .comment('(Required; inheritable) A dictionary containing any resource
s required by\nthe page (see Section 3.7.2, "Resource Dictionaries"). If the pag
e requires\nno resources, the value of this entry should be an empty dictionary;
omit-\nting the entry entirely indicates that the resources are to be inherited
from\nan ancestor node in the page tree.')\ |
| 412 .done().done()\ |
| 413 .required('NULL')\ |
| 414 .field('MediaBox')\ |
| 415 .name('MediaBox')\ |
| 416 .type('rectangle')\ |
| 417 .comment('(Required; inheritable) A rectangle (see Section 3.8.3, "Rec
tangles"), ex-\npressed in default user space units, defining the boundaries of
the physical\nmedium on which the page is intended to be displayed or printed (s
ee\nSection 9.10.1, "Page Boundaries").')\ |
| 418 .done().done()\ |
| 419 .optional()\ |
| 420 .field('CropBox')\ |
| 421 .name('CropBox')\ |
| 422 .type('rectangle')\ |
| 423 .comment('(Optional; inheritable) A rectangle, expressed in default us
er space units,\ndefining the visible region of default user space. When the pag
e is dis-\nplayed or printed, its contents are to be clipped (cropped) to this r
ectangle\nand then imposed on the output medium in some implementation-\ndefined
manner (see Section 9.10.1, "Page Boundaries"). Default value:\nthe value of Me
diaBox.')\ |
| 424 .done().done()\ |
| 425 .optional()\ |
| 426 .field('BleedBox')\ |
| 427 .name('BleedBox')\ |
| 428 .type('rectangle')\ |
| 429 .comment('(Optional; PDF 1.3) A rectangle, expressed in default user s
pace units, de-\nfining the region to which the contents of the page should be c
lipped\nwhen output in a production environment (see Section 9.10.1, "Page\nBoun
daries"). Default value: the value of CropBox.')\ |
| 430 .done().done()\ |
| 431 .optional()\ |
| 432 .field('TrimBox')\ |
| 433 .name('TrimBox')\ |
| 434 .type('rectangle')\ |
| 435 .comment('(Optional; PDF 1.3) A rectangle, expressed in default user s
pace units, de-\nfining the intended dimensions of the finished page after trimm
ing (see\nSection 9.10.1, "Page Boundaries"). Default value: the value of CropBo
x.')\ |
| 436 .done().done()\ |
| 437 .optional()\ |
| 438 .field('ArtBox')\ |
| 439 .name('ArtBox')\ |
| 440 .type('rectangle')\ |
| 441 .comment('(Optional; PDF 1.3) A rectangle, expressed in default user s
pace units, de-\nfining the extent of the page\'s meaningful content (including
potential\nwhite space) as intended by the page\'s creator (see Section 9.10.1,
"Page\nBoundaries"). Default value: the value of CropBox.')\ |
| 442 .done().done()\ |
| 443 .optional()\ |
| 444 .field('BoxColorInfo')\ |
| 445 .name('BoxColorInfo')\ |
| 446 .type('dictionary')\ |
| 447 .comment('(Optional) A box color information dictionary specifying the
colors and\nother visual characteristics to be used in displaying guidelines on
the\nscreen for the various page boundaries (see "Display of Page Boundaries"\n
on page 679). If this entry is absent, the viewer application should use its\now
n current default settings.')\ |
| 448 .done().done()\ |
| 449 .optional()\ |
| 450 .field('Contents')\ |
| 451 .name('Contents')\ |
| 452 .type('stream or array')\ |
| 453 .comment('(Optional) A content stream (see Section 3.7.1, "Content Str
eams") de-\nscribing the contents of this page. If this entry is absent, the pag
e is empty.\nThe value may be either a single stream or an array of streams. If
it is an\narray, the effect is as if all of the streams in the array were concat
enated, in\norder, to form a single stream. This allows a program generating a P
DF\nfile to create image objects and other resources as they occur, even though\
nthey interrupt the content stream. The division between streams may\noccur only
at the boundaries between lexical tokens (see Section 3.1, "Lex-\nical Conventi
ons"), but is unrelated to the page\'s logical content or orga-\nnization. Appli
cations that consume or produce PDF files are not required\nto preserve the exis
ting structure of the Contents array. (See implementa-\ntion note 22 in Appendix
H.)')\ |
| 454 .done().done()\ |
| 455 .optional()\ |
| 456 .field('Rotate')\ |
| 457 .name('Rotate')\ |
| 458 .type('integer')\ |
| 459 .comment('(Optional; inheritable) The number of degrees by which the p
age should\nbe rotated clockwise when displayed or printed. The value must be a
mul-\ntiple of 90. Default value: 0.')\ |
| 460 .done().done()\ |
| 461 .optional()\ |
| 462 .field('Group')\ |
| 463 .name('Group')\ |
| 464 .type('dictionary')\ |
| 465 .comment('(Optional; PDF 1.4) A group attributes dictionary specifying
the attributes\nof the page\'s page group for use in the transparent imaging mo
del (see\nSections 7.3.6, "Page Group," and 7.5.5, "Transparency Group XObjects"
).')\ |
| 466 .done().done()\ |
| 467 .optional()\ |
| 468 .field('Thumb')\ |
| 469 .name('Thumb')\ |
| 470 .type('stream')\ |
| 471 .comment('(Optional) A stream object defining the page\'s thumbnail im
age (see Sec-\ntion 8.2.3, "Thumbnail Images").')\ |
| 472 .done().done()\ |
| 473 .optional()\ |
| 474 .field('B')\ |
| 475 .name('B')\ |
| 476 .type('array')\ |
| 477 .comment('(Optional; PDF 1.1; recommended if the page contains article
beads) An ar-\nray of indirect references to article beads appearing on the pag
e (see Sec-\ntion 8.3.2, "Articles"; see also implementation note 23 in Appendix
H).\nThe beads are listed in the array in natural reading order.')\ |
| 478 .done().done()\ |
| 479 .optional()\ |
| 480 .field('Dur')\ |
| 481 .name('Dur')\ |
| 482 .type('number')\ |
| 483 .comment('(Optional; PDF 1.1) The page\'s display duration (also calle
d its advance\ntiming): the maximum length of time, in seconds, that the page wi
ll be\ndisplayed during presentations before the viewer application automati-\nc
ally advances to the next page (see Section 8.3.3, "Presentations"). By\ndefault
, the viewer does not advance automatically.')\ |
| 484 .done().done()\ |
| 485 .optional()\ |
| 486 .field('Trans')\ |
| 487 .name('Trans')\ |
| 488 .type('dictionary')\ |
| 489 .comment('(Optional; PDF 1.1) A transition dictionary describing the t
ransition effect\nto be used when displaying the page during presentations (see
Section\n8.3.3, "Presentations").')\ |
| 490 .done().done()\ |
| 491 .optional()\ |
| 492 .field('Annots')\ |
| 493 .name('Annots')\ |
| 494 .type('array')\ |
| 495 .comment('(Optional) An array of annotation dictionaries representing
annotations\nassociated with the page (see Section 8.4, "Annotations").')\ |
| 496 .done().done()\ |
| 497 .optional()\ |
| 498 .field('AA')\ |
| 499 .name('AA')\ |
| 500 .type('dictionary')\ |
| 501 .comment('(Optional; PDF 1.2) An additional-actions dictionary definin
g actions to\nbe performed when the page is opened or closed (see Section 8.5.2,
"Trig-\nger Events"; see also implementation note 24 in Appendix H).')\ |
| 502 .done().done()\ |
| 503 .optional()\ |
| 504 .field('Metadata')\ |
| 505 .name('Metadata')\ |
| 506 .type('stream')\ |
| 507 .comment('(Optional; PDF 1.4) A metadata stream containing metadata fo
r the page\n(see Section 9.2.2, "Metadata Streams").')\ |
| 508 .done().done()\ |
| 509 .optional()\ |
| 510 .field('PieceInfo')\ |
| 511 .name('PieceInfo')\ |
| 512 .type('dictionary')\ |
| 513 .comment('(Optional; PDF 1.3) A page-piece dictionary associated with
the page (see\nSection 9.4, "Page-Piece Dictionaries").')\ |
| 514 .done().done()\ |
| 515 .optional()\ |
| 516 .field('StructParents')\ |
| 517 .name('StructParents')\ |
| 518 .type('integer')\ |
| 519 .comment('(Required if the page contains structural content items; PDF
1.3) The inte-\nger key of the page\'s entry in the structural parent tree (see
"Finding Struc-\nture Elements from Content Items" on page 600).')\ |
| 520 .done().done()\ |
| 521 .optional()\ |
| 522 .field('ID')\ |
| 523 .name('ID')\ |
| 524 .type('string')\ |
| 525 .comment('(Optional; PDF 1.3; indirect reference preferred) The digita
l identifier of the\npage\'s parent Web Capture content set (see Section 9.9.5,
"Object At-\ntributes Related to Web Capture").')\ |
| 526 .done().done()\ |
| 527 .optional()\ |
| 528 .field('PZ')\ |
| 529 .name('PZ')\ |
| 530 .type('number')\ |
| 531 .comment('(Optional; PDF 1.3) The page\'s preferred zoom (magnificatio
n) factor: the\nfactor by which it should be scaled to achieve the "natural" dis
play magni-\nfication (see Section 9.9.5, "Object Attributes Related to Web Capt
ure").')\ |
| 532 .done().done()\ |
| 533 .optional()\ |
| 534 .field('SeparationInfo')\ |
| 535 .name('SeparationInfo')\ |
| 536 .type('dictionary')\ |
| 537 .comment('(Optional; PDF 1.3) A separation dictionary containing infor
mation need-\ned to generate color separations for the page (see Section 9.10.3,
"Separa-\ntion Dictionaries").')\ |
| 538 .done().done()\ |
| 539 .done() |
| 540 |
| 541 pdfspec.addClass('NameDictionary', 'Dictionary', 'Entries in the name dictiona
ry')\ |
| 542 .optional()\ |
| 543 .field('Dests')\ |
| 544 .name('Dests')\ |
| 545 .type('name tree')\ |
| 546 .comment('(Optional; PDF 1.2) A name tree mapping name strings to dest
inations (see\n"Named Destinations" on page 476).')\ |
| 547 .done().done()\ |
| 548 .optional()\ |
| 549 .field('AP')\ |
| 550 .name('AP')\ |
| 551 .type('name tree')\ |
| 552 .comment('(Optional; PDF 1.3) A name tree mapping name strings to anno
tation\nappearance streams (see Section 8.4.4, "Appearance Streams").')\ |
| 553 .done().done()\ |
| 554 .optional()\ |
| 555 .field('JavaScript')\ |
| 556 .name('JavaScript')\ |
| 557 .type('name tree')\ |
| 558 .comment('(Optional; PDF 1.3) A name tree mapping name strings to docu
ment-level\nJavaScript(R) actions (see "JavaScript Actions" on page 556).')\ |
| 559 .done().done()\ |
| 560 .optional()\ |
| 561 .field('Pages')\ |
| 562 .name('Pages')\ |
| 563 .type('name tree')\ |
| 564 .comment('(Optional; PDF 1.3) A name tree mapping name strings to visi
ble pages for\nuse in interactive forms (see Section 8.6.5, "Named Pages").')\ |
| 565 .done().done()\ |
| 566 .optional()\ |
| 567 .field('Templates')\ |
| 568 .name('Templates')\ |
| 569 .type('name tree')\ |
| 570 .comment('(Optional; PDF 1.3) A name tree mapping name strings to invi
sible (tem-\nplate) pages for use in interactive forms (see Section 8.6.5, "Name
d Pages").')\ |
| 571 .done().done()\ |
| 572 .optional()\ |
| 573 .field('IDS')\ |
| 574 .name('IDS')\ |
| 575 .type('name tree')\ |
| 576 .comment('(Optional; PDF 1.3) A name tree mapping digital identifiers
to Web Capture\ncontent sets (see Section 9.9.3, "Content Sets").')\ |
| 577 .done().done()\ |
| 578 .optional()\ |
| 579 .field('URLS')\ |
| 580 .name('URLS')\ |
| 581 .type('name tree')\ |
| 582 .comment('(Optional; PDF 1.3) A name tree mapping uniform resource loc
ators (URLs)\nto Web Capture content sets (see Section 9.9.3, "Content Sets").')
\ |
| 583 .done().done()\ |
| 584 .optional()\ |
| 585 .field('EmbeddedFiles')\ |
| 586 .name('EmbeddedFiles')\ |
| 587 .type('name tree')\ |
| 588 .comment('(Optional; PDF 1.4) A name tree mapping name strings to embe
dded file\nstreams (see Section 3.10.3, "Embedded File Streams").')\ |
| 589 .done().done()\ |
| 590 .done() |
| 591 |
| 592 pdfspec.addClass('ResourceDictionary', 'Dictionary', 'Entries in a resource di
ctionary')\ |
| 593 .optional()\ |
| 594 .field('ExtGState')\ |
| 595 .name('ExtGState')\ |
| 596 .type('dictionary')\ |
| 597 .comment('(Optional) A dictionary mapping resource names to graphics s
tate parameter\ndictionaries (see Section 4.3.4, "Graphics State Parameter Dicti
onaries").')\ |
| 598 .done().done()\ |
| 599 .optional()\ |
| 600 .field('ColorSpace')\ |
| 601 .name('ColorSpace')\ |
| 602 .type('dictionary')\ |
| 603 .comment('(Optional) A dictionary mapping each resource name to either
the name of a\ndevice-dependent color space or an array describing a color spac
e (see Sec-\ntion 4.5, "Color Spaces").')\ |
| 604 .done().done()\ |
| 605 .optional()\ |
| 606 .field('Pattern')\ |
| 607 .name('Pattern')\ |
| 608 .type('dictionary')\ |
| 609 .comment('(Optional) A dictionary mapping resource names to pattern ob
jects (see Sec-\ntion 4.6, "Patterns").')\ |
| 610 .done().done()\ |
| 611 .optional()\ |
| 612 .field('Shading')\ |
| 613 .name('Shading')\ |
| 614 .type('dictionary')\ |
| 615 .comment('(Optional; PDF 1.3) A dictionary mapping resource names to s
hading dic-\ntionaries (see "Shading Dictionaries" on page 233).')\ |
| 616 .done().done()\ |
| 617 .optional()\ |
| 618 .field('XObject')\ |
| 619 .name('XObject')\ |
| 620 .type('stream')\ |
| 621 .comment('(Optional) A dictionary mapping resource names to external o
bjects (see Sec-\ntion 4.7, "External Objects").')\ |
| 622 .done().done()\ |
| 623 .optional()\ |
| 624 .field('Font')\ |
| 625 .name('Font')\ |
| 626 .type('dictionary')\ |
| 627 .comment('(Optional) A dictionary mapping resource names to font dicti
onaries (see\nChapter 5).')\ |
| 628 .done().done()\ |
| 629 .optional()\ |
| 630 .field('ProcSet')\ |
| 631 .name('ProcSet')\ |
| 632 .type('array')\ |
| 633 .comment('(Optional) An array of predefined procedure set names (see S
ection 9.1,\n"Procedure Sets").')\ |
| 634 .done().done()\ |
| 635 .optional()\ |
| 636 .field('Properties')\ |
| 637 .name('Properties')\ |
| 638 .type('dictionary')\ |
| 639 .comment('(Optional; PDF 1.2) A dictionary mapping resource names to p
roperty list\ndictionaries for marked content (see Section 9.5.1, "Property List
s").')\ |
| 640 .done().done()\ |
| 641 .done() |
| 642 |
| 643 pdfspec.addClass('NameTreeNodeDictionary', 'Dictionary', 'Entries in a name tr
ee node dictionary')\ |
| 644 .optional()\ |
| 645 .field('Kids')\ |
| 646 .name('Kids')\ |
| 647 .type('array')\ |
| 648 .comment('(Root and intermediate nodes only; required in intermediate
nodes; present in the root node\nif and only if Names is not present) An array o
f indirect references to the immediate chil-\ndren of this node. The children ma
y be intermediate or leaf nodes.')\ |
| 649 .done().done()\ |
| 650 .optional()\ |
| 651 .field('Names')\ |
| 652 .name('Names')\ |
| 653 .type('array')\ |
| 654 .comment('(Root and leaf nodes only; required in leaf nodes; present i
n the root node if and only if Kids\nis not present) An array of the form\n [
key1 value1 key2 value2 ... keyn valuen ]\nwhere each keyi is a string and the c
orresponding valuei is an indirect reference to the\nobject associated with that
key. The keys are sorted in lexical order, as described below.')\ |
| 655 .done().done()\ |
| 656 .optional()\ |
| 657 .field('Limits')\ |
| 658 .name('Limits')\ |
| 659 .type('array')\ |
| 660 .comment('(Intermediate and leaf nodes only; required) An array of two
strings, specifying the (lexi-\ncally) least and greatest keys included in the
Names array of a leaf node or in the Names\narrays of any leaf nodes that are de
scendants of an intermediate node.')\ |
| 661 .done().done()\ |
| 662 .done() |
| 663 |
| 664 pdfspec.addClass('NumberTreeNodeDictionary', 'Dictionary', 'Entries in a numbe
r tree node dictionary')\ |
| 665 .optional()\ |
| 666 .field('Kids')\ |
| 667 .name('Kids')\ |
| 668 .type('array')\ |
| 669 .comment('(Root and intermediate nodes only; required in intermediate
nodes; present in the root node\nif and only if Nums is not present) An array of
indirect references to the immediate chil-\ndren of this node. The children may
be intermediate or leaf nodes.')\ |
| 670 .done().done()\ |
| 671 .optional()\ |
| 672 .field('Nums')\ |
| 673 .name('Nums')\ |
| 674 .type('array')\ |
| 675 .comment('(Root and leaf nodes only; required in leaf nodes; present i
n the root node if and only if Kids\nis not present) An array of the form\n [
key1 value1 key2 value2 ... keyn valuen ]\nwhere each keyi is an integer and the
corresponding valuei is an indirect reference to the\nobject associated with th
at key. The keys are sorted in numerical order, analogously to\nthe arrangement
of keys in a name tree as described in Section 3.8.4, "Name Trees."')\ |
| 676 .done().done()\ |
| 677 .optional()\ |
| 678 .field('Limits')\ |
| 679 .name('Limits')\ |
| 680 .type('array')\ |
| 681 .comment('(Intermediate and leaf nodes only; required) An array of two
integers, specifying the\n(numerically) least and greatest keys included in the
Nums array of a leaf node or in the\nNums arrays of any leaf nodes that are des
cendants of an intermediate node.')\ |
| 682 .done().done()\ |
| 683 .done() |
| 684 |
| 685 pdfspec.addClass('FunctionCommonDictionary', 'Dictionary', 'Entries common to
all function dictionaries')\ |
| 686 .required('NULL')\ |
| 687 .field('FunctionType')\ |
| 688 .name('FunctionType')\ |
| 689 .type('integer')\ |
| 690 .comment('(Required) The function type:\n 0 Sampled function\n
2 Exponential interpolation function\n 3 Stitching function\n 4
PostScript calculator function')\ |
| 691 .done().done()\ |
| 692 .required('NULL')\ |
| 693 .field('Domain')\ |
| 694 .name('Domain')\ |
| 695 .type('array')\ |
| 696 .comment('(Required) An array of 2 x m numbers, where m is the number
of input\nvalues. For each i from 0 to m - 1, Domain2i must be less than or equa
l to\nDomain2i+1 , and the ith input value, xi , must lie in the interval\nDomai
n2i <= xi <= Domain2i+1 . Input values outside the declared domain are\nclipped
to the nearest boundary value.')\ |
| 697 .done().done()\ |
| 698 .optional()\ |
| 699 .field('Range')\ |
| 700 .name('Range')\ |
| 701 .type('array')\ |
| 702 .comment('(Required for type 0 and type 4 functions, optional otherwis
e; see below) An\narray of 2 x n numbers, where n is the number of output values
. For each j\nfrom 0 to n - 1, Range2j must be less than or equal to Range2j+1 ,
and the jth\noutput value, yj , must lie in the interval Range2j <= yj <= Range
2j+1 . Output\nvalues outside the declared range are clipped to the nearest boun
dary value.\nIf this entry is absent, no clipping is done.')\ |
| 703 .done().done()\ |
| 704 .done() |
| 705 |
| 706 pdfspec.addClass('Type0FunctionDictionary', 'Dictionary', 'Additional entries
specific to a type 0 function dictionary')\ |
| 707 .required('NULL')\ |
| 708 .field('Size')\ |
| 709 .name('Size')\ |
| 710 .type('array')\ |
| 711 .comment('(Required) An array of m positive integers specifying the nu
mber of samples\nin each input dimension of the sample table.')\ |
| 712 .done().done()\ |
| 713 .required('NULL')\ |
| 714 .field('BitsPerSample')\ |
| 715 .name('BitsPerSample')\ |
| 716 .type('integer')\ |
| 717 .comment('(Required) The number of bits used to represent each sample.
(If the function\nhas multiple output values, each one occupies BitsPerSample b
its.) Valid\nvalues are 1, 2, 4, 8, 12, 16, 24, and 32.')\ |
| 718 .done().done()\ |
| 719 .optional()\ |
| 720 .field('Order')\ |
| 721 .name('Order')\ |
| 722 .type('integer')\ |
| 723 .comment('(Optional) The order of interpolation between samples. Valid
values are 1\nand 3, specifying linear and cubic spline interpolation, respecti
vely. (See im-\nplementation note 26 in Appendix H.) Default value: 1.')\ |
| 724 .done().done()\ |
| 725 .optional()\ |
| 726 .field('Encode')\ |
| 727 .name('Encode')\ |
| 728 .type('array')\ |
| 729 .comment('(Optional) An array of 2 x m numbers specifying the linear m
apping of input\nvalues into the domain of the function\'s sample table. Default
value:\n[0 (Size0 - 1) 0 (Size1 - 1) ...].')\ |
| 730 .done().done()\ |
| 731 .optional()\ |
| 732 .field('Decode')\ |
| 733 .name('Decode')\ |
| 734 .type('array')\ |
| 735 .comment('(Optional) An array of 2 x n numbers specifying the linear m
apping of sam-\nple values into the range appropriate for the function\'s output
values. Default\nvalue: same as the value of Range.')\ |
| 736 .done().done()\ |
| 737 .done() |
| 738 |
| 739 pdfspec.addClass('Type2FunctionDictionary', 'Dictionary', 'Additional entries
specific to a type 2 function dictionary')\ |
| 740 .optional()\ |
| 741 .field('C0')\ |
| 742 .name('C0')\ |
| 743 .type('array')\ |
| 744 .comment('(Optional) An array of n numbers defining the function resul
t when x = 0.0 (hence the "0"\nin the name). Default value: [0.0].')\ |
| 745 .done().done()\ |
| 746 .optional()\ |
| 747 .field('C1')\ |
| 748 .name('C1')\ |
| 749 .type('array')\ |
| 750 .comment('(Optional) An array of n numbers defining the function resul
t when x = 1.0 (hence the "1"\nin the name). Default value: [1.0].')\ |
| 751 .done().done()\ |
| 752 .required('NULL')\ |
| 753 .field('N')\ |
| 754 .name('N')\ |
| 755 .type('number')\ |
| 756 .comment('(Required) The interpolation exponent. Each input value x wi
ll return n values, given by\nyj = C0j + xN x (C1j - C0j ), for 0 <= j < n.')\ |
| 757 .done().done()\ |
| 758 .done() |
| 759 |
| 760 pdfspec.addClass('Type3FunctionDictionary', 'Dictionary', 'Additional entries
specific to a type 3 function dictionary')\ |
| 761 .required('NULL')\ |
| 762 .field('Functions')\ |
| 763 .name('Functions')\ |
| 764 .type('array')\ |
| 765 .comment('(Required) An array of k 1-input functions making up the sti
tching function. The out-\nput dimensionality of all functions must be the same,
and compatible with the value of\nRange if Range is present.')\ |
| 766 .done().done()\ |
| 767 .required('NULL')\ |
| 768 .field('Bounds')\ |
| 769 .name('Bounds')\ |
| 770 .type('array')\ |
| 771 .comment('(Required) An array of k - 1 numbers that, in combination wi
th Domain, define the\nintervals to which each function from the Functions array
applies. Bounds elements\nmust be in order of increasing value, and each value
must be within the domain\ndefined by Domain.')\ |
| 772 .done().done()\ |
| 773 .required('NULL')\ |
| 774 .field('Encode')\ |
| 775 .name('Encode')\ |
| 776 .type('array')\ |
| 777 .comment('(Required) An array of 2 x k numbers that, taken in pairs, m
ap each subset of the do-\nmain defined by Domain and the Bounds array to the do
main of the corresponding\nfunction.')\ |
| 778 .done().done()\ |
| 779 .done() |
| 780 |
| 781 pdfspec.addClass('FileSpecificationDictionary', 'Dictionary', 'Entries in a fi
le specification dictionary')\ |
| 782 .optional()\ |
| 783 .field('Type')\ |
| 784 .name('Type')\ |
| 785 .type('name')\ |
| 786 .comment('(Required if an EF or RF entry is present; recommended alway
s) The type of PDF object\nthat this dictionary describes; must be Filespec for
a file specification dictionary.')\ |
| 787 .done().done()\ |
| 788 .optional()\ |
| 789 .field('FS')\ |
| 790 .name('FS')\ |
| 791 .type('name')\ |
| 792 .comment('(Optional) The name of the file system to be used to interpr
et this file specification. If\nthis entry is present, all other entries in the
dictionary are interpreted by the desig-\nnated file system. PDF defines only on
e standard file system, URL (see Section 3.10.4,\n"URL Specifications"); a viewe
r application or plug-in extension can register a differ-\nent one (see Appendix
E). Note that this entry is independent of the F, DOS, Mac, and\nUnix entries.'
)\ |
| 793 .done().done()\ |
| 794 .optional()\ |
| 795 .field('F')\ |
| 796 .name('F')\ |
| 797 .type('string')\ |
| 798 .comment('(Required if the DOS, Mac, and Unix entries are all absent)
A file specification string of\nthe form described in Section 3.10.1, "File Spec
ification Strings," or (if the file system\nis URL) a uniform resource locator,
as described in Section 3.10.4, "URL Specifica-\ntions."')\ |
| 799 .done().done()\ |
| 800 .optional()\ |
| 801 .field('DOS')\ |
| 802 .name('DOS')\ |
| 803 .type('string')\ |
| 804 .comment('(Optional) A file specification string (see Section 3.10.1,
"File Specification Strings")\nrepresenting a DOS file name.')\ |
| 805 .done().done()\ |
| 806 .optional()\ |
| 807 .field('Mac')\ |
| 808 .name('Mac')\ |
| 809 .type('string')\ |
| 810 .comment('(Optional) A file specification string (see Section 3.10.1,
"File Specification Strings")\nrepresenting a Mac OS file name.')\ |
| 811 .done().done()\ |
| 812 .optional()\ |
| 813 .field('Unix')\ |
| 814 .name('Unix')\ |
| 815 .type('string')\ |
| 816 .comment('(Optional) A file specification string (see Section 3.10.1,
"File Specification Strings")\nrepresenting a UNIX file name.')\ |
| 817 .done().done()\ |
| 818 .optional()\ |
| 819 .field('ID')\ |
| 820 .name('ID')\ |
| 821 .type('array')\ |
| 822 .comment('(Optional) An array of two strings constituting a file ident
ifier (see Section 9.3, "File\nIdentifiers") that is also included in the refere
nced file. The use of this entry improves\na viewer application\'s chances of fi
nding the intended file and allows it to warn the\nuser if the file has changed
since the link was made.')\ |
| 823 .done().done()\ |
| 824 .optional()\ |
| 825 .field('V')\ |
| 826 .name('V')\ |
| 827 .type('boolean')\ |
| 828 .comment('(Optional; PDF 1.2) A flag indicating whether the file refer
enced by the file specifica-\ntion is volatile (changes frequently with time). I
f the value is true, viewer applications\nshould never cache a copy of the file.
For example, a movie annotation referencing a\nURL to a live video camera could
set this flag to true, notifying the application that it\nshould reacquire the
movie each time it is played. Default value: false.')\ |
| 829 .done().done()\ |
| 830 .optional()\ |
| 831 .field('EF')\ |
| 832 .name('EF')\ |
| 833 .type('dictionary')\ |
| 834 .comment('(Required if RF is present; PDF 1.3) A dictionary containing
a subset of the keys F,\nDOS, Mac, and Unix, corresponding to the entries by th
ose names in the file specifica-\ntion dictionary. The value of each such key is
an embedded file stream (see Section\n3.10.3, "Embedded File Streams") containi
ng the corresponding file. If this entry is\npresent, the Type entry is required
and the file specification dictionary must be indi-\nrectly referenced.')\ |
| 835 .done().done()\ |
| 836 .optional()\ |
| 837 .field('RF')\ |
| 838 .name('RF')\ |
| 839 .type('dictionary')\ |
| 840 .comment('(Optional; PDF 1.3) A dictionary with the same structure as
the EF dictionary, which\nmust also be present. Each key in the RF dictionary mu
st also be present in the EF dic-\ntionary. Each value is a related files array
(see "Related Files Arrays" on page 125)\nidentifying files that are related to
the corresponding file in the EF dictionary. If this\nentry is present, the Type
entry is required and the file specification dictionary must\nbe indirectly ref
erenced.')\ |
| 841 .done().done()\ |
| 842 .done() |
| 843 |
| 844 pdfspec.addClass('EmbeddedFileStreamDictionary', 'Dictionary', 'Additional ent
ries in an embedded file stream dictionary')\ |
| 845 .optional()\ |
| 846 .field('Type')\ |
| 847 .name('Type')\ |
| 848 .type('name')\ |
| 849 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be EmbeddedFile for an embedded file stream.')\ |
| 850 .done().done()\ |
| 851 .optional()\ |
| 852 .field('Subtype')\ |
| 853 .name('Subtype')\ |
| 854 .type('name')\ |
| 855 .comment('(Optional) The subtype of the embedded file. The value of th
is entry must be\na first-class name, as defined in Appendix E. Names without a
registered pre-\nfix must conform to the MIME media type names defined in Intern
et RFC\n2046, Multipurpose Internet Mail Extensions (MIME), Part Two: Media Type
s\n(see the Bibliography), with the provision that characters not allowed in\nna
mes must use the 2-character hexadecimal code format described in Sec-\ntion 3.2
.4, "Name Objects."')\ |
| 856 .done().done()\ |
| 857 .optional()\ |
| 858 .field('Params')\ |
| 859 .name('Params')\ |
| 860 .type('dictionary')\ |
| 861 .comment('(Optional) An embedded file parameter dictionary containing
additional, file-\nspecific information (see Table 3.34).')\ |
| 862 .done().done()\ |
| 863 .done() |
| 864 |
| 865 pdfspec.addClass('EmbeddedFileParameterDictionary', 'Dictionary', 'Entries in
an embedded file parameter dictionary')\ |
| 866 .optional()\ |
| 867 .field('Size')\ |
| 868 .name('Size')\ |
| 869 .type('integer')\ |
| 870 .comment('(Optional) The size of the embedded file, in bytes.')\ |
| 871 .done().done()\ |
| 872 .optional()\ |
| 873 .field('CreationDate')\ |
| 874 .name('CreationDate')\ |
| 875 .type('date')\ |
| 876 .comment('(Optional) The date and time when the embedded file was crea
ted.')\ |
| 877 .done().done()\ |
| 878 .optional()\ |
| 879 .field('ModDate')\ |
| 880 .name('ModDate')\ |
| 881 .type('date')\ |
| 882 .comment('(Optional) The date and time when the embedded file was last
modified.')\ |
| 883 .done().done()\ |
| 884 .optional()\ |
| 885 .field('Mac')\ |
| 886 .name('Mac')\ |
| 887 .type('dictionary')\ |
| 888 .comment('(Optional) A subdictionary containing additional information
specific to\nMac OS files (see Table 3.35).')\ |
| 889 .done().done()\ |
| 890 .optional()\ |
| 891 .field('CheckSum')\ |
| 892 .name('CheckSum')\ |
| 893 .type('string')\ |
| 894 .comment('(Optional) A 16-byte string that is the checksum of the byte
s of the uncom-\npressed embedded file. The checksum is calculated by applying t
he standard\nMD5 message-digest algorithm (described in Internet RFC 1321, The M
D5\nMessage-Digest Algorithm; see the Bibliography) to the bytes of the embedded
\nfile stream.')\ |
| 895 .done().done()\ |
| 896 .done() |
| 897 |
| 898 pdfspec.addClass('MacOsFileInformationDictionary', 'Dictionary', 'Entries in a
Mac OS file information dictionary')\ |
| 899 .optional()\ |
| 900 .field('Subtype')\ |
| 901 .name('Subtype')\ |
| 902 .type('string')\ |
| 903 .comment('(Optional) The embedded file\'s file type.')\ |
| 904 .done().done()\ |
| 905 .optional()\ |
| 906 .field('Creator')\ |
| 907 .name('Creator')\ |
| 908 .type('string')\ |
| 909 .comment('(Optional) The embedded file\'s creator signature.')\ |
| 910 .done().done()\ |
| 911 .optional()\ |
| 912 .field('ResFork')\ |
| 913 .name('ResFork')\ |
| 914 .type('stream')\ |
| 915 .comment('(Optional) The binary contents of the embedded file\'s resou
rce fork.')\ |
| 916 .done().done()\ |
| 917 .done() |
| 918 |
| 919 pdfspec.addClass('CalgrayColorSpaceDictionary', 'Dictionary', 'Entries in a Ca
lGray color space dictionary')\ |
| 920 .required('NULL')\ |
| 921 .field('WhitePoint')\ |
| 922 .name('WhitePoint')\ |
| 923 .type('array')\ |
| 924 .comment('(Required) An array of three numbers [XW YW ZW ] specifying
the tri-\nstimulus value, in the CIE 1931 XYZ space, of the diffuse white point;
see\n"CalRGB Color Spaces," below, for further discussion. The numbers XW and\n
ZW must be positive, and YW must be equal to 1.0.')\ |
| 925 .done().done()\ |
| 926 .optional()\ |
| 927 .field('BlackPoint')\ |
| 928 .name('BlackPoint')\ |
| 929 .type('array')\ |
| 930 .comment('(Optional) An array of three numbers [ XB YB ZB ] specifying
the tristimulus\nvalue, in the CIE 1931 XYZ space, of the diffuse black point;
see "CalRGB\nColor Spaces," below, for further discussion. All three of these nu
mbers must\nbe nonnegative. Default value: [0.0 0.0 0.0].')\ |
| 931 .done().done()\ |
| 932 .optional()\ |
| 933 .field('Gamma')\ |
| 934 .name('Gamma')\ |
| 935 .type('number')\ |
| 936 .comment('(Optional) A number G defining the gamma for the gray (A) co
mponent. G\nmust be positive and will generally be greater than or equal to 1. D
efault\nvalue: 1.')\ |
| 937 .done().done()\ |
| 938 .done() |
| 939 |
| 940 pdfspec.addClass('CalrgbColorSpaceDictionary', 'Dictionary', 'Entries in a Cal
RGB color space dictionary')\ |
| 941 .required('NULL')\ |
| 942 .field('WhitePoint')\ |
| 943 .name('WhitePoint')\ |
| 944 .type('array')\ |
| 945 .comment('(Required) An array of three numbers [ XW YW ZW ] specifying
the tristimulus value,\nin the CIE 1931 XYZ space, of the diffuse white point;
see below for further discus-\nsion. The numbers XW and ZW must be positive, and
YW must be equal to 1.0.')\ |
| 946 .done().done()\ |
| 947 .optional()\ |
| 948 .field('BlackPoint')\ |
| 949 .name('BlackPoint')\ |
| 950 .type('array')\ |
| 951 .comment('(Optional) An array of three numbers [ XB YB ZB ] specifying
the tristimulus value, in\nthe CIE 1931 XYZ space, of the diffuse black point;
see below for further discussion.\nAll three of these numbers must be nonnegativ
e. Default value: [0.0 0.0 0.0].')\ |
| 952 .done().done()\ |
| 953 .optional()\ |
| 954 .field('Gamma')\ |
| 955 .name('Gamma')\ |
| 956 .type('array')\ |
| 957 .comment('(Optional) An array of three numbers [ GR GG GB ] specifying
the gamma for the red,\ngreen, and blue (A, B, and C) components of the color s
pace. Default value:\n[1.0 1.0 1.0].')\ |
| 958 .done().done()\ |
| 959 .optional()\ |
| 960 .field('Matrix')\ |
| 961 .name('Matrix')\ |
| 962 .type('array')\ |
| 963 .comment('(Optional) An array of nine numbers [ XA YA ZA XB YB ZB XC Y
C ZC ] specifying\nthe linear interpretation of the decoded A, B, and C componen
ts of the color space\nwith respect to the final XYZ representation. Default val
ue: the identity matrix\n[1 0 0 0 1 0 0 0 1].')\ |
| 964 .done().done()\ |
| 965 .done() |
| 966 |
| 967 pdfspec.addClass('LabColorSpaceDictionary', 'Dictionary', 'Entries in a Lab co
lor space dictionary')\ |
| 968 .required('NULL')\ |
| 969 .field('WhitePoint')\ |
| 970 .name('WhitePoint')\ |
| 971 .type('array')\ |
| 972 .comment('(Required) An array of three numbers [ XW YW ZW ] specifying
the tristimulus value,\nin the CIE 1931 XYZ space, of the diffuse white point;
see "CalRGB Color Spaces" on\npage 184 for further discussion. The numbers XW an
d ZW must be positive, and YW\nmust be equal to 1.0.')\ |
| 973 .done().done()\ |
| 974 .optional()\ |
| 975 .field('BlackPoint')\ |
| 976 .name('BlackPoint')\ |
| 977 .type('array')\ |
| 978 .comment('(Optional) An array of three numbers [ XB YB ZB ] specifying
the tristimulus value, in\nthe CIE 1931 XYZ space, of the diffuse black point;
see "CalRGB Color Spaces" on\npage 184 for further discussion. All three of thes
e numbers must be nonnegative.\nDefault value: [0.0 0.0 0.0].')\ |
| 979 .done().done()\ |
| 980 .optional()\ |
| 981 .field('Range')\ |
| 982 .name('Range')\ |
| 983 .type('array')\ |
| 984 .comment('(Optional) An array of four numbers [ amin amax bmin bmax ]
specifying the range of\nvalid values for the a* and b* (B and C) components of
the color space-that is,\n a min <= a* <= a max\nand\n b min <= b* <=
b max\nComponent values falling outside the specified range will be adjusted to
the nearest\nvalid value without error indication. Default value: [ -100 100 -10
0 100].')\ |
| 985 .done().done()\ |
| 986 .done() |
| 987 |
| 988 pdfspec.addClass('IccProfileStreamDictionary', 'Dictionary', 'Additional entri
es specific to an ICC profile stream dictionary')\ |
| 989 .required('NULL')\ |
| 990 .field('N')\ |
| 991 .name('N')\ |
| 992 .type('integer')\ |
| 993 .comment('(Required) The number of color components in the color space
described by the ICC\nprofile data. This number must match the number of compon
ents actually in the ICC\nprofile. As of PDF 1.4, N must be 1, 3, or 4.')\ |
| 994 .done().done()\ |
| 995 .optional()\ |
| 996 .field('Alternate')\ |
| 997 .name('Alternate')\ |
| 998 .type('array or name')\ |
| 999 .comment('(Optional) An alternate color space to be used in case the o
ne specified in the stream\ndata is not supported (for example, by viewer applic
ations designed for earlier\nversions of PDF). The alternate space may be any va
lid color space (except a Pattern\ncolor space) that has the number of component
s specified by N. If this entry is omit-\nted and the viewer application does no
t understand the ICC profile data, the color\nspace used will be DeviceGray, Dev
iceRGB, or DeviceCMYK, depending on whether\nthe value of N is 1, 3, or 4, respe
ctively.\nNote: Note that there is no conversion of source color values, such as
a tint transforma-\ntion, when using the alternate color space. Color values th
at are within the range of the\nICCBased color space might not be within the ran
ge of the alternate color space. In this\ncase, the nearest values within the ra
nge of the alternate space will be substituted.')\ |
| 1000 .done().done()\ |
| 1001 .optional()\ |
| 1002 .field('Range')\ |
| 1003 .name('Range')\ |
| 1004 .type('array')\ |
| 1005 .comment('(Optional) An array of 2 x N numbers [min0 max0 min1 max1 ..
. ] specifying the\nminimum and maximum valid values of the corresponding color
components.\nThese values must match the information in the ICC profile. Default
value:\n[0.0 1.0 0.0 1.0 ...].')\ |
| 1006 .done().done()\ |
| 1007 .optional()\ |
| 1008 .field('Metadata')\ |
| 1009 .name('Metadata')\ |
| 1010 .type('stream')\ |
| 1011 .comment('(Optional; PDF 1.4) A metadata stream containing metadata fo
r the color space (see\nSection 9.2.2, "Metadata Streams").')\ |
| 1012 .done().done()\ |
| 1013 .done() |
| 1014 |
| 1015 pdfspec.addClass('DeviceNColorSpaceDictionary', 'Dictionary', 'Entry in a Devi
ceN color space attributes dictionary')\ |
| 1016 .optional()\ |
| 1017 .field('Colorants')\ |
| 1018 .name('Colorants')\ |
| 1019 .type('dictionary')\ |
| 1020 .comment('(Optional) A dictionary describing the individual colorants
used in the DeviceN\ncolor space. For each entry in this dictionary, the key is
a colorant name and the\nvalue is an array defining a Separation color space for
that colorant (see "Separa-\ntion Color Spaces" on page 201). The key must matc
h the colorant name given in\nthat color space. The dictionary need not list all
colorants used in the DeviceN\ncolor space and may list additional colorants.\n
This dictionary has no effect on the operation of the DeviceN color space itself
or\nthe appearance that it produces. However, it provides information about the
indi-\nvidual colorants that may be useful to some applications. In particular,
the alter-\nnate color space and tint transformation function of a Separation c
olor space\ndescribe the appearance of that colorant alone, whereas those of a D
eviceN color\nspace describe only the appearance of its colorants in combination
.')\ |
| 1021 .done().done()\ |
| 1022 .done() |
| 1023 |
| 1024 pdfspec.addClass('Type1PatternDictionary', 'Dictionary', 'Additional entries s
pecific to a type 1 pattern dictionary')\ |
| 1025 .optional()\ |
| 1026 .field('Type')\ |
| 1027 .name('Type')\ |
| 1028 .type('name')\ |
| 1029 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be Pattern for a pattern dictionary.')\ |
| 1030 .done().done()\ |
| 1031 .required('NULL')\ |
| 1032 .field('PatternType')\ |
| 1033 .name('PatternType')\ |
| 1034 .type('integer')\ |
| 1035 .comment('(Required) A code identifying the type of pattern that this
dictionary de-\nscribes; must be 1 for a tiling pattern.')\ |
| 1036 .done().done()\ |
| 1037 .required('NULL')\ |
| 1038 .field('PaintType')\ |
| 1039 .name('PaintType')\ |
| 1040 .type('integer')\ |
| 1041 .comment('(Required) A code that determines how the color of the patte
rn cell is to be\nspecified:\n 1 Colored tiling pattern. The pattern\'s co
ntent stream itself specifies the\n colors used to paint the pattern cel
l. When the content stream begins\n execution, the current color is the
one that was initially in effect in the\n pattern\'s parent content stre
am. (This is similar to the definition of the\n pattern matrix; see Sect
ion 4.6.1, "General Properties of Patterns.")\n 2 Uncolored tiling pattern
. The pattern\'s content stream does not speci-\n fy any color informati
on. Instead, the entire pattern cell is painted\n with a separately spec
ified color each time the pattern is used. Essen-\n tially, the content
stream describes a stencil through which the cur-')\ |
| 1042 .done().done()\ |
| 1043 .done() |
| 1044 |
| 1045 pdfspec.addClass('Type2PatternDictionary', 'Dictionary', 'Entries in a type 2
pattern dictionary')\ |
| 1046 .optional()\ |
| 1047 .field('Type')\ |
| 1048 .name('Type')\ |
| 1049 .type('integer')\ |
| 1050 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be Pattern for a pattern dictionary.')\ |
| 1051 .done().done()\ |
| 1052 .required('NULL')\ |
| 1053 .field('PatternType')\ |
| 1054 .name('PatternType')\ |
| 1055 .type('integer')\ |
| 1056 .comment('(Required) A code identifying the type of pattern that this
dictionary de-\nscribes; must be 2 for a shading pattern.')\ |
| 1057 .done().done()\ |
| 1058 .required('NULL')\ |
| 1059 .field('Shading')\ |
| 1060 .name('Shading')\ |
| 1061 .type('dictionary or stream')\ |
| 1062 .comment('(Required) A shading object (see below) defining the shading
pattern\'s gradient\nfill. The contents of the dictionary consist of the entrie
s in Table 4.25 on page\n234, plus those in one of Tables 4.26 to 4.31 on pages
237 to 253.')\ |
| 1063 .done().done()\ |
| 1064 .optional()\ |
| 1065 .field('Matrix')\ |
| 1066 .name('Matrix')\ |
| 1067 .type('array')\ |
| 1068 .comment('(Optional) An array of six numbers specifying the pattern ma
trix (see Section\n4.6.1, "General Properties of Patterns"). Default value: the
identity matrix\n[1 0 0 1 0 0].')\ |
| 1069 .done().done()\ |
| 1070 .optional()\ |
| 1071 .field('ExtGState')\ |
| 1072 .name('ExtGState')\ |
| 1073 .type('dictionary')\ |
| 1074 .comment('(Optional) A graphics state parameter dictionary (see Sectio
n 4.3.4, "Graph-\nics State Parameter Dictionaries") containing graphics state p
arameters to be\nput into effect temporarily while the shading pattern is painte
d. Any parame-\nters that are not so specified are inherited from the graphics s
tate that was in\neffect at the beginning of the content stream in which the pat
tern is defined\nas a resource.')\ |
| 1075 .done().done()\ |
| 1076 .done() |
| 1077 |
| 1078 pdfspec.addClass('ShadingDictionary', 'Dictionary', 'Entries common to all sha
ding dictionaries')\ |
| 1079 .required('NULL')\ |
| 1080 .field('ShadingType')\ |
| 1081 .name('ShadingType')\ |
| 1082 .type('integer')\ |
| 1083 .comment('(Required) The shading type:\n 1 Function-based shadin
g\n 2 Axial shading\n 3 Radial shading\n 4 Free-form Gouraud-s
haded triangle mesh\n 5 Lattice-form Gouraud-shaded triangle mesh\n 6
Coons patch mesh\n 7 Tensor-product patch mesh')\ |
| 1084 .done().done()\ |
| 1085 .required('NULL')\ |
| 1086 .field('ColorSpace')\ |
| 1087 .name('ColorSpace')\ |
| 1088 .type('name or array')\ |
| 1089 .comment('(Required) The color space in which color values are express
ed. This may be\nany device, CIE-based, or special color space except a Pattern
space. See\n"Color Space: Special Considerations," below, for further informatio
n.')\ |
| 1090 .done().done()\ |
| 1091 .optional()\ |
| 1092 .field('Background')\ |
| 1093 .name('Background')\ |
| 1094 .type('array')\ |
| 1095 .comment('(Optional) An array of color components appropriate to the c
olor space,\nspecifying a single background color value. If present, this color
is used be-\nfore any painting operation involving the shading, to fill those po
rtions of the\narea to be painted that lie outside the bounds of the shading obj
ect itself. In\nthe opaque imaging model, the effect is as if the painting opera
tion were\nperformed twice: first with the background color and then again with
the\nshading.\nNote: The background color is applied only when the shading is us
ed as part of a\nshading pattern, not when it is painted directly with the sh op
erator.')\ |
| 1096 .done().done()\ |
| 1097 .optional()\ |
| 1098 .field('BBox')\ |
| 1099 .name('BBox')\ |
| 1100 .type('rectangle')\ |
| 1101 .comment('(Optional) An array of four numbers giving the left, bottom,
right, and top\ncoordinates, respectively, of the shading\'s bounding box. The
coordinates are\ninterpreted in the shading\'s target coordinate space. If prese
nt, this bounding\nbox is applied as a temporary clipping boundary when the shad
ing is painted,\nin addition to the current clipping path and any other clipping
boundaries in\neffect at that time.')\ |
| 1102 .done().done()\ |
| 1103 .optional()\ |
| 1104 .field('AntiAlias')\ |
| 1105 .name('AntiAlias')\ |
| 1106 .type('boolean')\ |
| 1107 .comment('(Optional) A flag indicating whether to filter the shading f
unction to prevent\naliasing artifacts. The shading operators sample shading fun
ctions at a rate\ndetermined by the resolution of the output device. Aliasing ca
n occur if the\nfunction is not smooth-that is, if it has a high spatial frequen
cy relative to\nthe sampling rate. Anti-aliasing can be computationally expensiv
e and is usu-\nally unnecessary, since most shading functions are smooth enough,
or are\nsampled at a high enough frequency, to avoid aliasing effects. Anti-ali
asing\nmay not be implemented on some output devices, in which case this flag is
\nignored. Default value: false.')\ |
| 1108 .done().done()\ |
| 1109 .done() |
| 1110 |
| 1111 pdfspec.addClass('Type1ShadingDictionary', 'ShadingDictionary', 'Additional en
tries specific to a type 1 shading dictionary')\ |
| 1112 .optional()\ |
| 1113 .field('Domain')\ |
| 1114 .name('Domain')\ |
| 1115 .type('array')\ |
| 1116 .comment('(Optional) An array of four numbers [ xmin xmax ymin ymax ]
specifying the rec-\ntangular domain of coordinates over which the color functio
n(s) are defined.\nDefault value: [0.0 1.0 0.0 1.0].')\ |
| 1117 .done().done()\ |
| 1118 .optional()\ |
| 1119 .field('Matrix')\ |
| 1120 .name('Matrix')\ |
| 1121 .type('array')\ |
| 1122 .comment('(Optional) An array of six numbers specifying a transformati
on matrix mapping\nthe coordinate space specified by the Domain entry into the s
hading\'s target co-\nordinate space. For example, to map the domain rectangle [
0.0 1.0 0.0 1.0] to a\n1-inch square with lower-left corner at coordinates (100,
100) in default user\nspace, the Matrix value would be [72 0 0 72 100 100]. Def
ault value: the iden-\ntity matrix [1 0 0 1 0 0].')\ |
| 1123 .done().done()\ |
| 1124 .required('NULL')\ |
| 1125 .field('Function')\ |
| 1126 .name('Function')\ |
| 1127 .type('function')\ |
| 1128 .comment('(Required) A 2-in, n-out function or an array of n 2-in, 1-o
ut functions (where n\nis the number of color components in the shading dictiona
ry\'s color space).\nEach function\'s domain must be a superset of that of the s
hading dictionary. If\nthe value returned by the function for a given color comp
onent is out of range, it\nwill be adjusted to the nearest valid value.')\ |
| 1129 .done().done()\ |
| 1130 .done() |
| 1131 |
| 1132 pdfspec.addClass('Type2ShadingDictionary', 'ShadingDictionary', 'Additional en
tries specific to a type 2 shading dictionary')\ |
| 1133 .required('NULL')\ |
| 1134 .field('Coords')\ |
| 1135 .name('Coords')\ |
| 1136 .type('array')\ |
| 1137 .comment('(Required) An array of four numbers [ x0 y0 x1 y1 ] specifyi
ng the starting and\nending coordinates of the axis, expressed in the shading\'s
target coordinate\nspace.')\ |
| 1138 .done().done()\ |
| 1139 .optional()\ |
| 1140 .field('Domain')\ |
| 1141 .name('Domain')\ |
| 1142 .type('array')\ |
| 1143 .comment('(Optional) An array of two numbers [ t0 t1 ] specifying the
limiting values of a\nparametric variable t. The variable is considered to vary
linearly between these\ntwo values as the color gradient varies between the star
ting and ending points of\nthe axis. The variable t becomes the input argument t
o the color function(s).\nDefault value: [0.0 1.0].')\ |
| 1144 .done().done()\ |
| 1145 .required('NULL')\ |
| 1146 .field('Function')\ |
| 1147 .name('Function')\ |
| 1148 .type('function')\ |
| 1149 .comment('(Required) A 1-in, n-out function or an array of n 1-in, 1-o
ut functions (where n\nis the number of color components in the shading dictiona
ry\'s color space). The\nfunction(s) are called with values of the parametric va
riable t in the domain de-\nfined by the Domain entry. Each function\'s domain m
ust be a superset of that of\nthe shading dictionary. If the value returned by t
he function for a given color\ncomponent is out of range, it will be adjusted to
the nearest valid value.')\ |
| 1150 .done().done()\ |
| 1151 .optional()\ |
| 1152 .field('Extend')\ |
| 1153 .name('Extend')\ |
| 1154 .type('array')\ |
| 1155 .comment('(Optional) An array of two boolean values specifying whether
to extend the\nshading beyond the starting and ending points of the axis, respe
ctively. Default\nvalue: [false false].')\ |
| 1156 .done().done()\ |
| 1157 .done() |
| 1158 |
| 1159 pdfspec.addClass('Type3ShadingDictionary', 'ShadingDictionary', 'Additional en
tries specific to a type 3 shading dictionary')\ |
| 1160 .required('NULL')\ |
| 1161 .field('Coords')\ |
| 1162 .name('Coords')\ |
| 1163 .type('array')\ |
| 1164 .comment('(Required) An array of six numbers [ x0 y0 r0 x1 y1 r1 ] spe
cifying the centers and\nradii of the starting and ending circles, expressed in
the shading\'s target coor-\ndinate space. The radii r0 and r1 must both be grea
ter than or equal to 0. If one\nradius is 0, the corresponding circle is treated
as a point; if both are 0, nothing is\npainted.')\ |
| 1165 .done().done()\ |
| 1166 .optional()\ |
| 1167 .field('Domain')\ |
| 1168 .name('Domain')\ |
| 1169 .type('array')\ |
| 1170 .comment('(Optional) An array of two numbers [ t0 t1 ] specifying the
limiting values of a\nparametric variable t. The variable is considered to vary
linearly between these\ntwo values as the color gradient varies between the star
ting and ending circles.\nThe variable t becomes the input argument to the color
function(s). Default\nvalue: [0.0 1.0].')\ |
| 1171 .done().done()\ |
| 1172 .required('NULL')\ |
| 1173 .field('Function')\ |
| 1174 .name('Function')\ |
| 1175 .type('function')\ |
| 1176 .comment('(Required) A 1-in, n-out function or an array of n 1-in, 1-o
ut functions (where n\nis the number of color components in the shading dictiona
ry\'s color space). The\nfunction(s) are called with values of the parametric va
riable t in the domain de-\nfined by the shading dictionary\'s Domain entry. Eac
h function\'s domain must be\na superset of that of the shading dictionary. If t
he value returned by the function\nfor a given color component is out of range,
it will be adjusted to the nearest\nvalid value.')\ |
| 1177 .done().done()\ |
| 1178 .optional()\ |
| 1179 .field('Extend')\ |
| 1180 .name('Extend')\ |
| 1181 .type('array')\ |
| 1182 .comment('(Optional) An array of two boolean values specifying whether
to extend the\nshading beyond the starting and ending circles, respectively. De
fault value:\n[false false].')\ |
| 1183 .done().done()\ |
| 1184 .done() |
| 1185 |
| 1186 pdfspec.addClass('Type4ShadingDictionary', 'ShadingDictionary', 'Additional en
tries specific to a type 4 shading dictionary')\ |
| 1187 .required('NULL')\ |
| 1188 .field('BitsPerCoordinate')\ |
| 1189 .name('BitsPerCoordinate')\ |
| 1190 .type('integer')\ |
| 1191 .comment('(Required) The number of bits used to represent each vertex
coordinate.\nValid values are 1, 2, 4, 8, 12, 16, 24, and 32.')\ |
| 1192 .done().done()\ |
| 1193 .required('NULL')\ |
| 1194 .field('BitsPerComponent')\ |
| 1195 .name('BitsPerComponent')\ |
| 1196 .type('integer')\ |
| 1197 .comment('(Required) The number of bits used to represent each color c
omponent.\nValid values are 1, 2, 4, 8, 12, and 16.')\ |
| 1198 .done().done()\ |
| 1199 .required('NULL')\ |
| 1200 .field('BitsPerFlag')\ |
| 1201 .name('BitsPerFlag')\ |
| 1202 .type('integer')\ |
| 1203 .comment('(Required) The number of bits used to represent the edge fla
g for each ver-\ntex (see below). Valid values of BitsPerFlag are 2, 4, and 8, b
ut only the\nleast significant 2 bits in each flag value are used. Valid values
for the edge\nflag itself are 0, 1, and 2.')\ |
| 1204 .done().done()\ |
| 1205 .required('NULL')\ |
| 1206 .field('Decode')\ |
| 1207 .name('Decode')\ |
| 1208 .type('rectangle')\ |
| 1209 .comment('(Required) An array of numbers specifying how to map vertex
coordinates\nand color components into the appropriate ranges of values. The de-
\ncoding method is similar to that used in image dictionaries (see "Decode\nArra
ys" on page 271). The ranges are specified as follows:\n [ xmin xmax ymin yma
x c1,min c1,max ... cn,min cn,max ]\nNote that only one pair of c values should
be specified if a Function entry\nis present.')\ |
| 1210 .done().done()\ |
| 1211 .optional()\ |
| 1212 .field('Function')\ |
| 1213 .name('Function')\ |
| 1214 .type('function')\ |
| 1215 .comment('(Optional) A 1-in, n-out function or an array of n 1-in, 1-o
ut functions\n(where n is the number of color components in the shading dictiona
ry\'s\ncolor space). If this entry is present, the color data for each vertex mu
st be\nspecified by a single parametric variable rather than by n separate color
\ncomponents; the designated function(s) will be called with each interpo-\nlate
d value of the parametric variable to determine the actual color at each\npoint.
Each input value will be forced into the range interval specified for\nthe corr
esponding color component in the shading dictionary\'s Decode\narray. Each funct
ion\'s domain must be a superset of that interval. If the\nvalue returned by the
function for a given color component is out of\nrange, it will be adjusted to t
he nearest valid value.\nThis entry may not be used with an Indexed color space.
')\ |
| 1216 .done().done()\ |
| 1217 .done() |
| 1218 |
| 1219 pdfspec.addClass('Type5ShadingDictionary', 'ShadingDictionary', 'Additional en
tries specific to a type 5 shading dictionary')\ |
| 1220 .required('NULL')\ |
| 1221 .field('BitsPerCoordinate')\ |
| 1222 .name('BitsPerCoordinate')\ |
| 1223 .type('integer')\ |
| 1224 .comment('(Required) The number of bits used to represent each vertex
coordinate.\nValid values are 1, 2, 4, 8, 12, 16, 24, and 32.')\ |
| 1225 .done().done()\ |
| 1226 .required('NULL')\ |
| 1227 .field('BitsPerComponent')\ |
| 1228 .name('BitsPerComponent')\ |
| 1229 .type('integer')\ |
| 1230 .comment('(Required) The number of bits used to represent each color c
omponent.\nValid values are 1, 2, 4, 8, 12, and 16.')\ |
| 1231 .done().done()\ |
| 1232 .required('NULL')\ |
| 1233 .field('VerticesPerRow')\ |
| 1234 .name('VerticesPerRow')\ |
| 1235 .type('integer')\ |
| 1236 .comment('(Required) The number of vertices in each row of the lattice
; the value\nmust be greater than or equal to 2. The number of rows need not be\
nspecified.')\ |
| 1237 .done().done()\ |
| 1238 .required('NULL')\ |
| 1239 .field('Decode')\ |
| 1240 .name('Decode')\ |
| 1241 .type('array')\ |
| 1242 .comment('(Required) An array of numbers specifying how to map vertex
coordinates\nand color components into the appropriate ranges of values. The de-
\ncoding method is similar to that used in image dictionaries (see "Decode\nArra
ys" on page 271). The ranges are specified as follows:\n [ xmin xmax ymin yma
x c1,min c1,max ... cn,min cn,max ]\nNote that only one pair of c values should
be specified if a Function entry\nis present.')\ |
| 1243 .done().done()\ |
| 1244 .optional()\ |
| 1245 .field('Function')\ |
| 1246 .name('Function')\ |
| 1247 .type('function')\ |
| 1248 .comment('(Optional) A 1-in, n-out function or an array of n 1-in, 1-o
ut functions\n(where n is the number of color components in the shading dictiona
ry\'s\ncolor space). If this entry is present, the color data for each vertex mu
st be\nspecified by a single parametric variable rather than by n separate color
\ncomponents; the designated function(s) will be called with each interpo-\nlate
d value of the parametric variable to determine the actual color at each\npoint.
Each input value will be forced into the range interval specified for\nthe corr
esponding color component in the shading dictionary\'s Decode\narray. Each funct
ion\'s domain must be a superset of that interval. If the\nvalue returned by the
function for a given color component is out of\nrange, it will be adjusted to t
he nearest valid value.\nThis entry may not be used with an Indexed color space.
')\ |
| 1249 .done().done()\ |
| 1250 .done() |
| 1251 |
| 1252 pdfspec.addClass('Type6ShadingDictionary', 'ShadingDictionary', 'Additional en
tries specific to a type 6 shading dictionary')\ |
| 1253 .required('NULL')\ |
| 1254 .field('BitsPerCoordinate')\ |
| 1255 .name('BitsPerCoordinate')\ |
| 1256 .type('integer')\ |
| 1257 .comment('(Required) The number of bits used to represent each geometr
ic coordi-\nnate. Valid values are 1, 2, 4, 8, 12, 16, 24, and 32.')\ |
| 1258 .done().done()\ |
| 1259 .required('NULL')\ |
| 1260 .field('BitsPerComponent')\ |
| 1261 .name('BitsPerComponent')\ |
| 1262 .type('integer')\ |
| 1263 .comment('(Required) The number of bits used to represent each color c
omponent.\nValid values are 1, 2, 4, 8, 12, and 16.')\ |
| 1264 .done().done()\ |
| 1265 .required('NULL')\ |
| 1266 .field('BitsPerFlag')\ |
| 1267 .name('BitsPerFlag')\ |
| 1268 .type('integer')\ |
| 1269 .comment('(Required) The number of bits used to represent the edge fla
g for each\npatch (see below). Valid values of BitsPerFlag are 2, 4, and 8, but
only the\nleast significant 2 bits in each flag value are used. Valid values for
the edge\nflag itself are 0, 1, 2, and 3.')\ |
| 1270 .done().done()\ |
| 1271 .required('NULL')\ |
| 1272 .field('Decode')\ |
| 1273 .name('Decode')\ |
| 1274 .type('array')\ |
| 1275 .comment('(Required) An array of numbers specifying how to map coordin
ates and\ncolor components into the appropriate ranges of values. The decoding\n
method is similar to that used in image dictionaries (see "Decode Arrays"\non pa
ge 271). The ranges are specified as follows:\n [ xmin xmax ymin ymax c1,min
c1,max ... cn,min cn,max ]\nNote that only one pair of c values should be specif
ied if a Function entry\nis present.')\ |
| 1276 .done().done()\ |
| 1277 .optional()\ |
| 1278 .field('Function')\ |
| 1279 .name('Function')\ |
| 1280 .type('function')\ |
| 1281 .comment('(Optional) A 1-in, n-out function or an array of n 1-in, 1-o
ut functions\n(where n is the number of color components in the shading dictiona
ry\'s\ncolor space). If this entry is present, the color data for each vertex mu
st be\nspecified by a single parametric variable rather than by n separate color
\ncomponents; the designated function(s) will be called with each interpo-\nlate
d value of the parametric variable to determine the actual color at each\npoint.
Each input value will be forced into the range interval specified for\nthe corr
esponding color component in the shading dictionary\'s Decode\narray. Each funct
ion\'s domain must be a superset of that interval. If the\nvalue returned by the
function for a given color component is out of\nrange, it will be adjusted to t
he nearest valid value.\nThis entry may not be used with an Indexed color space.
')\ |
| 1282 .done().done()\ |
| 1283 .done() |
| 1284 |
| 1285 pdfspec.addClass('ImageDictionary', 'XObjectDictionary', 'Additional entries s
pecific to an image dictionary')\ |
| 1286 .optional()\ |
| 1287 .field('Type')\ |
| 1288 .name('Type')\ |
| 1289 .type('name')\ |
| 1290 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if\npresent, must be XObject for an image XObject.')\ |
| 1291 .done().done()\ |
| 1292 .required('NULL')\ |
| 1293 .field('Subtype')\ |
| 1294 .name('Subtype')\ |
| 1295 .type('name')\ |
| 1296 .comment('(Required) The type of XObject that this dictionary describe
s; must be\nImage for an image XObject.')\ |
| 1297 .must(datatypes.PdfName('Image'))\ |
| 1298 .done().done()\ |
| 1299 .required('NULL')\ |
| 1300 .field('Width')\ |
| 1301 .name('Width')\ |
| 1302 .type('integer')\ |
| 1303 .comment('(Required) The width of the image, in samples.')\ |
| 1304 .done().done()\ |
| 1305 .required('NULL')\ |
| 1306 .field('Height')\ |
| 1307 .name('Height')\ |
| 1308 .type('integer')\ |
| 1309 .comment('(Required) The height of the image, in samples.')\ |
| 1310 .done().done()\ |
| 1311 .optional()\ |
| 1312 .field('ColorSpace')\ |
| 1313 .name('ColorSpace')\ |
| 1314 .type('name or array')\ |
| 1315 .comment('(Required except for image masks; not allowed for image mask
s) The color\nspace in which image samples are specified. This may be any type o
f color\nspace except Pattern.')\ |
| 1316 .done().done()\ |
| 1317 .optional()\ |
| 1318 .field('BitsPerComponent')\ |
| 1319 .name('BitsPerComponent')\ |
| 1320 .type('integer')\ |
| 1321 .comment('(Required except for image masks; optional for image masks)
The number of\nbits used to represent each color component. Only a single value
may be\nspecified; the number of bits is the same for all color components. Vali
d\nvalues are 1, 2, 4, and 8. If ImageMask is true, this entry is optional, and
if\nspecified, its value must be 1.\nIf the image stream uses a filter, the valu
e of BitsPerComponent must be\nconsistent with the size of the data samples that
the filter delivers. In par-\nticular, a CCITTFaxDecode or JBIG2Decode filter a
lways delivers 1-bit sam-\nples, a RunLengthDecode or DCTDecode filter delivers
8-bit samples, and\nan LZWDecode or FlateDecode filter delivers samples of a spe
cified size if\na predictor function is used.')\ |
| 1322 .done().done()\ |
| 1323 .optional()\ |
| 1324 .field('Intent')\ |
| 1325 .name('Intent')\ |
| 1326 .type('name')\ |
| 1327 .comment('(Optional; PDF 1.1) The name of a color rendering intent to
be used in\nrendering the image (see "Rendering Intents" on page 197). Default v
alue:\nthe current rendering intent in the graphics state.')\ |
| 1328 .done().done()\ |
| 1329 .optional()\ |
| 1330 .field('ImageMask')\ |
| 1331 .name('ImageMask')\ |
| 1332 .type('boolean')\ |
| 1333 .comment('(Optional) A flag indicating whether the image is to be trea
ted as an image\nmask (see Section 4.8.5, "Masked Images"). If this flag is true
, the value of\nBitsPerComponent must be 1 and Mask and ColorSpace should not be
\nspecified; unmasked areas will be painted using the current nonstroking\ncolor
. Default value: false.')\ |
| 1334 .done().done()\ |
| 1335 .optional()\ |
| 1336 .field('Mask')\ |
| 1337 .name('Mask')\ |
| 1338 .type('stream or array')\ |
| 1339 .comment('(Optional except for image masks; not allowed for image mask
s; PDF 1.3) An\nimage XObject defining an image mask to be applied to this image
(see\n"Explicit Masking" on page 277), or an array specifying a range of colors
\nto be applied to it as a color key mask (see "Color Key Masking" on page\n277)
. If ImageMask is true, this entry must not be present. (See\nimplementation not
e 35 in Appendix H.)')\ |
| 1340 .done().done()\ |
| 1341 .optional()\ |
| 1342 .field('SMask')\ |
| 1343 .name('SMask')\ |
| 1344 .type('stream')\ |
| 1345 .comment('(Optional; PDF 1.4) A subsidiary image XObject defining a so
ft-mask\nimage (see "Soft-Mask Images" on page 447) to be used as a source of\nm
ask shape or mask opacity values in the transparent imaging model. The\nalpha so
urce parameter in the graphics state determines whether the mask\nvalues are int
erpreted as shape or opacity.\nIf present, this entry overrides the current soft
mask in the graphics state,\nas well as the image\'s Mask entry, if any. (Howev
er, the other transparency-\nrelated graphics state parameters-blend mode and al
pha constant-\nremain in effect.) If SMask is absent, the image has no associate
d soft mask\n(although the current soft mask in the graphics state may still app
ly).')\ |
| 1346 .done().done()\ |
| 1347 .optional()\ |
| 1348 .field('Decode')\ |
| 1349 .name('Decode')\ |
| 1350 .type('array')\ |
| 1351 .comment('(Optional) An array of numbers describing how to map image s
amples\ninto the range of values appropriate for the image\'s color space (see\n
"Decode Arrays" on page 271). If ImageMask is true, the array must be\neither [0
1] or [1 0]; otherwise, its length must be twice the number of\ncolor component
s required by ColorSpace. Default value: see "Decode\nArrays" on page 271.')\ |
| 1352 .done().done()\ |
| 1353 .optional()\ |
| 1354 .field('Interpolate')\ |
| 1355 .name('Interpolate')\ |
| 1356 .type('boolean')\ |
| 1357 .comment('(Optional) A flag indicating whether image interpolation is
to be per-\nformed (see "Image Interpolation" on page 273). Default value: false
.')\ |
| 1358 .done().done()\ |
| 1359 .optional()\ |
| 1360 .field('Alternates')\ |
| 1361 .name('Alternates')\ |
| 1362 .type('array')\ |
| 1363 .comment('(Optional; PDF 1.3) An array of alternate image dictionaries
for this image\n(see "Alternate Images" on page 273). The order of elements wit
hin the\narray has no significance. This entry may not be present in an image\nX
Object that is itself an alternate image.')\ |
| 1364 .done().done()\ |
| 1365 .optional()\ |
| 1366 .field('Name')\ |
| 1367 .name('Name')\ |
| 1368 .type('name')\ |
| 1369 .comment('(Required in PDF 1.0; optional otherwise) The name by which
this image\nXObject is referenced in the XObject subdictionary of the current re
source\ndictionary (see Section 3.7.2, "Resource Dictionaries").\nNote: This ent
ry is obsolescent and its use is no longer recommended. (See\nimplementation not
e 36 in Appendix H.)')\ |
| 1370 .done().done()\ |
| 1371 .optional()\ |
| 1372 .field('StructParent')\ |
| 1373 .name('StructParent')\ |
| 1374 .type('integer')\ |
| 1375 .comment('(Required if the image is a structural content item; PDF 1.3
) The integer key\nof the image\'s entry in the structural parent tree (see "Fin
ding Structure\nElements from Content Items" on page 600).')\ |
| 1376 .done().done()\ |
| 1377 .optional()\ |
| 1378 .field('ID')\ |
| 1379 .name('ID')\ |
| 1380 .type('string')\ |
| 1381 .comment('(Optional; PDF 1.3; indirect reference preferred) The digita
l identifier of the\nimage\'s parent Web Capture content set (see Section 9.9.5,
"Object At-\ntributes Related to Web Capture").')\ |
| 1382 .done().done()\ |
| 1383 .optional()\ |
| 1384 .field('OPI')\ |
| 1385 .name('OPI')\ |
| 1386 .type('dictionary')\ |
| 1387 .comment('(Optional; PDF 1.2) An OPI version dictionary for the image
(see Section\n9.10.6, "Open Prepress Interface (OPI)"). If ImageMask is true, th
is entry\nis ignored.')\ |
| 1388 .done().done()\ |
| 1389 .optional()\ |
| 1390 .field('Metadata')\ |
| 1391 .name('Metadata')\ |
| 1392 .type('stream')\ |
| 1393 .comment('(Optional; PDF 1.4) A metadata stream containing metadata fo
r the image\n(see Section 9.2.2, "Metadata Streams").')\ |
| 1394 .done().done()\ |
| 1395 .done() |
| 1396 |
| 1397 pdfspec.addClass('AlternateImageDictionary', 'Dictionary', 'Entries in an alte
rnate image dictionary')\ |
| 1398 .required('NULL')\ |
| 1399 .field('Image')\ |
| 1400 .name('Image')\ |
| 1401 .type('stream')\ |
| 1402 .comment('(Required) The image XObject for the alternate image.')\ |
| 1403 .done().done()\ |
| 1404 .optional()\ |
| 1405 .field('DefaultForPrinting')\ |
| 1406 .name('DefaultForPrinting')\ |
| 1407 .type('boolean')\ |
| 1408 .comment('(Optional) A flag indicating whether this alternate image is
the default ver-\nsion to be used for printing. At most one alternate for a giv
en base image may\nbe so designated. If no alternate has this entry set to true,
the base image itself\nis used for printing.')\ |
| 1409 .done().done()\ |
| 1410 .done() |
| 1411 |
| 1412 pdfspec.addClass('Type1FormDictionary', 'XObjectDictionary', 'Additional entri
es specific to a type 1 form dictionary')\ |
| 1413 .optional()\ |
| 1414 .field('Type')\ |
| 1415 .name('Type')\ |
| 1416 .type('name')\ |
| 1417 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be XObject for a form XObject.')\ |
| 1418 .done().done()\ |
| 1419 .required('NULL')\ |
| 1420 .field('Subtype')\ |
| 1421 .name('Subtype')\ |
| 1422 .type('name')\ |
| 1423 .comment('(Required) The type of XObject that this dictionary describe
s; must be Form\nfor a form XObject.')\ |
| 1424 .must(datatypes.PdfName('Form'))\ |
| 1425 .done().done()\ |
| 1426 .optional()\ |
| 1427 .field('FormType')\ |
| 1428 .name('FormType')\ |
| 1429 .type('integer')\ |
| 1430 .comment('(Optional) A code identifying the type of form XObject that
this dictionary\ndescribes. The only valid value defined at the time of publicat
ion is 1. Default\nvalue: 1.')\ |
| 1431 .done().done()\ |
| 1432 .optional()\ |
| 1433 .field('Name')\ |
| 1434 .name('Name')\ |
| 1435 .type('name')\ |
| 1436 .comment('(Required in PDF 1.0; optional otherwise) The name by which
this form\nXObject is referenced in the XObject subdictionary of the current res
ource\ndictionary (see Section 3.7.2, "Resource Dictionaries").\nNote: This entr
y is obsolescent and its use is no longer recommended. (See\nimplementation note
38 in Appendix H.)')\ |
| 1437 .done().done()\ |
| 1438 .optional()\ |
| 1439 .field('LastModified')\ |
| 1440 .name('LastModified')\ |
| 1441 .type('date')\ |
| 1442 .comment('(Required if PieceInfo is present; optional otherwise; PDF 1
.3) The date and\ntime (see Section 3.8.2, "Dates") when the form XObject\'s con
tents were\nmost recently modified. If a page-piece dictionary (PieceInfo) is pr
esent, the\nmodification date is used to ascertain which of the application data
diction-\naries it contains correspond to the current content of the form (see
Section\n9.4, "Page-Piece Dictionaries").')\ |
| 1443 .done().done()\ |
| 1444 .required('NULL')\ |
| 1445 .field('BBox')\ |
| 1446 .name('BBox')\ |
| 1447 .type('rectangle')\ |
| 1448 .comment('(Required) An array of four numbers in the form coordinate s
ystem (see\nbelow), giving the coordinates of the left, bottom, right, and top e
dges,\nrespectively, of the form XObject\'s bounding box. These boundaries are u
sed\nto clip the form XObject and to determine its size for caching.')\ |
| 1449 .done().done()\ |
| 1450 .optional()\ |
| 1451 .field('Matrix')\ |
| 1452 .name('Matrix')\ |
| 1453 .type('array')\ |
| 1454 .comment('(Optional) An array of six numbers specifying the form matri
x, which maps\nform space into user space (see Section 4.2.3, "Transformation Ma
trices").\nDefault value: the identity matrix [1 0 0 1 0 0].')\ |
| 1455 .done().done()\ |
| 1456 .optional()\ |
| 1457 .field('Resources')\ |
| 1458 .name('Resources')\ |
| 1459 .type('dictionary')\ |
| 1460 .comment('(Optional but strongly recommended; PDF 1.2) A dictionary sp
ecifying any\nresources (such as fonts and images) required by the form XObject
(see Sec-\ntion 3.7, "Content Streams and Resources").\nIn PDF 1.1 and earlier,
all named resources used in the form XObject must be\nincluded in the resource d
ictionary of each page object on which the form\nXObject appears, whether or not
they also appear in the resource dictionary\nof the form XObject itself. It can
be useful to specify these resources in the\nform XObject\'s own resource dicti
onary as well, in order to determine which\nresources are used inside the form X
Object. If a resource is included in both\ndictionaries, it should have the same
name in both locations.')\ |
| 1461 .done().done()\ |
| 1462 .done() |
| 1463 |
| 1464 pdfspec.addClass('GroupAttributesDictionary', 'Dictionary', 'Entries common to
all group attributes dictionaries')\ |
| 1465 .optional()\ |
| 1466 .field('Type')\ |
| 1467 .name('Type')\ |
| 1468 .type('name')\ |
| 1469 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must\nbe Group for a group attributes dictionary.')\ |
| 1470 .done().done()\ |
| 1471 .required('NULL')\ |
| 1472 .field('S')\ |
| 1473 .name('S')\ |
| 1474 .type('name')\ |
| 1475 .comment('(Required) The group subtype, which identifies the type of g
roup whose at-\ntributes this dictionary describes and determines the format and
meaning of the\ndictionary\'s remaining entries. The only group subtype defined
in PDF 1.4 is\nTransparency; see Section 7.5.5, "Transparency Group XObjects,"
for the re-\nmaining contents of this type of dictionary. Other group subtypes m
ay be added\nin the future.')\ |
| 1476 .done().done()\ |
| 1477 .done() |
| 1478 |
| 1479 pdfspec.addClass('ReferenceDictionary', 'Dictionary', 'Entries in a reference
dictionary')\ |
| 1480 .required('NULL')\ |
| 1481 .field('F')\ |
| 1482 .name('F')\ |
| 1483 .type('file specification')\ |
| 1484 .comment('(Required) The file containing the target document.')\ |
| 1485 .done().done()\ |
| 1486 .required('NULL')\ |
| 1487 .field('Page')\ |
| 1488 .name('Page')\ |
| 1489 .type('integer or text string')\ |
| 1490 .comment('(Required) A page index or page label (see Section 8.3.1, "P
age Labels")\nidentifying the page of the target document containing the content
to be\nimported. Note that the reference is a weak one and can be inadvertently
in-\nvalidated if the referenced page is changed or replaced in the target docu
ment\nafter the reference is created.')\ |
| 1491 .done().done()\ |
| 1492 .optional()\ |
| 1493 .field('ID')\ |
| 1494 .name('ID')\ |
| 1495 .type('array')\ |
| 1496 .comment('(Optional) An array of two strings constituting a file ident
ifier (see Section 9.3,\n"File Identifiers") for the file containing the target
document. The use of this\nentry improves a viewer application\'s chances of fin
ding the intended file and\nallows it to warn the user if the file has changed s
ince the reference was created.')\ |
| 1497 .done().done()\ |
| 1498 .done() |
| 1499 |
| 1500 pdfspec.addClass('PSXobjectDictionary', 'Dictionary', 'Additional entries spec
ific to a PostScript XObject dictionary')\ |
| 1501 .optional()\ |
| 1502 .field('Type')\ |
| 1503 .name('Type')\ |
| 1504 .type('name')\ |
| 1505 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nXObject for a PostScript XObject.')\ |
| 1506 .done().done()\ |
| 1507 .required('NULL')\ |
| 1508 .field('Subtype')\ |
| 1509 .name('Subtype')\ |
| 1510 .type('name')\ |
| 1511 .comment('(Required) The type of XObject that this dictionary describe
s; must be PS for a\nPostScript XObject.')\ |
| 1512 .done().done()\ |
| 1513 .optional()\ |
| 1514 .field('Level1')\ |
| 1515 .name('Level1')\ |
| 1516 .type('stream')\ |
| 1517 .comment('(Optional) A stream whose contents are to be used in place o
f the PostScript\nXObject\'s stream when the target PostScript interpreter is kn
own to support only\nLanguageLevel 1.')\ |
| 1518 .done().done()\ |
| 1519 .done() |
| 1520 |
| 1521 pdfspec.addClass('Type1FontDictionary', 'FontDictionary', 'Entries in a Type 1
font dictionary')\ |
| 1522 .required('NULL')\ |
| 1523 .field('Type')\ |
| 1524 .name('Type')\ |
| 1525 .type('name')\ |
| 1526 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be\nFont for a font dictionary.')\ |
| 1527 .done().done()\ |
| 1528 .required('NULL')\ |
| 1529 .field('Subtype')\ |
| 1530 .name('Subtype')\ |
| 1531 .type('name')\ |
| 1532 .comment('(Required) The type of font; must be Type1 for a Type 1 font
.')\ |
| 1533 .done().done()\ |
| 1534 .optional()\ |
| 1535 .field('Name')\ |
| 1536 .name('Name')\ |
| 1537 .type('name')\ |
| 1538 .comment('(Required in PDF 1.0; optional otherwise) The name by which
this font is ref-\nerenced in the Font subdictionary of the current resource dic
tionary.\nNote: This entry is obsolescent and its use is no longer recommended.
(See\nimplementation note 42 in Appendix H.)')\ |
| 1539 .done().done()\ |
| 1540 .required('NULL')\ |
| 1541 .field('BaseFont')\ |
| 1542 .name('BaseFont')\ |
| 1543 .type('name')\ |
| 1544 .comment('(Required) The PostScript name of the font. For Type 1 fonts
, this is usually\nthe value of the FontName entry in the font program; for more
information,\nsee Section 5.2 of the PostScript Language Reference, Third Editi
on. The Post-\nScript name of the font can be used to find the font\'s definitio
n in the viewer\napplication or its environment. It is also the name that will b
e used when\nprinting to a PostScript output device.')\ |
| 1545 .done().done()\ |
| 1546 .optional()\ |
| 1547 .field('FirstChar')\ |
| 1548 .name('FirstChar')\ |
| 1549 .type('integer')\ |
| 1550 .comment('(Required except for the standard 14 fonts) The first charac
ter code defined in\nthe font\'s Widths array.')\ |
| 1551 .done().done()\ |
| 1552 .optional()\ |
| 1553 .field('LastChar')\ |
| 1554 .name('LastChar')\ |
| 1555 .type('integer')\ |
| 1556 .comment('(Required except for the standard 14 fonts) The last charact
er code defined in\nthe font\'s Widths array.')\ |
| 1557 .done().done()\ |
| 1558 .optional()\ |
| 1559 .field('Widths')\ |
| 1560 .name('Widths')\ |
| 1561 .type('array')\ |
| 1562 .comment('(Required except for the standard 14 fonts; indirect referen
ce preferred) An array\nof (LastChar - FirstChar + 1) widths, each element being
the glyph width for\nthe character whose code is FirstChar plus the array index
. For character\ncodes outside the range FirstChar to LastChar, the value of Mis
singWidth from\nthe FontDescriptor entry for this font is used. The glyph widths
are measured\nin units in which 1000 units corresponds to 1 unit in text space.
These widths\nmust be consistent with the actual widths given in the font progr
am itself.\n(See implementation note 43 in Appendix H.) For more information on\
nglyph widths and other glyph metrics, see Section 5.1.3, "Glyph Positioning\nan
d Metrics."')\ |
| 1563 .done().done()\ |
| 1564 .optional()\ |
| 1565 .field('FontDescriptor')\ |
| 1566 .name('FontDescriptor')\ |
| 1567 .type('dictionary')\ |
| 1568 .comment('(Required except for the standard 14 fonts; must be an indir
ect reference) A font\ndescriptor describing the font\'s metrics other than its
glyph widths (see Sec-\ntion 5.7, "Font Descriptors").\n Note: For the standar
d 14 fonts, the entries FirstChar, LastChar, Widths, and\n FontDescriptor must
either all be present or all absent. Ordinarily, they are ab-\n sent; specify
ing them enables a standard font to be overridden (see "Standard\n Type 1 Font
s," below).')\ |
| 1569 .done().done()\ |
| 1570 .optional()\ |
| 1571 .field('Encoding')\ |
| 1572 .name('Encoding')\ |
| 1573 .type('name or dictionary')\ |
| 1574 .comment('(Optional) A specification of the font\'s character encoding
, if different from\nits built-in encoding. The value of Encoding may be either
the name of a pre-\ndefined encoding (MacRomanEncoding, MacExpertEncoding, or Wi
nAnsi-\nEncoding, as described in Appendix D) or an encoding dictionary that\nsp
ecifies differences from the font\'s built-in encoding or from a specified pre-\
ndefined encoding (see Section 5.5.5, "Character Encoding").')\ |
| 1575 .done().done()\ |
| 1576 .optional()\ |
| 1577 .field('ToUnicode')\ |
| 1578 .name('ToUnicode')\ |
| 1579 .type('stream')\ |
| 1580 .comment('(Optional; PDF 1.2) A stream containing a CMap file that map
s character\ncodes to Unicode values (see Section 5.9, "ToUnicode CMaps").')\ |
| 1581 .done().done()\ |
| 1582 .done() |
| 1583 |
| 1584 pdfspec.addClass('Type3FontDictionary', 'FontDictionary', 'Entries in a Type 3
font dictionary')\ |
| 1585 .required('NULL')\ |
| 1586 .field('Type')\ |
| 1587 .name('Type')\ |
| 1588 .type('name')\ |
| 1589 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be\nFont for a font dictionary.')\ |
| 1590 .done().done()\ |
| 1591 .required('NULL')\ |
| 1592 .field('Subtype')\ |
| 1593 .name('Subtype')\ |
| 1594 .type('name')\ |
| 1595 .comment('(Required) The type of font; must be Type3 for a Type 3 font
.')\ |
| 1596 .done().done()\ |
| 1597 .optional()\ |
| 1598 .field('Name')\ |
| 1599 .name('Name')\ |
| 1600 .type('name')\ |
| 1601 .comment('(Required in PDF 1.0; optional otherwise) See Table 5.8 on p
age 317.')\ |
| 1602 .done().done()\ |
| 1603 .required('NULL')\ |
| 1604 .field('FontBBox')\ |
| 1605 .name('FontBBox')\ |
| 1606 .type('rectangle')\ |
| 1607 .comment('(Required) A rectangle (see Section 3.8.3, "Rectangles"), ex
pressed in the\nglyph coordinate system, specifying the font bounding box. This
is the small-\nest rectangle enclosing the shape that would result if all of the
glyphs of the\nfont were placed with their origins coincident and then filled.\
nIf all four elements of the rectangle are zero, no assumptions are made based\n
on the font bounding box. If any element is nonzero, it is essential that the\nf
ont bounding box be accurate; if any glyph\'s marks fall outside this bound-\nin
g box, incorrect behavior may result.')\ |
| 1608 .done().done()\ |
| 1609 .required('NULL')\ |
| 1610 .field('FontMatrix')\ |
| 1611 .name('FontMatrix')\ |
| 1612 .type('array')\ |
| 1613 .comment('(Required) An array of six numbers specifying the font matri
x, mapping\nglyph space to text space (see Section 5.1.3, "Glyph Positioning and
\nMetrics"). A common practice is to define glyphs in terms of a 1000-unit')\ |
| 1614 .done().done()\ |
| 1615 .done() |
| 1616 |
| 1617 pdfspec.addClass('EncodingDictionary', 'Dictionary', 'Entries in an encoding d
ictionary')\ |
| 1618 .optional()\ |
| 1619 .field('Type')\ |
| 1620 .name('Type')\ |
| 1621 .type('name')\ |
| 1622 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must\nbe Encoding for an encoding dictionary.')\ |
| 1623 .done().done()\ |
| 1624 .optional()\ |
| 1625 .field('BaseEncoding')\ |
| 1626 .name('BaseEncoding')\ |
| 1627 .type('name')\ |
| 1628 .comment('(Optional) The base encoding-that is, the encoding from whic
h the Differences\nentry (if present) describes differences-specified as the nam
e of a predefined\nencoding MacRomanEncoding, MacExpertEncoding, or WinAnsiEncod
ing (see\nAppendix D).\nIf this entry is absent, the Differences entry describes
differences from an im-\nplicit base encoding. For a font program that is embed
ded in the PDF file, the\nimplicit base encoding is the font program\'s built-in
encoding, as described\nabove and further elaborated in the sections on specifi
c font types below. Other-\nwise, for a nonsymbolic font, it is StandardEncoding
, and for a symbolic font, it\nis the font\'s built-in encoding.')\ |
| 1629 .done().done()\ |
| 1630 .optional()\ |
| 1631 .field('Differences')\ |
| 1632 .name('Differences')\ |
| 1633 .type('array')\ |
| 1634 .comment('(Optional; not recommended with TrueType fonts) An array des
cribing the differ-\nences from the encoding specified by BaseEncoding or, if Ba
seEncoding is ab-\nsent, from an implicit base encoding. The Differences array i
s described above.')\ |
| 1635 .done().done()\ |
| 1636 .done() |
| 1637 |
| 1638 pdfspec.addClass('CIDSystemInfoDictionary', 'Dictionary', 'Entries in a CIDSys
temInfo dictionary')\ |
| 1639 .required('NULL')\ |
| 1640 .field('Registry')\ |
| 1641 .name('Registry')\ |
| 1642 .type('string')\ |
| 1643 .comment('(Required) A string identifying the issuer of the character
collection-for exam-\nple, Adobe. For information about assigning a registry ide
ntifier, consult the ASN\nDeveloper Program Web site or contact the Adobe Soluti
ons Network (see the\nBibliography).')\ |
| 1644 .done().done()\ |
| 1645 .required('NULL')\ |
| 1646 .field('Ordering')\ |
| 1647 .name('Ordering')\ |
| 1648 .type('string')\ |
| 1649 .comment('(Required) A string that uniquely names the character collec
tion within the speci-\nfied registry-for example, Japan1.')\ |
| 1650 .done().done()\ |
| 1651 .required('NULL')\ |
| 1652 .field('Supplement')\ |
| 1653 .name('Supplement')\ |
| 1654 .type('integer')\ |
| 1655 .comment('(Required) The supplement number of the character collection
. An original charac-\nter collection has a supplement number of 0. Whenever add
itional CIDs are\nassigned in a character collection, the supplement number is i
ncreased. Supple-\nments do not alter the ordering of existing CIDs in the chara
cter collection. This\nvalue is not used in determining compatibility between ch
aracter collections.')\ |
| 1656 .done().done()\ |
| 1657 .done() |
| 1658 |
| 1659 pdfspec.addClass('CIDFontDictionary', 'FontDictionary', 'Entries in a CIDFont
dictionary')\ |
| 1660 .required('NULL')\ |
| 1661 .field('Type')\ |
| 1662 .name('Type')\ |
| 1663 .type('name')\ |
| 1664 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be\nFont for a CIDFont dictionary.')\ |
| 1665 .done().done()\ |
| 1666 .required('NULL')\ |
| 1667 .field('Subtype')\ |
| 1668 .name('Subtype')\ |
| 1669 .type('name')\ |
| 1670 .comment('(Required) The type of CIDFont; CIDFontType0 or CIDFontType2
.')\ |
| 1671 .done().done()\ |
| 1672 .required('NULL')\ |
| 1673 .field('BaseFont')\ |
| 1674 .name('BaseFont')\ |
| 1675 .type('name')\ |
| 1676 .comment('(Required) The PostScript name of the CIDFont. For Type 0 CI
DFonts, this\nis usually the value of the CIDFontName entry in the CIDFont progr
am. For\nType 2 CIDFonts, it is derived the same way as for a simple TrueType fo
nt;\nsee Section 5.5.2, "TrueType Fonts." In either case, the name can have a su
b-\nset prefix if appropriate; see Section 5.5.3, "Font Subsets."')\ |
| 1677 .done().done()\ |
| 1678 .required('NULL')\ |
| 1679 .field('CIDSystemInfo')\ |
| 1680 .name('CIDSystemInfo')\ |
| 1681 .type('dictionary')\ |
| 1682 .comment('(Required) A dictionary containing entries that define the c
haracter collec-\ntion of the CIDFont. See Table 5.12 on page 337.')\ |
| 1683 .done().done()\ |
| 1684 .optional()\ |
| 1685 .field('FontDescriptor')\ |
| 1686 .name('FontDescriptor')\ |
| 1687 .type('dictionary')\ |
| 1688 .comment('(Required; must be an indirect reference) A font descriptor
describing the\nCIDFont\'s default metrics other than its glyph widths (see Sect
ion 5.7,\n"Font Descriptors").')\ |
| 1689 .done().done()\ |
| 1690 .optional()\ |
| 1691 .field('DW')\ |
| 1692 .name('DW')\ |
| 1693 .type('integer')\ |
| 1694 .comment('(Optional) The default width for glyphs in the CIDFont (see
"Glyph Met-\nrics in CIDFonts" on page 340). Default value: 1000.')\ |
| 1695 .done().done()\ |
| 1696 .optional()\ |
| 1697 .field('W')\ |
| 1698 .name('W')\ |
| 1699 .type('array')\ |
| 1700 .comment('(Optional) A description of the widths for the glyphs in the
CIDFont. The\narray\'s elements have a variable format that can specify individ
ual widths\nfor consecutive CIDs or one width for a range of CIDs (see "Glyph Me
trics\nin CIDFonts" on page 340). Default value: none (the DW value is used for\
nall glyphs).')\ |
| 1701 .done().done()\ |
| 1702 .optional()\ |
| 1703 .field('DW2')\ |
| 1704 .name('DW2')\ |
| 1705 .type('array')\ |
| 1706 .comment('(Optional; applies only to CIDFonts used for vertical writin
g) An array of two\nnumbers specifying the default metrics for vertical writing
(see "Glyph\nMetrics in CIDFonts" on page 340). Default value: [880 -1000].')\ |
| 1707 .done().done()\ |
| 1708 .optional()\ |
| 1709 .field('W2')\ |
| 1710 .name('W2')\ |
| 1711 .type('array')\ |
| 1712 .comment('(Optional; applies only to CIDFonts used for vertical writin
g) A description of\nthe metrics for vertical writing for the glyphs in the CIDF
ont (see "Glyph\nMetrics in CIDFonts" on page 340). Default value: none (the DW2
value is\nused for all glyphs).')\ |
| 1713 .done().done()\ |
| 1714 .optional()\ |
| 1715 .field('CIDToGIDMap')\ |
| 1716 .name('CIDToGIDMap')\ |
| 1717 .type('stream or name')\ |
| 1718 .comment('(Optional; Type 2 CIDFonts only) A specification of the mapp
ing from CIDs\nto glyph indices. If the value is a stream, the bytes in the stre
am contain the\nmapping from CIDs to glyph indices: the glyph index for a partic
ular CID\nvalue c is a 2-byte value stored in bytes 2 x c and 2 x c + 1, where t
he first\nbyte is the high-order byte. If the value of CIDToGIDMap is a name, it
must\nbe Identity, indicating that the mapping between CIDs and glyph indices i
s\nthe identity mapping. Default value: Identity.\nThis entry may appear only in
a Type 2 CIDFont whose associated True-\nType font program is embedded in the P
DF file (see the next section).')\ |
| 1719 .done().done()\ |
| 1720 .done() |
| 1721 |
| 1722 pdfspec.addClass('CMapDictionary', 'Dictionary', 'Additional entries in a CMap
dictionary')\ |
| 1723 .required('NULL')\ |
| 1724 .field('Type')\ |
| 1725 .name('Type')\ |
| 1726 .type('name')\ |
| 1727 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be\nCMap for a CMap dictionary. (Note that although this object is th
e value of\nan entry named Encoding in a Type 0 font, its type is CMap.)')\ |
| 1728 .done().done()\ |
| 1729 .required('NULL')\ |
| 1730 .field('CMapName')\ |
| 1731 .name('CMapName')\ |
| 1732 .type('name')\ |
| 1733 .comment('(Required) The PostScript name of the CMap. This should be t
he same as the\nvalue of CMapName in the CMap file itself.')\ |
| 1734 .done().done()\ |
| 1735 .required('NULL')\ |
| 1736 .field('CIDSystemInfo')\ |
| 1737 .name('CIDSystemInfo')\ |
| 1738 .type('dictionary or array')\ |
| 1739 .comment('(Required) A dictionary or array containing entries that def
ine the character\ncollection for the CIDFont or CIDFonts associated with the CM
ap. If the\nCMap selects only font number 0 and specifies character selectors th
at are\nCIDs, this entry can be a dictionary identifying the character collectio
n for\nthe associated CIDFont. Otherwise, it is an array indexed by the font num
-\nber. If the character selectors for a given font number are CIDs, the corre-\
nsponding array element is a dictionary identifying the character collection\nfo
r the associated CIDFont. If the character selectors are names or codes (to\nbe
used with an associated font, not a CIDFont), the array element should\nbe null.
For details of the CIDSystemInfo dictionaries, see Section 5.6.2,\n"CIDSystemIn
fo Dictionaries."\nNote: In all PDF versions up to and including PDF 1.4, CIDSys
temInfo must be\neither a dictionary or a one-element array containing a diction
ary.\nThe value of this entry should be the same as the value of CIDSystemInfo i
n\nthe CMap file itself.')\ |
| 1740 .done().done()\ |
| 1741 .optional()\ |
| 1742 .field('WMode')\ |
| 1743 .name('WMode')\ |
| 1744 .type('integer')\ |
| 1745 .comment('(Optional) A code that determines the writing mode for any C
IDFont with\nwhich this CMap is combined:\n 0 Horizontal\n 1 Vertica
l\nDefault value: 0.\nThe value of this entry should be the same as the value of
WMode in the\nCMap file itself.')\ |
| 1746 .done().done()\ |
| 1747 .optional()\ |
| 1748 .field('UseCMap')\ |
| 1749 .name('UseCMap')\ |
| 1750 .type('name or stream')\ |
| 1751 .comment('(Optional) The name of a predefined CMap, or a stream contai
ning a CMap,\nthat is to be used as the base for this CMap. This allows the CMap
to be de-\nfined differentially, specifying only the character mappings that di
ffer from\nthe base CMap.')\ |
| 1752 .done().done()\ |
| 1753 .done() |
| 1754 |
| 1755 pdfspec.addClass('Type0FontDictionary', 'FontDictionary', 'Entries in a Type 0
font dictionary')\ |
| 1756 .required('NULL')\ |
| 1757 .field('Type')\ |
| 1758 .name('Type')\ |
| 1759 .type('name')\ |
| 1760 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be\nFont for a font dictionary.')\ |
| 1761 .done().done()\ |
| 1762 .required('NULL')\ |
| 1763 .field('Subtype')\ |
| 1764 .name('Subtype')\ |
| 1765 .type('name')\ |
| 1766 .comment('(Required) The type of font; must be Type0 for a Type 0 font
.')\ |
| 1767 .done().done()\ |
| 1768 .required('NULL')\ |
| 1769 .field('BaseFont')\ |
| 1770 .name('BaseFont')\ |
| 1771 .type('name')\ |
| 1772 .comment('(Required) The PostScript name of the font. In principle, th
is is an arbitrary\nname, since there is no font program associated directly wit
h a Type 0 font\ndictionary. The conventions described here ensure maximum compa
tibility\nwith existing Acrobat products.\nIf the descendant is a Type 0 CIDFont
, this name should be the concatenation\nof the CIDFont\'s BaseFont name, a hyph
en, and the CMap name given in the\nEncoding entry (or the CMapName entry in the
CMap program itself). If the\ndescendant is a Type 2 CIDFont, this name should
be the same as the\nCIDFont\'s BaseFont name.')\ |
| 1773 .done().done()\ |
| 1774 .required('NULL')\ |
| 1775 .field('Encoding')\ |
| 1776 .name('Encoding')\ |
| 1777 .type('name or stream')\ |
| 1778 .comment('(Required) The name of a predefined CMap, or a stream contai
ning a CMap\nprogram, that maps character codes to font numbers and CIDs. If the
descen-\ndant is a Type 2 CIDFont whose associated TrueType font program is not
em-\nbedded in the PDF file, the Encoding entry must be a predefined CMap name\
n(see "Glyph Selection in CIDFonts" on page 339).')\ |
| 1779 .done().done()\ |
| 1780 .required('NULL')\ |
| 1781 .field('DescendantFonts')\ |
| 1782 .name('DescendantFonts')\ |
| 1783 .type('array')\ |
| 1784 .comment('(Required) An array specifying one or more fonts or CIDFonts
that are\ndescendants of this composite font. This array is indexed by the font
number\nthat is obtained by mapping a character code through the CMap specified
in\nthe Encoding entry.\nNote: In all PDF versions up to and including PDF 1.4,
DescendantFonts must\nbe a one-element array containing a CIDFont dictionary.')
\ |
| 1785 .done().done()\ |
| 1786 .optional()\ |
| 1787 .field('ToUnicode')\ |
| 1788 .name('ToUnicode')\ |
| 1789 .type('stream')\ |
| 1790 .comment('(Optional) A stream containing a CMap file that maps charact
er codes to\nUnicode values (see Section 5.9, "ToUnicode CMaps").')\ |
| 1791 .done().done()\ |
| 1792 .done() |
| 1793 |
| 1794 pdfspec.addClass('FontDescriptorDictionary', 'Dictionary', 'Entries common to
all font descriptors')\ |
| 1795 .required('NULL')\ |
| 1796 .field('Type')\ |
| 1797 .name('Type')\ |
| 1798 .type('name')\ |
| 1799 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be\nFontDescriptor for a font descriptor.')\ |
| 1800 .done().done()\ |
| 1801 .required('NULL')\ |
| 1802 .field('FontName')\ |
| 1803 .name('FontName')\ |
| 1804 .type('name')\ |
| 1805 .comment('(Required) The PostScript name of the font. This should be t
he same as the\nvalue of BaseFont in the font or CIDFont dictionary that refers
to this font\ndescriptor.')\ |
| 1806 .done().done()\ |
| 1807 .required('NULL')\ |
| 1808 .field('Flags')\ |
| 1809 .name('Flags')\ |
| 1810 .type('integer')\ |
| 1811 .comment('(Required) A collection of flags defining various characteri
stics of the font\n(see Section 5.7.1, "Font Descriptor Flags").')\ |
| 1812 .done().done()\ |
| 1813 .required('NULL')\ |
| 1814 .field('FontBBox')\ |
| 1815 .name('FontBBox')\ |
| 1816 .type('rectangle')\ |
| 1817 .comment('(Required) A rectangle (see Section 3.8.3, "Rectangles"), ex
pressed in the\nglyph coordinate system, specifying the font bounding box. This
is the small-\nest rectangle enclosing the shape that would result if all of the
glyphs of the\nfont were placed with their origins coincident and then filled.'
)\ |
| 1818 .done().done()\ |
| 1819 .required('NULL')\ |
| 1820 .field('ItalicAngle')\ |
| 1821 .name('ItalicAngle')\ |
| 1822 .type('number')\ |
| 1823 .comment('(Required) The angle, expressed in degrees counterclockwise
from the verti-\ncal, of the dominant vertical strokes of the font. (For example
, the 9-o\'clock\nposition is 90 degrees, and the 3-o\'clock position is \'90 de
grees.) The value is\nnegative for fonts that slope to the right, as almost all
italic fonts do.')\ |
| 1824 .done().done()\ |
| 1825 .required('NULL')\ |
| 1826 .field('Ascent')\ |
| 1827 .name('Ascent')\ |
| 1828 .type('number')\ |
| 1829 .comment('(Required) The maximum height above the baseline reached by
glyphs in this\nfont, excluding the height of glyphs for accented characters.')\ |
| 1830 .done().done()\ |
| 1831 .required('NULL')\ |
| 1832 .field('Descent')\ |
| 1833 .name('Descent')\ |
| 1834 .type('number')\ |
| 1835 .comment('(Required) The maximum depth below the baseline reached by g
lyphs in this\nfont. The value is a negative number.')\ |
| 1836 .done().done()\ |
| 1837 .optional()\ |
| 1838 .field('Leading')\ |
| 1839 .name('Leading')\ |
| 1840 .type('number')\ |
| 1841 .comment('(Optional) The desired spacing between baselines of consecut
ive lines of text.\nDefault value: 0.')\ |
| 1842 .done().done()\ |
| 1843 .required('NULL')\ |
| 1844 .field('CapHeight')\ |
| 1845 .name('CapHeight')\ |
| 1846 .type('number')\ |
| 1847 .comment('(Required) The vertical coordinate of the top of flat capita
l letters, measured\nfrom the baseline.')\ |
| 1848 .done().done()\ |
| 1849 .optional()\ |
| 1850 .field('XHeight')\ |
| 1851 .name('XHeight')\ |
| 1852 .type('number')\ |
| 1853 .comment('(Optional) The font\'s x height: the vertical coordinate of
the top of flat non-\nascending lowercase letters (like the letter x), measured
from the baseline.\nDefault value: 0.')\ |
| 1854 .done().done()\ |
| 1855 .required('NULL')\ |
| 1856 .field('StemV')\ |
| 1857 .name('StemV')\ |
| 1858 .type('number')\ |
| 1859 .comment('(Required) The thickness, measured horizontally, of the domi
nant vertical\nstems of glyphs in the font.')\ |
| 1860 .done().done()\ |
| 1861 .optional()\ |
| 1862 .field('StemH')\ |
| 1863 .name('StemH')\ |
| 1864 .type('number')\ |
| 1865 .comment('(Optional) The thickness, measured invertically, of the domi
nant horizontal\nstems of glyphs in the font. Default value: 0.')\ |
| 1866 .done().done()\ |
| 1867 .optional()\ |
| 1868 .field('AvgWidth')\ |
| 1869 .name('AvgWidth')\ |
| 1870 .type('number')\ |
| 1871 .comment('(Optional) The average width of glyphs in the font. Default
value: 0.')\ |
| 1872 .done().done()\ |
| 1873 .optional()\ |
| 1874 .field('MaxWidth')\ |
| 1875 .name('MaxWidth')\ |
| 1876 .type('number')\ |
| 1877 .comment('(Optional) The maximum width of glyphs in the font. Default
value: 0.')\ |
| 1878 .done().done()\ |
| 1879 .optional()\ |
| 1880 .field('MissingWidth')\ |
| 1881 .name('MissingWidth')\ |
| 1882 .type('number')\ |
| 1883 .comment('(Optional) The width to use for character codes whose widths
are not speci-\nfied in a font dictionary\'s Widths array. This has a predictab
le effect only if all\nsuch codes map to glyphs whose actual widths are the same
as the Missing-\nWidth value. Default value: 0.')\ |
| 1884 .done().done()\ |
| 1885 .optional()\ |
| 1886 .field('FontFile')\ |
| 1887 .name('FontFile')\ |
| 1888 .type('stream')\ |
| 1889 .comment('(Optional) A stream containing a Type 1 font program (see Se
ction 5.8,\n"Embedded Font Programs").')\ |
| 1890 .done().done()\ |
| 1891 .optional()\ |
| 1892 .field('FontFile2')\ |
| 1893 .name('FontFile2')\ |
| 1894 .type('stream')\ |
| 1895 .comment('(Optional; PDF 1.1) A stream containing a TrueType font prog
ram (see Sec-\ntion 5.8, "Embedded Font Programs").')\ |
| 1896 .done().done()\ |
| 1897 .optional()\ |
| 1898 .field('FontFile3')\ |
| 1899 .name('FontFile3')\ |
| 1900 .type('stream')\ |
| 1901 .comment('(Optional; PDF 1.2) A stream containing a font program other
than Type 1 or\nTrueType. The format of the font program is specified by the Su
btype entry\nin the stream dictionary (see Section 5.8, "Embedded Font Programs,
" and\nimplementation note 49 in Appendix H).\nAt most, only one of the FontFile
, FontFile2, and FontFile3 entries may be\npresent.')\ |
| 1902 .done().done()\ |
| 1903 .optional()\ |
| 1904 .field('CharSet')\ |
| 1905 .name('CharSet')\ |
| 1906 .type('string')\ |
| 1907 .comment('(Optional; meaningful only in Type 1 fonts; PDF 1.1) A strin
g listing the char-\nacter names defined in a font subset. The names in this str
ing must be in PDF\nsyntax-that is, each name preceded by a slash (/). The names
can appear in\nany order. The name .notdef should be omitted; it is assumed to
exist in the\nfont subset. If this entry is absent, the only indication of a fon
t subset is the\nsubset tag in the FontName entry (see Section 5.5.3, "Font Subs
ets").')\ |
| 1908 .done().done()\ |
| 1909 .done() |
| 1910 |
| 1911 pdfspec.addClass('CIDFontDescriptorDictionary', 'Dictionary', 'Additional font
descriptor entries for CIDFonts')\ |
| 1912 .optional()\ |
| 1913 .field('Style')\ |
| 1914 .name('Style')\ |
| 1915 .type('dictionary')\ |
| 1916 .comment('(Optional) A dictionary containing entries that describe the
style of the glyphs in\nthe font (see "Style," above).')\ |
| 1917 .done().done()\ |
| 1918 .optional()\ |
| 1919 .field('Lang')\ |
| 1920 .name('Lang')\ |
| 1921 .type('name')\ |
| 1922 .comment('(Optional) A name specifying the language of the font, used
for encodings where\nthe language is not implied by the encoding itself. The pos
sible values are the\n2-character language codes defined by ISO 639-for example,
en for English and ja\nfor Japanese. The complete list of these codes be obtain
ed from the International\nOrganization for Standardization (see the Bibliograph
y).')\ |
| 1923 .done().done()\ |
| 1924 .optional()\ |
| 1925 .field('FD')\ |
| 1926 .name('FD')\ |
| 1927 .type('dictionary')\ |
| 1928 .comment('(Optional) A dictionary whose keys identify a class of chara
cters in a CIDFont.\nEach value is a dictionary containing entries that override
the corresponding\nvalues in the main font descriptor dictionary for that class
of characters (see "FD,"\nbelow).')\ |
| 1929 .done().done()\ |
| 1930 .optional()\ |
| 1931 .field('CIDSet')\ |
| 1932 .name('CIDSet')\ |
| 1933 .type('stream')\ |
| 1934 .comment('(Optional) A stream identifying which CIDs are present in th
e CIDFont file. If this\nentry is present, the CIDFont contains only a subset of
the glyphs in the character\ncollection defined by the CIDSystemInfo dictionary
. If it is absent, the only indica-\ntion of a CIDFont subset is the subset tag
in the FontName entry (see Section 5.5.3,\n"Font Subsets").\nThe stream\'s data
is organized as a table of bits indexed by CID. The bits should be\nstored in by
tes with the high-order bit first. Each bit corresponds to a CID. The first\nbit
of the first byte corresponds to CID 0, the next bit to CID 1, and so on.')\ |
| 1935 .done().done()\ |
| 1936 .done() |
| 1937 |
| 1938 pdfspec.addClass('EmbeddedFontStreamDictionary', 'Dictionary', 'Additional ent
ries in an embedded font stream dictionary')\ |
| 1939 .optional()\ |
| 1940 .field('Length1')\ |
| 1941 .name('Length1')\ |
| 1942 .type('integer')\ |
| 1943 .comment('(Required for Type 1 and TrueType fonts) The length in bytes
of the clear-text portion\nof the Type 1 font program (see below), or the entir
e TrueType font program, after it\nhas been decoded using the filters specified
by the stream\'s Filter entry, if any.')\ |
| 1944 .done().done()\ |
| 1945 .optional()\ |
| 1946 .field('Length2')\ |
| 1947 .name('Length2')\ |
| 1948 .type('integer')\ |
| 1949 .comment('(Required for Type 1 fonts) The length in bytes of the encry
pted portion of the Type 1\nfont program (see below) after it has been decoded u
sing the filters specified by the\nstream\'s Filter entry.')\ |
| 1950 .done().done()\ |
| 1951 .optional()\ |
| 1952 .field('Length3')\ |
| 1953 .name('Length3')\ |
| 1954 .type('integer')\ |
| 1955 .comment('(Required for Type 1 fonts) The length in bytes of the fixed
-content portion of the\nType 1 font program (see below), after it has been deco
ded using the filters specified\nby the stream\'s Filter entry. If Length3 is 0,
it indicates that the 512 zeros and clearto-\nmark have not been included in th
e FontFile font program and must be added.')\ |
| 1956 .done().done()\ |
| 1957 .optional()\ |
| 1958 .field('Subtype')\ |
| 1959 .name('Subtype')\ |
| 1960 .type('name')\ |
| 1961 .comment('(Required if referenced from FontFile3; PDF 1.2) A name spec
ifying the format of the\nembedded font program. The name must be Type1C for Typ
e 1 compact fonts or CID-\nFontType0C for Type 0 compact CIDFonts. When addition
al font formats are added\nto PDF, more values will be defined for Subtype.')\ |
| 1962 .done().done()\ |
| 1963 .optional()\ |
| 1964 .field('Metadata')\ |
| 1965 .name('Metadata')\ |
| 1966 .type('stream')\ |
| 1967 .comment('(Optional; PDF 1.4) A metadata stream containing metadata fo
r the embedded font\nprogram (see Section 9.2.2, "Metadata Streams").')\ |
| 1968 .done().done()\ |
| 1969 .done() |
| 1970 |
| 1971 pdfspec.addClass('Type1HalftoneDictionary', 'Dictionary', 'Entries in a type 1
halftone dictionary')\ |
| 1972 .optional()\ |
| 1973 .field('Type')\ |
| 1974 .name('Type')\ |
| 1975 .type('name')\ |
| 1976 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if\npresent, must be Halftone for a halftone dictionary.')\ |
| 1977 .done().done()\ |
| 1978 .required('NULL')\ |
| 1979 .field('HalftoneType')\ |
| 1980 .name('HalftoneType')\ |
| 1981 .type('integer')\ |
| 1982 .comment('(Required) A code identifying the halftone type that this di
ctionary\ndescribes; must be 1 for this type of halftone.')\ |
| 1983 .done().done()\ |
| 1984 .optional()\ |
| 1985 .field('HalftoneName')\ |
| 1986 .name('HalftoneName')\ |
| 1987 .type('string')\ |
| 1988 .comment('(Optional) The name of the halftone dictionary.')\ |
| 1989 .done().done()\ |
| 1990 .required('NULL')\ |
| 1991 .field('Frequency')\ |
| 1992 .name('Frequency')\ |
| 1993 .type('number')\ |
| 1994 .comment('(Required) The screen frequency, measured in halftone cells
per inch in\ndevice space.')\ |
| 1995 .done().done()\ |
| 1996 .required('NULL')\ |
| 1997 .field('Angle')\ |
| 1998 .name('Angle')\ |
| 1999 .type('number')\ |
| 2000 .comment('(Required) The screen angle, in degrees of rotation counterc
lockwise\nwith respect to the device coordinate system. (Note that most output\n
devices have left-handed device spaces; on such devices, a counter-\nclockwise a
ngle in device space will correspond to a clockwise angle in\ndefault user space
and on the physical medium.)')\ |
| 2001 .done().done()\ |
| 2002 .required('NULL')\ |
| 2003 .field('SpotFunction')\ |
| 2004 .name('SpotFunction')\ |
| 2005 .type('function or name')\ |
| 2006 .comment('(Required) A function object defining the order in which dev
ice pixels\nwithin a screen cell are adjusted for different gray levels, or the
name of\none of the predefined spot functions (see Table 6.1 on page 385).')\ |
| 2007 .done().done()\ |
| 2008 .optional()\ |
| 2009 .field('AccurateScreens')\ |
| 2010 .name('AccurateScreens')\ |
| 2011 .type('boolean')\ |
| 2012 .comment('(Optional) A flag specifying whether to invoke a special hal
ftone al-\ngorithm that is extremely precise, but computationally expensive; see
\nbelow for further discussion. Default value: false.')\ |
| 2013 .done().done()\ |
| 2014 .optional()\ |
| 2015 .field('TransferFunction')\ |
| 2016 .name('TransferFunction')\ |
| 2017 .type('function or name')\ |
| 2018 .comment('(Optional) A transfer function, which overrides the current
transfer\nfunction in the graphics state for the same component. This entry is\n
required if the dictionary is a component of a type 5 halftone (see\n"Type 5 Hal
ftones" on page 400) and represents either a nonprimary\nor nonstandard primary
color component (see Section 6.3, "Transfer\nFunctions"). The name Identity may
be used to specify the identity\nfunction.')\ |
| 2019 .done().done()\ |
| 2020 .done() |
| 2021 |
| 2022 pdfspec.addClass('Type6HalftoneDictionary', 'Dictionary', 'Additional entries
specific to a type 6 halftone dictionary')\ |
| 2023 .optional()\ |
| 2024 .field('Type')\ |
| 2025 .name('Type')\ |
| 2026 .type('name')\ |
| 2027 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if\npresent, must be Halftone for a halftone dictionary.')\ |
| 2028 .done().done()\ |
| 2029 .required('NULL')\ |
| 2030 .field('HalftoneType')\ |
| 2031 .name('HalftoneType')\ |
| 2032 .type('integer')\ |
| 2033 .comment('(Required) A code identifying the halftone type that this di
ctionary\ndescribes; must be 6 for this type of halftone.')\ |
| 2034 .done().done()\ |
| 2035 .optional()\ |
| 2036 .field('HalftoneName')\ |
| 2037 .name('HalftoneName')\ |
| 2038 .type('string')\ |
| 2039 .comment('(Optional) The name of the halftone dictionary.')\ |
| 2040 .done().done()\ |
| 2041 .required('NULL')\ |
| 2042 .field('Width')\ |
| 2043 .name('Width')\ |
| 2044 .type('integer')\ |
| 2045 .comment('(Required) The width of the threshold array, in device pixel
s.')\ |
| 2046 .done().done()\ |
| 2047 .required('NULL')\ |
| 2048 .field('Height')\ |
| 2049 .name('Height')\ |
| 2050 .type('integer')\ |
| 2051 .comment('(Required) The height of the threshold array, in device pixe
ls.')\ |
| 2052 .done().done()\ |
| 2053 .optional()\ |
| 2054 .field('TransferFunction')\ |
| 2055 .name('TransferFunction')\ |
| 2056 .type('function or name')\ |
| 2057 .comment('(Optional) A transfer function, which overrides the current
transfer\nfunction in the graphics state for the same component. This entry is\n
required if the dictionary is a component of a type 5 halftone (see\n"Type 5 Hal
ftones" on page 400) and represents either a nonprimary\nor nonstandard primary
color component (see Section 6.3, "Transfer\nFunctions"). The name Identity may
be used to specify the identity\nfunction.')\ |
| 2058 .done().done()\ |
| 2059 .done() |
| 2060 |
| 2061 pdfspec.addClass('Type10HalftoneDictionary', 'Dictionary', 'Additional entries
specific to a type 10 halftone dictionary')\ |
| 2062 .optional()\ |
| 2063 .field('Type')\ |
| 2064 .name('Type')\ |
| 2065 .type('name')\ |
| 2066 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if\npresent, must be Halftone for a halftone dictionary.')\ |
| 2067 .done().done()\ |
| 2068 .required('NULL')\ |
| 2069 .field('HalftoneType')\ |
| 2070 .name('HalftoneType')\ |
| 2071 .type('integer')\ |
| 2072 .comment('(Required) A code identifying the halftone type that this di
ctionary\ndescribes; must be 10 for this type of halftone.')\ |
| 2073 .done().done()\ |
| 2074 .optional()\ |
| 2075 .field('HalftoneName')\ |
| 2076 .name('HalftoneName')\ |
| 2077 .type('string')\ |
| 2078 .comment('(Optional) The name of the halftone dictionary.')\ |
| 2079 .done().done()\ |
| 2080 .required('NULL')\ |
| 2081 .field('Xsquare')\ |
| 2082 .name('Xsquare')\ |
| 2083 .type('integer')\ |
| 2084 .comment('(Required) The side of square X, in device pixels; see below
.')\ |
| 2085 .done().done()\ |
| 2086 .required('NULL')\ |
| 2087 .field('Ysquare')\ |
| 2088 .name('Ysquare')\ |
| 2089 .type('integer')\ |
| 2090 .comment('(Required) The side of square Y, in device pixels; see below
.')\ |
| 2091 .done().done()\ |
| 2092 .optional()\ |
| 2093 .field('TransferFunction')\ |
| 2094 .name('TransferFunction')\ |
| 2095 .type('function or name')\ |
| 2096 .comment('(Optional) A transfer function, which overrides the current
transfer\nfunction in the graphics state for the same component. This entry is\n
required if the dictionary is a component of a type 5 halftone (see\n"Type 5 Hal
ftones" on page 400) and represents either a nonprimary\nor nonstandard primary
color component (see Section 6.3, "Transfer\nFunctions"). The name Identity may
be used to specify the identity\nfunction.')\ |
| 2097 .done().done()\ |
| 2098 .done() |
| 2099 |
| 2100 pdfspec.addClass('Type16HalftoneDictionary', 'Dictionary', 'Additional entries
specific to a type 16 halftone dictionary')\ |
| 2101 .optional()\ |
| 2102 .field('Type')\ |
| 2103 .name('Type')\ |
| 2104 .type('name')\ |
| 2105 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if\npresent, must be Halftone for a halftone dictionary.')\ |
| 2106 .done().done()\ |
| 2107 .required('NULL')\ |
| 2108 .field('HalftoneType')\ |
| 2109 .name('HalftoneType')\ |
| 2110 .type('integer')\ |
| 2111 .comment('(Required) A code identifying the halftone type that this di
ctionary\ndescribes; must be 16 for this type of halftone.')\ |
| 2112 .done().done()\ |
| 2113 .optional()\ |
| 2114 .field('HalftoneName')\ |
| 2115 .name('HalftoneName')\ |
| 2116 .type('string')\ |
| 2117 .comment('(Optional) The name of the halftone dictionary.')\ |
| 2118 .done().done()\ |
| 2119 .required('NULL')\ |
| 2120 .field('Width')\ |
| 2121 .name('Width')\ |
| 2122 .type('integer')\ |
| 2123 .comment('(Required) The width of the first (or only) rectangle in the
threshold\narray, in device pixels.')\ |
| 2124 .done().done()\ |
| 2125 .required('NULL')\ |
| 2126 .field('Height')\ |
| 2127 .name('Height')\ |
| 2128 .type('integer')\ |
| 2129 .comment('(Required) The height of the first (or only) rectangle in th
e threshold\narray, in device pixels.')\ |
| 2130 .done().done()\ |
| 2131 .optional()\ |
| 2132 .field('Width2')\ |
| 2133 .name('Width2')\ |
| 2134 .type('integer')\ |
| 2135 .comment('(Optional) The width of the optional second rectangle in the
threshold\narray, in device pixels. If this entry is present, the Height2 entry
must\nbe present as well; if this entry is absent, the Height2 entry must also
be\nabsent and the threshold array has only one rectangle.')\ |
| 2136 .done().done()\ |
| 2137 .optional()\ |
| 2138 .field('Height2')\ |
| 2139 .name('Height2')\ |
| 2140 .type('integer')\ |
| 2141 .comment('(Optional) The height of the optional second rectangle in th
e threshold\narray, in device pixels.')\ |
| 2142 .done().done()\ |
| 2143 .optional()\ |
| 2144 .field('TransferFunction')\ |
| 2145 .name('TransferFunction')\ |
| 2146 .type('function or name')\ |
| 2147 .comment('(Optional) A transfer function, which overrides the current
transfer\nfunction in the graphics state for the same component. This entry is\n
required if the dictionary is a component of a type 5 halftone (see\n"Type 5 Hal
ftones," below) and represents either a nonprimary or\nnonstandard primary color
component (see Section 6.3, "Transfer\nFunctions"). The name Identity may be us
ed to specify the identity\nfunction.')\ |
| 2148 .done().done()\ |
| 2149 .done() |
| 2150 |
| 2151 pdfspec.addClass('Type5HalftoneDictionary', 'Dictionary', 'Entries in a type 5
halftone dictionary')\ |
| 2152 .optional()\ |
| 2153 .field('Type')\ |
| 2154 .name('Type')\ |
| 2155 .type('name')\ |
| 2156 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be Halftone for a halftone dictionary.')\ |
| 2157 .done().done()\ |
| 2158 .required('NULL')\ |
| 2159 .field('HalftoneType')\ |
| 2160 .name('HalftoneType')\ |
| 2161 .type('number')\ |
| 2162 .comment('(Required) A code identifying the halftone type that this di
ctionary describes;\nmust be 5 for this type of halftone.')\ |
| 2163 .done().done()\ |
| 2164 .optional()\ |
| 2165 .field('HalftoneName')\ |
| 2166 .name('HalftoneName')\ |
| 2167 .type('string')\ |
| 2168 .comment('(Optional) The name of the halftone dictionary.')\ |
| 2169 .done().done()\ |
| 2170 .optional()\ |
| 2171 .field('[any_colorant_name]')\ |
| 2172 .name('[any_colorant_name]')\ |
| 2173 .type('dictionary or stream')\ |
| 2174 .comment('(Required, one per colorant) The halftone corresponding to t
he colorant or\ncolor component named by the key. The halftone may be of any typ
e other\nthan 5. Note that the key must be a name object; strings are not permit
ted, as\nthey are in type 5 PostScript halftone dictionaries.')\ |
| 2175 .done().done()\ |
| 2176 .required('NULL')\ |
| 2177 .field('Default')\ |
| 2178 .name('Default')\ |
| 2179 .type('dictionary or stream')\ |
| 2180 .comment('(Required) A halftone to be used for any colorant or color c
omponent that\ndoes not have an entry of its own. The value may not be a type 5
halftone. If\nthere are any nonprimary colorants, the default halftone must have
a transfer\nfunction.')\ |
| 2181 .done().done()\ |
| 2182 .done() |
| 2183 |
| 2184 pdfspec.addClass('SoftMaskDictionary', 'Dictionary', 'Entries in a soft-mask d
ictionary')\ |
| 2185 .optional()\ |
| 2186 .field('Type')\ |
| 2187 .name('Type')\ |
| 2188 .type('name')\ |
| 2189 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be Mask for a soft-mask dictionary.')\ |
| 2190 .done().done()\ |
| 2191 .required('NULL')\ |
| 2192 .field('S')\ |
| 2193 .name('S')\ |
| 2194 .type('name')\ |
| 2195 .comment('(Required) A subtype specifying the method to be used in der
iving the mask\nvalues from the transparency group specified by the G entry:\n
Alpha Use the group\'s computed alpha, disregarding its color (see\n
Section 7.4.1, "Deriving a Soft Mask from Group Alpha").\n Lum
inosity Convert the group\'s computed color to a single-component\n
luminosity value (see Section 7.4.2, "Deriving a Soft Mask\n
from Group Luminosity").')\ |
| 2196 .done().done()\ |
| 2197 .required('NULL')\ |
| 2198 .field('G')\ |
| 2199 .name('G')\ |
| 2200 .type('stream')\ |
| 2201 .comment('(Required) A transparency group XObject (see Section 7.5.5,
"Transparency\nGroup XObjects") to be used as the source of alpha or color value
s for deriv-\ning the mask. If the subtype S is Luminosity, the group attributes
dictionary\nmust contain a CS entry defining the color space in which the compo
siting\ncomputation is to be performed.')\ |
| 2202 .done().done()\ |
| 2203 .optional()\ |
| 2204 .field('BC')\ |
| 2205 .name('BC')\ |
| 2206 .type('array')\ |
| 2207 .comment('(Optional) An array of component values specifying the color
to be used as\nthe backdrop against which to composite the transparency group X
Object G.\nThis entry is consulted only if the subtype S is Luminosity. The arra
y consists\nof n numbers, where n is the number of components in the color space
speci-\nfied by the CS entry in the group attributes dictionary (see Section 7.
5.5,\n"Transparency Group XObjects"). Default value: the color space\'s initial\
nvalue, representing black.')\ |
| 2208 .done().done()\ |
| 2209 .optional()\ |
| 2210 .field('TR')\ |
| 2211 .name('TR')\ |
| 2212 .type('function or name')\ |
| 2213 .comment('(Optional) A function object (see Section 3.9, "Functions")
specifying the\ntransfer function to be used in deriving the mask values. The fu
nction ac-\ncepts one input, the computed group alpha or luminosity (depending o
n the\nvalue of the subtype S), and returns one output, the resulting mask value
.\nBoth the input and output must be in the range 0.0 to 1.0; if the computed\no
utput falls outside this range, it is forced to the nearest valid value. The\nna
me Identity may be specified in place of a function object to designate the\nide
ntity function. Default value: Identity.')\ |
| 2214 .done().done()\ |
| 2215 .done() |
| 2216 |
| 2217 pdfspec.addClass('SoftMaskImageDictionary', 'Dictionary', 'Additional entry in
a soft-mask image dictionary')\ |
| 2218 .optional()\ |
| 2219 .field('Matte')\ |
| 2220 .name('Matte')\ |
| 2221 .type('array')\ |
| 2222 .comment('(Optional; PDF 1.4) An array of component values specifying
the matte color with\nwhich the image data in the parent image has been preblend
ed. The array consists of n\nnumbers, where n is the number of components in the
color space specified by the\nColorSpace entry in the parent image\'s image dic
tionary; the numbers must be valid\ncolor components in that color space. If thi
s entry is absent, the image data is not pre-\nblended.')\ |
| 2223 .done().done()\ |
| 2224 .done() |
| 2225 |
| 2226 pdfspec.addClass('TransparencyGroupDictionary', 'Dictionary', 'Additional entr
ies specific to a transparency group attributes dictionary')\ |
| 2227 .required('NULL')\ |
| 2228 .field('S')\ |
| 2229 .name('S')\ |
| 2230 .type('name')\ |
| 2231 .comment('(Required) The group subtype, which identifies the type of g
roup whose at-\ntributes this dictionary describes; must be Transparency for a t
ransparency\ngroup.')\ |
| 2232 .done().done()\ |
| 2233 .optional()\ |
| 2234 .field('CS')\ |
| 2235 .name('CS')\ |
| 2236 .type('name or array')\ |
| 2237 .comment('(Sometimes required, as discussed below) The group color spa
ce, which is used for\nthe following purposes:\n* As the color space into which
colors are converted when painted into the\n group\n* As the blending color
space in which objects are composited within the group\n (see Section 7.2.3, "
Blending Color Space")\n* As the color space of the group as a whole when it in
turn is painted as an ob-\n ject onto its backdrop\nThe group color space may
be any device or CIE-based color space that treats its\ncomponents as independe
nt additive or subtractive values in the range 0.0 to\n1.0, subject to the restr
ictions described in Section 7.2.3, "Blending Color\nSpace." These restrictions
exclude Lab and lightness-chromaticity ICCBased\ncolor spaces, as well as the sp
ecial color spaces Pattern, Indexed, Separation, and\nDeviceN. Device color spac
es are subject to remapping according to the Default-\nGray, DefaultRGB, and Def
aultCMYK entries in the ColorSpace subdictionary of\nthe current resource dictio
nary (see "Default Color Spaces" on page 194).\nOrdinarily, the CS entry is allo
wed only for isolated transparency groups (those\nfor which I, below, is true) a
nd even then it is optional. However, this entry is re-\nquired in the group att
ributes dictionary for any transparency group XObject\nthat has no parent group
or page from which to inherit-in particular, one that\nis the value of the G ent
ry in a soft-mask dictionary of subtype Luminosity (see\n"Soft-Mask Dictionaries
" on page 445).\nIn addition, it is always permissible to specify CS in the grou
p attributes diction-\nary associated with a page object, even if I is false or
absent. In the normal case in\nwhich the page is imposed directly on the output
medium, the page group is\neffectively isolated regardless of the I value, and t
he specified CS value is there-\nfore honored. But if the page is in turn used a
s an element of some other page\nand if the group is non-isolated, CS is ignored
and the color space is inherited\nfrom the actual backdrop with which the page
is composited (see Section 7.3.6,\n"Page Group").')\ |
| 2238 .done().done()\ |
| 2239 .done() |
| 2240 |
| 2241 pdfspec.addClass('ViewerPreferencesDictionary', 'Dictionary', 'Entries in a vi
ewer preferences dictionary')\ |
| 2242 .optional()\ |
| 2243 .field('HideToolbar')\ |
| 2244 .name('HideToolbar')\ |
| 2245 .type('boolean')\ |
| 2246 .comment('(Optional) A flag specifying whether to hide the viewer appl
ication\'s tool\nbars when the document is active. Default value: false.')\ |
| 2247 .done().done()\ |
| 2248 .optional()\ |
| 2249 .field('HideMenubar')\ |
| 2250 .name('HideMenubar')\ |
| 2251 .type('boolean')\ |
| 2252 .comment('(Optional) A flag specifying whether to hide the viewer appl
ication\'s\nmenu bar when the document is active. Default value: false.')\ |
| 2253 .done().done()\ |
| 2254 .optional()\ |
| 2255 .field('HideWindowUI')\ |
| 2256 .name('HideWindowUI')\ |
| 2257 .type('boolean')\ |
| 2258 .comment('(Optional) A flag specifying whether to hide user interface
elements in\nthe document\'s window (such as scroll bars and navigation controls
),\nleaving only the document\'s contents displayed. Default value: false.')\ |
| 2259 .done().done()\ |
| 2260 .optional()\ |
| 2261 .field('FitWindow')\ |
| 2262 .name('FitWindow')\ |
| 2263 .type('boolean')\ |
| 2264 .comment('(Optional) A flag specifying whether to resize the document\
's window to\nfit the size of the first displayed page. Default value: false.')\ |
| 2265 .done().done()\ |
| 2266 .optional()\ |
| 2267 .field('CenterWindow')\ |
| 2268 .name('CenterWindow')\ |
| 2269 .type('boolean')\ |
| 2270 .comment('(Optional) A flag specifying whether to position the documen
t\'s window\nin the center of the screen. Default value: false.')\ |
| 2271 .done().done()\ |
| 2272 .optional()\ |
| 2273 .field('DisplayDocTitle')\ |
| 2274 .name('DisplayDocTitle')\ |
| 2275 .type('boolean')\ |
| 2276 .comment('(Optional; PDF 1.4) A flag specifying whether the window\'s
title bar\nshould display the document title taken from the Title entry of the d
ocu-\nment information dictionary (see Section 9.2.1, "Document Informa-\ntion D
ictionary"). If false, the title bar should instead display the name\nof the PDF
file containing the document. Default value: false.')\ |
| 2277 .done().done()\ |
| 2278 .optional()\ |
| 2279 .field('NonFullScreenPageMode')\ |
| 2280 .name('NonFullScreenPageMode')\ |
| 2281 .type('name')\ |
| 2282 .comment('(Optional) The document\'s page mode, specifying how to disp
lay the\ndocument on exiting full-screen mode:\n UseNone Neither
document outline nor thumbnail images\n visible\n Use
Outlines Document outline visible\n UseThumbs Thumbnail imag
es visible\nThis entry is meaningful only if the value of the PageMode entry in
the\ncatalog dictionary (see Section 3.6.1, "Document Catalog") is FullScreen;\n
it is ignored otherwise. Default value: UseNone.')\ |
| 2283 .done().done()\ |
| 2284 .optional()\ |
| 2285 .field('Direction')\ |
| 2286 .name('Direction')\ |
| 2287 .type('name')\ |
| 2288 .comment('(Optional; PDF 1.3) The predominant reading order for text:\
n L2R Left to right\n R2L Right to left (i
ncluding vertical writing systems\n such as Chinese, Japa
nese, and Korean)\nThis entry has no direct effect on the document\'s contents o
r page num-\nbering, but can be used to determine the relative positioning of pa
ges\nwhen displayed side by side or printed n-up. Default value: L2R.')\ |
| 2289 .done().done()\ |
| 2290 .optional()\ |
| 2291 .field('ViewArea')\ |
| 2292 .name('ViewArea')\ |
| 2293 .type('name')\ |
| 2294 .comment('(Optional; PDF 1.4) The name of the page boundary representi
ng the\narea of a page to be displayed when viewing the document on the screen.\
nThe value is the key designating the relevant page boundary in the page\nobject
(see "Page Objects" on page 87 and Section 9.10.1, "Page Bound-\naries"). If th
e specified page boundary is not defined in the page object,\nits default value
will be used, as specified in Table 3.18 on page 88.\nDefault value: CropBox.\nN
ote: This entry is intended primarily for use by prepress applications that\nint
erpret or manipulate the page boundaries as described in Section 9.10.1,\n"Page
Boundaries." Most PDF consumer applications will disregard it.')\ |
| 2295 .done().done()\ |
| 2296 .optional()\ |
| 2297 .field('ViewClip')\ |
| 2298 .name('ViewClip')\ |
| 2299 .type('name')\ |
| 2300 .comment('(Optional; PDF 1.4) The name of the page boundary to which t
he con-\ntents of a page are to be clipped when viewing the document on the\nscr
een. The value is the key designating the relevant page boundary in\nthe page ob
ject (see "Page Objects" on page 87 and Section 9.10.1, "Page\nBoundaries"). If
the specified page boundary is not defined in the page\nobject, its default valu
e will be used, as specified in Table 3.18 on page\n88. Default value: CropBox.\
nNote: This entry is intended primarily for use by prepress applications that\ni
nterpret or manipulate the page boundaries as described in Section 9.10.1,\n"Pag
e Boundaries." Most PDF consumer applications will disregard it.')\ |
| 2301 .done().done()\ |
| 2302 .optional()\ |
| 2303 .field('PrintArea')\ |
| 2304 .name('PrintArea')\ |
| 2305 .type('name')\ |
| 2306 .comment('(Optional; PDF 1.4) The name of the page boundary representi
ng the\narea of a page to be rendered when printing the document. The value is\n
the key designating the relevant page boundary in the page object (see\n"Page Ob
jects" on page 87 and Section 9.10.1, "Page Boundaries"). If the\nspecified page
boundary is not defined in the page object, its default value\nwill be used, as
specified in Table 3.18 on page 88. Default value: CropBox.\nNote: This entry i
s intended primarily for use by prepress applications that\ninterpret or manipul
ate the page boundaries as described in Section 9.10.1,\n"Page Boundaries." Most
PDF consumer applications will disregard it.')\ |
| 2307 .done().done()\ |
| 2308 .optional()\ |
| 2309 .field('PrintClip')\ |
| 2310 .name('PrintClip')\ |
| 2311 .type('name')\ |
| 2312 .comment('(Optional; PDF 1.4) The name of the page boundary to which t
he con-\ntents of a page are to be clipped when printing the document. The value
\nis the key designating the relevant page boundary in the page object (see\n"Pa
ge Objects" on page 87 and Section 9.10.1, "Page Boundaries"). If the\nspecified
page boundary is not defined in the page object, its default value\nwill be use
d, as specified in Table 3.18 on page 88. Default value: CropBox.\nNote: This en
try is intended primarily for use by prepress applications that\ninterpret or ma
nipulate the page boundaries as described in Section 9.10.1,\n"Page Boundaries."
Most PDF consumer applications will disregard it.')\ |
| 2313 .done().done()\ |
| 2314 .done() |
| 2315 |
| 2316 pdfspec.addClass('OutlineDictionary', 'Dictionary', 'Entries in the outline di
ctionary')\ |
| 2317 .optional()\ |
| 2318 .field('Type')\ |
| 2319 .name('Type')\ |
| 2320 .type('name')\ |
| 2321 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be Outlines for an outline dictionary.')\ |
| 2322 .done().done()\ |
| 2323 .optional()\ |
| 2324 .field('First')\ |
| 2325 .name('First')\ |
| 2326 .type('dictionary')\ |
| 2327 .comment('(Required; must be an indirect reference) An outline item di
ctionary represent-\ning the first top-level item in the outline.')\ |
| 2328 .done().done()\ |
| 2329 .optional()\ |
| 2330 .field('Last')\ |
| 2331 .name('Last')\ |
| 2332 .type('dictionary')\ |
| 2333 .comment('(Required; must be an indirect reference) An outline item di
ctionary represent-\ning the last top-level item in the outline.')\ |
| 2334 .done().done()\ |
| 2335 .optional()\ |
| 2336 .field('Count')\ |
| 2337 .name('Count')\ |
| 2338 .type('integer')\ |
| 2339 .comment('(Required if the document has any open outline entries) The
total number of\nopen items at all levels of the outline. This entry should be o
mitted if there\nare no open outline items.')\ |
| 2340 .done().done()\ |
| 2341 .done() |
| 2342 |
| 2343 pdfspec.addClass('OutlineItemDictionary', 'Dictionary', 'Entries in an outline
item dictionary')\ |
| 2344 .required('NULL')\ |
| 2345 .field('Title')\ |
| 2346 .name('Title')\ |
| 2347 .type('text string')\ |
| 2348 .comment('(Required) The text to be displayed on the screen for this i
tem.')\ |
| 2349 .done().done()\ |
| 2350 .optional()\ |
| 2351 .field('Parent')\ |
| 2352 .name('Parent')\ |
| 2353 .type('dictionary')\ |
| 2354 .comment('(Required; must be an indirect reference) The parent of this
item in the outline\nhierarchy. The parent of a top-level item is the outline d
ictionary itself.')\ |
| 2355 .done().done()\ |
| 2356 .optional()\ |
| 2357 .field('Prev')\ |
| 2358 .name('Prev')\ |
| 2359 .type('dictionary')\ |
| 2360 .comment('(Required for all but the first item at each level; must be
an indirect reference)\nThe previous item at this outline level.')\ |
| 2361 .done().done()\ |
| 2362 .optional()\ |
| 2363 .field('Next')\ |
| 2364 .name('Next')\ |
| 2365 .type('dictionary')\ |
| 2366 .comment('(Required for all but the last item at each level; must be a
n indirect reference)\nThe next item at this outline level.')\ |
| 2367 .done().done()\ |
| 2368 .optional()\ |
| 2369 .field('First')\ |
| 2370 .name('First')\ |
| 2371 .type('dictionary')\ |
| 2372 .comment('(Required if the item has any descendants; must be an indire
ct reference) The\nfirst of this item\'s immediate children in the outline hiera
rchy.')\ |
| 2373 .done().done()\ |
| 2374 .optional()\ |
| 2375 .field('Last')\ |
| 2376 .name('Last')\ |
| 2377 .type('dictionary')\ |
| 2378 .comment('(Required if the item has any descendants; must be an indire
ct reference) The\nlast of this item\'s immediate children in the outline hierar
chy.')\ |
| 2379 .done().done()\ |
| 2380 .optional()\ |
| 2381 .field('Count')\ |
| 2382 .name('Count')\ |
| 2383 .type('integer')\ |
| 2384 .comment('(Required if the item has any descendants) If the item is op
en, the total num-\nber of its open descendants at all lower levels of the outli
ne hierarchy. If the\nitem is closed, a negative integer whose absolute value sp
ecifies how many\ndescendants would appear if the item were reopened.')\ |
| 2385 .done().done()\ |
| 2386 .optional()\ |
| 2387 .field('Dest')\ |
| 2388 .name('Dest')\ |
| 2389 .type('name, string, or array')\ |
| 2390 .comment('(Optional; not permitted if an A entry is present) The desti
nation to be\ndisplayed when this item is activated (see Section 8.2.1, "Destina
tions"; see\nalso implementation note 56 in Appendix H).')\ |
| 2391 .done().done()\ |
| 2392 .optional()\ |
| 2393 .field('A')\ |
| 2394 .name('A')\ |
| 2395 .type('dictionary')\ |
| 2396 .comment('(Optional; PDF 1.1; not permitted if a Dest entry is present
) The action to be\nperformed when this item is activated (see Section 8.5, "Act
ions").')\ |
| 2397 .done().done()\ |
| 2398 .optional()\ |
| 2399 .field('SE')\ |
| 2400 .name('SE')\ |
| 2401 .type('dictionary')\ |
| 2402 .comment('(Optional; PDF 1.3; must be an indirect reference) The struc
ture element to\nwhich the item refers (see Section 9.6.1, "Structure Hierarchy"
).\nNote: The ability to associate an outline item with a structure element (suc
h as\nthe beginning of a chapter) is a PDF 1.3 feature. For backward compatibili
ty\nwith earlier PDF versions, such an item should also specify a destination (D
est)\ncorresponding to an area of a page where the contents of the designated st
ructure\nelement are displayed.')\ |
| 2403 .done().done()\ |
| 2404 .optional()\ |
| 2405 .field('C')\ |
| 2406 .name('C')\ |
| 2407 .type('array')\ |
| 2408 .comment('(Optional; PDF 1.4) An array of three numbers in the range 0
.0 to 1.0, repre-\nsenting the components in the DeviceRGB color space of the co
lor to be used\nfor the outline entry\'s text. Default value: [0.0 0.0 0.0].')\ |
| 2409 .done().done()\ |
| 2410 .optional()\ |
| 2411 .field('F')\ |
| 2412 .name('F')\ |
| 2413 .type('integer')\ |
| 2414 .comment('(Optional; PDF 1.4) A set of flags specifying style characte
ristics for display-\ning the outline item\'s text (see Table 8.5). Default valu
e: 0.')\ |
| 2415 .done().done()\ |
| 2416 .done() |
| 2417 |
| 2418 pdfspec.addClass('PageLabelDictionary', 'Dictionary', 'Entries in a page label
dictionary')\ |
| 2419 .optional()\ |
| 2420 .field('Type')\ |
| 2421 .name('Type')\ |
| 2422 .type('name')\ |
| 2423 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nPageLabel for a page label dictionary.')\ |
| 2424 .done().done()\ |
| 2425 .optional()\ |
| 2426 .field('S')\ |
| 2427 .name('S')\ |
| 2428 .type('name')\ |
| 2429 .comment('(Optional) The numbering style to be used for the numeric po
rtion of each page label:\n D Decimal arabic numerals\n R Uppercase
roman numerals\n r Lowercase roman numerals\n A Uppercase letters (A
to Z for the first 26 pages, AA to ZZ for the next 26, and so on)\n a Low
ercase letters (a to z for the first 26 pages, aa to zz for the next 26, and so
on)\nThere is no default numbering style; if no S entry is present, page labels
will consist solely\nof a label prefix with no numeric portion. For example, if
the P entry (below) specifies the\nlabel prefix Contents, each page will simply
be labeled Contents with no page number. (If\nthe P entry is also missing or emp
ty, the page label will be an empty string.)')\ |
| 2430 .done().done()\ |
| 2431 .optional()\ |
| 2432 .field('P')\ |
| 2433 .name('P')\ |
| 2434 .type('text string')\ |
| 2435 .comment('(Optional) The label prefix for page labels in this range.')
\ |
| 2436 .done().done()\ |
| 2437 .optional()\ |
| 2438 .field('St')\ |
| 2439 .name('St')\ |
| 2440 .type('integer')\ |
| 2441 .comment('(Optional) The value of the numeric portion for the first pa
ge label in the range. Sub-\nsequent pages will be numbered sequentially from th
is value, which must be greater than\nor equal to 1. Default value: 1.')\ |
| 2442 .done().done()\ |
| 2443 .done() |
| 2444 |
| 2445 pdfspec.addClass('ThreadDictionary', 'Dictionary', 'Entries in a thread dictio
nary')\ |
| 2446 .optional()\ |
| 2447 .field('Type')\ |
| 2448 .name('Type')\ |
| 2449 .type('name')\ |
| 2450 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nThread for a thread dictionary.')\ |
| 2451 .done().done()\ |
| 2452 .optional()\ |
| 2453 .field('F')\ |
| 2454 .name('F')\ |
| 2455 .type('dictionary')\ |
| 2456 .comment('(Required; must be an indirect reference) The first bead in
the thread.')\ |
| 2457 .done().done()\ |
| 2458 .optional()\ |
| 2459 .field('I')\ |
| 2460 .name('I')\ |
| 2461 .type('dictionary')\ |
| 2462 .comment('(Optional) A thread information dictionary containing inform
ation about the\nthread, such as its title, author, and creation date. The conte
nts of this dictionary are\nsimilar to those of the document information diction
ary (see Section 9.2.1, "Docu-\nment Information Dictionary").')\ |
| 2463 .done().done()\ |
| 2464 .done() |
| 2465 |
| 2466 pdfspec.addClass('BeadDictionary', 'Dictionary', 'Entries in a bead dictionary
')\ |
| 2467 .optional()\ |
| 2468 .field('Type')\ |
| 2469 .name('Type')\ |
| 2470 .type('name')\ |
| 2471 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nBead for a bead dictionary.')\ |
| 2472 .done().done()\ |
| 2473 .optional()\ |
| 2474 .field('T')\ |
| 2475 .name('T')\ |
| 2476 .type('dictionary')\ |
| 2477 .comment('(Required for the first bead of a thread; optional for all o
thers; must be an indirect refer-\nence) The thread to which this bead belongs.\
nNote: In PDF 1.1, this entry is permitted only for the first bead of a thread.
In PDF 1.2\nand higher, it is permitted for any bead but required only for the f
irst.')\ |
| 2478 .done().done()\ |
| 2479 .optional()\ |
| 2480 .field('N')\ |
| 2481 .name('N')\ |
| 2482 .type('dictionary')\ |
| 2483 .comment('(Required; must be an indirect reference) The next bead in t
he thread. In the last bead,\nthis entry points to the first.')\ |
| 2484 .done().done()\ |
| 2485 .optional()\ |
| 2486 .field('V')\ |
| 2487 .name('V')\ |
| 2488 .type('dictionary')\ |
| 2489 .comment('(Required; must be an indirect reference) The previous bead
in the thread. In the first\nbead, this entry points to the last.')\ |
| 2490 .done().done()\ |
| 2491 .optional()\ |
| 2492 .field('P')\ |
| 2493 .name('P')\ |
| 2494 .type('dictionary')\ |
| 2495 .comment('(Required; must be an indirect reference) The page object re
presenting the page on\nwhich this bead appears.')\ |
| 2496 .done().done()\ |
| 2497 .required('NULL')\ |
| 2498 .field('R')\ |
| 2499 .name('R')\ |
| 2500 .type('rectangle')\ |
| 2501 .comment('(Required) A rectangle specifying the location of this bead
on the page.')\ |
| 2502 .done().done()\ |
| 2503 .done() |
| 2504 |
| 2505 pdfspec.addClass('TransitionDictionary', 'Dictionary', 'Entries in a transitio
n dictionary')\ |
| 2506 .optional()\ |
| 2507 .field('Type')\ |
| 2508 .name('Type')\ |
| 2509 .type('name')\ |
| 2510 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nTrans for a transition dictionary.')\ |
| 2511 .done().done()\ |
| 2512 .optional()\ |
| 2513 .field('D')\ |
| 2514 .name('D')\ |
| 2515 .type('number')\ |
| 2516 .comment('(Optional) The duration of the transition effect, in seconds
. Default value: 1.')\ |
| 2517 .done().done()\ |
| 2518 .optional()\ |
| 2519 .field('S')\ |
| 2520 .name('S')\ |
| 2521 .type('name')\ |
| 2522 .comment('(Optional) The transition style to use when moving to this p
age from another during a\npresentation:\n Split Two lines sweep across
the screen, revealing the new page. The lines may\n be either hori
zontal or vertical and may move inward from the edges of\n the pag
e or outward from the center, as specified by the Dm and M\n entri
es, respectively.\n Blinds Multiple lines, evenly spaced across the scree
n, synchronously sweep in\n the same direction to reveal the new p
age. The lines may be either hori-\n zontal or vertical, as specif
ied by the Dm entry. Horizontal lines move\n downward, vertical li
nes to the right.\n Box A rectangular box sweeps inward from the edges
of the page or outward\n from the center, as specified by the M e
ntry, revealing the new page.\n Wipe A single line sweeps across the sc
reen from one edge to the other in the\n direction specified by th
e Di entry, revealing the new page.\n Dissolve The old page "dissolves" gra
dually to reveal the new one.\n Glitter Similar to Dissolve, except that t
he effect sweeps across the page in a\n wide band moving from one
side of the screen to the other in the direc-\n tion specified by
the Di entry.\n R The new page simply replaces the old one with no s
pecial transition ef-\n fect; the D entry is ignored.\nDefault val
ue: R.')\ |
| 2523 .done().done()\ |
| 2524 .optional()\ |
| 2525 .field('Dm')\ |
| 2526 .name('Dm')\ |
| 2527 .type('name')\ |
| 2528 .comment('(Optional; Split and Blinds transition styles only) The dime
nsion in which the specified\ntransition effect occurs:\n H Horizont
al\n V Vertical\nDefault value: H.')\ |
| 2529 .done().done()\ |
| 2530 .optional()\ |
| 2531 .field('M')\ |
| 2532 .name('M')\ |
| 2533 .type('name')\ |
| 2534 .comment('(Optional; Split and Box transition styles only) The directi
on of motion for the specified\ntransition effect:\n I Inward from t
he edges of the page\n O Outward from the center of the page\nDefaul
t value: I.')\ |
| 2535 .done().done()\ |
| 2536 .optional()\ |
| 2537 .field('Di')\ |
| 2538 .name('Di')\ |
| 2539 .type('number')\ |
| 2540 .comment('(Optional; Wipe and Glitter transition styles only) The dire
ction in which the specified\ntransition effect moves, expressed in degrees coun
terclockwise starting from a left-to-\nright direction. (Note that this differs
from the page object\'s Rotate entry, which is\nmeasured clockwise from the top.
) Only the following values are valid:\n 0 Left to right\n 90
Bottom to top (Wipe only)\n 180 Right to left (Wipe only)\n 2
70 Top to bottom\n 315 Top-left to bottom-right (Glitter only)\n
Default value: 0.')\ |
| 2541 .done().done()\ |
| 2542 .done() |
| 2543 |
| 2544 pdfspec.addClass('AnnotationDictionary', 'Dictionary', 'Entries common to all
annotation dictionaries')\ |
| 2545 .optional()\ |
| 2546 .field('Type')\ |
| 2547 .name('Type')\ |
| 2548 .type('name')\ |
| 2549 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be Annot for an annotation dictionary.')\ |
| 2550 .done().done()\ |
| 2551 .required('NULL')\ |
| 2552 .field('Subtype')\ |
| 2553 .name('Subtype')\ |
| 2554 .type('name')\ |
| 2555 .comment('(Required) The type of annotation that this dictionary descr
ibes; see Table\n8.14 on page 499 for specific values.')\ |
| 2556 .done().done()\ |
| 2557 .optional()\ |
| 2558 .field('Contents')\ |
| 2559 .name('Contents')\ |
| 2560 .type('text string')\ |
| 2561 .comment('(Required or optional, depending on the annotation type) Tex
t to be displayed\nfor the annotation or, if this type of annotation does not di
splay text, an al-\nternate description of the annotation\'s contents in human-r
eadable form. In\neither case, this text is useful when extracting the document\
's contents in\nsupport of accessibility to disabled users or for other purposes
(see Section\n9.8.2, "Alternate Descriptions").')\ |
| 2562 .done().done()\ |
| 2563 .optional()\ |
| 2564 .field('P')\ |
| 2565 .name('P')\ |
| 2566 .type('dictionary')\ |
| 2567 .comment('(Optional; PDF 1.3; not used in FDF files) An indirect refer
ence to the page\nobject with which this annotation is associated.')\ |
| 2568 .done().done()\ |
| 2569 .required('NULL')\ |
| 2570 .field('Rect')\ |
| 2571 .name('Rect')\ |
| 2572 .type('rectangle')\ |
| 2573 .comment('(Required) The annotation rectangle, defining the location o
f the annotation\non the page in default user space units.')\ |
| 2574 .done().done()\ |
| 2575 .optional()\ |
| 2576 .field('NM')\ |
| 2577 .name('NM')\ |
| 2578 .type('text')\ |
| 2579 .comment('(Optional; PDF 1.4) The annotation name, a text string uniqu
ely identifying\nit among all the annotations on its page.')\ |
| 2580 .done().done()\ |
| 2581 .optional()\ |
| 2582 .field('M')\ |
| 2583 .name('M')\ |
| 2584 .type('date or string')\ |
| 2585 .comment('(Optional; PDF 1.1) The date and time when the annotation wa
s most\nrecently modified. The preferred format is a date string as described in
Sec-\ntion 3.8.2, "Dates," but viewer applications should be prepared to accept
and\ndisplay a string in any format. (See implementation note 59 in Appendix H.
)')\ |
| 2586 .done().done()\ |
| 2587 .optional()\ |
| 2588 .field('F')\ |
| 2589 .name('F')\ |
| 2590 .type('integer')\ |
| 2591 .comment('(Optional; PDF 1.1) A set of flags specifying various charac
teristics of the an-\nnotation (see Section 8.4.2, "Annotation Flags"). Default
value: 0.')\ |
| 2592 .done().done()\ |
| 2593 .optional()\ |
| 2594 .field('BS')\ |
| 2595 .name('BS')\ |
| 2596 .type('dictionary')\ |
| 2597 .comment('(Optional; PDF 1.2) A border style dictionary specifying the
characteristics of\nthe annotation\'s border (see Section 8.4.3, "Border Styles
"; see also imple-\nmentation note 60 in Appendix H).\nNote: This entry also spe
cifies the width and dash pattern for the lines drawn by\nline, square, circle,
and ink annotations. See the note under Border (below) for\nadditional informati
on.')\ |
| 2598 .done().done()\ |
| 2599 .optional()\ |
| 2600 .field('Border')\ |
| 2601 .name('Border')\ |
| 2602 .type('array')\ |
| 2603 .comment('(Optional) An array specifying the characteristics of the an
notation\'s border.\nThe border is specified as a "rounded rectangle."\nIn PDF 1
.0, the array consists of three numbers defining the horizontal cor-\nner radius
, vertical corner radius, and border width, all in default user space\nunits. If
the corner radii are 0, the border has square (not rounded) corners;\nif the bo
rder width is 0, no border is drawn. (See implementation note 61 in\nAppendix H.
)')\ |
| 2604 .done().done()\ |
| 2605 .done() |
| 2606 |
| 2607 pdfspec.addClass('BorderStyleDictionary', 'Dictionary', 'Entries in a border s
tyle dictionary')\ |
| 2608 .optional()\ |
| 2609 .field('Type')\ |
| 2610 .name('Type')\ |
| 2611 .type('name')\ |
| 2612 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nBorder for a border style dictionary.')\ |
| 2613 .done().done()\ |
| 2614 .optional()\ |
| 2615 .field('W')\ |
| 2616 .name('W')\ |
| 2617 .type('number')\ |
| 2618 .comment('(Optional) The border width in points. If this value is 0, n
o border is drawn. Default\nvalue: 1.')\ |
| 2619 .done().done()\ |
| 2620 .optional()\ |
| 2621 .field('S')\ |
| 2622 .name('S')\ |
| 2623 .type('name')\ |
| 2624 .comment('(Optional) The border style:\n S (Solid) A solid recta
ngle surrounding the annotation.\n D (Dashed) A dashed rectangle surroundi
ng the annotation. The dash pattern\n is specified by the D entry (see b
elow).\n B (Beveled) A simulated embossed rectangle that appears to be rai
sed above the\n surface of the page.\n I (Inset) A simulated engra
ved rectangle that appears to be recessed below the\n surface of the pag
e.\n U (Underline) A single line along the bottom of the annotation rectan
gle.\nOther border styles may be defined in the future. (See implementation note
64 in\nAppendix H.) Default value: S.')\ |
| 2625 .done().done()\ |
| 2626 .optional()\ |
| 2627 .field('D')\ |
| 2628 .name('D')\ |
| 2629 .type('array')\ |
| 2630 .comment('(Optional) A dash array defining a pattern of dashes and gap
s to be used in drawing a\ndashed border (border style D above). The dash array
is specified in the same format\nas in the line dash pattern parameter of the gr
aphics state (see "Line Dash Pattern" on\npage 155). The dash phase is not speci
fied and is assumed to be 0. For example, a D\nentry of [3 2] specifies a border
drawn with 3-point dashes alternating with 2-point\ngaps. Default value: [3].')
\ |
| 2631 .done().done()\ |
| 2632 .done() |
| 2633 |
| 2634 pdfspec.addClass('AppearanceDictionary', 'Dictionary', 'Entries in an appearan
ce dictionary')\ |
| 2635 .required('NULL')\ |
| 2636 .field('N')\ |
| 2637 .name('N')\ |
| 2638 .type('stream or dictionary')\ |
| 2639 .comment('(Required) The annotation\'s normal appearance.')\ |
| 2640 .done().done()\ |
| 2641 .optional()\ |
| 2642 .field('R')\ |
| 2643 .name('R')\ |
| 2644 .type('stream or dictionary')\ |
| 2645 .comment('(Optional) The annotation\'s rollover appearance. Default va
lue: the value of\nthe N entry.')\ |
| 2646 .done().done()\ |
| 2647 .optional()\ |
| 2648 .field('D')\ |
| 2649 .name('D')\ |
| 2650 .type('stream or dictionary')\ |
| 2651 .comment('(Optional) The annotation\'s down appearance. Default value:
the value of the\nN entry.')\ |
| 2652 .done().done()\ |
| 2653 .done() |
| 2654 |
| 2655 pdfspec.addClass('TextAnnotationDictionary', 'Dictionary', 'Additional entries
specific to a text annotation')\ |
| 2656 .required('NULL')\ |
| 2657 .field('Subtype')\ |
| 2658 .name('Subtype')\ |
| 2659 .type('name')\ |
| 2660 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Text\nfor a text annotation.')\ |
| 2661 .done().done()\ |
| 2662 .required('NULL')\ |
| 2663 .field('Contents')\ |
| 2664 .name('Contents')\ |
| 2665 .type('text string')\ |
| 2666 .comment('(Required) The text to be displayed in the pop-up window whe
n the annotation\nis opened. Carriage returns may be used to separate the text i
nto paragraphs.')\ |
| 2667 .done().done()\ |
| 2668 .optional()\ |
| 2669 .field('Open')\ |
| 2670 .name('Open')\ |
| 2671 .type('boolean')\ |
| 2672 .comment('(Optional) A flag specifying whether the annotation should i
nitially be displayed\nopen. Default value: false (closed).')\ |
| 2673 .done().done()\ |
| 2674 .optional()\ |
| 2675 .field('Name')\ |
| 2676 .name('Name')\ |
| 2677 .type('name')\ |
| 2678 .comment('(Optional) The name of an icon to be used in displaying the
annotation. Viewer\napplications should provide predefined icon appearances for
at least the follow-\ning standard names:\n Comment Key
Note\n Help NewParagraph P
aragraph\n Insert\nAdditional names may be supported as well. Default value:
Note.\nNote: The annotation dictionary\'s AP entry, if present, takes precedence
over the\nName entry; see Table 8.10 on page 490 and Section 8.4.4, "Appearance
Streams."')\ |
| 2679 .done().done()\ |
| 2680 .done() |
| 2681 |
| 2682 pdfspec.addClass('ALinkAnnotationDictionary', 'Dictionary', 'Additional entrie
s specific to a link annotation')\ |
| 2683 .required('NULL')\ |
| 2684 .field('Subtype')\ |
| 2685 .name('Subtype')\ |
| 2686 .type('name')\ |
| 2687 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Link\nfor a link annotation.')\ |
| 2688 .done().done()\ |
| 2689 .optional()\ |
| 2690 .field('Contents')\ |
| 2691 .name('Contents')\ |
| 2692 .type('text string')\ |
| 2693 .comment('(Optional; PDF 1.4) An alternate representation of the annot
ation\'s contents in\nhuman-readable form, useful when extracting the document\'
s contents in sup-\nport of accessibility to disabled users or for other purpose
s (see Section 9.8.2,\n"Alternate Descriptions").')\ |
| 2694 .done().done()\ |
| 2695 .optional()\ |
| 2696 .field('Dest')\ |
| 2697 .name('Dest')\ |
| 2698 .type('array, name, or string')\ |
| 2699 .comment('(Optional; not permitted if an A entry is present) A destina
tion to be displayed\nwhen the annotation is activated (see Section 8.2.1, "Dest
inations"; see also\nimplementation note 66 in Appendix H).')\ |
| 2700 .done().done()\ |
| 2701 .optional()\ |
| 2702 .field('H')\ |
| 2703 .name('H')\ |
| 2704 .type('name')\ |
| 2705 .comment('(Optional; PDF 1.2) The annotation\'s highlighting mode, the
visual effect to be\nused when the mouse button is pressed or held down inside
its active area:\n N (None) No highlighting.\n I (Invert) Invert the
contents of the annotation rectangle.\n O (Outline) Invert the annotation
\'s border.\n P (Push) Display the annotation\'s down appearance, if any (
see Section\n 8.4.4, "Appearance Streams"). If no down appearance is def
ined, offset\n the contents of the annotation rectangle to appear as if
it were being\n "pushed" below the surface of the page.\nA highlighting
mode other than P overrides any down appearance defined for\nthe annotation. Def
ault value: I.\nNote: In PDF 1.1, highlighting is always done by inverting color
s inside the anno-\ntation rectangle.')\ |
| 2706 .done().done()\ |
| 2707 .optional()\ |
| 2708 .field('PA')\ |
| 2709 .name('PA')\ |
| 2710 .type('dictionary')\ |
| 2711 .comment('(Optional; PDF 1.3) A URI action (see "URI Actions" on page
523) formerly\nassociated with this annotation. When Web Capture (Section 9.9, "
Web Cap-\nture") changes an annotation from a URI to a go-to action ("Go-To Acti
ons"\non page 519), it uses this entry to save the data from the original URI ac
tion so\nthat it can be changed back in case the target page for the go-to actio
n is subse-\nquently deleted.')\ |
| 2712 .done().done()\ |
| 2713 .done() |
| 2714 |
| 2715 pdfspec.addClass('FreeTextAnnotationDictionary', 'Dictionary', 'Additional ent
ries specific to a free text annotation')\ |
| 2716 .required('NULL')\ |
| 2717 .field('Subtype')\ |
| 2718 .name('Subtype')\ |
| 2719 .type('name')\ |
| 2720 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be\nFreeText for a free text annotation.')\ |
| 2721 .done().done()\ |
| 2722 .required('NULL')\ |
| 2723 .field('Contents')\ |
| 2724 .name('Contents')\ |
| 2725 .type('text string')\ |
| 2726 .comment('(Required) The text to be displayed.')\ |
| 2727 .done().done()\ |
| 2728 .required('NULL')\ |
| 2729 .field('DA')\ |
| 2730 .name('DA')\ |
| 2731 .type('string')\ |
| 2732 .comment('(Required) The default appearance string to be used in forma
tting the text (see\n"Variable Text" on page 533).\nNote: The annotation diction
ary\'s AP entry, if present, takes precedence over the DA\nentry; see Table 8.10
on page 490 and Section 8.4.4, "Appearance Streams."')\ |
| 2733 .done().done()\ |
| 2734 .optional()\ |
| 2735 .field('Q')\ |
| 2736 .name('Q')\ |
| 2737 .type('integer')\ |
| 2738 .comment('(Optional; PDF 1.4) A code specifying the form of quadding (
justification) to be\nused in displaying the annotation\'s text:\n 0 Left-
justified\n 1 Centered\n 2 Right-justified\nDefault value: 0 (left-j
ustified).')\ |
| 2739 .done().done()\ |
| 2740 .done() |
| 2741 |
| 2742 pdfspec.addClass('LineAnnotationDictionary', 'Dictionary', 'Additional entries
specific to a line annotation')\ |
| 2743 .required('NULL')\ |
| 2744 .field('Subtype')\ |
| 2745 .name('Subtype')\ |
| 2746 .type('name')\ |
| 2747 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Line\nfor a line annotation.')\ |
| 2748 .done().done()\ |
| 2749 .required('NULL')\ |
| 2750 .field('Contents')\ |
| 2751 .name('Contents')\ |
| 2752 .type('text string')\ |
| 2753 .comment('(Required) The text to be displayed in the pop-up window whe
n the annotation\nis opened. Carriage returns may be used to separate the text i
nto paragraphs.')\ |
| 2754 .done().done()\ |
| 2755 .required('NULL')\ |
| 2756 .field('L')\ |
| 2757 .name('L')\ |
| 2758 .type('array')\ |
| 2759 .comment('(Required) An array of four numbers, [x1 y1 x2 y2 ], specify
ing the starting and\nending coordinates of the line in default user space.')\ |
| 2760 .done().done()\ |
| 2761 .optional()\ |
| 2762 .field('BS')\ |
| 2763 .name('BS')\ |
| 2764 .type('dictionary')\ |
| 2765 .comment('(Optional) A border style dictionary (see Table 8.12 on page
495) specifying the\nwidth and dash pattern to be used in drawing the line.\nNo
te: The annotation dictionary\'s AP entry, if present, takes precedence over the
L\nand BS entries; see Table 8.10 on page 490 and Section 8.4.4, "Appearance St
reams."')\ |
| 2766 .done().done()\ |
| 2767 .optional()\ |
| 2768 .field('LE')\ |
| 2769 .name('LE')\ |
| 2770 .type('array')\ |
| 2771 .comment('(Optional; PDF 1.4) An array of two names specifying the lin
e ending styles to be\nused in drawing the line. The first and second elements o
f the array specify the\nline ending styles for the endpoints defined, respectiv
ely, by the first and second\npairs of coordinates, (x1 , y1 ) and (x2 , y2 ), i
n the L array. Table 8.19 shows the\npossible values. Default value: [/None /Non
e].')\ |
| 2772 .done().done()\ |
| 2773 .optional()\ |
| 2774 .field('IC')\ |
| 2775 .name('IC')\ |
| 2776 .type('array')\ |
| 2777 .comment('(Optional; PDF 1.4) An array of three numbers in the range 0
.0 to 1.0 specifying\nthe components, in the DeviceRGB color space, of the inter
ior color with which to\nfill the annotation\'s line endings (see Table 8.19). I
f this entry is absent, the inte-\nriors of the line endings are left transparen
t.')\ |
| 2778 .done().done()\ |
| 2779 .done() |
| 2780 |
| 2781 pdfspec.addClass('SquareOrCircleAnnotation', 'Dictionary', 'Additional entries
specific to a square or circle annotation')\ |
| 2782 .required('NULL')\ |
| 2783 .field('Subtype')\ |
| 2784 .name('Subtype')\ |
| 2785 .type('name')\ |
| 2786 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Square\nor Circle for a square or circle annotation, respectively.
')\ |
| 2787 .done().done()\ |
| 2788 .required('NULL')\ |
| 2789 .field('Contents')\ |
| 2790 .name('Contents')\ |
| 2791 .type('text string')\ |
| 2792 .comment('(Required) The text to be displayed in the pop-up window whe
n the annotation\nis opened. Carriage returns may be used to separate the text i
nto paragraphs.')\ |
| 2793 .done().done()\ |
| 2794 .optional()\ |
| 2795 .field('BS')\ |
| 2796 .name('BS')\ |
| 2797 .type('dictionary')\ |
| 2798 .comment('(Optional) A border style dictionary (see Table 8.12 on page
495) specifying the\nline width and dash pattern to be used in drawing the rect
angle or ellipse.\nNote: The annotation dictionary\'s AP entry, if present, take
s precedence over the\nRect and BS entries; see Table 8.10 on page 490 and Secti
on 8.4.4, "Appearance\nStreams."')\ |
| 2799 .done().done()\ |
| 2800 .optional()\ |
| 2801 .field('IC')\ |
| 2802 .name('IC')\ |
| 2803 .type('array')\ |
| 2804 .comment('(Optional; PDF 1.4) An array of three numbers in the range 0
.0 to 1.0 specifying\nthe components, in the DeviceRGB color space, of the inter
ior color with which to\nfill the annotation\'s rectangle or ellipse (see Table
8.19). If this entry is absent,\nthe interior of the annotation is left transpar
ent.')\ |
| 2805 .done().done()\ |
| 2806 .done() |
| 2807 |
| 2808 pdfspec.addClass('MarkupAnnotationsDictionary', 'Dictionary', 'Additional entr
ies specific to markup annotations')\ |
| 2809 .required('NULL')\ |
| 2810 .field('Subtype')\ |
| 2811 .name('Subtype')\ |
| 2812 .type('name')\ |
| 2813 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be\nHighlight, Underline, Squiggly, or StrikeOut for a highlight, und
erline,\nsquiggly-underline, or strikeout annotation, respectively.')\ |
| 2814 .done().done()\ |
| 2815 .required('NULL')\ |
| 2816 .field('Contents')\ |
| 2817 .name('Contents')\ |
| 2818 .type('text string')\ |
| 2819 .comment('(Required) The text to be displayed in the pop-up window whe
n the annota-\ntion is opened. Carriage returns may be used to separate the text
into para-\ngraphs.')\ |
| 2820 .done().done()\ |
| 2821 .required('NULL')\ |
| 2822 .field('QuadPoints')\ |
| 2823 .name('QuadPoints')\ |
| 2824 .type('array')\ |
| 2825 .comment('(Required) An array of 8 x n numbers specifying the coordina
tes of n quadri-\nlaterals in default user space. Each quadrilateral encompasses
a word or\ngroup of contiguous words in the text underlying the annotation. The
coor-\ndinates for each quadrilateral are given in the order\n x1 y1 x2 y2 x
3 y3 x4 y4\nspecifying the quadrilateral\'s four vertices in counterclockwise or
der (see\nFigure 8.5). The text is oriented with respect to the edge connecting
points\n(x1 , y1) and (x2 , y2). (See implementation note 67 in Appendix H.)\nNo
te: The annotation dictionary\'s AP entry, if present, takes precedence over the
\nQuadPoints entry; see Table 8.10 on page 490 and Section 8.4.4, "Appearance\nS
treams."\n (x3 , y3 )\n t
er\n (x2 , y2 )\n
pi\n (x4 , y4 )\n Ju\n (x1 , y1 )\n FIGURE
8.5 QuadPoints specification')\ |
| 2826 .done().done()\ |
| 2827 .done() |
| 2828 |
| 2829 pdfspec.addClass('RubberStampAnnotationDictionary', 'Dictionary', 'Additional
entries specific to a rubber stamp annotation')\ |
| 2830 .required('NULL')\ |
| 2831 .field('Subtype')\ |
| 2832 .name('Subtype')\ |
| 2833 .type('name')\ |
| 2834 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Stamp\nfor a rubber stamp annotation.')\ |
| 2835 .done().done()\ |
| 2836 .required('NULL')\ |
| 2837 .field('Contents')\ |
| 2838 .name('Contents')\ |
| 2839 .type('text string')\ |
| 2840 .comment('(Required) The text to be displayed in the pop-up window whe
n the annotation\nis opened. Carriage returns may be used to separate the text i
nto paragraphs.')\ |
| 2841 .done().done()\ |
| 2842 .optional()\ |
| 2843 .field('Name')\ |
| 2844 .name('Name')\ |
| 2845 .type('name')\ |
| 2846 .comment('(Optional) The name of an icon to be used in displaying the
annotation. Viewer\napplications should provide predefined icon appearances for
at least the follow-\ning standard names:\n Approved Experime
ntal NotApproved\n AsIs Expired
NotForPublicRelease\n Confidential Final
Sold\n Departmental ForComment TopSecret\n D
raft ForPublicRelease\nAdditional names may be supported as w
ell. Default value: Draft.\nNote: The annotation dictionary\'s AP entry, if pres
ent, takes precedence over the\nName entry; see Table 8.10 on page 490 and Secti
on 8.4.4, "Appearance Streams."')\ |
| 2847 .done().done()\ |
| 2848 .done() |
| 2849 |
| 2850 pdfspec.addClass('InkAnnotationDictionary', 'Dictionary', 'Additional entries
specific to an ink annotation')\ |
| 2851 .required('NULL')\ |
| 2852 .field('Subtype')\ |
| 2853 .name('Subtype')\ |
| 2854 .type('name')\ |
| 2855 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Ink for\nan ink annotation.')\ |
| 2856 .done().done()\ |
| 2857 .required('NULL')\ |
| 2858 .field('Contents')\ |
| 2859 .name('Contents')\ |
| 2860 .type('text string')\ |
| 2861 .comment('(Required) The text to be displayed in the pop-up window whe
n the annotation\nis opened. Carriage returns may be used to separate the text i
nto paragraphs.')\ |
| 2862 .done().done()\ |
| 2863 .required('NULL')\ |
| 2864 .field('InkList')\ |
| 2865 .name('InkList')\ |
| 2866 .type('array')\ |
| 2867 .comment('(Required) An array of n arrays, each representing a stroked
path. Each array is a\nseries of alternating horizontal and vertical coordinate
s in default user space,\nspecifying points along the path. When drawn, the poin
ts are connected by\nstraight lines or curves in an implementation-dependent way
. (See implementa-\ntion note 68 in Appendix H.)')\ |
| 2868 .done().done()\ |
| 2869 .optional()\ |
| 2870 .field('BS')\ |
| 2871 .name('BS')\ |
| 2872 .type('dictionary')\ |
| 2873 .comment('(Optional) A border style dictionary (see Table 8.12 on page
495) specifying the\nline width and dash pattern to be used in drawing the path
s.\nNote: The annotation dictionary\'s AP entry, if present, takes precedence ov
er the\nInkList and BS entries; see Table 8.10 on page 490 and Section 8.4.4, "A
ppearance\nStreams."')\ |
| 2874 .done().done()\ |
| 2875 .done() |
| 2876 |
| 2877 pdfspec.addClass('PopUpAnnotationDictionary', 'Dictionary', 'Additional entrie
s specific to a pop-up annotation')\ |
| 2878 .required('NULL')\ |
| 2879 .field('Subtype')\ |
| 2880 .name('Subtype')\ |
| 2881 .type('name')\ |
| 2882 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be\nPopup for a pop-up annotation.')\ |
| 2883 .done().done()\ |
| 2884 .optional()\ |
| 2885 .field('Contents')\ |
| 2886 .name('Contents')\ |
| 2887 .type('text string')\ |
| 2888 .comment('(Optional; PDF 1.4) An alternate representation of the annot
ation\'s contents\nin human-readable form, useful when extracting the document\'
s contents in\nsupport of accessibility to disabled users or for other purposes
(see Section\n9.8.2, "Alternate Descriptions").')\ |
| 2889 .done().done()\ |
| 2890 .optional()\ |
| 2891 .field('Parent')\ |
| 2892 .name('Parent')\ |
| 2893 .type('dictionary')\ |
| 2894 .comment('(Optional; must be an indirect reference) The parent annotat
ion with which\nthis pop-up annotation is associated.\nNote: If this entry is pr
esent, the parent annotation\'s Contents, M, C, and T\nentries (see Table 8.10 o
n page 490) override those of the pop-up annotation\nitself.')\ |
| 2895 .done().done()\ |
| 2896 .optional()\ |
| 2897 .field('Open')\ |
| 2898 .name('Open')\ |
| 2899 .type('boolean')\ |
| 2900 .comment('(Optional) A flag specifying whether the pop-up annotation s
hould initially\nbe displayed open. Default value: false (closed).')\ |
| 2901 .done().done()\ |
| 2902 .done() |
| 2903 |
| 2904 pdfspec.addClass('FileAttachmentAnnotationDictionary', 'Dictionary', 'Addition
al entries specific to a file attachment annotation')\ |
| 2905 .required('NULL')\ |
| 2906 .field('Subtype')\ |
| 2907 .name('Subtype')\ |
| 2908 .type('name')\ |
| 2909 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be\nFileAttachment for a file attachment annotation.')\ |
| 2910 .done().done()\ |
| 2911 .required('NULL')\ |
| 2912 .field('FS')\ |
| 2913 .name('FS')\ |
| 2914 .type('file specification')\ |
| 2915 .comment('(Required) The file associated with this annotation.')\ |
| 2916 .done().done()\ |
| 2917 .required('NULL')\ |
| 2918 .field('Contents')\ |
| 2919 .name('Contents')\ |
| 2920 .type('text string')\ |
| 2921 .comment('(Required) The text to be displayed in the pop-up window whe
n the annota-\ntion is opened. Carriage returns may be used to separate the text
into para-\ngraphs.')\ |
| 2922 .done().done()\ |
| 2923 .optional()\ |
| 2924 .field('Name')\ |
| 2925 .name('Name')\ |
| 2926 .type('name')\ |
| 2927 .comment('(Optional) The name of an icon to be used in displaying the
annotation.\nViewer applications should provide predefined icon appearances for
at least\nthe following standard names:\n Graph
PushPin\n Paperclip Tag\nAdditional names ma
y be supported as well. Default value: PushPin.\nNote: The annotation dictionary
\'s AP entry, if present, takes precedence over\nthe Name entry; see Table 8.10
on page 490 and Section 8.4.4, "Appearance\nStreams."')\ |
| 2928 .done().done()\ |
| 2929 .done() |
| 2930 |
| 2931 pdfspec.addClass('SoundAnnotationDictionary', 'Dictionary', 'Additional entrie
s specific to a sound annotation')\ |
| 2932 .required('NULL')\ |
| 2933 .field('Subtype')\ |
| 2934 .name('Subtype')\ |
| 2935 .type('name')\ |
| 2936 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Sound\nfor a sound annotation.')\ |
| 2937 .done().done()\ |
| 2938 .required('NULL')\ |
| 2939 .field('Sound')\ |
| 2940 .name('Sound')\ |
| 2941 .type('stream')\ |
| 2942 .comment('(Required) A sound object defining the sound to be played wh
en the annotation\nis activated (see Section 8.7, "Sounds").')\ |
| 2943 .done().done()\ |
| 2944 .optional()\ |
| 2945 .field('Contents')\ |
| 2946 .name('Contents')\ |
| 2947 .type('text string')\ |
| 2948 .comment('(Optional) Text to be displayed in a pop-up window for the a
nnotation in place\nof the sound, useful when extracting the document\'s content
s in support of\naccessibility to disabled users or for other purposes (see Sect
ion 9.8.2, "Alternate\nDescriptions").')\ |
| 2949 .done().done()\ |
| 2950 .optional()\ |
| 2951 .field('Name')\ |
| 2952 .name('Name')\ |
| 2953 .type('name')\ |
| 2954 .comment('(Optional) The name of an icon to be used in displaying the
annotation. Viewer\napplications should provide predefined icon appearances for
at least the stan-\ndard names Speaker and Microphone; additional names may be s
upported as\nwell. Default value: Speaker.\nNote: The annotation dictionary\'s A
P entry, if present, takes precedence over the\nName entry; see Table 8.10 on pa
ge 490 and Section 8.4.4, "Appearance Streams."')\ |
| 2955 .done().done()\ |
| 2956 .done() |
| 2957 |
| 2958 pdfspec.addClass('MovieAnnotationDictionary', 'Dictionary', 'Additional entrie
s specific to a movie annotation')\ |
| 2959 .required('NULL')\ |
| 2960 .field('Subtype')\ |
| 2961 .name('Subtype')\ |
| 2962 .type('name')\ |
| 2963 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Movie\nfor a movie annotation.')\ |
| 2964 .done().done()\ |
| 2965 .required('NULL')\ |
| 2966 .field('Movie')\ |
| 2967 .name('Movie')\ |
| 2968 .type('dictionary')\ |
| 2969 .comment('(Required) A movie dictionary describing the movie\'s static
characteristics (see\nSection 8.8, "Movies").')\ |
| 2970 .done().done()\ |
| 2971 .optional()\ |
| 2972 .field('Contents')\ |
| 2973 .name('Contents')\ |
| 2974 .type('text string')\ |
| 2975 .comment('(Optional; PDF 1.4) An alternate representation of the annot
ation\'s contents in\nhuman-readable form, useful when extracting the document\'
s contents in sup-\nport of accessibility to disabled users or for other purpose
s (see Section 9.8.2,\n"Alternate Descriptions").')\ |
| 2976 .done().done()\ |
| 2977 .optional()\ |
| 2978 .field('A')\ |
| 2979 .name('A')\ |
| 2980 .type('boolean or dictionary')\ |
| 2981 .comment('(Optional) A flag or dictionary specifying whether and how t
o play the movie\nwhen the annotation is activated. If this value is a dictionar
y, it is a movie activa-\ntion dictionary (see Section 8.8, "Movies") specifying
how to play the movie; if it\nis the boolean value true, the movie should be pl
ayed using default activation\nparameters; if it is false, the movie should not
be played at all. Default value:\ntrue.')\ |
| 2982 .done().done()\ |
| 2983 .done() |
| 2984 |
| 2985 pdfspec.addClass('WidgetAnnotationDictionary', 'Dictionary', 'Additional entri
es specific to a widget annotation')\ |
| 2986 .required('NULL')\ |
| 2987 .field('Subtype')\ |
| 2988 .name('Subtype')\ |
| 2989 .type('name')\ |
| 2990 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Widget\nfor a widget annotation.')\ |
| 2991 .done().done()\ |
| 2992 .optional()\ |
| 2993 .field('Contents')\ |
| 2994 .name('Contents')\ |
| 2995 .type('text string')\ |
| 2996 .comment('(Optional; PDF 1.4) An alternate representation of the annot
ation\'s contents in\nhuman-readable form, useful when extracting the document\'
s contents in sup-\nport of accessibility to disabled users or for other purpose
s (see Section 9.8.2,\n"Alternate Descriptions").')\ |
| 2997 .done().done()\ |
| 2998 .optional()\ |
| 2999 .field('H')\ |
| 3000 .name('H')\ |
| 3001 .type('name')\ |
| 3002 .comment('(Optional) The annotation\'s highlighting mode, the visual e
ffect to be used when\nthe mouse button is pressed or held down inside its activ
e area:\n N (None) No highlighting.\n I (Invert) Invert the contents o
f the annotation rectangle.\n O (Outline) Invert the annotation\'s border.\
n P (Push) Display the annotation\'s down appearance, if any (see Section\n
8.4.4, "Appearance Streams"). If no down appearance is defined, offset\n
the contents of the annotation rectangle to appear as if it were being\n
"pushed" below the surface of the page.\n T (Toggle) Same as P (whi
ch is preferred).\nA highlighting mode other than P overrides any down appearanc
e defined for\nthe annotation. Default value: I.')\ |
| 3003 .done().done()\ |
| 3004 .optional()\ |
| 3005 .field('MK')\ |
| 3006 .name('MK')\ |
| 3007 .type('dictionary')\ |
| 3008 .comment('(Optional) An appearance characteristics dictionary to be us
ed in constructing a\ndynamic appearance stream specifying the annotation\'s vis
ual presentation on\nthe page; see "Variable Text" on page 533 for further discu
ssion.\nNote: The name MK for this entry is of historical significance only and
has no direct\nmeaning.')\ |
| 3009 .done().done()\ |
| 3010 .done() |
| 3011 |
| 3012 pdfspec.addClass('ActionDictionary', 'Dictionary', 'Entries common to all acti
on dictionaries')\ |
| 3013 .optional()\ |
| 3014 .field('Type')\ |
| 3015 .name('Type')\ |
| 3016 .type('name')\ |
| 3017 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if\npresent, must be Action for an action dictionary.')\ |
| 3018 .done().done()\ |
| 3019 .required('NULL')\ |
| 3020 .field('S')\ |
| 3021 .name('S')\ |
| 3022 .type('name')\ |
| 3023 .comment('(Required) The type of action that this dictionary describes
; see Table 8.34\non page 518 for specific values.')\ |
| 3024 .done().done()\ |
| 3025 .optional()\ |
| 3026 .field('Next')\ |
| 3027 .name('Next')\ |
| 3028 .type('dictionary or array')\ |
| 3029 .comment('(Optional; PDF 1.2) The next action, or sequence of actions,
to be per-\nformed after this one. The value is either a single action dictiona
ry or an\narray of action dictionaries to be performed in order; see below for f
ur-\nther discussion.')\ |
| 3030 .done().done()\ |
| 3031 .done() |
| 3032 |
| 3033 pdfspec.addClass('AnnotationActionsDictionary', 'Dictionary', 'Entries in an a
nnotation\'s additional-actions dictionary')\ |
| 3034 .optional()\ |
| 3035 .field('E')\ |
| 3036 .name('E')\ |
| 3037 .type('dictionary')\ |
| 3038 .comment('(Optional; PDF 1.2) An action to be performed when the curso
r enters the annotation\'s\nactive area.')\ |
| 3039 .done().done()\ |
| 3040 .optional()\ |
| 3041 .field('X')\ |
| 3042 .name('X')\ |
| 3043 .type('dictionary')\ |
| 3044 .comment('(Optional; PDF 1.2) An action to be performed when the curso
r exits the annotation\'s\nactive area.')\ |
| 3045 .done().done()\ |
| 3046 .optional()\ |
| 3047 .field('D')\ |
| 3048 .name('D')\ |
| 3049 .type('dictionary')\ |
| 3050 .comment('(Optional; PDF 1.2) An action to be performed when the mouse
button is pressed\ninside the annotation\'s active area. (The name D stands for
"down.")')\ |
| 3051 .done().done()\ |
| 3052 .optional()\ |
| 3053 .field('U')\ |
| 3054 .name('U')\ |
| 3055 .type('dictionary')\ |
| 3056 .comment('(Optional; PDF 1.2) An action to be performed when the mouse
button is released\ninside the annotation\'s active area. (The name U stands fo
r "up.")\nNote: For backward compatibility, the A entry in an annotation diction
ary, if present,\ntakes precedence over this entry (see Table 8.10 on page 490).
')\ |
| 3057 .done().done()\ |
| 3058 .optional()\ |
| 3059 .field('Fo')\ |
| 3060 .name('Fo')\ |
| 3061 .type('dictionary')\ |
| 3062 .comment('(Optional; PDF 1.2; widget annotations only) An action to be
performed when the\nannotation receives the input focus.')\ |
| 3063 .done().done()\ |
| 3064 .optional()\ |
| 3065 .field('Bl')\ |
| 3066 .name('Bl')\ |
| 3067 .type('dictionary')\ |
| 3068 .comment('(Optional; PDF 1.2; widget annotations only) (Uppercase B, l
owercase L) An action to\nbe performed when the annotation loses the input focus
. (The name Bl stands for\n"blurred.")')\ |
| 3069 .done().done()\ |
| 3070 .done() |
| 3071 |
| 3072 pdfspec.addClass('PageObjectActionsDictionary', 'Dictionary', 'Entries in a pa
ge object\'s additional-actions dictionary')\ |
| 3073 .optional()\ |
| 3074 .field('O')\ |
| 3075 .name('O')\ |
| 3076 .type('dictionary')\ |
| 3077 .comment('(Optional; PDF 1.2) An action to be performed when the page
is opened (for example,\nwhen the user navigates to it from the next or previous
page or via a link annotation or\noutline item). This action is independent of
any that may be defined by the Open-\nAction entry in the document catalog (see
Section 3.6.1, "Document Catalog"), and is\nexecuted after such an action. (See
implementation note 72 in Appendix H.)')\ |
| 3078 .done().done()\ |
| 3079 .optional()\ |
| 3080 .field('C')\ |
| 3081 .name('C')\ |
| 3082 .type('dictionary')\ |
| 3083 .comment('(Optional; PDF 1.2) An action to be performed when the page
is closed (for example,\nwhen the user navigates to the next or previous page or
follows a link annotation or an\noutline item). This action applies to the page
being closed, and is executed before any\nother page is opened. (See implementa
tion note 72 in Appendix H.)')\ |
| 3084 .done().done()\ |
| 3085 .done() |
| 3086 |
| 3087 pdfspec.addClass('FormFieldActionsDictionary', 'Dictionary', 'Entries in a for
m field\'s additional-actions dictionary')\ |
| 3088 .optional()\ |
| 3089 .field('K')\ |
| 3090 .name('K')\ |
| 3091 .type('dictionary')\ |
| 3092 .comment('(Optional; PDF 1.3) A JavaScript action to be performed when
the user types a key-\nstroke into a text field or combo box or modifies the se
lection in a scrollable list box.\nThis allows the keystroke to be checked for v
alidity and rejected or modified.')\ |
| 3093 .done().done()\ |
| 3094 .optional()\ |
| 3095 .field('F')\ |
| 3096 .name('F')\ |
| 3097 .type('dictionary')\ |
| 3098 .comment('(Optional; PDF 1.3) A JavaScript action to be performed befo
re the field is formatted\nto display its current value. This allows the field\'
s value to be modified before format-\nting.')\ |
| 3099 .done().done()\ |
| 3100 .optional()\ |
| 3101 .field('V')\ |
| 3102 .name('V')\ |
| 3103 .type('dictionary')\ |
| 3104 .comment('(Optional; PDF 1.3) A JavaScript action to be performed when
the field\'s value is\nchanged. This allows the new value to be checked for val
idity. (The name V stands for\n"validate.")')\ |
| 3105 .done().done()\ |
| 3106 .optional()\ |
| 3107 .field('C')\ |
| 3108 .name('C')\ |
| 3109 .type('dictionary')\ |
| 3110 .comment('(Optional; PDF 1.3) A JavaScript action to be performed in o
rder to recalculate the\nvalue of this field when that of another field changes.
(The name C stands for\n"calculate.") The order in which the document\'s fields
are recalculated is defined by the\nCO entry in the interactive form dictionary
(see Section 8.6.1, "Interactive Form\nDictionary").')\ |
| 3111 .done().done()\ |
| 3112 .done() |
| 3113 |
| 3114 pdfspec.addClass('DocumentCatalogActionsDictionary', 'Dictionary', 'Entries in
the document catalog\'s additional-actions dictionary')\ |
| 3115 .optional()\ |
| 3116 .field('DC')\ |
| 3117 .name('DC')\ |
| 3118 .type('dictionary')\ |
| 3119 .comment('(Optional; PDF 1.4) A JavaScript action to be performed befo
re closing a document.\n(The name DC stands for "document close.")')\ |
| 3120 .done().done()\ |
| 3121 .optional()\ |
| 3122 .field('WS')\ |
| 3123 .name('WS')\ |
| 3124 .type('dictionary')\ |
| 3125 .comment('(Optional; PDF 1.4) A JavaScript action to be performed befo
re saving a document.\n(The name WS stands for "will save.")')\ |
| 3126 .done().done()\ |
| 3127 .optional()\ |
| 3128 .field('DS')\ |
| 3129 .name('DS')\ |
| 3130 .type('dictionary')\ |
| 3131 .comment('(Optional; PDF 1.4) A JavaScript action to be performed afte
r saving a document. (The\nname DS stands for "did save.")')\ |
| 3132 .done().done()\ |
| 3133 .optional()\ |
| 3134 .field('WP')\ |
| 3135 .name('WP')\ |
| 3136 .type('dictionary')\ |
| 3137 .comment('(Optional; PDF 1.4) A JavaScript action to be performed befo
re printing a document.\n(The name WP stands for "will print.")')\ |
| 3138 .done().done()\ |
| 3139 .optional()\ |
| 3140 .field('DP')\ |
| 3141 .name('DP')\ |
| 3142 .type('dictionary')\ |
| 3143 .comment('(Optional; PDF 1.4) A JavaScript action to be performed afte
r printing a document.\n(The name DP stands for "did print.")')\ |
| 3144 .done().done()\ |
| 3145 .done() |
| 3146 |
| 3147 pdfspec.addClass('GoToActionDictionary', 'Dictionary', 'Additional entries spe
cific to a go-to action')\ |
| 3148 .required('NULL')\ |
| 3149 .field('S')\ |
| 3150 .name('S')\ |
| 3151 .type('name')\ |
| 3152 .comment('(Required) The type of action that this dictionary describes
; must be GoTo for a\ngo-to action.')\ |
| 3153 .done().done()\ |
| 3154 .required('NULL')\ |
| 3155 .field('D')\ |
| 3156 .name('D')\ |
| 3157 .type('name, string, or array')\ |
| 3158 .comment('(Required) The destination to jump to (see Section 8.2.1, "D
estinations").')\ |
| 3159 .done().done()\ |
| 3160 .done() |
| 3161 |
| 3162 pdfspec.addClass('RemoteGoToActionDictionary', 'Dictionary', 'Additional entri
es specific to a remote go-to action')\ |
| 3163 .required('NULL')\ |
| 3164 .field('S')\ |
| 3165 .name('S')\ |
| 3166 .type('name')\ |
| 3167 .comment('(Required) The type of action that this dictionary describes
; must be GoToR\nfor a remote go-to action.')\ |
| 3168 .done().done()\ |
| 3169 .required('NULL')\ |
| 3170 .field('F')\ |
| 3171 .name('F')\ |
| 3172 .type('file specification')\ |
| 3173 .comment('(Required) The file in which the destination is located.')\ |
| 3174 .done().done()\ |
| 3175 .required('NULL')\ |
| 3176 .field('D')\ |
| 3177 .name('D')\ |
| 3178 .type('name, string, or array')\ |
| 3179 .comment('(Required) The destination to jump to (see Section 8.2.1, "D
estinations"). If\nthe value is an array defining an explicit destination (as de
scribed under\n"Explicit Destinations" on page 474), its first element must be a
page number\nwithin the remote document rather than an indirect reference to a
page ob-\nject in the current document. The first page is numbered 0.')\ |
| 3180 .done().done()\ |
| 3181 .optional()\ |
| 3182 .field('NewWindow')\ |
| 3183 .name('NewWindow')\ |
| 3184 .type('boolean')\ |
| 3185 .comment('(Optional; PDF 1.2) A flag specifying whether to open the de
stination docu-\nment in a new window. If this flag is false, the destination do
cument will\nreplace the current document in the same window. If this entry is a
bsent,\nthe viewer application should behave in accordance with the current user
\npreference.')\ |
| 3186 .done().done()\ |
| 3187 .done() |
| 3188 |
| 3189 pdfspec.addClass('LaunchActionDictionary', 'Dictionary', 'Additional entries s
pecific to a launch action')\ |
| 3190 .required('NULL')\ |
| 3191 .field('S')\ |
| 3192 .name('S')\ |
| 3193 .type('name')\ |
| 3194 .comment('(Required) The type of action that this dictionary describes
; must be Launch\nfor a launch action.')\ |
| 3195 .done().done()\ |
| 3196 .optional()\ |
| 3197 .field('F')\ |
| 3198 .name('F')\ |
| 3199 .type('file specification')\ |
| 3200 .comment('(Required if none of the entries Win, Mac, or Unix is presen
t) The application to\nbe launched or the document to be opened or printed. If t
his entry is absent\nand the viewer application does not understand any of the a
lternative entries,\nit should do nothing.')\ |
| 3201 .done().done()\ |
| 3202 .optional()\ |
| 3203 .field('Win')\ |
| 3204 .name('Win')\ |
| 3205 .type('dictionary')\ |
| 3206 .comment('(Optional) A dictionary containing Windows-specific launch p
arameters (see\nthe Table 8.38; see also implementation note 73 in Appendix H).'
)\ |
| 3207 .done().done()\ |
| 3208 .optional()\ |
| 3209 .field('Mac')\ |
| 3210 .name('Mac')\ |
| 3211 .type('(undefined)')\ |
| 3212 .comment('(Optional) Mac OS\'specific launch parameters; not yet defin
ed.')\ |
| 3213 .done().done()\ |
| 3214 .optional()\ |
| 3215 .field('Unix')\ |
| 3216 .name('Unix')\ |
| 3217 .type('(undefined)')\ |
| 3218 .comment('(Optional) UNIX-specific launch parameters; not yet defined.
')\ |
| 3219 .done().done()\ |
| 3220 .optional()\ |
| 3221 .field('NewWindow')\ |
| 3222 .name('NewWindow')\ |
| 3223 .type('boolean')\ |
| 3224 .comment('(Optional; PDF 1.2) A flag specifying whether to open the de
stination docu-\nment in a new window. If this flag is false, the destination do
cument will\nreplace the current document in the same window. If this entry is a
bsent, the\nviewer application should behave in accordance with the current user
prefer-\nence. This entry is ignored if the file designated by the F entry is n
ot a PDF\ndocument.')\ |
| 3225 .done().done()\ |
| 3226 .done() |
| 3227 |
| 3228 pdfspec.addClass('WindowsLaunchActionDictionary', 'Dictionary', 'Entries in a
Windows launch parameter dictionary')\ |
| 3229 .required('NULL')\ |
| 3230 .field('F')\ |
| 3231 .name('F')\ |
| 3232 .type('string')\ |
| 3233 .comment('(Required) The file name of the application to be launched o
r the document\nto be opened or printed, in standard Windows pathname format. If
the name\nstring includes a backslash character (\), the backslash must itself
be preceded\nby a backslash.\nNote: This value must be a simple string; it is no
t a file specification.')\ |
| 3234 .done().done()\ |
| 3235 .optional()\ |
| 3236 .field('D')\ |
| 3237 .name('D')\ |
| 3238 .type('string')\ |
| 3239 .comment('(Optional) A string specifying the default directory in stan
dard DOS syntax.')\ |
| 3240 .done().done()\ |
| 3241 .optional()\ |
| 3242 .field('O')\ |
| 3243 .name('O')\ |
| 3244 .type('string')\ |
| 3245 .comment('(Optional) A string specifying the operation to perform:\n
open Open a document.\n print Print a document.\nIf the F entry de
signates an application instead of a document, this entry is ig-\nnored and the
application is launched. Default value: open.')\ |
| 3246 .done().done()\ |
| 3247 .optional()\ |
| 3248 .field('P')\ |
| 3249 .name('P')\ |
| 3250 .type('string')\ |
| 3251 .comment('(Optional) A parameter string to be passed to the applicatio
n designated by\nthe F entry. This entry should be omitted if F designates a doc
ument.')\ |
| 3252 .done().done()\ |
| 3253 .done() |
| 3254 |
| 3255 pdfspec.addClass('ThreadActionDictionary', 'Dictionary', 'Additional entries s
pecific to a thread action')\ |
| 3256 .required('NULL')\ |
| 3257 .field('S')\ |
| 3258 .name('S')\ |
| 3259 .type('name')\ |
| 3260 .comment('(Required) The type of action that this dictionary describes
; must be Thread\nfor a thread action.')\ |
| 3261 .done().done()\ |
| 3262 .optional()\ |
| 3263 .field('F')\ |
| 3264 .name('F')\ |
| 3265 .type('file specification')\ |
| 3266 .comment('(Optional) The file containing the desired thread. If this e
ntry is absent, the\nthread is in the current file.')\ |
| 3267 .done().done()\ |
| 3268 .required('NULL')\ |
| 3269 .field('D')\ |
| 3270 .name('D')\ |
| 3271 .type('dictionary, integer, or text string')\ |
| 3272 .comment('(Required) The desired destination thread, specified in one
of the following\nforms:\n* An indirect reference to a thread dictionary (see S
ection 8.3.2, "Articles").\n In this case, the thread must be in the current f
ile.\n* The index of the thread within the Threads array of its document\'s cat
alog\n (see Section 3.6.1, "Document Catalog"). The first thread in the array
has\n index 0.\n* The title of the thread, as specified in its thread informa
tion dictionary (see\n Table 8.7 on page 484). If two or more threads have the
same title, the one\n appearing first in the document catalog\'s Threads arra
y will be used.')\ |
| 3273 .done().done()\ |
| 3274 .optional()\ |
| 3275 .field('B')\ |
| 3276 .name('B')\ |
| 3277 .type('dictionary or integer')\ |
| 3278 .comment('(Optional) The desired bead in the destination thread, speci
fied in one of the\nfollowing forms:\n* An indirect reference to a bead diction
ary (see Section 8.3.2, "Articles"). In\n this case, the thread must be in the
current file.\n* The index of the bead within its thread. The first bead in a
thread has\n index 0.')\ |
| 3279 .done().done()\ |
| 3280 .done() |
| 3281 |
| 3282 pdfspec.addClass('URIActionDictionary', 'Dictionary', 'Additional entries spec
ific to a URI action')\ |
| 3283 .required('NULL')\ |
| 3284 .field('S')\ |
| 3285 .name('S')\ |
| 3286 .type('name')\ |
| 3287 .comment('(Required) The type of action that this dictionary describes
; must be URI for a URI\naction.')\ |
| 3288 .done().done()\ |
| 3289 .required('NULL')\ |
| 3290 .field('URI')\ |
| 3291 .name('URI')\ |
| 3292 .type('string')\ |
| 3293 .comment('(Required) The uniform resource identifier to resolve, encod
ed in 7-bit ASCII.')\ |
| 3294 .done().done()\ |
| 3295 .optional()\ |
| 3296 .field('IsMap')\ |
| 3297 .name('IsMap')\ |
| 3298 .type('boolean')\ |
| 3299 .comment('(Optional) A flag specifying whether to track the mouse posi
tion when the URI is re-\nsolved (see below). Default value: false.\nThis entry
applies only to actions triggered by the user\'s clicking an annotation; it is\n
ignored for actions associated with outline items or with a document\'s OpenActi
on\nentry.')\ |
| 3300 .done().done()\ |
| 3301 .done() |
| 3302 |
| 3303 pdfspec.addClass('URIDictionary', 'Dictionary', 'Entry in a URI dictionary')\ |
| 3304 .optional()\ |
| 3305 .field('Base')\ |
| 3306 .name('Base')\ |
| 3307 .type('string')\ |
| 3308 .comment('(Optional) The base URI to be used in resolving relative URI
references. URI actions\nwithin the document may specify URIs in partial form,
to be interpreted relative to\nthis base address. If no base URI is specified, s
uch partial URIs will be interpreted rel-\native to the location of the document
itself. The use of this entry is parallel to that of\nthe body element <BASE>,
as described in section 2.7.2 of Internet RFC 1866, Hyper-\ntext Markup Language
2.0 Proposed Standard (see the Bibliography).')\ |
| 3309 .done().done()\ |
| 3310 .done() |
| 3311 |
| 3312 pdfspec.addClass('SoundActionDictionary', 'Dictionary', 'Additional entries sp
ecific to a sound action')\ |
| 3313 .required('NULL')\ |
| 3314 .field('S')\ |
| 3315 .name('S')\ |
| 3316 .type('name')\ |
| 3317 .comment('(Required) The type of action that this dictionary describes
; must be Sound\nfor a sound action.')\ |
| 3318 .done().done()\ |
| 3319 .required('NULL')\ |
| 3320 .field('Sound')\ |
| 3321 .name('Sound')\ |
| 3322 .type('stream')\ |
| 3323 .comment('(Required) A sound object defining the sound to be played (s
ee Section 8.7,\n"Sounds"; see also implementation note 76 in Appendix H).')\ |
| 3324 .done().done()\ |
| 3325 .optional()\ |
| 3326 .field('Volume')\ |
| 3327 .name('Volume')\ |
| 3328 .type('number')\ |
| 3329 .comment('(Optional) The volume at which to play the sound, in the ran
ge -1.0 to 1.0.\nHigher values denote greater volume; negative values mute the s
ound.\nDefault value: 1.0.')\ |
| 3330 .done().done()\ |
| 3331 .optional()\ |
| 3332 .field('Synchronous')\ |
| 3333 .name('Synchronous')\ |
| 3334 .type('boolean')\ |
| 3335 .comment('(Optional) A flag specifying whether to play the sound synch
ronously or\nasynchronously. If this flag is true, the viewer application will r
etain control,\nallowing no further user interaction other than canceling the so
und, until the\nsound has been completely played. Default value: false.')\ |
| 3336 .done().done()\ |
| 3337 .optional()\ |
| 3338 .field('Repeat')\ |
| 3339 .name('Repeat')\ |
| 3340 .type('boolean')\ |
| 3341 .comment('(Optional) A flag specifying whether to repeat the sound ind
efinitely. If this\nentry is present, the Synchronous entry is ignored. Default
value: false.')\ |
| 3342 .done().done()\ |
| 3343 .optional()\ |
| 3344 .field('Mix')\ |
| 3345 .name('Mix')\ |
| 3346 .type('boolean')\ |
| 3347 .comment('(Optional) A flag specifying whether to mix this sound with
any other sound\nalready playing. If this flag is false, any previously playing
sound will be\nstopped before starting this sound; this can be used to stop a re
peating sound\n(see Repeat, above). Default value: false.')\ |
| 3348 .done().done()\ |
| 3349 .done() |
| 3350 |
| 3351 pdfspec.addClass('MovieActionDictionary', 'Dictionary', 'Additional entries sp
ecific to a movie action')\ |
| 3352 .required('NULL')\ |
| 3353 .field('S')\ |
| 3354 .name('S')\ |
| 3355 .type('name')\ |
| 3356 .comment('(Required) The type of action that this dictionary describes
; must be Movie\nfor a movie action.')\ |
| 3357 .done().done()\ |
| 3358 .optional()\ |
| 3359 .field('Annot')\ |
| 3360 .name('Annot')\ |
| 3361 .type('dictionary')\ |
| 3362 .comment('(Optional) An indirect reference to a movie annotation ident
ifying the movie\nto be played.')\ |
| 3363 .done().done()\ |
| 3364 .optional()\ |
| 3365 .field('T')\ |
| 3366 .name('T')\ |
| 3367 .type('text string')\ |
| 3368 .comment('(Optional) The title of a movie annotation identifying the m
ovie to be\nplayed.\nNote: The dictionary must include either an Annot or a T en
try, but not both.')\ |
| 3369 .done().done()\ |
| 3370 .optional()\ |
| 3371 .field('Operation')\ |
| 3372 .name('Operation')\ |
| 3373 .type('name')\ |
| 3374 .comment('(Optional) The operation to be performed on the movie:\n P
lay Start playing the movie, using the play mode specified by the\n
dictionary\'s Mode entry (see Table 8.79 on page 571). If the\n
movie is currently paused, it is repositioned to the beginning\n
before playing (or to the starting point specified by the dic-\n
tionary\'s Start entry, if present).\n Stop Stop playing the
movie.\n Pause Pause a playing movie.\n Resume Resume a paused
movie.\nDefault value: Play.')\ |
| 3375 .done().done()\ |
| 3376 .done() |
| 3377 |
| 3378 pdfspec.addClass('HideActionDictionary', 'Dictionary', 'Additional entries spe
cific to a hide action')\ |
| 3379 .required('NULL')\ |
| 3380 .field('S')\ |
| 3381 .name('S')\ |
| 3382 .type('name')\ |
| 3383 .comment('(Required) The type of action that this dictionary describes
; must be Hide for a hide\naction.')\ |
| 3384 .done().done()\ |
| 3385 .required('NULL')\ |
| 3386 .field('T')\ |
| 3387 .name('T')\ |
| 3388 .type('dictionary, string, or array')\ |
| 3389 .comment('(Required) The annotation or annotations to be hidden or sho
wn, specified in any\nof the following forms:\n* An indirect reference to an an
notation dictionary\n* A string giving the fully qualified field name of an int
eractive form field whose\n associated widget annotation or annotations are to
be affected (see "Field\n Names" on page 532)\n* An array of such dictionari
es or strings')\ |
| 3390 .done().done()\ |
| 3391 .optional()\ |
| 3392 .field('H')\ |
| 3393 .name('H')\ |
| 3394 .type('boolean')\ |
| 3395 .comment('(Optional) A flag indicating whether to hide the annotation
(true) or show it (false).\nDefault value: true.')\ |
| 3396 .done().done()\ |
| 3397 .done() |
| 3398 |
| 3399 pdfspec.addClass('NamedActionsDictionary', 'Dictionary', 'Additional entries s
pecific to named actions')\ |
| 3400 .required('NULL')\ |
| 3401 .field('S')\ |
| 3402 .name('S')\ |
| 3403 .type('name')\ |
| 3404 .comment('(Required) The type of action that this dictionary describes
; must be Named for a named\naction.')\ |
| 3405 .done().done()\ |
| 3406 .required('NULL')\ |
| 3407 .field('N')\ |
| 3408 .name('N')\ |
| 3409 .type('name')\ |
| 3410 .comment('(Required) The name of the action to be performed (see Table
8.45).')\ |
| 3411 .done().done()\ |
| 3412 .done() |
| 3413 |
| 3414 pdfspec.addClass('InteractiveFormDictionary', 'Dictionary', 'Entries in the in
teractive form dictionary')\ |
| 3415 .required('NULL')\ |
| 3416 .field('Fields')\ |
| 3417 .name('Fields')\ |
| 3418 .type('array')\ |
| 3419 .comment('(Required) An array of references to the document\'s root fi
elds (those with\nno ancestors in the field hierarchy).')\ |
| 3420 .done().done()\ |
| 3421 .optional()\ |
| 3422 .field('NeedAppearances')\ |
| 3423 .name('NeedAppearances')\ |
| 3424 .type('boolean')\ |
| 3425 .comment('(Optional) A flag specifying whether to construct appearance
streams and\nappearance dictionaries for all widget annotations in the document
(see\n"Variable Text" on page 533). Default value: false.')\ |
| 3426 .done().done()\ |
| 3427 .optional()\ |
| 3428 .field('SigFlags')\ |
| 3429 .name('SigFlags')\ |
| 3430 .type('integer')\ |
| 3431 .comment('(Optional; PDF 1.3) A set of flags specifying various docume
nt-level char-\nacteristics related to signature fields (see Table 8.48, below,
and "Signature\nFields" on page 547). Default value: 0.')\ |
| 3432 .done().done()\ |
| 3433 .optional()\ |
| 3434 .field('CO')\ |
| 3435 .name('CO')\ |
| 3436 .type('array')\ |
| 3437 .comment('(Required if any fields in the document have additional-acti
ons dictionaries\ncontaining a C entry; PDF 1.3) An array of indirect references
to field dic-\ntionaries with calculation actions, defining the calculation ord
er in which\ntheir values will be recalculated when the value of any field chang
es (see\nSection 8.5.2, "Trigger Events").')\ |
| 3438 .done().done()\ |
| 3439 .optional()\ |
| 3440 .field('DR')\ |
| 3441 .name('DR')\ |
| 3442 .type('dictionary')\ |
| 3443 .comment('(Optional) A document-wide default value for the DR attribut
e of variable\ntext fields (see "Variable Text" on page 533).')\ |
| 3444 .done().done()\ |
| 3445 .optional()\ |
| 3446 .field('DA')\ |
| 3447 .name('DA')\ |
| 3448 .type('string')\ |
| 3449 .comment('(Optional) A document-wide default value for the DA attribut
e of variable\ntext fields (see "Variable Text" on page 533).')\ |
| 3450 .done().done()\ |
| 3451 .optional()\ |
| 3452 .field('Q')\ |
| 3453 .name('Q')\ |
| 3454 .type('integer')\ |
| 3455 .comment('(Optional) A document-wide default value for the Q attribute
of variable\ntext fields (see "Variable Text" on page 533).')\ |
| 3456 .done().done()\ |
| 3457 .done() |
| 3458 |
| 3459 pdfspec.addClass('FieldDictionary', 'Dictionary', 'Entries common to all field
dictionaries')\ |
| 3460 .optional()\ |
| 3461 .field('FT')\ |
| 3462 .name('FT')\ |
| 3463 .type('name')\ |
| 3464 .comment('(Required for terminal fields; inheritable) The type of fiel
d that this dictionary\ndescribes:\n Btn Button (see "Button Fields" o
n page 538)\n Tx Text (see "Text Fields" on page 543)\n Ch
Choice (see "Choice Fields" on page 545)\n Sig (PDF 1.3) Signature (s
ee "Signature Fields" on page 547)\nNote: This entry may be present in a nonterm
inal field (one whose descendants\nare themselves fields) in order to provide an
inheritable FT value. However, a\nnonterminal field does not logically have a t
ype of its own; it is merely a contain-\ner for inheritable attributes that are
intended for descendant terminal fields of\nany type.')\ |
| 3465 .done().done()\ |
| 3466 .optional()\ |
| 3467 .field('Parent')\ |
| 3468 .name('Parent')\ |
| 3469 .type('dictionary')\ |
| 3470 .comment('(Required if this field is the child of another in the field
hierarchy; absent other-\nwise) The field that is the immediate parent of this
one (the field, if any,\nwhose Kids array includes this field). A field can have
at most one parent; that\nis, it can be included in the Kids array of at most o
ne other field.')\ |
| 3471 .done().done()\ |
| 3472 .optional()\ |
| 3473 .field('Kids')\ |
| 3474 .name('Kids')\ |
| 3475 .type('array')\ |
| 3476 .comment('(Optional) An array of indirect references to the immediate
children of this\nfield.')\ |
| 3477 .done().done()\ |
| 3478 .optional()\ |
| 3479 .field('T')\ |
| 3480 .name('T')\ |
| 3481 .type('text string')\ |
| 3482 .comment('(Optional) The partial field name (see "Field Names," below;
see also imple-\nmentation notes 82 and 83 in Appendix H).')\ |
| 3483 .done().done()\ |
| 3484 .optional()\ |
| 3485 .field('TU')\ |
| 3486 .name('TU')\ |
| 3487 .type('text string')\ |
| 3488 .comment('(Optional; PDF 1.3) An alternate field name, to be used in p
lace of the actual\nfield name wherever the field must be identified in the user
interface (such as\nin error or status messages referring to the field). This t
ext is also useful\nwhen extracting the document\'s contents in support of acces
sibility to dis-\nabled users or for other purposes (see Section 9.8.2, "Alterna
te Descrip-\ntions").')\ |
| 3489 .done().done()\ |
| 3490 .optional()\ |
| 3491 .field('TM')\ |
| 3492 .name('TM')\ |
| 3493 .type('text string')\ |
| 3494 .comment('(Optional; PDF 1.3) The mapping name to be used when exporti
ng inter-\nactive form field data from the document.')\ |
| 3495 .done().done()\ |
| 3496 .optional()\ |
| 3497 .field('Ff')\ |
| 3498 .name('Ff')\ |
| 3499 .type('integer')\ |
| 3500 .comment('(Optional; inheritable) A set of flags specifying various ch
aracteristics of the\nfield (see Table 8.50). Default value: 0.')\ |
| 3501 .done().done()\ |
| 3502 .optional()\ |
| 3503 .field('V')\ |
| 3504 .name('V')\ |
| 3505 .type('(various)')\ |
| 3506 .comment('(Optional; inheritable) The field\'s value, whose format var
ies depending on\nthe field type; see the descriptions of individual field types
for further infor-\nmation.')\ |
| 3507 .done().done()\ |
| 3508 .optional()\ |
| 3509 .field('DV')\ |
| 3510 .name('DV')\ |
| 3511 .type('(various)')\ |
| 3512 .comment('(Optional; inheritable) The default value to which the field
reverts when a\nreset-form action is executed (see "Reset-Form Actions" on page
554). The\nformat of this value is the same as that of V.')\ |
| 3513 .done().done()\ |
| 3514 .optional()\ |
| 3515 .field('AA')\ |
| 3516 .name('AA')\ |
| 3517 .type('dictionary')\ |
| 3518 .comment('(Optional; PDF 1.2) An additional-actions dictionary definin
g the field\'s\nbehavior in response to various trigger events (see Section 8.5.
2, "Trigger\nEvents"). This entry has exactly the same meaning as the AA entry i
n an\nannotation dictionary (see Section 8.4.1, "Annotation Dictionaries").')\ |
| 3519 .done().done()\ |
| 3520 .done() |
| 3521 |
| 3522 pdfspec.addClass('VariableTextFieldDictionary', 'Dictionary', 'Additional entr
ies common to all fields containing variable text')\ |
| 3523 .required('NULL')\ |
| 3524 .field('DR')\ |
| 3525 .name('DR')\ |
| 3526 .type('dictionary')\ |
| 3527 .comment('(Required; inheritable) A resource dictionary (see Section 3
.7.2, "Resource Diction-\naries") containing default resources (such as fonts, p
atterns, or color spaces) to be used\nby the appearance stream. At a minimum, th
is dictionary must contain a Font entry\nspecifying the resource name and font d
ictionary of the default font for displaying the\nfield\'s text. (See implementa
tion note 84 in Appendix H.)')\ |
| 3528 .done().done()\ |
| 3529 .required('NULL')\ |
| 3530 .field('DA')\ |
| 3531 .name('DA')\ |
| 3532 .type('string')\ |
| 3533 .comment('(Required; inheritable) The default appearance string, conta
ining a sequence of valid\npage-content graphics or text state operators definin
g such properties as the field\'s text\nsize and color.')\ |
| 3534 .done().done()\ |
| 3535 .optional()\ |
| 3536 .field('Q')\ |
| 3537 .name('Q')\ |
| 3538 .type('integer')\ |
| 3539 .comment('(Optional; inheritable) A code specifying the form of quaddi
ng (justification) to be\nused in displaying the text:\n 0 Left-justified\
n 1 Centered\n 2 Right-justified\nDefault value: 0 (left-justified).
')\ |
| 3540 .done().done()\ |
| 3541 .done() |
| 3542 |
| 3543 pdfspec.addClass('AppearanceCharacteristicsDictionary', 'Dictionary', 'Entries
in an appearance characteristics dictionary')\ |
| 3544 .optional()\ |
| 3545 .field('R')\ |
| 3546 .name('R')\ |
| 3547 .type('integer')\ |
| 3548 .comment('(Optional) The number of degrees by which the widget annotat
ion is rotated\ncounterclockwise relative to the page. The value must be a multi
ple of 90.\nDefault value: 0.')\ |
| 3549 .done().done()\ |
| 3550 .optional()\ |
| 3551 .field('BC')\ |
| 3552 .name('BC')\ |
| 3553 .type('array')\ |
| 3554 .comment('(Optional) An array of numbers in the range 0.0 to 1.0 speci
fying the color of the\nwidget annotation\'s border. The number of array element
s determines the color\nspace in which the color is defined:\n 0 No color;
transparent\n 1 DeviceGray\n 3 DeviceRGB\n 4 DeviceCMYK')\ |
| 3555 .done().done()\ |
| 3556 .optional()\ |
| 3557 .field('BG')\ |
| 3558 .name('BG')\ |
| 3559 .type('array')\ |
| 3560 .comment('(Optional) An array of numbers in the range 0.0 to 1.0 speci
fying the color of the\nwidget annotation\'s background. The number of array ele
ments determines the\ncolor space, as described above for BC.')\ |
| 3561 .done().done()\ |
| 3562 .optional()\ |
| 3563 .field('CA')\ |
| 3564 .name('CA')\ |
| 3565 .type('text string')\ |
| 3566 .comment('(Optional; button fields only) The widget annotation\'s norm
al caption, displayed\nwhen it is not interacting with the user.\nNote: Unlike t
he remaining entries listed below, which apply only to widget annota-\ntions ass
ociated with pushbutton fields (see "Pushbuttons" on page 539), the CA\nentry ca
n be used with any type of button field, including checkboxes ("Checkboxes"\non
page 539) and radio buttons ("Radio Buttons" on page 540).')\ |
| 3567 .done().done()\ |
| 3568 .optional()\ |
| 3569 .field('RC')\ |
| 3570 .name('RC')\ |
| 3571 .type('text string')\ |
| 3572 .comment('(Optional; pushbutton fields only) The widget annotation\'s
rollover caption, dis-\nplayed when the user rolls the cursor into its active ar
ea without pressing the\nmouse button.')\ |
| 3573 .done().done()\ |
| 3574 .optional()\ |
| 3575 .field('AC')\ |
| 3576 .name('AC')\ |
| 3577 .type('text string')\ |
| 3578 .comment('(Optional; pushbutton fields only) The widget annotation\'s
alternate (down)\ncaption, displayed when the mouse button is pressed within its
active area.')\ |
| 3579 .done().done()\ |
| 3580 .optional()\ |
| 3581 .field('I')\ |
| 3582 .name('I')\ |
| 3583 .type('stream')\ |
| 3584 .comment('(Optional; pushbutton fields only; must be an indirect refer
ence) A form XObject\ndefining the widget annotation\'s normal icon, displayed w
hen it is not inter-\nacting with the user.')\ |
| 3585 .done().done()\ |
| 3586 .optional()\ |
| 3587 .field('RI')\ |
| 3588 .name('RI')\ |
| 3589 .type('stream')\ |
| 3590 .comment('(Optional; pushbutton fields only; must be an indirect refer
ence) A form XObject\ndefining the widget annotation\'s rollover icon, displayed
when the user rolls the\ncursor into its active area without pressing the mouse
button.')\ |
| 3591 .done().done()\ |
| 3592 .optional()\ |
| 3593 .field('IX')\ |
| 3594 .name('IX')\ |
| 3595 .type('stream')\ |
| 3596 .comment('(Optional; pushbutton fields only; must be an indirect refer
ence) A form XObject\ndefining the widget annotation\'s alternate (down) icon, d
isplayed when the\nmouse button is pressed within its active area.')\ |
| 3597 .done().done()\ |
| 3598 .optional()\ |
| 3599 .field('IF')\ |
| 3600 .name('IF')\ |
| 3601 .type('dictionary')\ |
| 3602 .comment('(Optional; pushbutton fields only) An icon fit dictionary (s
ee Table 8.73 on page\n566) specifying how to display the widget annotation\'s i
con within its\nannotation rectangle. If present, the icon fit dictionary applie
s to all of the anno-\ntation\'s icons (normal, rollover, and alternate).')\ |
| 3603 .done().done()\ |
| 3604 .optional()\ |
| 3605 .field('TP')\ |
| 3606 .name('TP')\ |
| 3607 .type('integer')\ |
| 3608 .comment('(Optional; pushbutton fields only) A code indicating where t
o position the text of\nthe widget annotation\'s caption relative to its icon:\n
0 No icon; caption only\n 1 No caption; icon only\n 2 Caption
below the icon\n 3 Caption above the icon\n 4 Caption to the right
of the icon\n 5 Caption to the left of the icon\n 6 Caption overlaid
directly on the icon\nDefault value: 0.')\ |
| 3609 .done().done()\ |
| 3610 .done() |
| 3611 |
| 3612 pdfspec.addClass('CheckboxFieldDictionary', 'Dictionary', 'Additional entry sp
ecific to a checkbox field')\ |
| 3613 .optional()\ |
| 3614 .field('Opt')\ |
| 3615 .name('Opt')\ |
| 3616 .type('text string')\ |
| 3617 .comment('(Optional; inheritable; PDF 1.4) A text string to be used in
place of the V entry for the\nvalue of the field.')\ |
| 3618 .done().done()\ |
| 3619 .done() |
| 3620 |
| 3621 pdfspec.addClass('RadioButtonFieldDictionary', 'Dictionary', 'Additional entry
specific to a radio button field')\ |
| 3622 .optional()\ |
| 3623 .field('Opt')\ |
| 3624 .name('Opt')\ |
| 3625 .type('array')\ |
| 3626 .comment('(Optional; inheritable; PDF 1.4) An array of text strings to
be used in\nplace of the V entries for the values of the widget annotations rep
re-\nsenting the individual radio buttons. Each element in the array repre-\nsen
ts the export value of the corresponding widget annotation in the\nKids array of
the radio button field.')\ |
| 3627 .done().done()\ |
| 3628 .done() |
| 3629 |
| 3630 pdfspec.addClass('TextFieldDictionary', 'Dictionary', 'Additional entry specif
ic to a text field')\ |
| 3631 .optional()\ |
| 3632 .field('MaxLen')\ |
| 3633 .name('MaxLen')\ |
| 3634 .type('integer')\ |
| 3635 .comment('(Optional; inheritable) The maximum length of the field\'s t
ext, in characters.')\ |
| 3636 .done().done()\ |
| 3637 .done() |
| 3638 |
| 3639 pdfspec.addClass('ChoiceFieldDictionary', 'Dictionary', 'Additional entries sp
ecific to a choice field')\ |
| 3640 .required('NULL')\ |
| 3641 .field('Opt')\ |
| 3642 .name('Opt')\ |
| 3643 .type('array')\ |
| 3644 .comment('(Required; inheritable) An array of options to be presented
to the user. Each element of\nthe array is either a text string representing one
of the available options or a two-element\narray consisting of a text string to
gether with a default appearance string for construct-\ning the item\'s appearan
ce dynamically at viewing time (see "Variable Text" on page 533;\nsee also imple
mentation note 85 in Appendix H).')\ |
| 3645 .done().done()\ |
| 3646 .optional()\ |
| 3647 .field('TI')\ |
| 3648 .name('TI')\ |
| 3649 .type('integer')\ |
| 3650 .comment('(Optional; inheritable) For scrollable list boxes, the top i
ndex (the index in the Opt array\nof the first option visible in the list).')\ |
| 3651 .done().done()\ |
| 3652 .optional()\ |
| 3653 .field('I')\ |
| 3654 .name('I')\ |
| 3655 .type('array')\ |
| 3656 .comment('(Sometimes required, otherwise optional; inheritable; PDF 1.
4) For choice fields that allow\nmultiple selection (MultiSelect flag set), an a
rray of integers, sorted in ascending order,\nrepresenting the zero-based indice
s in the Opt array of the currently selected option\nitems. This entry is requir
ed when two or more elements in the Opt array have different\nnames but the same
export value, or when the value of the choice field is an array; in\nother case
s, it is permitted but not required. If the items identified by this entry diffe
r\nfrom those in the V entry of the field dictionary (see below), the V entry ta
kes precedence.')\ |
| 3657 .done().done()\ |
| 3658 .done() |
| 3659 |
| 3660 pdfspec.addClass('SignatureDictionary', 'Dictionary', 'Entries in a signature
dictionary')\ |
| 3661 .optional()\ |
| 3662 .field('Type')\ |
| 3663 .name('Type')\ |
| 3664 .type('name')\ |
| 3665 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present,\nmust be Sig for a signature dictionary.')\ |
| 3666 .done().done()\ |
| 3667 .required('NULL')\ |
| 3668 .field('Filter')\ |
| 3669 .name('Filter')\ |
| 3670 .type('name')\ |
| 3671 .comment('(Required; inheritable) The name of the signature handler to
be used for\nauthenticating the field\'s contents, such as Adobe.PPKLite, Entru
st.PPKEF,\nCICI.SignIt, or VeriSign.PPKVS.')\ |
| 3672 .done().done()\ |
| 3673 .optional()\ |
| 3674 .field('SubFilter')\ |
| 3675 .name('SubFilter')\ |
| 3676 .type('name')\ |
| 3677 .comment('(Optional) The name of a specific submethod of the specified
handler.')\ |
| 3678 .done().done()\ |
| 3679 .required('NULL')\ |
| 3680 .field('ByteRange')\ |
| 3681 .name('ByteRange')\ |
| 3682 .type('array')\ |
| 3683 .comment('(Required) An array of pairs of integers (starting byte offs
et, length in bytes)\ndescribing the exact byte range for the digest calculation
. Multiple discontig-\nuous byte ranges may be used to describe a digest that do
es not include the\nsignature token itself.')\ |
| 3684 .done().done()\ |
| 3685 .required('NULL')\ |
| 3686 .field('Contents')\ |
| 3687 .name('Contents')\ |
| 3688 .type('string')\ |
| 3689 .comment('(Required) The encrypted signature token.')\ |
| 3690 .done().done()\ |
| 3691 .optional()\ |
| 3692 .field('Name')\ |
| 3693 .name('Name')\ |
| 3694 .type('text string')\ |
| 3695 .comment('(Optional) The name of the person or authority signing the d
ocument.')\ |
| 3696 .done().done()\ |
| 3697 .optional()\ |
| 3698 .field('M')\ |
| 3699 .name('M')\ |
| 3700 .type('date')\ |
| 3701 .comment('(Optional) The time of signing. Depending on the signature h
andler, this\nmay be a normal unverified computer time or a time generated in a
verifiable\nway from a secure time server.')\ |
| 3702 .done().done()\ |
| 3703 .optional()\ |
| 3704 .field('Location')\ |
| 3705 .name('Location')\ |
| 3706 .type('text string')\ |
| 3707 .comment('(Optional) The CPU host name or physical location of the sig
ning.')\ |
| 3708 .done().done()\ |
| 3709 .optional()\ |
| 3710 .field('Reason')\ |
| 3711 .name('Reason')\ |
| 3712 .type('text string')\ |
| 3713 .comment('(Optional) The reason for the signing, such as (I agree...).
')\ |
| 3714 .done().done()\ |
| 3715 .done() |
| 3716 |
| 3717 pdfspec.addClass('SubmitFormActionDictionary', 'Dictionary', 'Additional entri
es specific to a submit-form action')\ |
| 3718 .required('NULL')\ |
| 3719 .field('S')\ |
| 3720 .name('S')\ |
| 3721 .type('name')\ |
| 3722 .comment('(Required) The type of action that this dictionary describes
; must\nbe SubmitForm for a submit-form action.')\ |
| 3723 .done().done()\ |
| 3724 .required('NULL')\ |
| 3725 .field('F')\ |
| 3726 .name('F')\ |
| 3727 .type('file specification')\ |
| 3728 .comment('(Required) A URL file specification (see Section 3.10.4, "UR
L Speci-\nfications") giving the uniform resource locator (URL) of the script\na
t the Web server that will process the submission.')\ |
| 3729 .done().done()\ |
| 3730 .optional()\ |
| 3731 .field('Fields')\ |
| 3732 .name('Fields')\ |
| 3733 .type('array')\ |
| 3734 .comment('(Optional) An array identifying which fields to include in t
he sub-\nmission or which to exclude, depending on the setting of the\nInclude/E
xclude flag in the Flags entry (see Table 8.62). Each ele-\nment of the array is
either an indirect reference to a field dictionary\nor (PDF 1.3) a string repre
senting the fully qualified name of a field.\nElements of both kinds may be mixe
d in the same array.\nIf this entry is omitted, the Include/Exclude flag is igno
red; all fields\nin the document\'s interactive form are submitted except those\
nwhose NoExport flag (see Table 8.50 on page 532) is set. (Fields\nwith no value
s may also be excluded, depending on the setting of\nthe IncludeNoValueFields fl
ag; see Table 8.62.) See the text follow-\ning Table 8.62 for further discussion
.')\ |
| 3735 .done().done()\ |
| 3736 .optional()\ |
| 3737 .field('Flags')\ |
| 3738 .name('Flags')\ |
| 3739 .type('integer')\ |
| 3740 .comment('(Optional; inheritable) A set of flags specifying various ch
aracteris-\ntics of the action (see Table 8.62). Default value: 0.')\ |
| 3741 .done().done()\ |
| 3742 .done() |
| 3743 |
| 3744 pdfspec.addClass('ResetFormActionDictionary', 'Dictionary', 'Additional entrie
s specific to a reset-form action')\ |
| 3745 .required('NULL')\ |
| 3746 .field('S')\ |
| 3747 .name('S')\ |
| 3748 .type('name')\ |
| 3749 .comment('(Required) The type of action that this dictionary describes
; must be\nResetForm for a reset-form action.')\ |
| 3750 .done().done()\ |
| 3751 .optional()\ |
| 3752 .field('Fields')\ |
| 3753 .name('Fields')\ |
| 3754 .type('array')\ |
| 3755 .comment('(Optional) An array identifying which fields to reset or whi
ch to exclude\nfrom resetting, depending on the setting of the Include/Exclude f
lag in\nthe Flags entry (see Table 8.64). Each element of the array is either an
in-\ndirect reference to a field dictionary or (PDF 1.3) a string representing\
nthe fully qualified name of a field. Elements of both kinds may be mixed\nin th
e same array.\nIf this entry is omitted, the Include/Exclude flag is ignored; al
l fields in\nthe document\'s interactive form are reset.')\ |
| 3756 .done().done()\ |
| 3757 .optional()\ |
| 3758 .field('Flags')\ |
| 3759 .name('Flags')\ |
| 3760 .type('integer')\ |
| 3761 .comment('(Optional; inheritable) A set of flags specifying various ch
aracteristics of\nthe action (see Table 8.64). Default value: 0.')\ |
| 3762 .done().done()\ |
| 3763 .done() |
| 3764 |
| 3765 pdfspec.addClass('ImportDataActionDictionary', 'Dictionary', 'Additional entri
es specific to an import-data action')\ |
| 3766 .required('NULL')\ |
| 3767 .field('S')\ |
| 3768 .name('S')\ |
| 3769 .type('name')\ |
| 3770 .comment('(Required) The type of action that this dictionary describes
; must be ImportData\nfor an import-data action.')\ |
| 3771 .done().done()\ |
| 3772 .required('NULL')\ |
| 3773 .field('F')\ |
| 3774 .name('F')\ |
| 3775 .type('file specification')\ |
| 3776 .comment('(Required) The FDF file from which to import the data. (See
implementation\nnotes 87 and 88 in Appendix H.)')\ |
| 3777 .done().done()\ |
| 3778 .done() |
| 3779 |
| 3780 pdfspec.addClass('JavascriptActionDictionary', 'Dictionary', 'Additional entri
es specific to a JavaScript action')\ |
| 3781 .required('NULL')\ |
| 3782 .field('S')\ |
| 3783 .name('S')\ |
| 3784 .type('name')\ |
| 3785 .comment('(Required) The type of action that this dictionary describes
; must be JavaScript\nfor a JavaScript action.')\ |
| 3786 .done().done()\ |
| 3787 .required('NULL')\ |
| 3788 .field('JS')\ |
| 3789 .name('JS')\ |
| 3790 .type('string or stream')\ |
| 3791 .comment('(Required) A string or stream containing the JavaScript scri
pt to be executed.\nNote: PDFDocEncoding or Unicode encoding (the latter identif
ied by the Unicode\nprefix U+ FEFF) is used to encode the contents of the string
or stream. (See imple-\nmentation note 89 in Appendix H.)')\ |
| 3792 .done().done()\ |
| 3793 .done() |
| 3794 |
| 3795 pdfspec.addClass('FDFTrailerDictionary', 'Dictionary', 'Entry in the FDF trail
er dictionary')\ |
| 3796 .optional()\ |
| 3797 .field('Root')\ |
| 3798 .name('Root')\ |
| 3799 .type('dictionary')\ |
| 3800 .comment('(Required; must be an indirect reference) The catalog object
for this FDF file (see\n"FDF Catalog," below).')\ |
| 3801 .done().done()\ |
| 3802 .done() |
| 3803 |
| 3804 pdfspec.addClass('FDFCatalogDictionary', 'Dictionary', 'Entries in the FDF cat
alog dictionary')\ |
| 3805 .optional()\ |
| 3806 .field('Version')\ |
| 3807 .name('Version')\ |
| 3808 .type('name')\ |
| 3809 .comment('(Optional; PDF 1.4) The version of the PDF specification to
which\nthis FDF file conforms (for example, 1.4), if later than the version\nspe
cified in the file\'s header (see "FDF Header" on page 559). If the\nheader spec
ifies a later version, or if this entry is absent, the docu-\nment conforms to t
he version specified in the header.\nNote: The value of this entry is a name obj
ect, not a number, and so\nmust be preceded by a slash character (/) when writte
n in the FDF file\n(for example, /1.4).')\ |
| 3810 .done().done()\ |
| 3811 .required('NULL')\ |
| 3812 .field('FDF')\ |
| 3813 .name('FDF')\ |
| 3814 .type('dictionary')\ |
| 3815 .comment('(Required) The FDF dictionary for this file (see Table 8.69)
.')\ |
| 3816 .done().done()\ |
| 3817 .done() |
| 3818 |
| 3819 pdfspec.addClass('FDFDictionary', 'Dictionary', 'Entries in the FDF dictionary
')\ |
| 3820 .optional()\ |
| 3821 .field('F')\ |
| 3822 .name('F')\ |
| 3823 .type('file specification')\ |
| 3824 .comment('(Optional) The source file or target file: the PDF document
file that\nthis FDF file was exported from or is intended to be imported into.')
\ |
| 3825 .done().done()\ |
| 3826 .optional()\ |
| 3827 .field('ID')\ |
| 3828 .name('ID')\ |
| 3829 .type('array')\ |
| 3830 .comment('(Optional) An array of two strings constituting a file ident
ifier (see\nSection 9.3, "File Identifiers") for the source or target file desig
nated\nby F, taken from the ID entry in the file\'s trailer dictionary (see Sec-
\ntion 3.4.4, "File Trailer").')\ |
| 3831 .done().done()\ |
| 3832 .optional()\ |
| 3833 .field('Fields')\ |
| 3834 .name('Fields')\ |
| 3835 .type('array')\ |
| 3836 .comment('(Optional) An array of FDF field dictionaries (see "FDF Fiel
ds" on\npage 564) describing the root fields (those with no ancestors in\nthe fi
eld hierarchy) to be exported or imported. This entry and\nthe Pages entry may n
ot both be present.')\ |
| 3837 .done().done()\ |
| 3838 .optional()\ |
| 3839 .field('Status')\ |
| 3840 .name('Status')\ |
| 3841 .type('string')\ |
| 3842 .comment('(Optional) A status string to be displayed indicating the re
sult of an\naction, typically a submit-form action (see "Submit-Form Actions"\no
n page 550). The string is encoded with PDFDocEncoding. (See\nimplementation not
e 91 in Appendix H.) This entry and the Pages\nentry may not both be present.')\ |
| 3843 .done().done()\ |
| 3844 .optional()\ |
| 3845 .field('Pages')\ |
| 3846 .name('Pages')\ |
| 3847 .type('array')\ |
| 3848 .comment('(Optional; PDF 1.3) An array of FDF page dictionaries (see "
FDF\nPages" on page 566) describing new pages to be added to a PDF\ntarget docum
ent. The Fields and Status entries may not be present\ntogether with this entry.
')\ |
| 3849 .done().done()\ |
| 3850 .optional()\ |
| 3851 .field('Encoding')\ |
| 3852 .name('Encoding')\ |
| 3853 .type('name')\ |
| 3854 .comment('(Optional; PDF 1.3) The encoding to be used for any FDF fiel
d\nvalue or option (V or Opt in the field dictionary; see Table 8.72 on\npage 56
4) that is a string and does not begin with the Unicode pre-\nfix U+FEFF. (See i
mplementation note 92 in Appendix H.) Default\nvalue: PDFDocEncoding.')\ |
| 3855 .done().done()\ |
| 3856 .optional()\ |
| 3857 .field('Annots')\ |
| 3858 .name('Annots')\ |
| 3859 .type('array')\ |
| 3860 .comment('(Optional; PDF 1.3) An array of FDF annotation dictionaries
(see\n"FDF Annotation Dictionaries" on page 568). The array can in-\nclude annot
ations of any of the standard types listed in Table 8.14\non page 499 except Lin
k, Movie, Widget, PrinterMark, and TrapNet.')\ |
| 3861 .done().done()\ |
| 3862 .optional()\ |
| 3863 .field('Differences')\ |
| 3864 .name('Differences')\ |
| 3865 .type('stream')\ |
| 3866 .comment('(Optional; PDF 1.4) A stream containing all the bytes in all
incre-\nmental updates made to the underlying PDF document since it was\nopened
(see Section 3.4.5, "Incremental Updates"). If a submit-\nform action submittin
g the document to a remote server in FDF\nformat has its IncludeAppendSaves flag
set (see "Submit-Form\nActions" on page 550), the contents of this stream are i
ncluded in\nthe submission. This allows any digital signatures (see "Signature\n
Fields" on page 547) to be transmitted to the server. An incremental\nupdate is
automatically performed just before the submission takes\nplace, in order to cap
ture all changes made to the document. Note\nthat the submission always includes
the full set of incremental up-\ndates back to the time the document was first
opened, even if some\nof them may already have been included in intervening subm
issions.\nNote: Although a Fields or Annots entry (or both) may be present\nalon
g with Differences, there is no guarantee that their contents will be\nconsisten
t with it. In particular, if Differences contains a digital signa-\nture, only t
he values of the form fields given in the Differences stream\ncan be considered
trustworthy under that signature.')\ |
| 3867 .done().done()\ |
| 3868 .optional()\ |
| 3869 .field('Target')\ |
| 3870 .name('Target')\ |
| 3871 .type('string')\ |
| 3872 .comment('(Optional; PDF 1.4) The name of a browser frame in which the
un-\nderlying PDF document is to be opened. This mimics the behavior\nof the ta
rget attribute in HTML <href> tags.')\ |
| 3873 .done().done()\ |
| 3874 .optional()\ |
| 3875 .field('EmbeddedFDFs')\ |
| 3876 .name('EmbeddedFDFs')\ |
| 3877 .type('array')\ |
| 3878 .comment('(Optional; PDF 1.4) An array of file specifications (see Sec
tion 3.10,\n"File Specifications") representing other FDF files embedded with-\n
in this one (Section 3.10.3, "Embedded File Streams").')\ |
| 3879 .done().done()\ |
| 3880 .optional()\ |
| 3881 .field('JavaScript')\ |
| 3882 .name('JavaScript')\ |
| 3883 .type('dictionary')\ |
| 3884 .comment('(Optional; PDF 1.4) A JavaScript dictionary (see Table 8.71)
defin-\ning document-level JavaScript scripts.')\ |
| 3885 .done().done()\ |
| 3886 .done() |
| 3887 |
| 3888 pdfspec.addClass('EncryptedEmbeddedFileStreamDictionary', 'Dictionary', 'Addit
ional entry in an embedded file stream dictionary for an encrypted FDF file')\ |
| 3889 .optional()\ |
| 3890 .field('EncryptionRevision')\ |
| 3891 .name('EncryptionRevision')\ |
| 3892 .type('integer')\ |
| 3893 .comment('(Required if the FDF file is encrypted; PDF 1.4) The revisio
n number of the\nFDF encryption algorithm used to encrypt the file. The only val
id value\ndefined at the time of publication is 1.')\ |
| 3894 .done().done()\ |
| 3895 .done() |
| 3896 |
| 3897 pdfspec.addClass('JavascriptDictionary', 'Dictionary', 'Entries in the JavaScr
ipt dictionary')\ |
| 3898 .optional()\ |
| 3899 .field('Before')\ |
| 3900 .name('Before')\ |
| 3901 .type('string or stream')\ |
| 3902 .comment('(Optional) A string or stream containing a JavaScript script
to be executed\njust before the FDF file is imported.')\ |
| 3903 .done().done()\ |
| 3904 .optional()\ |
| 3905 .field('After')\ |
| 3906 .name('After')\ |
| 3907 .type('string or stream')\ |
| 3908 .comment('(Optional) A string or stream containing a JavaScript script
to be executed\njust after the FDF file is imported.')\ |
| 3909 .done().done()\ |
| 3910 .optional()\ |
| 3911 .field('Doc')\ |
| 3912 .name('Doc')\ |
| 3913 .type('array')\ |
| 3914 .comment('(Optional) An array defining additional JavaScript scripts t
o be added to\nthose defined in the JavaScript entry of the document\'s name dic
tionary (see\nSection 3.6.3, "Name Dictionary"). The array contains an even numb
er of\nelements, organized in pairs. The first element of each pair is a name an
d the\nsecond is a string or stream defining the script corresponding to that na
me.\nEach of the defined scripts will be added to those already defined in the n
ame\ndictionary and then executed before the script defined in the Before entry
is\nexecuted. As described in "JavaScript Actions" on page 556, these scripts ar
e\nused to define JavaScript functions for use by other scripts in the document.
')\ |
| 3915 .done().done()\ |
| 3916 .done() |
| 3917 |
| 3918 pdfspec.addClass('FDFFieldDictionary', 'Dictionary', 'Entries in an FDF field
dictionary')\ |
| 3919 .optional()\ |
| 3920 .field('Kids')\ |
| 3921 .name('Kids')\ |
| 3922 .type('array')\ |
| 3923 .comment('(Optional) An array containing the immediate children of thi
s field.\nNote: Unlike the children of fields in a PDF file, which must be speci
fied as indirect\nobject references, those of an FDF field may be either direct
or indirect objects.')\ |
| 3924 .done().done()\ |
| 3925 .required('NULL')\ |
| 3926 .field('T')\ |
| 3927 .name('T')\ |
| 3928 .type('text string')\ |
| 3929 .comment('(Required) The partial field name (see "Field Names" on page
532).')\ |
| 3930 .done().done()\ |
| 3931 .optional()\ |
| 3932 .field('V')\ |
| 3933 .name('V')\ |
| 3934 .type('(various)')\ |
| 3935 .comment('(Optional) The field\'s value, whose format varies depending
on the field type; see\nthe descriptions of individual field types in Section 8
.6.3 for further information.')\ |
| 3936 .done().done()\ |
| 3937 .optional()\ |
| 3938 .field('Ff')\ |
| 3939 .name('Ff')\ |
| 3940 .type('integer')\ |
| 3941 .comment('(Optional) A set of flags specifying various characteristics
of the field (see Tables\n8.50 on page 532, 8.53 on page 538, 8.56 on page 543,
and 8.58 on page 546). When\nimported into an interactive form, the value of th
is entry replaces that of the Ff\nentry in the form\'s corresponding field dicti
onary. If this field is present, the SetFf\nand ClrFf entries, if any, are ignor
ed.')\ |
| 3942 .done().done()\ |
| 3943 .optional()\ |
| 3944 .field('SetFf')\ |
| 3945 .name('SetFf')\ |
| 3946 .type('integer')\ |
| 3947 .comment('(Optional) A set of flags to be set (turned on) in the Ff en
try of the form\'s cor-\nresponding field dictionary. Bits equal to 1 in SetFf c
ause the corresponding bits in\nFf to be set to 1. This entry is ignored if an F
f entry is present in the FDF field\ndictionary.')\ |
| 3948 .done().done()\ |
| 3949 .optional()\ |
| 3950 .field('ClrFf')\ |
| 3951 .name('ClrFf')\ |
| 3952 .type('integer')\ |
| 3953 .comment('(Optional) A set of flags to be cleared (turned off) in the
Ff entry of the form\'s cor-\nresponding field dictionary. Bits equal to 1 in Cl
rFf cause the corresponding bits in\nFf to be set to 0. If a SetFf entry is also
present in the FDF field dictionary, it is\napplied before this entry. This ent
ry is ignored if an Ff entry is present in the FDF\nfield dictionary.')\ |
| 3954 .done().done()\ |
| 3955 .optional()\ |
| 3956 .field('F')\ |
| 3957 .name('F')\ |
| 3958 .type('integer')\ |
| 3959 .comment('(Optional) A set of flags specifying various characteristics
of the field\'s widget anno-\ntation (see Section 8.4.2, "Annotation Flags"). W
hen imported into an interactive\nform, the value of this entry replaces that of
the F entry in the form\'s corresponding\nannotation dictionary. If this field
is present, the SetF and ClrF entries, if any, are\nignored.')\ |
| 3960 .done().done()\ |
| 3961 .optional()\ |
| 3962 .field('SetF')\ |
| 3963 .name('SetF')\ |
| 3964 .type('integer')\ |
| 3965 .comment('(Optional) A set of flags to be set (turned on) in the F ent
ry of the form\'s corre-\nsponding widget annotation dictionary. Bits equal to 1
in SetF cause the corre-\nsponding bits in F to be set to 1. This entry is igno
red if an F entry is present in the\nFDF field dictionary.')\ |
| 3966 .done().done()\ |
| 3967 .optional()\ |
| 3968 .field('ClrF')\ |
| 3969 .name('ClrF')\ |
| 3970 .type('integer')\ |
| 3971 .comment('(Optional) A set of flags to be cleared (turned off) in the
F entry of the form\'s corre-\nsponding widget annotation dictionary. Bits equal
to 1 in ClrF cause the corre-\nsponding bits in F to be set to 0. If a SetF ent
ry is also present in the FDF field\ndictionary, it is applied before this entry
. This entry is ignored if an F entry is\npresent in the FDF field dictionary.')
\ |
| 3972 .done().done()\ |
| 3973 .optional()\ |
| 3974 .field('AP')\ |
| 3975 .name('AP')\ |
| 3976 .type('dictionary')\ |
| 3977 .comment('(Optional) An appearance dictionary specifying the appearanc
e of a pushbutton\nfield (see "Pushbuttons" on page 539). The appearance diction
ary\'s contents are as\nshown in Table 8.13 on page 497, except that the values
of the N, R, and D entries\nmust all be streams.')\ |
| 3978 .done().done()\ |
| 3979 .optional()\ |
| 3980 .field('APRef')\ |
| 3981 .name('APRef')\ |
| 3982 .type('dictionary')\ |
| 3983 .comment('(Optional; PDF 1.3) A dictionary holding references to exter
nal PDF files contain-\ning the pages to use for the appearances of a pushbutton
field. This dictionary is\nsimilar to an appearance dictionary (see Table 8.13
on page 497), except that the\nvalues of the N, R, and D entries must all be nam
ed page reference dictionaries\n(Table 8.76 on page 568). This entry is ignored
if an AP entry is present.')\ |
| 3984 .done().done()\ |
| 3985 .optional()\ |
| 3986 .field('IF')\ |
| 3987 .name('IF')\ |
| 3988 .type('dictionary')\ |
| 3989 .comment('(Optional; PDF 1.3; button fields only) An icon fit dictiona
ry (see Table 8.73) speci-\nfying how to display a button field\'s icon within t
he annotation rectangle of its wid-\nget annotation.')\ |
| 3990 .done().done()\ |
| 3991 .optional()\ |
| 3992 .field('Opt')\ |
| 3993 .name('Opt')\ |
| 3994 .type('array')\ |
| 3995 .comment('(Required; choice fields only) An array of options to be pre
sented to the user. Each\nelement of the array can take either of two forms:\n*
A text string representing one of the available options\n* A two-element array
consisting of a text string representing one of the available\n options and a
default appearance string for constructing the item\'s appearance\n dynamical
ly at viewing time (see "Variable Text" on page 533)')\ |
| 3996 .done().done()\ |
| 3997 .optional()\ |
| 3998 .field('A')\ |
| 3999 .name('A')\ |
| 4000 .type('dictionary')\ |
| 4001 .comment('(Optional) An action to be performed when this field\'s widg
et annotation is activat-\ned (see Section 8.5, "Actions").')\ |
| 4002 .done().done()\ |
| 4003 .optional()\ |
| 4004 .field('AA')\ |
| 4005 .name('AA')\ |
| 4006 .type('dictionary')\ |
| 4007 .comment('(Optional) An additional-actions dictionary defining the fie
ld\'s behavior in re-\nsponse to various trigger events (see Section 8.5.2, "Tri
gger Events").')\ |
| 4008 .done().done()\ |
| 4009 .done() |
| 4010 |
| 4011 pdfspec.addClass('IconFitDictionary', 'Dictionary', 'Entries in an icon fit di
ctionary')\ |
| 4012 .required('NULL')\ |
| 4013 .field('SW')\ |
| 4014 .name('SW')\ |
| 4015 .type('name')\ |
| 4016 .comment('(Required) The circumstances under which the icon should be
scaled inside the annota-\ntion rectangle:\n A Always scale.\n B Sca
le only when the icon is bigger than the annotation rectangle.\n S Scale o
nly when the icon is smaller than the annotation rectangle.\n N Never scal
e.\nDefault value: A.')\ |
| 4017 .done().done()\ |
| 4018 .required('NULL')\ |
| 4019 .field('S')\ |
| 4020 .name('S')\ |
| 4021 .type('name')\ |
| 4022 .comment('(Required) The type of scaling to use:\n A Anamorphic
scaling: scale the icon to fill the annotation rectangle exactly, with-\n
out regard to its original aspect ratio (ratio of width to height).\n P
Proportional scaling: scale the icon to fit the width or height of the annotatio
n\n rectangle while maintaining the icon\'s original aspect ratio. If th
e required hori-\n zontal and vertical scaling factors are different, us
e the smaller of the two, cen-\n tering the icon within the annotation r
ectangle in the other dimension.\nDefault value: P.')\ |
| 4023 .done().done()\ |
| 4024 .required('NULL')\ |
| 4025 .field('A')\ |
| 4026 .name('A')\ |
| 4027 .type('array')\ |
| 4028 .comment('(Required) An array of two numbers between 0.0 and 1.0 indic
ating the fraction of left-\nover space to allocate at the left and bottom of th
e icon. A value of [0.0 0.0] positions the\nicon at the bottom-left corner of th
e annotation rectangle; a value of [0.5 0.5] centers it\nwithin the rectangle. T
his entry is used only if the icon is scaled proportionally. Default\nvalue: [0.
5 0.5].')\ |
| 4029 .done().done()\ |
| 4030 .done() |
| 4031 |
| 4032 pdfspec.addClass('FDFPageDictionary', 'Dictionary', 'Entries in an FDF page di
ctionary')\ |
| 4033 .required('NULL')\ |
| 4034 .field('Templates')\ |
| 4035 .name('Templates')\ |
| 4036 .type('array')\ |
| 4037 .comment('(Required) An array of FDF template dictionaries (see Table
8.75) describing the\nnamed pages that serve as templates on the page.')\ |
| 4038 .done().done()\ |
| 4039 .optional()\ |
| 4040 .field('Info')\ |
| 4041 .name('Info')\ |
| 4042 .type('dictionary')\ |
| 4043 .comment('(Optional) An FDF page information dictionary containing add
itional informa-\ntion about the page. At the time of publication, no entries ha
ve been defined for\nthis dictionary.')\ |
| 4044 .done().done()\ |
| 4045 .done() |
| 4046 |
| 4047 pdfspec.addClass('FDFTemplateDictionary', 'Dictionary', 'Entries in an FDF tem
plate dictionary')\ |
| 4048 .required('NULL')\ |
| 4049 .field('TRef')\ |
| 4050 .name('TRef')\ |
| 4051 .type('dictionary')\ |
| 4052 .comment('(Required) A named page reference dictionary (see Table 8.76
) specifying the\nlocation of the template.')\ |
| 4053 .done().done()\ |
| 4054 .optional()\ |
| 4055 .field('Fields')\ |
| 4056 .name('Fields')\ |
| 4057 .type('array')\ |
| 4058 .comment('(Optional) An array of references to FDF field dictionaries
(see Table 8.72 on\npage 564) describing the root fields to be imported (those w
ith no ancestors in\nthe field hierarchy).')\ |
| 4059 .done().done()\ |
| 4060 .optional()\ |
| 4061 .field('Rename')\ |
| 4062 .name('Rename')\ |
| 4063 .type('boolean')\ |
| 4064 .comment('(Optional) A flag specifying whether fields imported from th
e template may be\nrenamed in the event of name conflicts with existing fields;
see below for further\ndiscussion. Default value: true.')\ |
| 4065 .done().done()\ |
| 4066 .done() |
| 4067 |
| 4068 pdfspec.addClass('FDFNamedPageReferenceDictionary', 'Dictionary', 'Entries in
an FDF named page reference dictionary')\ |
| 4069 .required('NULL')\ |
| 4070 .field('Name')\ |
| 4071 .name('Name')\ |
| 4072 .type('string')\ |
| 4073 .comment('(Required) The name of the referenced page.')\ |
| 4074 .done().done()\ |
| 4075 .optional()\ |
| 4076 .field('F')\ |
| 4077 .name('F')\ |
| 4078 .type('file specification')\ |
| 4079 .comment('(Optional) The file containing the named page. If this key i
s absent, it is\nassumed that the page resides in the associated PDF file.')\ |
| 4080 .done().done()\ |
| 4081 .done() |
| 4082 |
| 4083 pdfspec.addClass('FDFFileAnnotationDictionary', 'Dictionary', 'Additional entr
y for annotation dictionaries in an FDF file')\ |
| 4084 .optional()\ |
| 4085 .field('Page')\ |
| 4086 .name('Page')\ |
| 4087 .type('integer')\ |
| 4088 .comment('(Required for annotations in FDF files) The ordinal page num
ber on which\nthis annotation should appear, where page 0 is the first page.')\ |
| 4089 .done().done()\ |
| 4090 .done() |
| 4091 |
| 4092 pdfspec.addClass('SoundObjectDictionary', 'Dictionary', 'Additional entries sp
ecific to a sound object')\ |
| 4093 .optional()\ |
| 4094 .field('Type')\ |
| 4095 .name('Type')\ |
| 4096 .type('name')\ |
| 4097 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nSound for a sound object.')\ |
| 4098 .done().done()\ |
| 4099 .required('NULL')\ |
| 4100 .field('R')\ |
| 4101 .name('R')\ |
| 4102 .type('number')\ |
| 4103 .comment('(Required) The sampling rate, in samples per second.')\ |
| 4104 .done().done()\ |
| 4105 .optional()\ |
| 4106 .field('C')\ |
| 4107 .name('C')\ |
| 4108 .type('integer')\ |
| 4109 .comment('(Optional) The number of sound channels. Default value: 1. (
See implementation\nnote 101 in Appendix H.)')\ |
| 4110 .done().done()\ |
| 4111 .optional()\ |
| 4112 .field('B')\ |
| 4113 .name('B')\ |
| 4114 .type('integer')\ |
| 4115 .comment('(Optional) The number of bits per sample value per channel.
Default value: 8.')\ |
| 4116 .done().done()\ |
| 4117 .optional()\ |
| 4118 .field('E')\ |
| 4119 .name('E')\ |
| 4120 .type('name')\ |
| 4121 .comment('(Optional) The encoding format for the sample data:\n Raw
Unspecified or unsigned values in the range 0 to 2B - 1\n Signed
Twos-complement values\n muLaw mu-law\'encoded samples\n ALaw
A-law\'encoded samples\nDefault value: Raw.')\ |
| 4122 .done().done()\ |
| 4123 .optional()\ |
| 4124 .field('CO')\ |
| 4125 .name('CO')\ |
| 4126 .type('name')\ |
| 4127 .comment('(Optional) The sound compression format used on the sample d
ata. (Note that this is\nseparate from any stream compression specified by the s
ound object\'s Filter entry; see\nTable 3.4 on page 38 and Section 3.3, "Filters
.") If this entry is absent, then no sound\ncompression has been used; the data
contains sampled waveforms to be played at R\nsamples per second per channel.')\ |
| 4128 .done().done()\ |
| 4129 .optional()\ |
| 4130 .field('CP')\ |
| 4131 .name('CP')\ |
| 4132 .type('(various)')\ |
| 4133 .comment('(Optional) Optional parameters specific to the sound compres
sion format used.\nNote: At the time of publication, no standard values have bee
n defined for the CO and CP\nentries.')\ |
| 4134 .done().done()\ |
| 4135 .done() |
| 4136 |
| 4137 pdfspec.addClass('MovieDictionary', 'Dictionary', 'Entries in a movie dictiona
ry')\ |
| 4138 .required('NULL')\ |
| 4139 .field('F')\ |
| 4140 .name('F')\ |
| 4141 .type('file specification')\ |
| 4142 .comment('(Required) A file specification identifying a self-describin
g movie file.\nNote: The format of a "self-describing movie file" is left unspec
ified, and there is\nno guarantee of portability.')\ |
| 4143 .done().done()\ |
| 4144 .optional()\ |
| 4145 .field('Aspect')\ |
| 4146 .name('Aspect')\ |
| 4147 .type('array')\ |
| 4148 .comment('(Optional) The width and height of the movie\'s bounding box
, in pixels,\nspecified as [width height]. This entry should be omitted for a mo
vie consist-\ning entirely of sound with no visible images.')\ |
| 4149 .done().done()\ |
| 4150 .optional()\ |
| 4151 .field('Rotate')\ |
| 4152 .name('Rotate')\ |
| 4153 .type('integer')\ |
| 4154 .comment('(Optional) The number of degrees by which the movie is rotat
ed clockwise\nrelative to the page. The value must be a multiple of 90. Default
value: 0.')\ |
| 4155 .done().done()\ |
| 4156 .optional()\ |
| 4157 .field('Poster')\ |
| 4158 .name('Poster')\ |
| 4159 .type('boolean or stream')\ |
| 4160 .comment('(Optional) A flag or stream specifying whether and how to di
splay a poster\nimage representing the movie. If this value is a stream, it cont
ains an image\nXObject (see Section 4.8, "Images") to be displayed as the poster
; if it is the\nboolean value true, the poster image should be retrieved from th
e movie file\nitself; if it is false, no poster should be displayed. Default val
ue: false.')\ |
| 4161 .done().done()\ |
| 4162 .done() |
| 4163 |
| 4164 pdfspec.addClass('MovieActivationDictionary', 'Dictionary', 'Entries in a movi
e activation dictionary')\ |
| 4165 .optional()\ |
| 4166 .field('Start')\ |
| 4167 .name('Start')\ |
| 4168 .type('(various)')\ |
| 4169 .comment('(Optional) The starting time of the movie segment to be play
ed. Movie time\nvalues are expressed in units of time based on a time scale, whi
ch defines the\nnumber of units per second; the default time scale is defined in
the movie\ndata itself. The starting time is nominally a 64-bit integer, specif
ied as follows:\n* If it is representable as an integer (subject to the impleme
ntation limit for\n integers, as described in Appendix C), it should be specif
ied as such.\n* If it is not representable as an integer, it should be specifie
d as an 8-byte\n string representing a 64-bit twos-complement integer, most si
gnificant\n byte first.\n* If it is expressed in a time scale different from
that of the movie itself, it is\n represented as an array of two values: an in
teger or string denoting the\n starting time, as above, followed by an integer
specifying the time scale in\n units per second.\nIf this entry is omitted, t
he movie is played from the beginning.')\ |
| 4170 .done().done()\ |
| 4171 .optional()\ |
| 4172 .field('Duration')\ |
| 4173 .name('Duration')\ |
| 4174 .type('(various)')\ |
| 4175 .comment('(Optional) The duration of the movie segment to be played, s
pecified in the\nsame form as Start. Negative values specify that the movie is t
o be played\nbackward. If this entry is omitted, the movie is played to the end.
')\ |
| 4176 .done().done()\ |
| 4177 .optional()\ |
| 4178 .field('Rate')\ |
| 4179 .name('Rate')\ |
| 4180 .type('number')\ |
| 4181 .comment('(Optional) The initial speed at which to play the movie. If
the value of this\nentry is negative, the movie is played backward with respect
to Start and\nDuration. Default value: 1.0.')\ |
| 4182 .done().done()\ |
| 4183 .optional()\ |
| 4184 .field('Volume')\ |
| 4185 .name('Volume')\ |
| 4186 .type('number')\ |
| 4187 .comment('(Optional) The initial sound volume at which to play the mov
ie, in the range\n-1.0 to 1.0. Higher values denote greater volume; negative val
ues mute the\nsound. Default value: 1.0.')\ |
| 4188 .done().done()\ |
| 4189 .optional()\ |
| 4190 .field('ShowControls')\ |
| 4191 .name('ShowControls')\ |
| 4192 .type('boolean')\ |
| 4193 .comment('(Optional) A flag specifying whether to display a movie cont
roller bar while\nplaying the movie. Default value: false.')\ |
| 4194 .done().done()\ |
| 4195 .optional()\ |
| 4196 .field('Mode')\ |
| 4197 .name('Mode')\ |
| 4198 .type('name')\ |
| 4199 .comment('(Optional) The play mode for playing the movie:\n Once
Play once and stop.\n Open Play and leave the movie c
ontroller bar open.\n Repeat Play repeatedly from beginning to end
until stopped.\n Palindrome Play continuously forward and backward un
til stopped.\nDefault value: Once.')\ |
| 4200 .done().done()\ |
| 4201 .optional()\ |
| 4202 .field('Synchronous')\ |
| 4203 .name('Synchronous')\ |
| 4204 .type('boolean')\ |
| 4205 .comment('(Optional) A flag specifying whether to play the movie synch
ronously or\nasynchronously. If this value is true, the movie player will retain
control until\nthe movie is completed or dismissed by the user; if false, it wi
ll return control\nto the viewer application immediately after starting the movi
e. Default value:\nfalse.')\ |
| 4206 .done().done()\ |
| 4207 .optional()\ |
| 4208 .field('FWScale')\ |
| 4209 .name('FWScale')\ |
| 4210 .type('array')\ |
| 4211 .comment('(Optional) The magnification (zoom) factor at which to play
the movie. The\npresence of this entry implies that the movie is to be played in
a floating win-\ndow; if the entry is absent, it will be played in the annotati
on rectangle.\nThe value of the entry is an array of two integers, [numerator de
nominator],\ndenoting a rational magnification factor for the movie. The final w
indow\nsize, in pixels, is\n (numerator / denominator) x Aspect\nwhere the va
lue of Aspect is taken from the movie dictionary (see Table 8.79).')\ |
| 4212 .done().done()\ |
| 4213 .optional()\ |
| 4214 .field('FWPosition')\ |
| 4215 .name('FWPosition')\ |
| 4216 .type('array')\ |
| 4217 .comment('(Optional) For floating play windows, the relative position
of the window on\nthe screen. The value is an array of two numbers\n [horiz v
ert]\neach in the range 0.0 to 1.0, denoting the relative horizontal and vertica
l posi-\ntion of the movie window with respect to the screen. For example, the v
alue\n[0.5 0.5] centers the window on the screen. Default value: [0.5 0.5].\n
CHAPTER 9')\ |
| 4218 .done().done()\ |
| 4219 .done() |
| 4220 |
| 4221 pdfspec.addClass('DocumentInformationDictionary', 'Dictionary', 'Entries in th
e document information dictionary')\ |
| 4222 .optional()\ |
| 4223 .field('Title')\ |
| 4224 .name('Title')\ |
| 4225 .type('text string')\ |
| 4226 .comment('(Optional; PDF 1.1) The document\'s title.')\ |
| 4227 .done().done()\ |
| 4228 .optional()\ |
| 4229 .field('Author')\ |
| 4230 .name('Author')\ |
| 4231 .type('text string')\ |
| 4232 .comment('(Optional) The name of the person who created the document.'
)\ |
| 4233 .done().done()\ |
| 4234 .optional()\ |
| 4235 .field('Subject')\ |
| 4236 .name('Subject')\ |
| 4237 .type('text string')\ |
| 4238 .comment('(Optional; PDF 1.1) The subject of the document.')\ |
| 4239 .done().done()\ |
| 4240 .optional()\ |
| 4241 .field('Keywords')\ |
| 4242 .name('Keywords')\ |
| 4243 .type('text string')\ |
| 4244 .comment('(Optional; PDF 1.1) Keywords associated with the document.')
\ |
| 4245 .done().done()\ |
| 4246 .optional()\ |
| 4247 .field('Creator')\ |
| 4248 .name('Creator')\ |
| 4249 .type('text string')\ |
| 4250 .comment('(Optional) If the document was converted to PDF from another
format, the\nname of the application (for example, Adobe FrameMaker(R)) that cr
eated the\noriginal document from which it was converted.')\ |
| 4251 .done().done()\ |
| 4252 .optional()\ |
| 4253 .field('Producer')\ |
| 4254 .name('Producer')\ |
| 4255 .type('text string')\ |
| 4256 .comment('(Optional) If the document was converted to PDF from another
format, the\nname of the application (for example, Acrobat Distiller) that conv
erted it to\nPDF.')\ |
| 4257 .done().done()\ |
| 4258 .optional()\ |
| 4259 .field('CreationDate')\ |
| 4260 .name('CreationDate')\ |
| 4261 .type('date')\ |
| 4262 .comment('(Optional) The date and time the document was created, in hu
man-readable\nform (see Section 3.8.2, "Dates").')\ |
| 4263 .done().done()\ |
| 4264 .optional()\ |
| 4265 .field('ModDate')\ |
| 4266 .name('ModDate')\ |
| 4267 .type('date')\ |
| 4268 .comment('(Optional; PDF 1.1) The date and time the document was most
recently\nmodified, in human-readable form (see Section 3.8.2, "Dates").')\ |
| 4269 .done().done()\ |
| 4270 .optional()\ |
| 4271 .field('Trapped')\ |
| 4272 .name('Trapped')\ |
| 4273 .type('name')\ |
| 4274 .comment('(Optional; PDF 1.3) A name object indicating whether the doc
ument has\nbeen modified to include trapping information (see Section 9.10.5, "T
rap-\nping Support"):\n True The document has been fully trapped; no f
urther trapping is\n needed. (Note that this is the name True, no
t the boolean\n value true.)\n False The document has no
t yet been trapped; any desired trap-\n ping must still be done.
(Note that this is the name False, not\n the boolean value false.
)\n Unknown Either it is unknown whether the document has been\n
trapped or it has been partly but not yet fully trapped; some\n
additional trapping may still be needed.\nDefault value: Unknown.\nThe val
ue of this entry may be set automatically by the software creating the\ndocument
\'s trapping information or may be known only to a human opera-\ntor and entered
manually.')\ |
| 4275 .done().done()\ |
| 4276 .done() |
| 4277 |
| 4278 pdfspec.addClass('MetadataStreamDictionary', 'Dictionary', 'Additional entries
in a metadata stream dictionary')\ |
| 4279 .required('NULL')\ |
| 4280 .field('Type')\ |
| 4281 .name('Type')\ |
| 4282 .type('name')\ |
| 4283 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be Metadata\nfor a metadata stream.')\ |
| 4284 .done().done()\ |
| 4285 .required('NULL')\ |
| 4286 .field('Subtype')\ |
| 4287 .name('Subtype')\ |
| 4288 .type('name')\ |
| 4289 .comment('(Required) The type of metadata stream that this dictionary
describes; must be\nXML.')\ |
| 4290 .done().done()\ |
| 4291 .done() |
| 4292 |
| 4293 pdfspec.addClass('ComponentsWithMetadataDictionary', 'Dictionary', 'Additional
entry for components having metadata')\ |
| 4294 .optional()\ |
| 4295 .field('Metadata')\ |
| 4296 .name('Metadata')\ |
| 4297 .type('stream')\ |
| 4298 .comment('(Optional; PDF 1.4) A metadata stream containing metadata fo
r the component.')\ |
| 4299 .done().done()\ |
| 4300 .done() |
| 4301 |
| 4302 pdfspec.addClass('PagePieceDictionary', 'Dictionary', 'Entries in a page-piece
dictionary')\ |
| 4303 .optional()\ |
| 4304 .field('[any_application_name_or_well_known_data_type]')\ |
| 4305 .name('[any_application_name_or_well_known_data_type]')\ |
| 4306 .type('dictionary')\ |
| 4307 .comment('()An application data dictionary (see Table 9.7).')\ |
| 4308 .done().done()\ |
| 4309 .done() |
| 4310 |
| 4311 pdfspec.addClass('ApplicationDataDictionary', 'Dictionary', 'Entries in an app
lication data dictionary')\ |
| 4312 .required('NULL')\ |
| 4313 .field('LastModified')\ |
| 4314 .name('LastModified')\ |
| 4315 .type('date')\ |
| 4316 .comment('(Required) The date and time when the contents of the page o
r form\nwere most recently modified by this application.')\ |
| 4317 .done().done()\ |
| 4318 .optional()\ |
| 4319 .field('Private')\ |
| 4320 .name('Private')\ |
| 4321 .type('(any)')\ |
| 4322 .comment('(Optional) Any private data appropriate to the application,
typically\nin the form of a dictionary.')\ |
| 4323 .done().done()\ |
| 4324 .done() |
| 4325 |
| 4326 pdfspec.addClass('StructureTreeRootDictionary', 'Dictionary', 'Entries in the
structure tree root')\ |
| 4327 .required('NULL')\ |
| 4328 .field('Type')\ |
| 4329 .name('Type')\ |
| 4330 .type('name')\ |
| 4331 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must\nbe StructTreeRoot for a structure tree root.')\ |
| 4332 .done().done()\ |
| 4333 .optional()\ |
| 4334 .field('K')\ |
| 4335 .name('K')\ |
| 4336 .type('dictionary or array')\ |
| 4337 .comment('(Optional) The immediate child or children of the structure
tree root in\nthe structure hierarchy. The value may be either a dictionary repr
esent-\ning a single structure element or an array of such dictionaries.')\ |
| 4338 .done().done()\ |
| 4339 .optional()\ |
| 4340 .field('IDTree')\ |
| 4341 .name('IDTree')\ |
| 4342 .type('name tree')\ |
| 4343 .comment('(Required if any structure elements have element identifiers
) A name tree\nthat maps element identifiers (see Table 9.10) to the structure e
lements\nthey denote.')\ |
| 4344 .done().done()\ |
| 4345 .optional()\ |
| 4346 .field('ParentTree')\ |
| 4347 .name('ParentTree')\ |
| 4348 .type('number tree')\ |
| 4349 .comment('(Required if any structure element contains PDF objects or m
arked-content\nsequences as content items) A number tree (see Section 3.8.5, "Nu
mber\nTrees") used in finding the structure elements to which content items\nbel
ong. Each integer key in the number tree corresponds to a single page\nof the do
cument or to an individual object (such as an annotation or an\nXObject) that is
a content item in its own right. The integer key is given\nas the value of the
StructParent or StructParents entry in that object (see\n"Finding Structure Elem
ents from Content Items" on page 600). The\nform of the associated value depends
on the nature of the object:\n* For an object that is a content item in its ow
n right, the value is an in-\n direct reference to the object\'s parent elemen
t (the structure element\n that contains it as a content item).\n* For a page
object or content stream containing marked-content\n sequences that are conte
nt items, the value is an array of references to\n the parent elements of thos
e marked-content sequences.\nSee "Finding Structure Elements from Content Items"
on page 600 for\nfurther discussion.')\ |
| 4350 .done().done()\ |
| 4351 .optional()\ |
| 4352 .field('ParentTreeNextKey')\ |
| 4353 .name('ParentTreeNextKey')\ |
| 4354 .type('integer')\ |
| 4355 .comment('(Optional) An integer greater than any key in the parent tre
e, to be used\nas a key for the next entry added to the tree.')\ |
| 4356 .done().done()\ |
| 4357 .optional()\ |
| 4358 .field('RoleMap')\ |
| 4359 .name('RoleMap')\ |
| 4360 .type('dictionary')\ |
| 4361 .comment('(Optional) A dictionary mapping the names of structure types
used in\nthe document to their approximate equivalents in the set of standard\n
structure types (see Section 9.7.4, "Standard Structure Types").')\ |
| 4362 .done().done()\ |
| 4363 .optional()\ |
| 4364 .field('ClassMap')\ |
| 4365 .name('ClassMap')\ |
| 4366 .type('dictionary')\ |
| 4367 .comment('(Optional) A dictionary mapping name objects designating att
ribute\nclasses to the corresponding attribute objects or arrays of attribute ob
-\njects (see "Attribute Classes" on page 605).')\ |
| 4368 .done().done()\ |
| 4369 .done() |
| 4370 |
| 4371 pdfspec.addClass('StructureElementDictionary', 'Dictionary', 'Entries in a str
ucture element dictionary')\ |
| 4372 .optional()\ |
| 4373 .field('Type')\ |
| 4374 .name('Type')\ |
| 4375 .type('name')\ |
| 4376 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if\npresent, must be StructElem for a structure element.')\ |
| 4377 .done().done()\ |
| 4378 .required('NULL')\ |
| 4379 .field('S')\ |
| 4380 .name('S')\ |
| 4381 .type('name')\ |
| 4382 .comment('(Required) The structure type, a name object identifying the
nature of the\nstructure element and its role within the document, such as a ch
apter,\nparagraph, or footnote (see Section 9.6.2, "Structure Types"). Names of\
nstructure types must conform to the guidelines described in Appendix E.')\ |
| 4383 .done().done()\ |
| 4384 .optional()\ |
| 4385 .field('P')\ |
| 4386 .name('P')\ |
| 4387 .type('dictionary')\ |
| 4388 .comment('(Required; must be an indirect reference) The structure elem
ent that is the\nimmediate parent of this one in the structure hierarchy.')\ |
| 4389 .done().done()\ |
| 4390 .optional()\ |
| 4391 .field('ID')\ |
| 4392 .name('ID')\ |
| 4393 .type('string')\ |
| 4394 .comment('(Optional) The element identifier, a string designating this
structure\nelement. The string must be unique among all elements in the docu-\n
ment\'s structure hierarchy. The IDTree entry in the structure tree root\n(see T
able 9.9) defines the correspondence between element identifiers\nand the struct
ure elements they denote.')\ |
| 4395 .done().done()\ |
| 4396 .optional()\ |
| 4397 .field('Pg')\ |
| 4398 .name('Pg')\ |
| 4399 .type('dictionary')\ |
| 4400 .comment('(Optional; must be an indirect reference) A page object repr
esenting a\npage on which some or all of the content items designated by the K e
ntry\nare rendered.')\ |
| 4401 .done().done()\ |
| 4402 .optional()\ |
| 4403 .field('K')\ |
| 4404 .name('K')\ |
| 4405 .type('(various)')\ |
| 4406 .comment('(Optional) The contents of this structure element, which may
consist of\none or more marked-content sequences, PDF objects, and other struc-
\nture elements. The value of this entry may be any of the following:\n* An int
eger marked-content identifier denoting a marked-content\n sequence\n* A mark
ed-content reference dictionary denoting a marked-content\n sequence\n* An ob
ject reference dictionary denoting a PDF object\n* A structure element dictiona
ry denoting another structure element\n* An array, each of whose elements is on
e of the objects listed above\nSee Section 9.6.3, "Structure Content" for furthe
r discussion of each of\nthese forms of representation.')\ |
| 4407 .done().done()\ |
| 4408 .optional()\ |
| 4409 .field('A')\ |
| 4410 .name('A')\ |
| 4411 .type('(various)')\ |
| 4412 .comment('(Optional) The attribute object or objects, if any, associat
ed with this\nstructure element. Each attribute object is either a dictionary or
a\nstream; the value of this entry may be either a single attribute object or\n
an array of such objects together with their revision numbers (see\nSection 9.6.
4, "Structure Attributes," and "Attribute Revision Numbers"\non page 606).')\ |
| 4413 .done().done()\ |
| 4414 .optional()\ |
| 4415 .field('C')\ |
| 4416 .name('C')\ |
| 4417 .type('name or array')\ |
| 4418 .comment('(Optional) The attribute class or classes, if any, to which
this structure\nelement belongs. The value of this entry may be either a single
class\nname or an array of class names together with their revision numbers\n(se
e "Attribute Classes" on page 605 and "Attribute Revision Numbers"\non page 606)
.\nNote: If both the A and C entries are present and a given attribute is speci-
\nfied by both, the one specified by the A entry takes precedence.')\ |
| 4419 .done().done()\ |
| 4420 .optional()\ |
| 4421 .field('R')\ |
| 4422 .name('R')\ |
| 4423 .type('integer')\ |
| 4424 .comment('(Optional) The current revision number of this structure ele
ment (see\n"Attribute Revision Numbers" on page 606). The value must be a non-\n
negative integer. Default value: 0.')\ |
| 4425 .done().done()\ |
| 4426 .optional()\ |
| 4427 .field('T')\ |
| 4428 .name('T')\ |
| 4429 .type('text string')\ |
| 4430 .comment('(Optional) The title of the structure element, a text string
representing it\nin human-readable form. The title should characterize the spec
ific struc-\nture element, such as Chapter 1, rather than merely a generic eleme
nt\ntype, such as Chapter.')\ |
| 4431 .done().done()\ |
| 4432 .optional()\ |
| 4433 .field('Lang')\ |
| 4434 .name('Lang')\ |
| 4435 .type('text string')\ |
| 4436 .comment('(Optional; PDF 1.4) A language identifier specifying the nat
ural language\nfor all text in the structure element except where overridden by
language\nspecifications for nested structure elements or marked content (see Se
c-\ntion 9.8.1, "Natural Language Specification"). If this entry is absent, the\
nlanguage (if any) specified in the document catalog applies.')\ |
| 4437 .done().done()\ |
| 4438 .optional()\ |
| 4439 .field('Alt')\ |
| 4440 .name('Alt')\ |
| 4441 .type('text string')\ |
| 4442 .comment('(Optional) An alternate description of the structure element
and its\nchildren in human-readable form, useful when extracting the docu-\nmen
t\'s contents in support of accessibility to disabled users or for other\npurpos
es (see Section 9.8.2, "Alternate Descriptions").')\ |
| 4443 .done().done()\ |
| 4444 .optional()\ |
| 4445 .field('ActualText')\ |
| 4446 .name('ActualText')\ |
| 4447 .type('text string')\ |
| 4448 .comment('(Optional; PDF 1.4) Text that is an exact replacement for th
e structure\nelement and its children. This replacement text (which should apply
to\nas small a piece of content as possible) is useful when extracting the doc-
\nument\'s contents in support of accessibility to disabled users or for other\n
purposes (see Section 9.8.3, "Replacement Text").')\ |
| 4449 .done().done()\ |
| 4450 .done() |
| 4451 |
| 4452 pdfspec.addClass('MarkedContentReferenceDictionary', 'Dictionary', 'Entries in
a marked-content reference dictionary')\ |
| 4453 .required('NULL')\ |
| 4454 .field('Type')\ |
| 4455 .name('Type')\ |
| 4456 .type('name')\ |
| 4457 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be MCR\nfor a marked-content reference.')\ |
| 4458 .done().done()\ |
| 4459 .optional()\ |
| 4460 .field('Pg')\ |
| 4461 .name('Pg')\ |
| 4462 .type('dictionary')\ |
| 4463 .comment('(Optional; must be an indirect reference) The page object re
presenting the page on\nwhich the graphics objects in the marked-content sequenc
e are rendered. This\nentry overrides any Pg entry in the structure element cont
aining the marked-\ncontent reference; it is required if the structure element h
as no such entry.')\ |
| 4464 .done().done()\ |
| 4465 .optional()\ |
| 4466 .field('Stm')\ |
| 4467 .name('Stm')\ |
| 4468 .type('stream')\ |
| 4469 .comment('(Optional; must be an indirect reference) The content stream
containing the\nmarked-content sequence. This entry is needed only if the marke
d-content\nsequence resides in some other content stream associated with the pag
e-for\nexample, in a form XObject (see Section 4.9, "Form XObjects") or an annot
a-\ntion\'s appearance stream (Section 8.4.4, "Appearance Streams"). Default val
ue:\nthe content stream of the page identified by Pg.')\ |
| 4470 .done().done()\ |
| 4471 .optional()\ |
| 4472 .field('StmOwn')\ |
| 4473 .name('StmOwn')\ |
| 4474 .type('(any)')\ |
| 4475 .comment('(Optional; must be an indirect reference) The PDF object own
ing the stream\nidentified by Stm-for example, the annotation to which an appear
ance stream\nbelongs.')\ |
| 4476 .done().done()\ |
| 4477 .required('NULL')\ |
| 4478 .field('MCID')\ |
| 4479 .name('MCID')\ |
| 4480 .type('integer')\ |
| 4481 .comment('(Required) The marked-content identifier of the marked-conte
nt sequence with-\nin its content stream.')\ |
| 4482 .done().done()\ |
| 4483 .done() |
| 4484 |
| 4485 pdfspec.addClass('ObjectReferenceDictionary', 'Dictionary', 'Entries in an obj
ect reference dictionary')\ |
| 4486 .required('NULL')\ |
| 4487 .field('Type')\ |
| 4488 .name('Type')\ |
| 4489 .type('name')\ |
| 4490 .comment('(Required) The type of PDF object that this dictionary descr
ibes; must be OBJR for an\nobject reference.')\ |
| 4491 .done().done()\ |
| 4492 .optional()\ |
| 4493 .field('Pg')\ |
| 4494 .name('Pg')\ |
| 4495 .type('dictionary')\ |
| 4496 .comment('(Optional; must be an indirect reference) The page object re
presenting the page on\nwhich the object is rendered. This entry overrides any P
g entry in the structure ele-\nment containing the object reference; it is requi
red if the structure element has no such\nentry.')\ |
| 4497 .done().done()\ |
| 4498 .optional()\ |
| 4499 .field('Obj')\ |
| 4500 .name('Obj')\ |
| 4501 .type('(any)')\ |
| 4502 .comment('(Required; must be an indirect reference) The referenced obj
ect.')\ |
| 4503 .done().done()\ |
| 4504 .done() |
| 4505 |
| 4506 pdfspec.addClass('StructureElementAccessDictionary', 'Dictionary', 'Additional
dictionary entries for structure element access')\ |
| 4507 .optional()\ |
| 4508 .field('StructParent')\ |
| 4509 .name('StructParent')\ |
| 4510 .type('integer')\ |
| 4511 .comment('(Required for all objects that are structural content items;
PDF 1.3) The integer key\nof this object\'s entry in the structural parent tree
.')\ |
| 4512 .done().done()\ |
| 4513 .optional()\ |
| 4514 .field('StructParents')\ |
| 4515 .name('StructParents')\ |
| 4516 .type('integer')\ |
| 4517 .comment('(Required for all content streams containing marked-content
sequences that are\nstructural content items; PDF 1.3) The integer key of this o
bject\'s entry in the\nstructural parent tree.\nNote: At most one of these two e
ntries may be present in a given object. An object\ncan be either a content item
in its entirety or a container for marked-content\nsequences that are content i
tems, but not both.')\ |
| 4518 .done().done()\ |
| 4519 .done() |
| 4520 |
| 4521 pdfspec.addClass('AttributeObjectDictionary', 'Dictionary', 'Entry common to a
ll attribute objects')\ |
| 4522 .required('NULL')\ |
| 4523 .field('O')\ |
| 4524 .name('O')\ |
| 4525 .type('name')\ |
| 4526 .comment('(Required) The name of the application or plug-in extension
owning the attribute data.\nThe name must conform to the guidelines described in
Appendix E.')\ |
| 4527 .done().done()\ |
| 4528 .done() |
| 4529 |
| 4530 pdfspec.addClass('MarkInformationDictionary', 'Dictionary', 'Entry in the mark
information dictionary')\ |
| 4531 .optional()\ |
| 4532 .field('Marked')\ |
| 4533 .name('Marked')\ |
| 4534 .type('boolean')\ |
| 4535 .comment('(Optional) A flag indicating whether the document conforms t
o Tagged PDF\nconventions. Default value: false.')\ |
| 4536 .done().done()\ |
| 4537 .done() |
| 4538 |
| 4539 pdfspec.addClass('ArtifactsDictionary', 'Dictionary', 'Property list entries f
or artifacts')\ |
| 4540 .optional()\ |
| 4541 .field('Type')\ |
| 4542 .name('Type')\ |
| 4543 .type('name')\ |
| 4544 .comment('(Optional) The type of artifact that this property list desc
ribes; if present, must\nbe one of the names Pagination, Layout, or Page.')\ |
| 4545 .done().done()\ |
| 4546 .optional()\ |
| 4547 .field('BBox')\ |
| 4548 .name('BBox')\ |
| 4549 .type('rectangle')\ |
| 4550 .comment('(Optional) An array of four numbers in default user space un
its giving the coor-\ndinates of the left, bottom, right, and top edges, respect
ively, of the artifact\'s\nbounding box (the rectangle that completely encloses
its visible extent).')\ |
| 4551 .done().done()\ |
| 4552 .optional()\ |
| 4553 .field('Attached')\ |
| 4554 .name('Attached')\ |
| 4555 .type('array')\ |
| 4556 .comment('(Optional; pagination artifacts only) An array of name objec
ts containing one to\nfour of the names Top, Bottom, Left, and Right, specifying
the edges of the page, if\nany, to which the artifact is logically attached. Pa
ge edges are defined by the\npage\'s crop box (see Section 9.10.1, "Page Boundar
ies"). The ordering of names\nwithin the array is immaterial. Including both Lef
t and Right or both Top and\nBottom indicates a full-width or full-height artifa
ct, respectively.')\ |
| 4557 .done().done()\ |
| 4558 .done() |
| 4559 |
| 4560 pdfspec.addClass('StandardStructureDictionary', 'Dictionary', 'Standard layout
attributes common to all standard structure types')\ |
| 4561 .optional()\ |
| 4562 .field('Placement')\ |
| 4563 .name('Placement')\ |
| 4564 .type('name')\ |
| 4565 .comment('(Optional) The positioning of the element with respect to th
e enclosing refer-\nence area and other content:\n Block Stacked in th
e block-progression direction within an enclos-\n ing reference
area or parent BLSE.\n Inline Packed in the inline-progression directio
n within an enclos-\n ing BLSE.\n Before Placed so that
the before edge of the element\'s allocation rec-\n tangle (see
"Content and Allocation Rectangles" on page\n 648) coincides wi
th that of the nearest enclosing reference\n area. The element m
ay float, if necessary, to achieve the speci-\n fied placement (
see note below). The element is treated as a\n block occupying t
he full extent of the enclosing reference\n area in the inline d
irection; other content is stacked so as to\n begin at the after
edge of the element\'s allocation rectangle.\n Start Placed so that t
he start edge of the element\'s allocation rec-\n tangle (see "C
ontent and Allocation Rectangles" on page\n 648) coincides with
that of the nearest enclosing reference\n area. The element may
float, if necessary, to achieve the speci-\n fied placement (see
note below). Other content that would\n intrude into the elemen
t\'s allocation rectangle is laid out as a\n runaround.\n End
Placed so that the end edge of the element\'s allocation rec-\n
tangle (see "Content and Allocation Rectangles" on page\n
648) coincides with that of the nearest enclosing reference\n
area. The element may float, if necessary, to achieve the speci-\n
fied placement (see note below). Other content that would\n
intrude into the element\'s allocation rectangle is laid out as a\n
runaround.\nWhen applied to an ILSE, any value except Inline causes the ele
ment to be\ntreated as a BLSE instead. Default value: Inline.\nNote: Elements wi
th Placement values of Before, Start, or End are removed from\nthe normal stacki
ng or packing process and allowed to "float" to the specified\nedge of the enclo
sing reference area or parent BLSE. Multiple such floating ele-\nments may be po
sitioned adjacent to one another against the specified edge of the\nreference ar
ea, or placed serially against the edge, in the order encountered.\n Complex
cases such as floating elements that interfere with each other or do not\n
fit on the same page may be handled differently by different layout applications
;\n Tagged PDF merely identifies the elements as floating and indicates thei
r desired\n placement.')\ |
| 4566 .done().done()\ |
| 4567 .optional()\ |
| 4568 .field('WritingMode')\ |
| 4569 .name('WritingMode')\ |
| 4570 .type('name')\ |
| 4571 .comment('(Optional) The directions of layout progression for packing
of ILSEs (inline\nprogression) and stacking of BLSEs (block progression):\n L
rTb Inline progression from left to right; block progression from\n
top to bottom. This is the typical writing mode for Western\n
writing systems.\n RlTb Inline progression from right to le
ft; block progression from\n top to bottom. This is the typical
writing mode for Arabic\n and Hebrew writing systems.\n TbRl
Inline progression from top to bottom; block progression\n
from right to left. This is the typical writing mode for Chi-\n
nese and Japanese writing systems.\nThe specified layout directions apply to
the given structure element and all of\nits descendants to any level of nesting.
Default value: LrTb.\nFor elements that produce multiple columns, the writing m
ode defines the\ndirection of column progression within the reference area: the
inline direc-\ntion determines the stacking direction for columns and the defaul
t flow\norder of text from column to column. For tables, the writing mode contro
ls\nthe layout of rows and columns: table rows (structure type TR) are stacked\n
in the block direction, cells within a row (structure type TD) in the inline\ndi
rection.\nNote: The inline-progression direction specified by the writing mode i
s subject to\nlocal override within the text being laid out, as described in Uni
code Standard\nAnnex #9, The Bidirectional Algorithm, available from the Unicode
Consor-\ntium (see the Bibliography).')\ |
| 4572 .done().done()\ |
| 4573 .done() |
| 4574 |
| 4575 pdfspec.addClass('BlockLevelStructureElementsDictionary', 'Dictionary', 'Addit
ional standard layout attributes specific to block-level structure elements')\ |
| 4576 .optional()\ |
| 4577 .field('SpaceBefore')\ |
| 4578 .name('SpaceBefore')\ |
| 4579 .type('number')\ |
| 4580 .comment('(Optional) The amount of extra space preceding the before ed
ge of the BLSE,\nmeasured in default user space units in the block-progression d
irection. This\nvalue is added to any adjustments induced by the LineHeight attr
ibutes of\nILSEs within the first line of the BLSE (see "Layout Attributes for I
LSEs" on\npage 646). If the preceding BLSE has a SpaceAfter attribute, the great
er of the\ntwo attribute values is used. Default value: 0.\nNote: This attribute
is disregarded for the first BLSE placed in a given reference\narea.')\ |
| 4581 .done().done()\ |
| 4582 .optional()\ |
| 4583 .field('SpaceAfter')\ |
| 4584 .name('SpaceAfter')\ |
| 4585 .type('number')\ |
| 4586 .comment('(Optional) The amount of extra space following the after edg
e of the BLSE,\nmeasured in default user space units in the block-progression di
rection. This\nvalue is added to any adjustments induced by the LineHeight attri
butes of\nILSEs within the last line of the BLSE (see "Layout Attributes for ILS
Es" on\npage 646). If the following BLSE has a SpaceBefore attribute, the greate
r of\nthe two attribute values is used. Default value: 0.\nNote: This attribute
is disregarded for the last BLSE placed in a given reference\narea.')\ |
| 4587 .done().done()\ |
| 4588 .optional()\ |
| 4589 .field('StartIndent')\ |
| 4590 .name('StartIndent')\ |
| 4591 .type('number')\ |
| 4592 .comment('(Optional) The distance from the start edge of the reference
area to that of the\nBLSE, measured in default user space units in the inline-p
rogression direc-\ntion. This attribute applies only to structure elements with
a Placement\nattribute of Block or Start (see "General Layout Attributes" on pag
e 640); it is\ndisregarded for those with other Placement values. Default value:
0.\nNote: A negative value for this attribute places the start edge of the BLSE
out-\nside that of the reference area. The results are implementation-dependent
and\nmay not be supported by all Tagged PDF consumer applications or export\nfo
rmats.\nNote: If a structure element with a StartIndent attribute is placed adja
cent to a\nfloating element with a Placement attribute of Start, the actual valu
e used for\nthe element\'s starting indent will be its own StartIndent attribute
or the inline\nextent of the adjacent floating element, whichever is greater. T
his value may\nthen be further adjusted by the element\'s TextIndent attribute,
if any.')\ |
| 4593 .done().done()\ |
| 4594 .optional()\ |
| 4595 .field('EndIndent')\ |
| 4596 .name('EndIndent')\ |
| 4597 .type('number')\ |
| 4598 .comment('(Optional) The distance from the end edge of the BLSE to tha
t of the ref-\nerence area, measured in default user space units in the inline-p
rogression\ndirection. This attribute applies only to structure elements with a
Placement\nattribute of Block or End (see "General Layout Attributes" on page 64
0); it is\ndisregarded for those with other Placement values. Default value: 0.\
nNote: A negative value for this attribute places the end edge of the BLSE outsi
de\nthat of the reference area. The results are implementation-dependent and may
\nnot be supported by all Tagged PDF consumer applications or export formats.\nN
ote: If a structure element with an EndIndent attribute is placed adjacent to a\
nfloating element with a Placement attribute of End, the actual value used for t
he\nelement\'s ending indent will be its own EndIndent attribute or the inline e
xtent\nof the adjacent floating element, whichever is greater.')\ |
| 4599 .done().done()\ |
| 4600 .optional()\ |
| 4601 .field('TextIndent')\ |
| 4602 .name('TextIndent')\ |
| 4603 .type('number')\ |
| 4604 .comment('(Optional; applies only to some BLSEs, as described below) T
he additional\ndistance, measured in default user space units in the inline-prog
ression\ndirection, from the start edge of the BLSE, as specified by StartIndent
\n(above), to that of the first line of text. A negative value indicates a hangi
ng\nindent. Default value: 0.\nThis attribute applies only to paragraphlike BLSE
s and those of structure\ntypes Lbl (Label), LBody (List body), TH (Table header
), and TD (Table data),\nprovided that they contain content other than nested BL
SEs.')\ |
| 4605 .done().done()\ |
| 4606 .optional()\ |
| 4607 .field('TextAlign')\ |
| 4608 .name('TextAlign')\ |
| 4609 .type('name')\ |
| 4610 .comment('(Optional; applies only to BLSEs containing text) The alignm
ent, in the inline-\nprogression direction, of text and other content within lin
es of the BLSE:\nStart Aligned with the start edge.\nCenter Centere
d between the start and end edges.\nEnd Aligned with the end edge.\nJus
tify Aligned with both the start and end edges, with internal\n spac
ing within each line expanded, if necessary, to achieve\n such alignment.
The last (or only) line is aligned with the\n start edge only, as for St
art (above).\n Default value: Start.')\ |
| 4611 .done().done()\ |
| 4612 .optional()\ |
| 4613 .field('BBox')\ |
| 4614 .name('BBox')\ |
| 4615 .type('rectangle')\ |
| 4616 .comment('(Illustrations and tables only; required if the element appe
ars in its entirety on a\nsingle page) An array of four numbers in default user
space units giving the\ncoordinates of the left, bottom, right, and top edges, r
espectively, of the ele-\nment\'s bounding box (the rectangle that completely en
closes its visible con-\ntent). This attribute applies only to elements of struc
ture type Figure,\nFormula, Form, or Table.')\ |
| 4617 .done().done()\ |
| 4618 .optional()\ |
| 4619 .field('Width')\ |
| 4620 .name('Width')\ |
| 4621 .type('number or name')\ |
| 4622 .comment('(Optional; illustrations, tables, table headers, and table c
ells only; strongly\nrecommended for table cells) The desired width of the eleme
nt\'s content\nrectangle (see "Content and Allocation Rectangles" on page 648),
measured\nin default user space units in the inline-progression direction. This
attribute\napplies only to elements of structure type Figure, Formula, Form, Tab
le, TH\n(Table header), or TD (Table data).\nThe name Auto in place of a numeric
value indicates that no specific width\nconstraint is to be imposed; the elemen
t\'s width is determined by the intrin-\nsic width of its content. Default value
: Auto.')\ |
| 4623 .done().done()\ |
| 4624 .optional()\ |
| 4625 .field('Height')\ |
| 4626 .name('Height')\ |
| 4627 .type('number or name')\ |
| 4628 .comment('(Optional; illustrations, tables, table headers, and table c
ells only) The desired\nheight of the element\'s content rectangle (see "Content
and Allocation\nRectangles" on page 648), measured in default user space units
in the block-\nprogression direction. This attribute applies only to elements of
structure\ntype Figure, Formula, Form, Table, TH (Table header), or TD (Table d
ata).\nThe name Auto in place of a numeric value indicates that no specific heig
ht\nconstraint is to be imposed; the element\'s height is determined by the intr
in-\nsic height of its content. Default value: Auto.')\ |
| 4629 .done().done()\ |
| 4630 .optional()\ |
| 4631 .field('BlockAlign')\ |
| 4632 .name('BlockAlign')\ |
| 4633 .type('name')\ |
| 4634 .comment('(Optional; table cells only) The alignment, in the block-pro
gression direction,\nof content within the table cell:\n Before Befor
e edge of the first child\'s allocation rectangle aligned\n wi
th that of the table cell\'s content rectangle.\n Middle Children cen
tered within the table cell, so that the distance\n between th
e before edge of the first child\'s allocation rec-\n tangle a
nd that of the table cell\'s content rectangle is the same\n a
s the distance between the after edge of the last child\'s allo-\n
cation rectangle and that of the table cell\'s content rectangle.\n Aft
er After edge of the last child\'s allocation rectangle aligned with\n
that of the table cell\'s content rectangle.\n Justify
Children aligned with both the before and after edges of the\n
table cell\'s content rectangle. The first child is placed as\n
described above for Before and the last child as described for\n
After, with equal spacing between the children. If there is only\n
one child, it is aligned with the before edge only, as for Before.\
n This attribute applies only to elements of structure type TH (Table header) or
\n TD (Table data), and controls the placement of all BLSEs that are children of
\n the given element. The table cell\'s content rectangle (see "Content and Allo
-\n cation Rectangles" on page 648) becomes the reference area for all of its\n
descendants. Default value: Before.')\ |
| 4635 .done().done()\ |
| 4636 .optional()\ |
| 4637 .field('InlineAlign')\ |
| 4638 .name('InlineAlign')\ |
| 4639 .type('name')\ |
| 4640 .comment('(Optional; table cells only) The alignment, in the inline-pr
ogression direction,\nof content within the table cell:\n Start Start
edge of each child\'s allocation rectangle aligned with\n that o
f the table cell\'s content rectangle\n Center Each child centered with
in the table cell, so that the distance\n between the start edge
s of the child\'s allocation rectangle and\n the table cell\'s c
ontent rectangle is the same as the distance\n between their end
edges\n End End edge of each child\'s allocation rectangle aligned
with\n that of the table cell\'s content rectangle\nThis attribu
te applies only to elements of structure type TH (Table header) or\nTD (Table da
ta), and controls the placement of all BLSEs that are children of\nthe given ele
ment. The table cell\'s content rectangle (see "Content and Allo-\ncation Rectan
gles" on page 648) becomes the reference area for all of its\ndescendants. Defau
lt value: Start.')\ |
| 4641 .done().done()\ |
| 4642 .done() |
| 4643 |
| 4644 pdfspec.addClass('InlineLevelStructureElementsDictionary', 'Dictionary', 'Stan
dard layout attributes specific to inline-level structure elements')\ |
| 4645 .optional()\ |
| 4646 .field('LineHeight')\ |
| 4647 .name('LineHeight')\ |
| 4648 .type('number or name')\ |
| 4649 .comment('(Optional) The element\'s preferred height, measured in defa
ult user space\nunits in the block-progression direction. The height of a line i
s deter-\nmined by the largest LineHeight value for any complete or partial ILSE
\nthat it contains.\nThe name Normal or Auto in place of a numeric value indicat
es that no\nspecific height constraint is to be imposed; the element\'s height i
s set to a\nreasonable value based on the content\'s font size:\n Normal
Adjust the line height to include any nonzero value\n spec
ified for BaselineShift (see below).\n Auto Do not adjust for the v
alue of BaselineShift.\nDefault value: Normal.')\ |
| 4650 .done().done()\ |
| 4651 .done() |
| 4652 |
| 4653 pdfspec.addClass('ListAttributeDictionary', 'Dictionary', 'Standard list attri
bute')\ |
| 4654 .optional()\ |
| 4655 .field('ListNumbering')\ |
| 4656 .name('ListNumbering')\ |
| 4657 .type('name')\ |
| 4658 .comment('(Optional) The numbering system used to generate the content
of the Lbl (Label)\nelements in an autonumbered list, or the symbol used to ide
ntify each item in an\nunnumbered list:\n None No autonumbering;
Lbl elements (if present) contain arbi-\n trary text not s
ubject to any numbering scheme\n Disc Solid circular bullet\n
Circle Open circular bullet\n Square Solid square bull
et\n Decimal Decimal arabic numerals (1\'9, 10\'99, ...)\n Upper
Roman Uppercase roman numerals (I, II, III, IV, ...)\n LowerRoman
Lowercase roman numerals (i, ii, iii, iv, ...)\n UpperAlpha Upperca
se letters (A, B, C, ...)\n LowerAlpha Lowercase letters (a, b, c, ...
)\nDefault value: None.\nNote: The alphabet used for UpperAlpha and LowerAlpha i
s determined by the pre-\nvailing Lang entry (see Section 9.8.1, "Natural Langua
ge Specification").\nNote: The set of possible values may be expanded as Unicode
identifies additional\nnumbering systems.')\ |
| 4659 .done().done()\ |
| 4660 .done() |
| 4661 |
| 4662 pdfspec.addClass('TableAttributesDictionary', 'Dictionary', 'Standard table at
tributes')\ |
| 4663 .optional()\ |
| 4664 .field('RowSpan')\ |
| 4665 .name('RowSpan')\ |
| 4666 .type('integer')\ |
| 4667 .comment('(Optional) The number of rows in the enclosing table that ar
e spanned by the\ncell. The cell expands by adding rows in the block-progression
direction speci-\nfied by the table\'s WritingMode attribute. Default value: 1.
')\ |
| 4668 .done().done()\ |
| 4669 .optional()\ |
| 4670 .field('ColSpan')\ |
| 4671 .name('ColSpan')\ |
| 4672 .type('integer')\ |
| 4673 .comment('(Optional) The number of columns in the enclosing table that
are spanned by\nthe cell. The cell expands by adding columns in the inline-prog
ression direction\nspecified by the table\'s WritingMode attribute. Default valu
e: 1.')\ |
| 4674 .done().done()\ |
| 4675 .done() |
| 4676 |
| 4677 pdfspec.addClass('WebCaptureInformationDictionary', 'Dictionary', 'Entries in
the Web Capture information dictionary')\ |
| 4678 .required('NULL')\ |
| 4679 .field('V')\ |
| 4680 .name('V')\ |
| 4681 .type('number')\ |
| 4682 .comment('(Required) The Web Capture version number. For PDF 1.3, the
version number is 1.0.\nNote: This value is a single real number, not a major an
d minor version number. Thus, for\nexample, a version number of 1.2 would be con
sidered greater than 1.15.')\ |
| 4683 .done().done()\ |
| 4684 .optional()\ |
| 4685 .field('C')\ |
| 4686 .name('C')\ |
| 4687 .type('array')\ |
| 4688 .comment('(Optional) An array of indirect references to Web Capture co
mmand dictionaries (see\n"Command Dictionaries" on page 672) describing commands
that were used in building\nthe PDF file. The commands appear in the array in t
he order in which they were executed\nin building the file.')\ |
| 4689 .done().done()\ |
| 4690 .done() |
| 4691 |
| 4692 pdfspec.addClass('WebCaptureDictionary', 'Dictionary', 'Entries common to all
Web Capture content sets')\ |
| 4693 .optional()\ |
| 4694 .field('Type')\ |
| 4695 .name('Type')\ |
| 4696 .type('name')\ |
| 4697 .comment('(Optional) The type of PDF object that this dictionary descr
ibes; if present, must be\nSpiderContentSet for a Web Capture content set.')\ |
| 4698 .done().done()\ |
| 4699 .required('NULL')\ |
| 4700 .field('S')\ |
| 4701 .name('S')\ |
| 4702 .type('name')\ |
| 4703 .comment('(Required) The subtype of content set that this dictionary d
escribes:\n SPS ("Spider page set") A page set\n SIS ("Spider image
set") An image set')\ |
| 4704 .done().done()\ |
| 4705 .required('NULL')\ |
| 4706 .field('ID')\ |
| 4707 .name('ID')\ |
| 4708 .type('string')\ |
| 4709 .comment('(Required) The digital identifier of the content set (see "D
igital Identifiers" on page\n664). If the content set has been located via the U
RLS name tree, this allows its related\nentry in the IDS name tree to be found.'
)\ |
| 4710 .done().done()\ |
| 4711 .required('NULL')\ |
| 4712 .field('O')\ |
| 4713 .name('O')\ |
| 4714 .type('array')\ |
| 4715 .comment('(Required) An array of indirect references to the objects be
longing to the content set.\nThe order of objects in the array is undefined in g
eneral, but may be restricted by spe-\ncific content set subtypes.')\ |
| 4716 .done().done()\ |
| 4717 .required('NULL')\ |
| 4718 .field('SI')\ |
| 4719 .name('SI')\ |
| 4720 .type('dictionary or array')\ |
| 4721 .comment('(Required) A source information dictionary (see Section 9.9.
4, "Source Information"),\nor an array of such dictionaries, describing the sour
ces from which the objects belong-\ning to the content set were created.')\ |
| 4722 .done().done()\ |
| 4723 .optional()\ |
| 4724 .field('CT')\ |
| 4725 .name('CT')\ |
| 4726 .type('string')\ |
| 4727 .comment('(Optional) The content type, a string characterizing the sou
rce from which the objects\nbelonging to the content set were created. The strin
g should conform to the content\ntype specification described in Internet RFC 20
45, Multipurpose Internet Mail Exten-\nsions (MIME) Part One: Format of Internet
Message Bodies (see the Bibliography). For\nexample, for a page set consisting
of a group of PDF pages created from an HTML file,\nthe content type would be te
xt/html.')\ |
| 4728 .done().done()\ |
| 4729 .optional()\ |
| 4730 .field('TS')\ |
| 4731 .name('TS')\ |
| 4732 .type('date')\ |
| 4733 .comment('(Optional) A time stamp giving the date and time at which th
e content set was created.')\ |
| 4734 .done().done()\ |
| 4735 .done() |
| 4736 |
| 4737 pdfspec.addClass('WebCapturePageSetDictionary', 'Dictionary', 'Additional entr
ies specific to a Web Capture page set')\ |
| 4738 .required('NULL')\ |
| 4739 .field('S')\ |
| 4740 .name('S')\ |
| 4741 .type('name')\ |
| 4742 .comment('(Required) The subtype of content set that this dictionary d
escribes; must be SPS\n("Spider page set") for a page set.')\ |
| 4743 .done().done()\ |
| 4744 .optional()\ |
| 4745 .field('T')\ |
| 4746 .name('T')\ |
| 4747 .type('text string')\ |
| 4748 .comment('(Optional) The title of the page set, a text string represen
ting it in human-readable\nform.')\ |
| 4749 .done().done()\ |
| 4750 .optional()\ |
| 4751 .field('TID')\ |
| 4752 .name('TID')\ |
| 4753 .type('string')\ |
| 4754 .comment('(Optional) A text identifier generated from the text of the
page set, as described in\n"Digital Identifiers" on page 664.')\ |
| 4755 .done().done()\ |
| 4756 .done() |
| 4757 |
| 4758 pdfspec.addClass('WebCaptureImageSetDictionary', 'Dictionary', 'Additional ent
ries specific to a Web Capture image set')\ |
| 4759 .required('NULL')\ |
| 4760 .field('S')\ |
| 4761 .name('S')\ |
| 4762 .type('name')\ |
| 4763 .comment('(Required) The subtype of content set that this dictionary d
escribes; must be SIS ("Spider\nimage set") for an image set.')\ |
| 4764 .done().done()\ |
| 4765 .required('NULL')\ |
| 4766 .field('R')\ |
| 4767 .name('R')\ |
| 4768 .type('integer or array')\ |
| 4769 .comment('(Required) The reference counts (see below) for the image XO
bjects belonging to the\nimage set. For an image set containing a single XObject
, the value is simply the integer\nreference count for that XObject. If the imag
e set contains multiple XObjects, the value is\nan array of reference counts par
allel to the O array (see Table 9.33 on page 668); that is,\neach element in the
R array holds the reference count for the image XObject at the corre-\nsponding
position in the O array.')\ |
| 4770 .done().done()\ |
| 4771 .done() |
| 4772 |
| 4773 pdfspec.addClass('SourceInformationDictionary', 'Dictionary', 'Entries in a so
urce information dictionary')\ |
| 4774 .required('NULL')\ |
| 4775 .field('AU')\ |
| 4776 .name('AU')\ |
| 4777 .type('string or dictionary')\ |
| 4778 .comment('(Required) A string or URL alias dictionary (see "URL Alias
Dictionaries," below)\nidentifying the URLs from which the source data was retri
eved.')\ |
| 4779 .done().done()\ |
| 4780 .optional()\ |
| 4781 .field('TS')\ |
| 4782 .name('TS')\ |
| 4783 .type('date')\ |
| 4784 .comment('(Optional) A time stamp giving the most recent date and time
at which the content\nset\'s contents were known to be up to date with the sour
ce data.')\ |
| 4785 .done().done()\ |
| 4786 .optional()\ |
| 4787 .field('E')\ |
| 4788 .name('E')\ |
| 4789 .type('date')\ |
| 4790 .comment('(Optional) An expiration stamp giving the date and time at w
hich the content set\'s\ncontents should be considered out of date with the sour
ce data.')\ |
| 4791 .done().done()\ |
| 4792 .optional()\ |
| 4793 .field('S')\ |
| 4794 .name('S')\ |
| 4795 .type('integer')\ |
| 4796 .comment('(Optional) A code indicating the type of form submission, if
any, by which the source\ndata was accessed (see "Submit-Form Actions" on page
550):\n 0 Not accessed via a form submission\n 1 Accessed via an HTT
P GET request\n 2 Accessed via an HTTP POST request\nThis entry should be
present only in source information dictionaries associated with\npage sets. Defa
ult value: 0.')\ |
| 4797 .done().done()\ |
| 4798 .optional()\ |
| 4799 .field('C')\ |
| 4800 .name('C')\ |
| 4801 .type('dictionary')\ |
| 4802 .comment('(Optional; must be an indirect reference) A command dictiona
ry (see "Command Dic-\ntionaries" on page 672) describing the command that cause
d the source data to be\nretrieved. This entry should be present only in source
information dictionaries associ-\nated with page sets.')\ |
| 4803 .done().done()\ |
| 4804 .done() |
| 4805 |
| 4806 pdfspec.addClass('URLAliasDictionary', 'Dictionary', 'Entries in a URL alias d
ictionary')\ |
| 4807 .required('NULL')\ |
| 4808 .field('U')\ |
| 4809 .name('U')\ |
| 4810 .type('string')\ |
| 4811 .comment('(Required) The destination URL to which all of the chains sp
ecified by the C entry lead.')\ |
| 4812 .done().done()\ |
| 4813 .optional()\ |
| 4814 .field('C')\ |
| 4815 .name('C')\ |
| 4816 .type('array')\ |
| 4817 .comment('(Optional) An array of one or more arrays of strings, each r
epresenting a chain of URLs\nleading to the common destination specified by U.')
\ |
| 4818 .done().done()\ |
| 4819 .done() |
| 4820 |
| 4821 pdfspec.addClass('WebCaptureCommandDictionary', 'Dictionary', 'Entries in a We
b Capture command dictionary')\ |
| 4822 .required('NULL')\ |
| 4823 .field('URL')\ |
| 4824 .name('URL')\ |
| 4825 .type('string')\ |
| 4826 .comment('(Required) The initial URL from which source data was reques
ted.')\ |
| 4827 .done().done()\ |
| 4828 .optional()\ |
| 4829 .field('L')\ |
| 4830 .name('L')\ |
| 4831 .type('integer')\ |
| 4832 .comment('(Optional) The number of levels of pages retrieved from the
initial URL. Default\nvalue: 1.')\ |
| 4833 .done().done()\ |
| 4834 .optional()\ |
| 4835 .field('F')\ |
| 4836 .name('F')\ |
| 4837 .type('integer')\ |
| 4838 .comment('(Optional) A set of flags specifying various characteristics
of the command (see\nTable 9.39). Default value: 0.')\ |
| 4839 .done().done()\ |
| 4840 .optional()\ |
| 4841 .field('P')\ |
| 4842 .name('P')\ |
| 4843 .type('string or stream')\ |
| 4844 .comment('(Optional) Data that was posted to the URL.')\ |
| 4845 .done().done()\ |
| 4846 .optional()\ |
| 4847 .field('CT')\ |
| 4848 .name('CT')\ |
| 4849 .type('string')\ |
| 4850 .comment('(Optional) A content type describing the data posted to the
URL. Default value:\napplication/x-www-form-urlencoded.')\ |
| 4851 .done().done()\ |
| 4852 .optional()\ |
| 4853 .field('H')\ |
| 4854 .name('H')\ |
| 4855 .type('string')\ |
| 4856 .comment('(Optional) Additional HTTP request headers sent to the URL.'
)\ |
| 4857 .done().done()\ |
| 4858 .optional()\ |
| 4859 .field('S')\ |
| 4860 .name('S')\ |
| 4861 .type('dictionary')\ |
| 4862 .comment('(Optional) A command settings dictionary containing settings
used in the con-\nversion process (see "Command Settings" on page 674).')\ |
| 4863 .done().done()\ |
| 4864 .done() |
| 4865 |
| 4866 pdfspec.addClass('WebCaptureCommandSettingsDictionary', 'Dictionary', 'Entries
in a Web Capture command settings dictionary')\ |
| 4867 .optional()\ |
| 4868 .field('G')\ |
| 4869 .name('G')\ |
| 4870 .type('dictionary')\ |
| 4871 .comment('(Optional) A dictionary containing global conversion engine
settings relevant to all con-\nversion engines. If this key is absent, default s
ettings will be used.')\ |
| 4872 .done().done()\ |
| 4873 .optional()\ |
| 4874 .field('C')\ |
| 4875 .name('C')\ |
| 4876 .type('dictionary')\ |
| 4877 .comment('(Optional) Settings for specific conversion engines. Each ke
y in this dictionary is the\ninternal name of a conversion engine (see below). T
he associated value is a dictionary\ncontaining the settings associated with tha
t conversion engine. If the settings for a par-\nticular conversion engine are n
ot found in the dictionary, default settings will be used.')\ |
| 4878 .done().done()\ |
| 4879 .done() |
| 4880 |
| 4881 pdfspec.addClass('BoxColorInformationDictionary', 'Dictionary', 'Entries in a
box color information dictionary')\ |
| 4882 .optional()\ |
| 4883 .field('CropBox')\ |
| 4884 .name('CropBox')\ |
| 4885 .type('dictionary')\ |
| 4886 .comment('(Optional) A box style dictionary (see Table 9.42) specifyin
g the visual characteris-\ntics for displaying guidelines for the page\'s crop b
ox. This entry is ignored if no crop\nbox is defined in the page object.')\ |
| 4887 .done().done()\ |
| 4888 .optional()\ |
| 4889 .field('BleedBox')\ |
| 4890 .name('BleedBox')\ |
| 4891 .type('dictionary')\ |
| 4892 .comment('(Optional) A box style dictionary (see Table 9.42) specifyin
g the visual characteris-\ntics for displaying guidelines for the page\'s bleed
box. This entry is ignored if no\nbleed box is defined in the page object.')\ |
| 4893 .done().done()\ |
| 4894 .optional()\ |
| 4895 .field('TrimBox')\ |
| 4896 .name('TrimBox')\ |
| 4897 .type('dictionary')\ |
| 4898 .comment('(Optional) A box style dictionary (see Table 9.42) specifyin
g the visual characteris-\ntics for displaying guidelines for the page\'s trim b
ox. This entry is ignored if no trim\nbox is defined in the page object.')\ |
| 4899 .done().done()\ |
| 4900 .optional()\ |
| 4901 .field('ArtBox')\ |
| 4902 .name('ArtBox')\ |
| 4903 .type('dictionary')\ |
| 4904 .comment('(Optional) A box style dictionary (see Table 9.42) specifyin
g the visual characteris-\ntics for displaying guidelines for the page\'s art bo
x. This entry is ignored if no art\nbox is defined in the page object.')\ |
| 4905 .done().done()\ |
| 4906 .done() |
| 4907 |
| 4908 pdfspec.addClass('BoxStyleDictionary', 'Dictionary', 'Entries in a box style d
ictionary')\ |
| 4909 .required('NULL')\ |
| 4910 .field('C')\ |
| 4911 .name('C')\ |
| 4912 .type('array')\ |
| 4913 .comment('(Required) An array of three numbers in the range 0.0 to 1.0
, representing the com-\nponents in the DeviceRGB color space of the color to be
used for displaying the\nguidelines. Default value: [0.0 0.0 0.0].')\ |
| 4914 .done().done()\ |
| 4915 .optional()\ |
| 4916 .field('W')\ |
| 4917 .name('W')\ |
| 4918 .type('number')\ |
| 4919 .comment('(Optional) The guideline width in default user space units.
Default value: 1.')\ |
| 4920 .done().done()\ |
| 4921 .optional()\ |
| 4922 .field('S')\ |
| 4923 .name('S')\ |
| 4924 .type('name')\ |
| 4925 .comment('(Optional) The guideline style:\n S (Solid) A solid re
ctangle.\n D (Dashed) A dashed rectangle. The dash pattern is specified by
the D entry\n (see below).\nOther guideline styles may be defined in th
e future. Default value: S.')\ |
| 4926 .done().done()\ |
| 4927 .optional()\ |
| 4928 .field('D')\ |
| 4929 .name('D')\ |
| 4930 .type('array')\ |
| 4931 .comment('(Optional) A dash array defining a pattern of dashes and gap
s to be used in drawing\ndashed guidelines (guideline style D above). The dash a
rray is specified in default\nuser space units, in the same format as in the lin
e dash pattern parameter of the\ngraphics state (see "Line Dash Pattern" on page
155). The dash phase is not speci-\nfied and is assumed to be 0. For example, a
D entry of [3 2] specifies guidelines\ndrawn with 3-point dashes alternating wi
th 2-point gaps. Default value: [3].')\ |
| 4932 .done().done()\ |
| 4933 .done() |
| 4934 |
| 4935 pdfspec.addClass('PrinterMarkAnnotationDictionary', 'Dictionary', 'Additional
entries specific to a printer\'s mark annotation')\ |
| 4936 .required('NULL')\ |
| 4937 .field('Subtype')\ |
| 4938 .name('Subtype')\ |
| 4939 .type('name')\ |
| 4940 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be Printer-\nMark for a printer\'s mark annotation.')\ |
| 4941 .done().done()\ |
| 4942 .optional()\ |
| 4943 .field('MN')\ |
| 4944 .name('MN')\ |
| 4945 .type('name')\ |
| 4946 .comment('(Optional) An arbitrary name identifying the type of printer
\'s mark, such as Color-\nBar or RegistrationTarget.')\ |
| 4947 .done().done()\ |
| 4948 .done() |
| 4949 |
| 4950 pdfspec.addClass('PrinterMarkFormDictionary', 'Dictionary', 'Additional entrie
s specific to a printer\'s mark form dictionary')\ |
| 4951 .optional()\ |
| 4952 .field('MarkStyle')\ |
| 4953 .name('MarkStyle')\ |
| 4954 .type('text string')\ |
| 4955 .comment('(Optional; PDF 1.4) A text string representing the printer\'
s mark in\nhuman-readable form, suitable for presentation to the user on the scr
een.')\ |
| 4956 .done().done()\ |
| 4957 .optional()\ |
| 4958 .field('Colorants')\ |
| 4959 .name('Colorants')\ |
| 4960 .type('dictionary')\ |
| 4961 .comment('(Optional; PDF 1.4) A dictionary identifying the individual
colorants\nassociated with a printer\'s mark such as a color bar. For each entry
in this\ndictionary, the key is a colorant name and the value is an array defin
ing a\nSeparation color space for that colorant (see "Separation Color Spaces"\n
on page 201). The key must match the colorant name given in that color\nspace.')
\ |
| 4962 .done().done()\ |
| 4963 .done() |
| 4964 |
| 4965 pdfspec.addClass('SeparationDictionary', 'Dictionary', 'Entries in a separatio
n dictionary')\ |
| 4966 .required('NULL')\ |
| 4967 .field('Pages')\ |
| 4968 .name('Pages')\ |
| 4969 .type('array')\ |
| 4970 .comment('(Required) An array of indirect references to page objects r
epresenting separa-\ntions of the same document page. One of the page objects in
the array must be\nthe one with which this separation dictionary is associated,
and all of them must\nhave separation dictionaries (SeparationInfo entries) con
taining Pages arrays\nidentical to this one.')\ |
| 4971 .done().done()\ |
| 4972 .required('NULL')\ |
| 4973 .field('DeviceColorant')\ |
| 4974 .name('DeviceColorant')\ |
| 4975 .type('name or string')\ |
| 4976 .comment('(Required) The name of the device colorant to be used in ren
dering this\nseparation, such as Cyan or PANTONE 35 CV.')\ |
| 4977 .done().done()\ |
| 4978 .optional()\ |
| 4979 .field('ColorSpace')\ |
| 4980 .name('ColorSpace')\ |
| 4981 .type('array')\ |
| 4982 .comment('(Optional) An array defining a Separation or DeviceN color s
pace (see "Separa-\ntion Color Spaces" on page 201 and "DeviceN Color Spaces" on
page 205). This\nprovides additional information about the color specified by D
eviceColorant-\nin particular, the alternate color space and tint transformation
function that\nwould be used to represent the colorant as a process color. This
information\nenables a viewer application to preview the separation in a color
that approxi-\nmates the device colorant.\nThe value of DeviceColorant must matc
h the space\'s colorant name (if it is a\nSeparation space) or be one of the spa
ce\'s colorant names (if it is a DeviceN\nspace).')\ |
| 4983 .done().done()\ |
| 4984 .done() |
| 4985 |
| 4986 pdfspec.addClass('PDF_XOutputIntentDictionary', 'Dictionary', 'Entries in a PD
F/X output intent dictionary')\ |
| 4987 .optional()\ |
| 4988 .field('Type')\ |
| 4989 .name('Type')\ |
| 4990 .type('name')\ |
| 4991 .comment('(Optional) The type of PDF object that this dictionary descr
ibes;\nif present, must be OutputIntent for an output intent dictionary.')\ |
| 4992 .done().done()\ |
| 4993 .required('NULL')\ |
| 4994 .field('S')\ |
| 4995 .name('S')\ |
| 4996 .type('name')\ |
| 4997 .comment('(Required) The output intent subtype; must be GTS_PDFX for a
\nPDF/X output intent.')\ |
| 4998 .done().done()\ |
| 4999 .optional()\ |
| 5000 .field('OutputCondition')\ |
| 5001 .name('OutputCondition')\ |
| 5002 .type('text string')\ |
| 5003 .comment('(Optional) A text string concisely identifying the intended
out-\nput device or production condition in human-readable form.\nThis is the pr
eferred method of defining such a string for pre-\nsentation to the user.')\ |
| 5004 .done().done()\ |
| 5005 .required('NULL')\ |
| 5006 .field('OutputConditionIdentifier')\ |
| 5007 .name('OutputConditionIdentifier')\ |
| 5008 .type('string')\ |
| 5009 .comment('(Required) A string identifying the intended output device o
r\nproduction condition in human- or machine-readable form. If\nhuman-readable,
this string may be used in lieu of an Output-\nCondition string for presentation
to the user.\nA typical value for this entry would be the name of a production\
ncondition maintained in an industry-standard registry such as\nthe ICC Characte
rization Data Registry (see the Bibliography). If\nthe designated condition matc
hes that in effect at production\ntime, it is the responsibility of the producti
on software to pro-\nvide the corresponding ICC profile as defined in the regist
ry.\nIf the intended production condition is not a recognized\nstandard, the val
ue Custom is recommended for this entry; the\nDestOutputProfile entry defines th
e ICC profile and the Info\nentry is used for further human-readable identificat
ion.')\ |
| 5010 .done().done()\ |
| 5011 .optional()\ |
| 5012 .field('RegistryName')\ |
| 5013 .name('RegistryName')\ |
| 5014 .type('string')\ |
| 5015 .comment('(Optional) A string (conventionally a uniform resource ident
ifi-\ner, or URI) identifying the registry in which the condition desig-\nnated
by OutputConditionIdentifier is defined.')\ |
| 5016 .done().done()\ |
| 5017 .optional()\ |
| 5018 .field('Info')\ |
| 5019 .name('Info')\ |
| 5020 .type('text string')\ |
| 5021 .comment('(Required if OutputConditionIdentifier does not specify a st
andard\nproduction condition; optional otherwise) A human-readable text\nstring
containing additional information or comments about\nthe intended target device
or production condition.')\ |
| 5022 .done().done()\ |
| 5023 .optional()\ |
| 5024 .field('DestOutputProfile')\ |
| 5025 .name('DestOutputProfile')\ |
| 5026 .type('stream')\ |
| 5027 .comment('(Required if OutputConditionIdentifier does not specify a st
andard\nproduction condition; optional otherwise) An ICC profile stream\ndefinin
g the transformation from the PDF document\'s source\ncolors to output device co
lorants.\nThe format of the profile stream is the same as that used in speci-\nf
ying an ICCBased color space (see "ICCBased Color Spaces" on\npage 189). The out
put transformation uses the profile\'s "from\nCIE" information (BToA in ICC term
inology); the "to CIE"\n(AToB) information can optionally be used to remap sourc
e\ncolor values to some other destination color space, such as for\nscreen previ
ew or hardcopy proofing. (See implementation note\n111 in Appendix H.)')\ |
| 5028 .done().done()\ |
| 5029 .done() |
| 5030 |
| 5031 pdfspec.addClass('TrapNetworkAnnotationDictionary', 'Dictionary', 'Additional
entries specific to a trap network annotation')\ |
| 5032 .required('NULL')\ |
| 5033 .field('Subtype')\ |
| 5034 .name('Subtype')\ |
| 5035 .type('name')\ |
| 5036 .comment('(Required) The type of annotation that this dictionary descr
ibes; must be\nTrapNet for a trap network annotation.')\ |
| 5037 .done().done()\ |
| 5038 .optional()\ |
| 5039 .field('Contents')\ |
| 5040 .name('Contents')\ |
| 5041 .type('text string')\ |
| 5042 .comment('(Optional; PDF 1.4) An alternate description of the annotati
on\'s contents in\nhuman-readable form, useful when extracting the document\'s c
ontents in\nsupport of accessibility to disabled users or for other purposes (se
e Section\n9.8.2, "Alternate Descriptions").')\ |
| 5043 .done().done()\ |
| 5044 .optional()\ |
| 5045 .field('LastModified')\ |
| 5046 .name('LastModified')\ |
| 5047 .type('date')\ |
| 5048 .comment('(Required if Version and AnnotStates are absent; must be abs
ent if Version and\nAnnotStates are present; PDF 1.4) The date and time (see Sec
tion 3.8.2,\n"Dates") when the trap network was most recently modified.')\ |
| 5049 .done().done()\ |
| 5050 .optional()\ |
| 5051 .field('Version')\ |
| 5052 .name('Version')\ |
| 5053 .type('array')\ |
| 5054 .comment('(Required if AnnotStates is present; must be absent if LastM
odified is present)\nAn unordered array of all objects present in the page descr
iption at the time\nthe trap networks were generated and that, if changed, could
affect the\nappearance of the page. If present, the array must include the foll
owing\nobjects:\n* All content streams identified in the page object\'s Content
s entry (see\n "Page Objects" on page 87)\n* All resource objects (other than
procedure sets) in the page\'s resource dic-\n tionary (see Section 3.7.2, "R
esource Dictionaries")\n* All resource objects (other than procedure sets) in t
he resource diction-\n aries of any form XObjects on the page (see Section 4.9
, "Form XObjects")\n* All OPI dictionaries associated with XObjects on the page
(see Section\n 9.10.6, "Open Prepress Interface (OPI)")')\ |
| 5055 .done().done()\ |
| 5056 .optional()\ |
| 5057 .field('AnnotStates')\ |
| 5058 .name('AnnotStates')\ |
| 5059 .type('array')\ |
| 5060 .comment('(Required if Version is present; must be absent if LastModif
ied is present) An\narray of name objects representing the appearance states (va
lue of the AS\nentry) for annotations associated with the page. The appearance s
tates must\nbe listed in the same order as the annotations in the page\'s Annots
array (see\n"Page Objects" on page 87). For an annotation with no AS entry, the
corre-\nsponding array element should be null. No appearance state should be\ni
ncluded for the trap network annotation itself.')\ |
| 5061 .done().done()\ |
| 5062 .optional()\ |
| 5063 .field('FontFauxing')\ |
| 5064 .name('FontFauxing')\ |
| 5065 .type('array')\ |
| 5066 .comment('(Optional) An array of font dictionaries representing fonts
that were "fauxed"\n(replaced by substitute fonts) during the generation of trap
networks for the\npage.')\ |
| 5067 .done().done()\ |
| 5068 .done() |
| 5069 |
| 5070 pdfspec.addClass('TrapNetworkAppearanceStreamDictionary', 'Dictionary', 'Addit
ional entries specific to a trap network appearance stream')\ |
| 5071 .required('NULL')\ |
| 5072 .field('PCM')\ |
| 5073 .name('PCM')\ |
| 5074 .type('name')\ |
| 5075 .comment('(Required) The name of the process color model that was assu
med\nwhen this trap network was created; equivalent to the PostScript\npage devi
ce parameter ProcessColorModel (see Section 6.2.5 of the\nPostScript Language Re
ference, Third Edition). Valid values are\nDeviceGray, DeviceRGB, DeviceCMYK, De
viceCMY, DeviceRGBK,\nand DeviceN.')\ |
| 5076 .done().done()\ |
| 5077 .optional()\ |
| 5078 .field('SeparationColorNames')\ |
| 5079 .name('SeparationColorNames')\ |
| 5080 .type('array')\ |
| 5081 .comment('(Optional) An array of names identifying the colorants that
were\nassumed when this network was created; equivalent to the Post-\nScript pag
e device parameter of the same name (see Section 6.2.5 of\nthe PostScript Langua
ge Reference, Third Edition). Colorants im-\nplied by the process color model PC
M are available automatically\nand need not be explicitly declared. If this entr
y is absent, the\ncolorants implied by PCM are assumed.')\ |
| 5082 .done().done()\ |
| 5083 .optional()\ |
| 5084 .field('TrapRegions')\ |
| 5085 .name('TrapRegions')\ |
| 5086 .type('array')\ |
| 5087 .comment('(Optional) An array of indirect references to TrapRegion obj
ects\ndefining the page\'s trapping zones and the associated trapping\nparameter
s, as described in Adobe Technical Note #5620, Portable\nJob Ticket Format. Thes
e references are to objects comprising\nportions of a PJTF job ticket that is em
bedded in the PDF file.\nWhen the trapping zones and parameters are defined by a
n external\njob ticket (or by some other means, such as with JDF), this entry is
\nabsent.')\ |
| 5088 .done().done()\ |
| 5089 .optional()\ |
| 5090 .field('TrapStyles')\ |
| 5091 .name('TrapStyles')\ |
| 5092 .type('text string')\ |
| 5093 .comment('(Optional) A human-readable text string that applications ca
n use\nto describe this trap network to the user (for example, to allow\nswitchi
ng between trap networks).')\ |
| 5094 .done().done()\ |
| 5095 .done() |
| 5096 |
| 5097 pdfspec.addClass('OpiVersionDictionary', 'Dictionary', 'Entry in an OPI versio
n dictionary')\ |
| 5098 .required('NULL')\ |
| 5099 .field('version_number')\ |
| 5100 .name('version_number')\ |
| 5101 .type('dictionary')\ |
| 5102 .comment('(Required; PDF 1.2) An OPI dictionary specifying the attribu
tes of this proxy\n(see Tables 9.50 and 9.51). The key for this entry must be th
e name 1.3 or 2.0,\nidentifying the version of OPI to which the proxy correspond
s.')\ |
| 5103 .done().done()\ |
| 5104 .done() |
| 5105 |
| 5106 |
OLD | NEW |