Lines Matching refs:mpdf

14 		$this->mpdf->ignorefollowingspaces = false;
50 $objattr['title'] = $this->mpdf->lesser_entity_decode($objattr['title']);
51 if ($this->mpdf->onlyCoreFonts) {
52 $objattr['title'] = mb_convert_encoding($objattr['title'], $this->mpdf->mb_enc, 'UTF-8');
54 if ($this->mpdf->useActiveForms && isset($attr['NAME'])) {
59 $attr['VALUE'] = $this->mpdf->lesser_entity_decode($attr['VALUE']);
60 if ($this->mpdf->onlyCoreFonts) {
61 $attr['VALUE'] = mb_convert_encoding($attr['VALUE'], $this->mpdf->mb_enc, 'UTF-8');
66 $this->mpdf->InlineProperties['INPUT'] = $this->mpdf->saveInlineProperties();
71 $this->mpdf->SetFont($properties['FONT-FAMILY'], $this->mpdf->FontStyle, 0, false);
74 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size / Mpdf::SCALE);
75 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false);
78 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
80 $objattr['fontfamily'] = $this->mpdf->FontFamily;
81 $objattr['fontsize'] = $this->mpdf->FontSizePt;
82 if ($this->mpdf->useActiveForms) {
89 $objattr['border-col'] = $this->colorConverter->convert($properties['BORDER-TOP-COLOR'], $this->mpdf->PDFAXwarnings);
92 $objattr['background-col'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings);
98 $height = $this->mpdf->FontSize;
100 $spacesize = $this->mpdf->GetCharWidth(' ', false);
104 $w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width']);
113 $this->mpdf->ignorefollowingspaces = true; //Eliminate exceeding left-side spaces
114 if ($this->mpdf->useActiveForms) {
117 if ($this->mpdf->InlineProperties[$tag]) {
118 $this->mpdf->restoreInlineProperties($this->mpdf->InlineProperties[$tag]);
120 unset($this->mpdf->InlineProperties[$tag]);
130 $width = $this->mpdf->FontSize;
131 $height = $this->mpdf->FontSize;
139 $width = $this->mpdf->FontSize;
140 $height = $this->mpdf->FontSize;
153 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'],
154 $this->mpdf->FontSize,
161 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'],
162 $this->mpdf->FontSize,
169 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'],
170 $this->mpdf->FontSize,
177 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'],
178 $this->mpdf->FontSize,
184 $objattr['border_top'] = $this->mpdf->border_details($properties['BORDER-TOP']);
187 $objattr['border_bottom'] = $this->mpdf->border_details($properties['BORDER-BOTTOM']);
190 $objattr['border_left'] = $this->mpdf->border_details($properties['BORDER-LEFT']);
193 $objattr['border_right'] = $this->mpdf->border_details($properties['BORDER-RIGHT']);
208 $w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width']);
211 $h = $this->sizeConverter->convert($properties['HEIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width']);
220 $info = $this->imageProcessor->getImage($this->mpdf->noImageFile);
222 $srcpath = $this->mpdf->noImageFile;
223 $w = ($info['w'] * (25.4 / $this->mpdf->img_dpi));
224 $h = ($info['h'] * (25.4 / $this->mpdf->img_dpi));
250 $w = ($info['w'] / Mpdf::SCALE) * (72 / $this->mpdf->img_dpi);
251 $h = ($info['h'] / Mpdf::SCALE) * (72 / $this->mpdf->img_dpi);
256 $w *= $this->mpdf->img_dpi / $info['set-dpi'];
257 $h *= $this->mpdf->img_dpi / $info['set-dpi'];
261 $w *= $this->mpdf->img_dpi / $dpi;
262 $h *= $this->mpdf->img_dpi / $dpi;
275 $maxWidth = $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'];
276 $maxHeight = $this->mpdf->h - ($this->mpdf->tMargin + $this->mpdf->bMargin + 10);
277 if ($this->mpdf->fullImageHeight) {
278 $maxHeight = $this->mpdf->fullImageHeight;
312 if ($this->mpdf->useActiveForms) {
339 $width = $this->mpdf->GetStringWidth($texto) + ($this->form->form_element_spacing['button']['outer']['h'] * 2)
342 $height = $this->mpdf->FontSize + ($this->form->form_element_spacing['button']['outer']['v'] * 2)
345 if ($this->mpdf->useActiveForms && isset($attr['ONCLICK'])) {
361 $num_stars = mb_strlen($attr['VALUE'], $this->mpdf->mb_enc);
377 $height = $this->mpdf->FontSize + $xh;
381 if ($this->mpdf->useActiveForms) {
408 if ($this->mpdf->tableLevel) {
409 $this->mpdf->_saveCellTextBuffer($e, $this->mpdf->HREF);
410 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'] += $objattr['width'];
413 $this->mpdf->_saveTextBuffer($e, $this->mpdf->HREF);
416 if ($this->mpdf->InlineProperties[$tag]) {
417 $this->mpdf->restoreInlineProperties($this->mpdf->InlineProperties[$tag]);
419 unset($this->mpdf->InlineProperties[$tag]);