class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\PrintFieldAttributesTable383\RoleEntryISO 32000-2:2020 EC3, table 383, /Role.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 383 · PrintField attributes
§14.8.5.6 · PDF page 806
Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗
Original retained in the core repository. Table inventory and semantic validation remain distinct.
Common definitions: Table 360
Original normative excerpt in English.
/Role name
(Optional; not inheritable; PDF 1.7) The type of form field represented. The value of Role shall be one of the following: rb Radio button cb Check box pb Push button tv Text-value field lb Listbox field The tv role shall be used for non-interactive fields with textual values. The text that is the value of the field shall be the content of the Form structure element (see "Table 368 — General inline level structure types"). NOTE 1 Examples include text edit fields, numeric fields, password fields, digital signature fields and combo box fields. Semantic groupings of non-interactive form fields and associated content (for example, a set of radio button fields associated with a label) should be enclosed within a Part structure element. Default value: None specified.
Construction
__construct()
public function __construct(PDF\Syntax\Object\NameType|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\Iso32000_2\Dictionary\PrintFieldAttributesTable383\RoleEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\PrintFieldAttributesTable383\RoleEntry |
VARIABLE | | PDF\Specification\SchemaEntry |