class final Core · roukmoute/pdf 0.7.1
PDF\Document\Parts\DocumentPartTable409/physical pp.851–852: explicit document-scoped hierarchy builder, one parent and one page range.Inheritance and contracts
Parent : PDF\Syntax\Object\DictionaryType
Interfaces : Countable, IteratorAggregate, PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
ISO 32000-2:2020 EC3 definition
Table 409 · Entries in a DPart dictionary
§14.12.4.1 · PDF page 851
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.
Construction
__construct()
public function __construct(?PDF\Document\Parts\DocumentPartMetadata $metadata = null, PDF\Syntax\Object\DictionaryObject\Entry ...$entries)Declared methods
addGroup()
public function addGroup(self $first, self ...$others): selfattachTo()
public function attachTo(self|PDF\Document\Parts\DocumentPartRoot $parent): void@internal Called only by the owning parent constructor or addGroup().entries()
public function entries(): iterablesetPageRange()
public function setPageRange(PDF\Syntax\DocumentStructure\PageTree\PageObject $first, PDF\Syntax\DocumentStructure\PageTree\PageObject ...$others): selfvalidateVersion()
public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): voidwith()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticInherited methods
6 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intget()
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): string