class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\FDFFieldDictionaryTable246\OptEntryTable 246, /Opt; PDF type: array; Required; choice fields only.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 246 · Entries in an FDF field dictionary
ISO 32000-1:2008, §12.7.7.3.2 · PDF page 470 ↗
/Opt array
(Required; choice fields only) An array of options that shall be presented to the user. Each element of the array shall take one of two forms: A text string representing one of the available options A two-element array consisting of a text string representing one of the available options and a default appearance string for constructing the item’s appearance dynamically at viewing time (see 12.7.3.3, “Variable Text”).
Qualifier: Required; choice fields only
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\FDFFieldDictionaryTable246\OptEntry |
TABLE | | PDF\Specification\Dictionary\FDFFieldDictionaryTable246\OptEntry |
VARIABLE | | PDF\Specification\SchemaEntry |