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

PDF\HtmlToPdf\Layout\Paginator
Pagination operates on indivisible lines/rows and always consumes a slice or fails.

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)

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

Declared methods

paginate()

public function paginate(array $flow): array
@param list<FlowItem> $flow
@return list<LayoutPage>

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