class final Optional · pdftoolkit/html-to-pdf 0.4.0

PDF\HtmlToPdf\Layout\FlowBuilder
Builds bounded, page-independent flow slices. No shared caches or external resources.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\HtmlToPdf\ConversionOptions $options, PDF\HtmlToPdf\Diagnostics $diagnostics, PDF\HtmlToPdf\Layout\SemanticTree $semantics)

Declared by PDF\HtmlToPdf\Layout\FlowBuilder · View the code ↗

Declared methods

build()

public function build(PDF\HtmlToPdf\Model\Node $node, float $x, float $available, string $parent, bool $root = false, ?string $marker = null, ?string $uri = null, ?PDF\HtmlToPdf\Layout\FloatContext $floats = null, float $top = 0, bool $floating = false): array
@return list<FlowItem>

Declared by PDF\HtmlToPdf\Layout\FlowBuilder · View the code ↗