class final Core · roukmoute/pdf 0.7.1
PDF\Specification\Dictionary\PrintFieldAttributesTable348\RoleEntryTable 348, /Role; PDF type: name; Optional; not inheritable.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 348 · PrintField attributes
ISO 32000-1:2008, §14.8.5.7 · PDF page 617 ↗
/Role name
(Optional; not inheritable) The type of form field represented by this graphic. The value of Role shall be one of the following, and a conforming reader shall interpret its meaning as defined herein. rb Radio button cb Check box pb Push button tv Text-value field The tv role shall be used for interactive fields whose values have been converted to text in the non-interactive document. The text that is the value of the field shall be the content of the Form element (see Table 340). NOTE 1 Examples include text edit fields, numeric fields, password fields, digital signatures, and combo boxes. Default value: None specified.
Qualifier: Optional; not inheritable
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\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\Dictionary\PrintFieldAttributesTable348\RoleEntry |
TABLE | | PDF\Specification\Dictionary\PrintFieldAttributesTable348\RoleEntry |
VARIABLE | | PDF\Specification\SchemaEntry |