Home
last modified time | relevance | path

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

1234

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
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 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;
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DIndexEntry.php12 $this->mpdf->IndexEntry(htmlspecialchars_decode($attr['CONTENT'], ENT_QUOTES), $attr['XREF']);
20 if ($this->mpdf->tableLevel) {
21 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['textbuffer'][] = [$e];
24 $this->mpdf->textbuffer[] = [$e];
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 DBookmark.php20 if ($this->mpdf->tableLevel) {
21 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['textbuffer'][] = [$e];
24 $this->mpdf->textbuffer[] = [$e];
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 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 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 DNewColumn.php10 $this->mpdf->ignorefollowingspaces = true;
11 $this->mpdf->NewColumn();
12 $this->mpdf->ColumnAdjust = false; // disables all column height adjustment for the page.
H A DTag.php26 protected $mpdf; variable in Mpdf\\Tag\\Tag
87 Mpdf $mpdf, argument
99 $this->mpdf = $mpdf;
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Conversion/
H A DDecToOther.php14 private $mpdf; variable in Mpdf\\Conversion\\DecToOther
16 public function __construct(Mpdf $mpdf) argument
18 $this->mpdf = $mpdf;
30 if (!$check || $this->mpdf->_charDefined($this->mpdf->CurrentFont['cw'], $cp + ((int) $nstr[$i]))) {
/plugin/dw2pdf/vendor/mpdf/qrcode/src/Output/
H A DMpdf.php15 * @param \Mpdf\Mpdf $mpdf Mpdf instance
22 public function output(QrCode $qrCode, MpdfObject $mpdf, $x, $y, $w, $background = [255, 255, 255], $color = [0, 0, 0]) argument
28 $mpdf->SetDrawColor($color[0], $color[1], $color[2]);
29 $mpdf->SetFillColor($background[0], $background[1], $background[2]);
34 $mpdf->Rect($x, $y, $size, $size, 'F');
38 $mpdf->Rect($x, $y, $size, $size, 'FD');
41 $mpdf->SetFillColor($color[0], $color[1], $color[2]);
48 $mpdf->Rect($x + ($i - $minSize) * $s, $y + ($j - $minSize) * $s, $s, $s, 'F');
/plugin/dw2pdf/vendor/mpdf/mpdf/src/File/
H A DStreamWrapperChecker.php10 private $mpdf; variable in Mpdf\\File\\StreamWrapperChecker
12 public function __construct(Mpdf $mpdf) argument
14 $this->mpdf = $mpdf;
43 return array_diff($this->mpdf->whitelistStreamWrappers, ['phar']); // remove 'phar' (security issue)
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DBmp.php13 private $mpdf; variable in Mpdf\\Image\\Bmp
15 public function __construct(Mpdf $mpdf) argument
17 $this->mpdf = $mpdf;
50 if ($this->mpdf->restrictColorSpace == 1 || $this->mpdf->PDFX || $this->mpdf->restrictColorSpace == 3) {
51 if (($this->mpdf->PDFA && !$this->mpdf->PDFAauto) || ($this->mpdf
[all...]
H A DSvg.php36 public $mpdf; variable in Mpdf\\Image\\Svg
177 Mpdf $mpdf, argument
187 $this->mpdf = $mpdf;
218 $this->kp = 72 / $mpdf->img_dpi; // constant To convert pixels to pts/PDF units
242 'font-family' => $mpdf->default_font,
243 'font-size' => $mpdf->default_font_size, // ****** this is pts
268 $w = $this->sizeConverter->convert($wset, $this->svg_info['w'] * (25.4 / $this->mpdf->dpi), $this->mpdf->FontSize, false);
269 $h = $this->sizeConverter->convert($hset, $this->svg_info['h'] * (25.4 / $this->mpdf
[all...]
H A DWmf.php14 private $mpdf; variable in Mpdf\\Image\\Wmf
26 public function __construct(Mpdf $mpdf, ColorConverter $colorConverter) argument
28 $this->mpdf = $mpdf;
125 $wmfdata .= $this->mpdf->SetFColor($this->colorConverter->convert('rgb(' . $obj['r'] . ',' . $obj['g'] . ',' . $obj['b'] . ')', $this->mpdf->PDFAXwarnings), true) . "\n";
152 $wmfdata .= $this->mpdf->SetDColor($this->colorConverter->convert('rgb(' . $obj['r'] . ',' . $obj['g'] . ',' . $obj['b'] . ')', $this->mpdf->PDFAXwarnings), true) . "\n";
/plugin/siteexport/inc/
H A DreadCSS.patch4 …if ($this->mpdf->CSSselectMedia && !preg_match('/('.trim($this->mpdf->CSSselectMedia).'|all)/i',$m…
10 …if ($this->mpdf->CSSselectMedia && !preg_match('/('.trim($this->mpdf->CSSselectMedia).'|all)/i',$m…
32 $html = preg_replace('/<!--mpdf/i','',$html);
33 $html = preg_replace('/mpdf-->/i','',$html);
83 $this->mpdf->GetFullPath($path);
84 $CSSextblock = $this->mpdf->_get_file($path);
95 $this->mpdf->GetFullPath($cxtembedded, $cssBasePath );
107 $this->mpdf->GetFullPath($embedded, $cssBasePath );
130 $this->mpdf->GetFullPath($embedded);
144 …if ($this->mpdf->CSSselectMedia && !preg_match('/('.trim($this->mpdf->CSSselectMedia).'|all)/is',$…
[all …]
H A Dmpdf.php22 class siteexportPDF extends mpdf {
139 …if (file_exists(DOKU_PLUGIN . 'dw2pdf/mpdf/classes/cssmgr.php') && !class_exists('cssmgr', false))…
142 $objPatch = new CSSMgrPatch(DOKU_PLUGIN . 'dw2pdf/mpdf/classes/cssmgr.php');
/plugin/dw2pdf/
H A Dcomposer.lock10 "name": "mpdf/mpdf",
14 "url": "https://github.com/mpdf/mpdf.git",
19 "url": "https://api.github.com/repos/mpdf/mpdf/zipball/5f64118317c8145c0abc606b310aa0a66808398a",
34 "mpdf/qrcode": "^1.1.0",
65 "homepage": "https://mpdf.github.io",
72 "docs": "http://mpdf.github.io",
73 "issues": "https://github.com/mpdf/mpd
[all...]
H A Daction.php362 $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
[all...]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DSizeConverter.php18 private $mpdf; variable in Mpdf\\SizeConverter
25 public function __construct($dpi, $defaultFontSize, Mpdf $mpdf, LoggerInterface $logger) argument
29 $this->mpdf = $mpdf;
76 $size *= $this->mpdf->default_font_size / Mpdf::SCALE;
/plugin/dw2pdf/vendor/mpdf/qrcode/
H A DREADME.md5 [![Build Status](https://travis-ci.org/mpdf/qrcode.svg?branch=development)](https://travis-ci.org/mpdf/mpdf)
12 $ composer require mpdf/qrcode
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/
H A DColorConverter.php22 private $mpdf; variable in Mpdf\\Color\\ColorConverter
30 public function __construct(Mpdf $mpdf, ColorModeConverter $colorModeConverter, ColorSpaceRestrictor $colorSpaceRestrictor) argument
32 $this->mpdf = $mpdf;
199 if ($this->mpdf->PDFA || $this->mpdf->PDFX || $this->mpdf->restrictColorSpace) {
265 if (!isset($this->mpdf->spotColors[$name])) {
267 $this->mpdf->AddSpotColor($cores[0], $cores[2], $cores[3], $cores[4], $cores[5]);
273 return [static::MODE_SPOT, $this->mpdf
[all...]
/plugin/wrapadd/
H A Dprint.css23 CSS Compounds not possible yet (in the mpdf-version used by dw2pdf). The mpdf issue has apparently …
24 be now see https://github.com/mpdf/mpdf/issues/538)
26 Thus the css definitions can be changed as soon as the integration of the new mpdf version has been…

1234