class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\ViewerPreferencesDictionaryTable147ISO 32000-2:2020 EC3, table 147.Inheritance and contracts
Parent : PDF\Specification\SchemaDictionary
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
ISO 32000-2:2020 EC3 definition
Table 147 · Entries in a viewer preferences dictionary
§12.2 · PDF page 452
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.
| Entry | PDF type | Physical PDF page | Requirement |
|---|---|---|---|
/HideToolbar | boolean | 452 | Optional |
/HideMenubar | boolean | 452 | Optional |
/HideWindowUI | boolean | 453 | Optional |
/FitWindow | boolean | 453 | Optional |
/CenterWindow | boolean | 453 | Optional |
/DisplayDocTitle | boolean | 453 | Optional |
/NonFullScreenPageMode | name | 453 | Optional |
/Direction | name | 453 | Optional |
/ViewArea | name | 453 | Optional |
/ViewClip | name | 454 | Optional |
/PrintArea | name | 454 | Optional |
/PrintClip | name | 454 | Optional |
/PrintScaling | name | 454 | Optional |
/Duplex | name | 455 | Optional |
/PickTrayByPDFSize | boolean | 455 | Optional |
/PrintPageRange | array | 455 | Optional |
/NumCopies | integer | 455 | Optional |
/Enforce | array | 455 | Optional |
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 declared domains, unconditional requirements and explicit reviewed relations.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\Iso32000_2\Dictionary\ViewerPreferencesDictionaryTable147 |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\ViewerPreferencesDictionaryTable147 |