class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\JavaScriptDictionaryTable245\DocEntryTable 245, /Doc; PDF type: array; Optional.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 245 · Entries in the JavaScript dictionary
ISO 32000-1:2008, §12.7.7.3.2 · PDF page 469 ↗
/Doc array
(Optional) An array defining additional JavaScript scripts that shall be added to those defined in the JavaScript entry of the document’s name dictionary (see 7.7.4, “Name Dictionary”). The array shall contain an even number of elements, organized in pairs. The first element of each pair shall be a name and the second shall be a text string or text stream defining the script corresponding to that name. Each of the defined scripts shall be added to those already defined in the name dictionary and shall then be executed before the script defined in the Before entry is executed. NOTE As described in 12.6.4.16, “JavaScript Actions,” these scripts are used to define JavaScript functions for use by other scripts in the document.
Qualifier: Optional
Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.
Construction
__construct()
public function __construct(PDF\Syntax\Object\ArrayType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constants
| Name | PHP value | Origin |
|---|---|---|
KEY | | PDF\Specification\Dictionary\JavaScriptDictionaryTable245\DocEntry |
TABLE | | PDF\Specification\Dictionary\JavaScriptDictionaryTable245\DocEntry |
VARIABLE | | PDF\Specification\SchemaEntry |