class final readonly Optional · pdftoolkit/pdf-to-html 0.1.2

PDF\Html\Reading\SourceValues
Typed source access with explicit resolution, version and resource budget.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Reading\ReadDocument $document, PDF\Html\Reading\ReadingBudget $budget)

Declared by PDF\Html\Reading\SourceValues · View the code ↗

Declared methods

dictionary()

Declared by PDF\Html\Reading\SourceValues · View the code ↗

integer()

public function integer(?PDF\Syntax\FileStructure\BasicType $value, int $default = 0): int

Declared by PDF\Html\Reading\SourceValues · View the code ↗

items()

public function items(?PDF\Syntax\FileStructure\BasicType $value): array
@return list<BasicType>

Declared by PDF\Html\Reading\SourceValues · View the code ↗

key()

public function key(PDF\Syntax\FileStructure\BasicType $value): string

Declared by PDF\Html\Reading\SourceValues · View the code ↗

name()

public function name(?PDF\Syntax\FileStructure\BasicType $value): ?string

Declared by PDF\Html\Reading\SourceValues · View the code ↗

native()

public function native(?PDF\Syntax\FileStructure\BasicType $value, int $depth = 1): mixed

Declared by PDF\Html\Reading\SourceValues · View the code ↗

number()

public function number(?PDF\Syntax\FileStructure\BasicType $value, float $default = 0): float

Declared by PDF\Html\Reading\SourceValues · View the code ↗

properties()

public function properties(PDF\Syntax\Object\DictionaryType $dictionary, array $classes = []): PDF\Html\Model\StructureProperties
@param list<string> $classes

Declared by PDF\Html\Reading\SourceValues · View the code ↗

text()

public function text(?PDF\Syntax\FileStructure\BasicType $value): ?string

Declared by PDF\Html\Reading\SourceValues · View the code ↗

value()

public function value(PDF\Syntax\Object\DictionaryType $dictionary, string $key): ?PDF\Syntax\FileStructure\BasicType

Declared by PDF\Html\Reading\SourceValues · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDF\Html\Reading\ReadingBudget $budgetPDF\Html\Reading\SourceValues
public readonly PDF\Reading\ReadDocument $documentPDF\Html\Reading\SourceValues