class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\FileTrailerDictionaryTable15ISO 32000-1:2008, table 15: Entries in the file trailer dictionary.Inheritance and contracts
Parent : PDF\Specification\SchemaDictionary
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Definition in the specification
Table 15 · Entries in the file trailer dictionary
ISO 32000-1:2008, §7.5.5 · PDF page 51 ↗
| Entry | PDF type | Source requirement | Table |
|---|---|---|---|
/Size | integer | Required; shall not be an indirect reference | 15 |
/Prev | integer | Present only if the file has more than one cross-reference section; shall be an indirect reference | 15 |
/Root | dictionary | Required; shall be an indirect reference | 15 |
/Encrypt | dictionary | Required if document is encrypted; PDF 1.1 | 15 |
/Info | dictionary | Optional; shall be an indirect reference | 15 |
/ID | array | Required if an Encrypt entry is present; optional otherwise; PDF 1.1 | 15 |
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\FileTrailerDictionaryTable15 |
TABLE | | PDF\Specification\Dictionary\FileTrailerDictionaryTable15 |