class final Core · roukmoute/pdf 0.5.5

PDF\Document\Collections\CollectionField
Table157/page380: native data type and presentation facts for one collection field.

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Specification\SchemaDictionary

Interfaces : Countable, IteratorAggregate, PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Traits : PDF\Document\Collections\CollectionVersion

Définition dans la norme

Tableau 157 · Entries in a collection field dictionary
ISO 32000-1:2008, §12.3.5 · page PDF 380 ↗

EntréeType PDFExigence de la sourceTableau
/TypenameOptional157
/SubtypenameRequired157
/Ntext stringRequired157
/OintegerOptional157
/VbooleanOptional157
/EbooleanOptional157

Les descriptions conditionnelles restent traçables. La présence d’une définition ne réalise pas à elle seule un codec, une signature ou tous les traitements du format. Lire la couverture.

Construction

__construct()

public function __construct(PDF\Document\Collections\CollectionFieldType $type, PDF\Syntax\DataStructure\TextString $displayName, ?PDF\Syntax\Object\IntegerType $order = null, PDF\Syntax\Object\BooleanType $visible = new BooleanType(true), PDF\Syntax\Object\BooleanType $editable = new BooleanType(false))

Déclarée par PDF\Document\Collections\CollectionField · Voir le code ↗

Méthodes déclarées

accepts()

public function accepts(PDF\Syntax\FileStructure\BasicType $value): bool

Déclarée par PDF\Document\Collections\CollectionField · Voir le code ↗

validateVersion()

public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): void

Déclarée par PDF\Document\Collections\CollectionField · Voir le code ↗

with()

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

Déclarée par PDF\Document\Collections\CollectionField · Voir le code ↗

without()

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

Déclarée par PDF\Document\Collections\CollectionField · Voir le code ↗

Méthodes héritées

9 méthodes des parents et contrats

__toString()

public function __toString(): string

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

count()

public function count(): int

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

definition()

public function definition(): PDF\Specification\TableDefinition

Déclarée par PDF\Specification\SchemaDictionary · Voir le code ↗

entries()

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

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

get()

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

getIterator()

public function getIterator(): Traversable

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

has()

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

Déclarée par PDF\Syntax\Object\DictionaryType · Voir le code ↗

toPdf()

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

Déclarée par PDF\Specification\SchemaDictionary · Voir le code ↗

validate()

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

Déclarée par PDF\Specification\SchemaDictionary · Voir le code ↗

Propriétés

DéclarationProvenance et documentation
public readonly PDF\Document\Collections\CollectionFieldType $typePDF\Document\Collections\CollectionField

Constantes