Lines Matching refs:html
14 * Export html content to pdf, for different url parameter configurations
15 * DokuPDF which extends mPDF is used for generating the pdf from html.
17 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
406 * Build a pdf from the html
474 $html = '';
476 $html .= '<html><head>';
477 $html .= '<style>';
492 $html .= $styles;
493 $html .= '</style>';
494 $html .= '</head><body>';
497 $body_start = $template['html'];
503 $mpdf->WriteHTML($body_start, 2, true, false); //start body html
505 $html .= $body_start;
520 $html .= '<tocpagebreak>';
540 $mpdf->WriteHTML($pagehtml, 2, false, false); //intermediate body html
542 $html .= $pagehtml;
551 $mpdf->WriteHTML($body_end, 2, false); // finish body html
553 $html .= $body_end;
554 $html .= '</body>';
555 $html .= '</html>';
558 //Return html for debugging
563 echo $html;
621 'html' => '',
628 $html = '';
631 $file = DOKU_PLUGIN . 'dw2pdf/tpl/' . $this->tpl . '/' . $section . $order . '.html';
633 $html .= '<htmlpage' . $section . ' name="' . $section . $order . '">' . DOKU_LF;
634 $html .= file_get_contents($file) . DOKU_LF;
635 $html .= '</htmlpage' . $section . '>' . DOKU_LF;
667 $html = str_replace(array_keys($replace), array_values($replace), $html);
669 $output['html'] = $this->pageDependReplacements($html, $ID);
672 $coverfile = DOKU_PLUGIN . 'dw2pdf/tpl/' . $this->tpl . '/cover.html';
681 $backfile = DOKU_PLUGIN . 'dw2pdf/tpl/' . $this->tpl . '/back.html';
690 $citationfile = DOKU_PLUGIN . 'dw2pdf/tpl/' . $this->tpl . '/citation.html';