class final Core · roukmoute/pdf 0.7.1

PDF\Document\Metadata\MetadataStream
ISO 32000-2 Table347, PDF p.730; UTF-8 XML is independent of PDF string encodings.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\StreamObject

Interfaces : PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct(PDF\Document\Metadata\XmpPacket $packet, PDF\Syntax\Filters\Filter ...$filters)

Declared by PDF\Document\Metadata\MetadataStream · View the code ↗

Declared methods

validateVersion()

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

Declared by PDF\Document\Metadata\MetadataStream · View the code ↗

Inherited methods

4 methods from parents and contracts

__toString()

public function __toString(): string

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

bytes()

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

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

dictionary()

public function dictionary(): PDF\Syntax\Object\DictionaryType

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

toPdf()

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

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

Properties

DeclarationOrigin and documentation
public readonly PDF\Syntax\ContentStreamsResources\ContentStreams|string $dataPDF\Syntax\Object\StreamObject
public readonly array $filtersPDF\Syntax\Object\StreamObject
@var list<Filter>
public readonly PDF\Document\Metadata\XmpPacket $packetPDF\Document\Metadata\MetadataStream