class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\ViewerPreferencesDictionaryTable150ISO 32000-1:2008, table 150: Entries in a viewer preferences dictionary.Inheritance and contracts
Parent : PDF\Specification\SchemaDictionary
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Definition in the specification
Table 150 · Entries in a viewer preferences dictionary
ISO 32000-1:2008, §12.2 · PDF page 370 ↗
| Entry | PDF type | Source requirement | Table |
|---|---|---|---|
/HideToolbar | boolean | Optional | 150 |
/HideMenubar | boolean | Optional | 150 |
/HideWindowUI | boolean | Optional | 150 |
/FitWindow | boolean | Optional | 150 |
/CenterWindow | boolean | Optional | 150 |
/DisplayDocTitle | boolean | Optional; PDF 1.4 | 150 |
/NonFullScreenPageMode | name | Optional | 150 |
/Direction | name | Optional; PDF 1.3 | 150 |
/ViewArea | name | Optional; PDF 1.4 | 150 |
/ViewClip | name | Optional; PDF 1.4 | 150 |
/PrintArea | name | Optional; PDF 1.4 | 150 |
/PrintClip | name | Optional; PDF 1.4 | 150 |
/PrintScaling | name | Optional; PDF 1.6 | 150 |
/Duplex | name | Optional; PDF 1.7 | 150 |
/PickTrayByPDFSize | boolean | Optional; PDF 1.7 | 150 |
/PrintPageRange | array | Optional; PDF 1.7 | 150 |
/NumCopies | integer | Optional; PDF 1.7 | 150 |
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\DictionaryObject\Entry ...$entries)Inherited methods
11 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intdefinition()
public function definition(): PDF\Specification\TableDefinitionentries()
public function entries(): iterable@return iterable<Entry>get()
public function get(PDF\Syntax\Object\NameType|string $key): ?PDF\Syntax\FileStructure\BasicTypegetIterator()
public function getIterator(): Traversablehas()
public function has(PDF\Syntax\Object\NameType|string $key): booltoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringvalidate()
public function validate(): voidChecks unconditional requirements; conditional and inherited rules remain explicit.with()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticConstants
| Name | PHP value | Origin |
|---|---|---|
COMMON_TABLES | | PDF\Specification\Dictionary\ViewerPreferencesDictionaryTable150 |
TABLE | | PDF\Specification\Dictionary\ViewerPreferencesDictionaryTable150 |