Lines Matching refs:mpdf
362 $depends['files'][] = __DIR__ . '/mpdf/mpdf.php';
434 $mpdf = new DokuPDF(
441 // let mpdf fix local links
447 $mpdf->SetBasePath($url);
450 $mpdf->SetTitle($this->title);
455 $mpdf->mirrorMargins = $this->getExportConfig('doublesided');
456 $mpdf->setAutoTopMargin = 'stretch';
457 $mpdf->setAutoBottomMargin = 'stretch';
458 // $mpdf->pagenumSuffix = '/'; //prefix for {nbpg}
460 $mpdf->h2toc = $levels;
462 $mpdf->PageNumSubstitutions[] = ['from' => 1, 'reset' => 0, 'type' => '1', 'suppress' => 'off'];
466 $mpdf->SetWatermarkText($watermark);
467 $mpdf->showWatermarkText = true;
489 $mpdf->WriteHTML($styles, 1);
503 $mpdf->WriteHTML($body_start, 2, true, false); //start body html
513 $mpdf->TOCpagebreakByArray([
540 $mpdf->WriteHTML($pagehtml, 2, false, false); //intermediate body html
551 $mpdf->WriteHTML($body_end, 2, false); // finish body html
568 $mpdf->Output($cachefile, 'F');
654 '@PAGES@' => '{nbpg}', //see also $mpdf->pagenumSuffix = ' / '