Home
last modified time | relevance | path

Searched refs:sizeConverter (Results 1 – 25 of 25) sorted by relevance

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DImg.php137 $w = $this->sizeConverter->convert(
144 $w = $this->sizeConverter->convert(
152 $h = $this->sizeConverter->convert(
159 $h = $this->sizeConverter->convert(
168 $maxw = $this->sizeConverter->convert(
175 $maxw = $this->sizeConverter->convert(
183 $maxh = $this->sizeConverter->convert(
190 $maxh = $this->sizeConverter->convert(
198 $minw = $this->sizeConverter->convert(
205 $minw = $this->sizeConverter->convert(
[all …]
H A DPageFooter.php49 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
50 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
51 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
79 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
101 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
123 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
H A DTextCircle.php41 $objattr['r'] = $this->sizeConverter->convert(
85 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
121 $objattr['margin_top'] = $this->sizeConverter->convert(
129 $objattr['margin_bottom'] = $this->sizeConverter->convert(
137 $objattr['margin_left'] = $this->sizeConverter->convert(
145 $objattr['margin_right'] = $this->sizeConverter->convert(
154 $objattr['padding_top'] = $this->sizeConverter->convert(
162 $objattr['padding_bottom'] = $this->sizeConverter->convert(
170 $objattr['padding_left'] = $this->sizeConverter->convert(
178 $objattr['padding_right'] = $this->sizeConverter->convert(
H A DTag.php56 protected $sizeConverter; variable in Mpdf\\Tag\\Tag
93 SizeConverter $sizeConverter, argument
105 $this->sizeConverter = $sizeConverter;
H A DFormFeed.php16 $newformat = [$this->sizeConverter->convert($prop[0]), $this->sizeConverter->convert($prop[1])];
33 …$mgr = $this->sizeConverter->convert($attr['MARGIN-RIGHT'], $this->mpdf->w, $this->mpdf->FontSize,…
36 …$mgl = $this->sizeConverter->convert($attr['MARGIN-LEFT'], $this->mpdf->w, $this->mpdf->FontSize, …
39 …$mgt = $this->sizeConverter->convert($attr['MARGIN-TOP'], $this->mpdf->w, $this->mpdf->FontSize, f…
42 …$mgb = $this->sizeConverter->convert($attr['MARGIN-BOTTOM'], $this->mpdf->w, $this->mpdf->FontSize…
45 …$mgh = $this->sizeConverter->convert($attr['MARGIN-HEADER'], $this->mpdf->w, $this->mpdf->FontSize…
48 …$mgf = $this->sizeConverter->convert($attr['MARGIN-FOOTER'], $this->mpdf->w, $this->mpdf->FontSize…
H A DBarCode.php75 $objattr['margin_top'] = $this->sizeConverter->convert(
83 $objattr['margin_bottom'] = $this->sizeConverter->convert(
91 $objattr['margin_left'] = $this->sizeConverter->convert(
99 $objattr['margin_right'] = $this->sizeConverter->convert(
108 $objattr['padding_top'] = $this->sizeConverter->convert(
116 $objattr['padding_bottom'] = $this->sizeConverter->convert(
124 $objattr['padding_left'] = $this->sizeConverter->convert(
132 $objattr['padding_right'] = $this->sizeConverter->convert(
H A DMeter.php100 $objattr['margin_top'] = $this->sizeConverter->convert(
108 $objattr['margin_bottom'] = $this->sizeConverter->convert(
116 $objattr['margin_left'] = $this->sizeConverter->convert(
124 $objattr['margin_right'] = $this->sizeConverter->convert(
133 $objattr['padding_top'] = $this->sizeConverter->convert(
141 $objattr['padding_bottom'] = $this->sizeConverter->convert(
149 $objattr['padding_left'] = $this->sizeConverter->convert(
157 $objattr['padding_right'] = $this->sizeConverter->convert(
184 $w = $this->sizeConverter->convert(
191 …$w = $this->sizeConverter->convert($attr['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_wi…
[all …]
H A DHr.php36 $objattr['margin_top'] = $this->sizeConverter->convert(
44 $objattr['margin_bottom'] = $this->sizeConverter->convert(
52 …$objattr['width'] = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mp…
54 …$objattr['width'] = $this->sizeConverter->convert($attr['WIDTH'], $this->mpdf->blk[$this->mpdf->bl…
78 $objattr['linewidth'] = $this->sizeConverter->convert(
H A DInput.php74 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
104 …$w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['in…
151 $objattr['margin_top'] = $this->sizeConverter->convert(
159 $objattr['margin_bottom'] = $this->sizeConverter->convert(
167 $objattr['margin_left'] = $this->sizeConverter->convert(
175 $objattr['margin_right'] = $this->sizeConverter->convert(
208 …$w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['in…
211 …$h = $this->sizeConverter->convert($properties['HEIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['i…
H A DTextArea.php68 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
97 $w = $this->sizeConverter->convert(
105 $h = $this->sizeConverter->convert(
H A DDotTab.php28 $objattr['outdent'] = $this->sizeConverter->convert(
35 $objattr['outdent'] = $this->sizeConverter->convert(
H A DTd.php349 …$c['padding']['L'] = $this->sizeConverter->convert($properties['PADDING-LEFT'], $this->mpdf->blk[$…
352 …$c['padding']['R'] = $this->sizeConverter->convert($properties['PADDING-RIGHT'], $this->mpdf->blk[…
355 …$c['padding']['B'] = $this->sizeConverter->convert($properties['PADDING-BOTTOM'], $this->mpdf->blk…
358 …$c['padding']['T'] = $this->sizeConverter->convert($properties['PADDING-TOP'], $this->mpdf->blk[$t…
372 …$c['w'] = $this->sizeConverter->convert($w, $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], …
377 …$c['h'] = $this->sizeConverter->convert($properties['HEIGHT'], $this->mpdf->blk[$this->mpdf->blklv…
379 …$c['h'] = $this->sizeConverter->convert($attr['HEIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['in…
H A DColumns.php22 $this->sizeConverter,
H A DTable.php279 $tableFontSize = $this->sizeConverter->convert($this->mpdf->base_table_properties['FONT-SIZE']);
280 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $tableFontSize);
282 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
346 …$table['padding']['T'] = $this->sizeConverter->convert($properties['PADDING-TOP'], $this->mpdf->bl…
354 …$tmp = $this->sizeConverter->convert($properties['MARGIN-TOP'], $this->mpdf->blk[$this->mpdf->blkl…
361 …$table['margin']['T'] = $this->sizeConverter->convert($properties['MARGIN-TOP'], $this->mpdf->blk[…
368 …$table['margin']['L'] = $this->sizeConverter->convert($properties['MARGIN-LEFT'], $this->mpdf->blk…
372 …$table['margin']['R'] = $this->sizeConverter->convert($properties['MARGIN-RIGHT'], $this->mpdf->bl…
466 $wmm = $this->sizeConverter->convert($w, $maxwidth, $this->mpdf->FontSize, false);
473 …$wmm = $this->sizeConverter->convert($w, $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $th…
[all …]
H A DSelect.php19 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /…
H A DBlockTag.php406 $currblk['css_set_height'] = $this->sizeConverter->convert(
670 $cbti = $this->sizeConverter->convert(
850 $autopadding += $this->sizeConverter->convert(
870 $currblk['padding_right'] = $this->sizeConverter->convert(
877 $currblk['padding_left'] = $this->sizeConverter->convert(
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DServiceFactory.php47 $sizeConverter = new SizeConverter($mpdf->dpi, $mpdf->default_font_size, $mpdf, $logger);
57 $tableOfContents = new TableOfContents($mpdf, $sizeConverter);
64 $cssManager = new CssManager($mpdf, $cache, $sizeConverter, $colorConverter);
72 $gradient = new Gradient($mpdf, $sizeConverter, $colorConverter, $writer);
86 $sizeConverter,
103 $sizeConverter,
147 'sizeConverter' => $sizeConverter,
H A DTag.php51 private $sizeConverter; variable in Mpdf\\Tag
87 SizeConverter $sizeConverter, argument
99 $this->sizeConverter = $sizeConverter;
120 $this->sizeConverter,
H A DTableOfContents.php13 private $sizeConverter; variable in Mpdf\\TableOfContents
78 public function __construct(Mpdf $mpdf, SizeConverter $sizeConverter) argument
81 $this->sizeConverter = $sizeConverter;
678 …$this->m_TOC[$toc_id]['TOC_margin_left'] = $this->sizeConverter->convert($attr['TOC-MARGIN-LEFT'],…
681 …$this->m_TOC[$toc_id]['TOC_margin_top'] = $this->sizeConverter->convert($attr['TOC-MARGIN-TOP'], $…
787 …$this->TOC_margin_right = $this->sizeConverter->convert($attr['TOC-MARGIN-RIGHT'], $this->mpdf->w,…
790 …$this->TOC_margin_left = $this->sizeConverter->convert($attr['TOC-MARGIN-LEFT'], $this->mpdf->w, $…
793 …$this->TOC_margin_top = $this->sizeConverter->convert($attr['TOC-MARGIN-TOP'], $this->mpdf->w, $th…
796 …$this->TOC_margin_bottom = $this->sizeConverter->convert($attr['TOC-MARGIN-BOTTOM'], $this->mpdf->…
799 …$this->TOC_margin_header = $this->sizeConverter->convert($attr['TOC-MARGIN-HEADER'], $this->mpdf->…
[all …]
H A DGradient.php22 private $sizeConverter; variable in Mpdf\\Gradient
34 …public function __construct(Mpdf $mpdf, SizeConverter $sizeConverter, ColorConverter $colorConvert… argument
37 $this->sizeConverter = $sizeConverter;
163 $tmp = $this->sizeConverter->convert($m[1], $this->mpdf->w, $this->mpdf->FontSize, false);
169 $tmp = $this->sizeConverter->convert($m[1], $this->mpdf->w, $this->mpdf->FontSize, false);
496 $tmp = $this->sizeConverter->convert($m[1], $this->mpdf->w, $this->mpdf->FontSize, false);
662 $tmp = $this->sizeConverter->convert($m[1], $this->mpdf->w, $this->mpdf->FontSize, false);
670 $tmp = $this->sizeConverter->convert($m[1], $this->mpdf->w, $this->mpdf->FontSize, false);
787 $tmp = $this->sizeConverter->convert($m[1], $this->mpdf->w, $this->mpdf->FontSize, false);
795 $tmp = $this->sizeConverter->convert($m[1], $this->mpdf->w, $this->mpdf->FontSize, false);
[all …]
H A DCssManager.php27 private $sizeConverter; variable in Mpdf\\CssManager
50 …public function __construct(Mpdf $mpdf, Cache $cache, SizeConverter $sizeConverter, ColorConverter… argument
54 $this->sizeConverter = $sizeConverter;
874 $newprop['SIZE']['W'] = $this->sizeConverter->convert($prop[0]);
875 $newprop['SIZE']['H'] = $this->sizeConverter->convert($prop[0]);
877 $newprop['SIZE']['W'] = $this->sizeConverter->convert($prop[0]);
878 $newprop['SIZE']['H'] = $this->sizeConverter->convert($prop[1]);
887 …$newprop['SHEET-SIZE'] = [$this->sizeConverter->convert($prop[0]), $this->sizeConverter->convert($…
1134 …$new['x'] = $this->sizeConverter->convert(trim($p[0]), $this->mpdf->FontSize, $this->mpdf->FontSiz…
1138 …$new['y'] = $this->sizeConverter->convert(trim($p[1]), $this->mpdf->FontSize, $this->mpdf->FontSiz…
[all …]
H A DDirectWrite.php24 private $sizeConverter; variable in Mpdf\\DirectWrite
31 …public function __construct(Mpdf $mpdf, Otl $otl, SizeConverter $sizeConverter, ColorConverter $co… argument
35 $this->sizeConverter = $sizeConverter;
482 $width = $this->sizeConverter->convert($width, $this->mpdf->pgwidth);
H A DMpdf.php909 private $sizeConverter; variable in Mpdf\\Mpdf
1479 $mmsize = $this->sizeConverter->convert($this->defaultCSS['BODY']['FONT-SIZE']);
2154 $bsw = $this->sizeConverter->convert($bsw, $maxwidth, $this->FontSize);
2157 $bsh = $this->sizeConverter->convert($bsh, $maxwidth, $this->FontSize);
2202 $x_pos = $this->sizeConverter->convert($x_pos, $maxwidth, $this->FontSize);
2205 $y_pos = $this->sizeConverter->convert($y_pos, $maxwidth, $this->FontSize);
14795 $bsize = $this->sizeConverter->convert($prop[0], $refw, $this->FontSize, false);
18078 $mmsize = $this->sizeConverter->convert($v, $this->FontSize);
18479 $sz = $this->sizeConverter->convert($v, $lh, $this->FontSize, false);
18801 $w = $this->sizeConverter->convert($v, $this->FontSize, $this->FontSize);
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DImageProcessor.php52 private $sizeConverter; variable in Mpdf\\Image\\ImageProcessor
113 SizeConverter $sizeConverter, argument
126 $this->sizeConverter = $sizeConverter;
270 …$svg = new Svg($this->mpdf, $this->otl, $this->cssManager, $this, $this->sizeConverter, $this->col…
H A DSvg.php51 public $sizeConverter; variable in Mpdf\\Image\\Svg
181 SizeConverter $sizeConverter, argument
191 $this->sizeConverter = $sizeConverter;
268 …$w = $this->sizeConverter->convert($wset, $this->svg_info['w'] * (25.4 / $this->mpdf->dpi), $this-…
269 …$h = $this->sizeConverter->convert($hset, $this->svg_info['h'] * (25.4 / $this->mpdf->dpi), $this-…
1055 $svg_w = $this->sizeConverter->convert($attribs['width']); // mm (interprets numbers as pixels)
1058 $svg_h = $this->sizeConverter->convert($attribs['height']); // mm
2079 …$size = $this->sizeConverter->convert($size, $maxsize, $fontsize, false) * 1 / (25.4 / $this->mpdf…
2091 $size = $this->sizeConverter->convert($size, $maxsize, false, true) * 72 / 25.4;