class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\CollectionSortDictionaryTable158\AEntryTable 158, /A; PDF type: boolean or array; Optional.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 158 · Entries in a collection sort dictionary
ISO 32000-1:2008, §12.3.5 · PDF page 381 ↗
/A boolean or array
(Optional) If the value is a boolean, it specifies whether the conforming reader shall sort the items in the collection in ascending order (true) or descending order (false). If the value is an array, each element of the array shall be a boolean value that specifies whether the entry at the same index in the S array shall be sorted in ascending or descending order. If the number of entries in the A array is larger than the number of entries in the S array the extra entries in the A array shall be ignored. If the number of entries in the A array is less than the number of entries in the S array the missing entries in the A array shall be assumed to be true. Default value: true.
Qualifier: Optional
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\BooleanType|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\CollectionSortDictionaryTable158\AEntry |
TABLE | | PDF\Specification\Dictionary\CollectionSortDictionaryTable158\AEntry |
VARIABLE | | PDF\Specification\SchemaEntry |