class final Core · roukmoute/pdf 0.6.2

PDF\Specification\Adobe\Dictionary\ViewerPreferencesDictionaryTable8_1
Adobe 1.7 ExtensionLevel 3, table 8.1: Entries in a viewer preferences dictionary.

Read the source declaration ↗

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 ↗

EntryPDF typeRequirementSource
/HideToolbarbooleanOptionalISO · 150 · p.370
/HideMenubarbooleanOptionalISO · 150 · p.370
/HideWindowUIbooleanOptionalISO · 150 · p.371
/FitWindowbooleanOptionalISO · 150 · p.371
/CenterWindowbooleanOptionalISO · 150 · p.371
/DisplayDocTitlebooleanOptional; PDF 1.4ISO · 150 · p.371
/NonFullScreenPageModenameOptionalISO · 150 · p.371
/DirectionnameOptional; PDF 1.3ISO · 150 · p.371
/ViewAreanameOptional; PDF 1.4ISO · 150 · p.371
/ViewClipnameOptional; PDF 1.4ISO · 150 · p.372
/PrintAreanameOptional; PDF 1.4ISO · 150 · p.372
/PrintClipnameOptional; PDF 1.4ISO · 150 · p.372
/PrintScalingnameOptional; PDF 1.6ISO · 150 · p.372
/DuplexnameOptional; PDF 1.7ISO · 150 · p.372
/PickTrayByPDFSizebooleanOptional; PDF 1.7ISO · 150 · p.373
/PrintPageRangearrayOptional; PDF 1.7ISO · 150 · p.373
/NumCopiesintegerOptional; PDF 1.7ISO · 150 · p.373
/Enforcearray of namesOptional; ExtensionLevel 3Adobe · 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)

Declared by PDF\Specification\Adobe\Dictionary\ViewerPreferencesDictionaryTable8_1 · View the code ↗

Inherited methods

11 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

count()

public function count(): int

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

definition()

public function definition(): PDF\Specification\TableDefinition

Declared by PDF\Specification\SchemaDictionary · View the code ↗

entries()

public function entries(): iterable
@return iterable<Entry>

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

get()

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

getIterator()

public function getIterator(): Traversable

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

has()

public function has(PDF\Syntax\Object\NameType|string $key): bool

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Specification\SchemaDictionary · View the code ↗

validate()

public function validate(): void
Checks unconditional requirements; conditional and inherited rules remain explicit.

Declared by PDF\Specification\SchemaDictionary · View the code ↗

with()

public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): static

Declared by PDF\Specification\SchemaDictionary · View the code ↗

without()

public function without(PDF\Syntax\Object\NameType|string $key): static

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

Constants