Home
last modified time | relevance | path

Searched refs:mpdf (Results 51 – 75 of 94) sorted by path

1234

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DSetHtmlPageFooter.php11 $this->mpdf->ignorefollowingspaces = true;
48 $this->mpdf->SetHTMLHeader($this->mpdf->pageHTMLheaders[$pname], 'O', $write);
50 $this->mpdf->SetHTMLFooter($this->mpdf->pageHTMLfooters[$pname], 'O');
52 $this->mpdf->SetHTMLHeader('', 'O');
54 $this->mpdf->SetHTMLFooter('', 'O');
59 $this->mpdf->SetHTMLHeader($this->mpdf->pageHTMLheaders[$pname], 'E', $write);
61 $this->mpdf
[all...]
H A DSubstituteTag.php11 if ($this->mpdf->InlineProperties[$tag]) {
12 $this->mpdf->restoreInlineProperties($this->mpdf->InlineProperties[$tag]);
14 unset($this->mpdf->InlineProperties[$tag]);
16 $this->mpdf->$ltag = false;
H A DTBody.php10 $this->mpdf->tablethead = 0;
11 $this->mpdf->tabletfoot = 0;
12 $this->mpdf->lastoptionaltag = 'TBODY'; // Save current HTML specified optional endtag
19 $this->mpdf->lastoptionaltag = '';
H A DTFoot.php12 $this->mpdf->lastoptionaltag = 'TFOOT'; // Save current HTML specified optional endtag
14 $this->mpdf->tabletfoot = 1;
15 $this->mpdf->tablethead = 0;
18 $this->mpdf->tfoot_font_weight = '';
20 $this->mpdf->tfoot_font_weight = 'B';
25 $this->mpdf->tfoot_font_style = '';
27 $this->mpdf->tfoot_font_style = 'I';
31 $this->mpdf->tfoot_font_smCaps = '';
33 $this->mpdf->tfoot_font_smCaps = 'S';
38 $this->mpdf
[all...]
H A DTHead.php10 $this->mpdf->lastoptionaltag = 'THEAD'; // Save current HTML specified optional endtag
12 $this->mpdf->tablethead = 1;
13 $this->mpdf->tabletfoot = 0;
16 $this->mpdf->thead_font_weight = '';
18 $this->mpdf->thead_font_weight = 'B';
23 $this->mpdf->thead_font_style = '';
25 $this->mpdf->thead_font_style = 'I';
29 $this->mpdf->thead_font_smCaps = '';
31 $this->mpdf->thead_font_smCaps = 'S';
36 $this->mpdf
[all...]
H A DTable.php13 $this->mpdf->tdbegin = false;
14 $this->mpdf->lastoptionaltag = '';
16 if ($this->mpdf->ColActive) {
17 $this->mpdf->colvAlign = '';
19 if ($this->mpdf->lastblocklevelchange == 1) {
22 elseif ($this->mpdf->lastblocklevelchange < 1) {
26 if (count($this->mpdf->textbuffer) == 0 && $this->mpdf->lastblocklevelchange == 1 && !$this->mpdf->tableLevel && !$this->mpdf
[all...]
H A DTag.php26 protected $mpdf; variable in Mpdf\\Tag\\Tag
87 Mpdf $mpdf, argument
99 $this->mpdf = $mpdf;
H A DTd.php16 $this->mpdf->ignorefollowingspaces = true;
17 $this->mpdf->lastoptionaltag = $tag; // Save current HTML specified optional endtag
21 $this->mpdf->InlineProperties = [];
22 $this->mpdf->InlineBDF = []; // mPDF 6
23 $this->mpdf->InlineBDFctr = 0; // mPDF 6
24 $this->mpdf->tdbegin = true;
25 $this->mpdf->col++;
27 while (isset($this->mpdf->cell[$this->mpdf->row][$this->mpdf
[all...]
H A DTextArea.php37 if ($this->mpdf->onlyCoreFonts) {
38 $objattr['title'] = mb_convert_encoding($objattr['title'], $this->mpdf->mb_enc, 'UTF-8');
41 if ($this->mpdf->useActiveForms) {
62 $this->mpdf->InlineProperties['TEXTAREA'] = $this->mpdf->saveInlineProperties();
65 $this->mpdf->SetFont($properties['FONT-FAMILY'], '', 0, false);
68 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size / Mpdf::SCALE);
69 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false);
72 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
74 $objattr['fontfamily'] = $this->mpdf
[all...]
H A DTextCircle.php34 $this->mpdf->InlineProperties['TEXTCIRCLE'] = $this->mpdf->saveInlineProperties();
43 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'],
44 $this->mpdf->FontSize,
50 $objattr['top-text'] = $this->mpdf->lesser_entity_decode($objattr['top-text']);
51 if ($this->mpdf->onlyCoreFonts) {
52 $objattr['top-text'] = mb_convert_encoding($objattr['top-text'], $this->mpdf->mb_enc, 'UTF-8');
57 $objattr['bottom-text'] = $this->mpdf->lesser_entity_decode($objattr['bottom-text']);
58 if ($this->mpdf
[all...]
H A DTh.php10 $this->mpdf->SetStyle('B', false);
H A DTocEntry.php26 if ($this->mpdf->tableLevel) {
27 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['textbuffer'][] = [$e];
30 $this->mpdf->textbuffer[] = [$e];
H A DTr.php13 $this->mpdf->lastoptionaltag = 'TR'; // Save current HTML specified optional endtag
15 $this->mpdf->row++;
16 $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['nr'] ++;
17 $this->mpdf->col = -1;
20 if (!$this->mpdf->simpleTables && (!isset($this->mpdf->table[$this->mpdf
[all...]
H A DTta.php10 $this->mpdf->tta = true;
11 $this->mpdf->InlineProperties['TTA'] = $this->mpdf->saveInlineProperties();
13 if (in_array($this->mpdf->FontFamily, $this->mpdf->mono_fonts)) {
14 $this->mpdf->setCSS(['FONT-FAMILY' => 'ccourier'], 'INLINE');
15 } elseif (in_array($this->mpdf->FontFamily, $this->mpdf->serif_fonts)) {
16 $this->mpdf->setCSS(['FONT-FAMILY' => 'ctimes'], 'INLINE');
18 $this->mpdf
[all...]
H A DTts.php10 $this->mpdf->tts = true;
11 $this->mpdf->InlineProperties['TTS'] = $this->mpdf->saveInlineProperties();
12 $this->mpdf->setCSS(['FONT-FAMILY' => 'csymbol', 'FONT-WEIGHT' => 'normal', 'FONT-STYLE' => 'normal'], 'INLINE');
H A DTtz.php10 $this->mpdf->ttz = true;
11 $this->mpdf->InlineProperties['TTZ'] = $this->mpdf->saveInlineProperties();
12 $this->mpdf->setCSS(['FONT-FAMILY' => 'czapfdingbats', 'FONT-WEIGHT' => 'normal', 'FONT-STYLE' => 'normal'], 'INLINE');
H A DWatermarkImage.php35 $this->mpdf->SetWatermarkImage($src, $alpha, $size, $pos);
H A DWatermarkText.php19 $this->mpdf->SetWatermarkText($txt, $alpha);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
H A DBackgroundWriter.php16 private $mpdf; variable in Mpdf\\Writer\\BackgroundWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
25 $this->mpdf = $mpdf;
31 $patternCount = count($this->mpdf->patterns);
35 $x = $this->mpdf->patterns[$i]['x'];
36 $y = $this->mpdf->patterns[$i]['y'];
37 $w = $this->mpdf->patterns[$i]['w'];
38 $h = $this->mpdf->patterns[$i]['h'];
39 $pgh = $this->mpdf
[all...]
H A DBaseWriter.php17 private $mpdf;
24 public function __construct(Mpdf $mpdf, Protection $protection)
26 $this->mpdf = $mpdf;
32 if ($this->mpdf->state === 2) {
35 $this->mpdf->buffer .= $s . ($ln ? "\n" : '');
41 if ($this->mpdf->encrypted) {
42 $s = $this->protection->rc4($this->protection->objectKey($this->mpdf->currentObjectNumber), $s);
51 $obj_id = ++$this->mpdf->n;
56 $this->mpdf
18 private $mpdf; global() variable in Mpdf\\Writer\\BaseWriter
25 __construct(Mpdf $mpdf, Protection $protection) global() argument
[all...]
H A DBookmarkWriter.php16 private $mpdf; variable in Mpdf\\Writer\\BookmarkWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
25 $this->mpdf = $mpdf;
31 $nb = count($this->mpdf->BMoutlines);
36 $bmo = $this->mpdf->BMoutlines;
37 $this->mpdf->BMoutlines = [];
46 $this->mpdf->BMoutlines[] = $new;
49 $this->mpdf->BMoutlines[] = $bmo[$i];
52 $nb = count($this->mpdf
[all...]
H A DColorWriter.php16 private $mpdf; variable in Mpdf\\Writer\\ColorWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
25 $this->mpdf = $mpdf;
31 foreach ($this->mpdf->spotColors as $name => $color) {
42 $this->mpdf->spotColors[$name]['n'] = $this->mpdf->n;
H A DFontWriter.php18 private $mpdf;
35 public function __construct(Mpdf $mpdf, BaseWriter $writer, FontCache $fontCache, $fontDescriptor)
37 $this->mpdf = $mpdf;
45 foreach ($this->mpdf->FontFiles as $fontkey => $info) {
50 foreach ($this->mpdf->fonts as $k => $f) {
58 if ($fsize > ($this->mpdf->maxTTFFilesize * 1024)) {
60 } elseif ($usage < $this->mpdf->percentSubset) {
64 if ($this->mpdf->PDFA || $this->mpdf
19 private $mpdf; global() variable in Mpdf\\Writer\\FontWriter
36 __construct(Mpdf $mpdf, BaseWriter $writer, FontCache $fontCache, $fontDescriptor) global() argument
[all...]
H A DFormWriter.php16 private $mpdf;
23 public function __construct(Mpdf $mpdf, BaseWriter $writer)
25 $this->mpdf = $mpdf;
31 foreach ($this->mpdf->formobjects as $file => $info) {
35 $this->mpdf->formobjects[$file]['n'] = $this->mpdf->n;
39 $this->writer->write('/Group ' . ($this->mpdf->n + 1) . ' 0 R');
42 if ($this->mpdf->compress) {
46 $data = $this->mpdf
17 private $mpdf; global() variable in Mpdf\\Writer\\FormWriter
24 __construct(Mpdf $mpdf, BaseWriter $writer) global() argument
[all...]
H A DImageWriter.php16 private $mpdf; variable in Mpdf\\Writer\\ImageWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
25 $this->mpdf = $mpdf;
31 $filter = $this->mpdf->compress ? '/Filter /FlateDecode ' : '';
33 foreach ($this->mpdf->images as $file => $info) {
37 $this->mpdf->images[$file]['n'] = $this->mpdf->n;
49 $this->writer->write('/SMask ' . ($this->mpdf->n - 1) . ' 0 R');
57 $this->writer->write('/ColorSpace [/ICCBased ' . ($this->mpdf
[all...]

1234