-
mPDF – mPDF Manual
mPDF is a PHP library which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF, with a number of enhancements.
-
Supported CSS – CSS & Stylesheets – mPDF Manual
border-radius, border-top-left-radius, border-top-right-radius, border-bottom-right-radius,
border-bottom-left-radius
LENGTH
NB Use of
width
LENGTH
mPDF does not support nested block elements wh...
-
WriteHTML() – mPDF functions – mPDF Manual
Anything between
If
<body> tags are found, all $html outside these tags are discarded, and the
rest is parsed as content for the document.
If no
\Mpdf\HTMLParserMode::HEADER_CSS:
The html input is ...
-
Overview – mPDF Variables – mPDF Manual
Notes:
Variables with scope marked as DOCUMENT should only be set once at the beginning of
the document. All others can be changed during the course of creating the document. ↩
-
Annotation() – mPDF functions – mPDF Manual
Description
void
Annotation (
string $text
[, float $x ,
float $y
[, string $icon
[, string $author
[, string $subject
[, float $opacity
[, array $colarray
[, mixed $popup
[, string $file
]]]]]]])
Ad...
-
Method 1 – Headers & Footers – mPDF Manual
non-HTML is now handled as HTML as well
This uses RUNTIME NON-HTML headers & footers.
This is the simplest & quickest way to define a header/footer for the whole document if you need limited control
o...