Novis\Pdf\Rendered
The result of Document::render: the PDF file, its pages, and what the render could not draw. To print a page number inside the same document, such as in a table of contents, use the CSS function target-counter().
Returned by
You get a Novis\Pdf\Rendered from these methods:
Members
1 member.
| Member | Signature |
|---|---|
constructor | constructor(bytes $bytes, uint $pageCount, array<Page> $pages, array<Dropped> $dropped, array<MissingGlyph> $missingGlyphs, array<Overflow> $overflows): void |
Types
Dropped
MissingGlyph
Overflow
Properties
$rendered->bytesbytesthe PDF file$rendered->pageCountuintthe number of pages in the PDF file$rendered->pagesarray<Page>onePagefor each page of the PDF file, with itsstring-setvalues and its marks$rendered->droppedarray<Dropped>the CSS the render does not support, with the line and column of each declaration$rendered->missingGlyphsarray<MissingGlyph>the text that no font has, with the fonts tried and the page$rendered->overflowsarray<Overflow>the HTML that is too tall for its cell, with its page and area
Example apps
These complete apps use this class. You can download and run each one.
- PDF documents: A small web app that makes three PDF files. They are an invoice, an encrypted report and event tickets. See each file, then run the app and its tests.
