class final Core · roukmoute/pdf 0.6.1
PDF\Specification\Dictionary\SetOCGStateActionTable213\StateEntryTable 213, /State; PDF type: array; Required.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 213 · Additional entries specific to a set-OCG-state action
ISO 32000-1:2008, §12.6.4.12 · PDF page 435 ↗
/State array
(Required) An array consisting of any number of sequences beginning with a name object (ON, OFF, or Toggle) followed by one or more optional content group dictionaries. The array elements shall be processed from left to right; each name shall be applied to the subsequent groups until the next name is encountered: ON sets the state of subsequent groups to ON OFF sets the state of subsequent groups to OFF Toggle reverses the state of subsequent groups.
Qualifier: Required
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\SetOCGStateActionTable213\StateEntry |
TABLE | | PDF\Specification\Dictionary\SetOCGStateActionTable213\StateEntry |
VARIABLE | | PDF\Specification\SchemaEntry |