class final Core · roukmoute/pdf 0.6.1
PDF\Specification\Dictionary\CheckBoxAndRadioButtonFieldsTable227\OptEntryTable 227, /Opt; PDF type: array of text strings; Optional; inheritable; PDF 1.4.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 227 · Additional entry specific to check box and radio button fields
ISO 32000-1:2008, §12.7.4.2.4 · PDF page 449 ↗
/Opt array of text strings
(Optional; inheritable; PDF 1.4) An array containing one entry for each widget annotation in the Kids array of the radio button or check box field. Each entry shall be a text string representing the on state of the corresponding widget annotation. When this entry is present, the names used to represent the on state in the AP dictionary of each annotation (for example, /1, /2) numerical position (starting with 0) of the annotation in the Kids array, encoded as a name object. This allows distinguishing between the annotations even if two or more of them have the same value in the Opt array.
Qualifier: Optional; inheritable; PDF 1.4
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\CheckBoxAndRadioButtonFieldsTable227\OptEntry |
TABLE | | PDF\Specification\Dictionary\CheckBoxAndRadioButtonFieldsTable227\OptEntry |
VARIABLE | | PDF\Specification\SchemaEntry |