15 require_once
'libs/composer/vendor/autoload.php';
36 $pdf->SetFont(
'dejavusans',
'', 10);
38 $pdf->setSpacesRE(
'/[^\S\xa0]/');
53 $pdf->writeHTML($page,
true,
false,
true,
false,
'');
const PDF_MARGIN_HEADER
Header margin.
const PDF_FONT_SIZE_MAIN
Default main font size.
const PDF_FONT_SIZE_DATA
Default data font size.
const PDF_FONT_NAME_MAIN
Default main font name.
PHP class for generating PDF documents without requiring external extensions.
const PDF_UNIT
Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
const PDF_PAGE_ORIENTATION
Page orientation (P=portrait, L=landscape).
Create styles array
The data for the language used.
Class ilPDFGenerationJob.
const PDF_FONT_NAME_DATA
Default data font name.
const PDF_PAGE_FORMAT
Page format.
const PDF_FONT_MONOSPACED
Default monospaced font name.
static generatePDF(ilPDFGenerationJob $job)
const PDF_MARGIN_FOOTER
Footer margin.