class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Adobe\Dictionary\ViewerPreferencesDictionaryTable8_1Adobe 1.7 ExtensionLevel 3, table 8.1: 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 Adobe supplement
Table 8.1 · Entries in a viewer preferences dictionary
PDF 1.7 · Adobe ExtensionLevel 3 · §8.1 · PDF page 28 ↗
| Entry | PDF type | Requirement | Source |
|---|---|---|---|
/HideToolbar | boolean | Optional | ISO · 150 · p.370 |
/HideMenubar | boolean | Optional | ISO · 150 · p.370 |
/HideWindowUI | boolean | Optional | ISO · 150 · p.371 |
/FitWindow | boolean | Optional | ISO · 150 · p.371 |
/CenterWindow | boolean | Optional | ISO · 150 · p.371 |
/DisplayDocTitle | boolean | Optional; PDF 1.4 | ISO · 150 · p.371 |
/NonFullScreenPageMode | name | Optional | ISO · 150 · p.371 |
/Direction | name | Optional; PDF 1.3 | ISO · 150 · p.371 |
/ViewArea | name | Optional; PDF 1.4 | ISO · 150 · p.371 |
/ViewClip | name | Optional; PDF 1.4 | ISO · 150 · p.372 |
/PrintArea | name | Optional; PDF 1.4 | ISO · 150 · p.372 |
/PrintClip | name | Optional; PDF 1.4 | ISO · 150 · p.372 |
/PrintScaling | name | Optional; PDF 1.6 | ISO · 150 · p.372 |
/Duplex | name | Optional; PDF 1.7 | ISO · 150 · p.372 |
/PickTrayByPDFSize | boolean | Optional; PDF 1.7 | ISO · 150 · p.373 |
/PrintPageRange | array | Optional; PDF 1.7 | ISO · 150 · p.373 |
/NumCopies | integer | Optional; PDF 1.7 | ISO · 150 · p.373 |
/Enforce | array of names | Optional; ExtensionLevel 3 | Adobe · 8.1 · p.28 |
Each entry preserves its ISO or Adobe source. Related rules and mechanisms are described in supplement 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\Adobe\Dictionary\ViewerPreferencesDictionaryTable8_1 |
TABLE | | PDF\Specification\Adobe\Dictionary\ViewerPreferencesDictionaryTable8_1 |