| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/ |
| D | Table.php | 13 $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-… 27 …his->mpdf->newFlowingBlock($this->mpdf->blk[$this->mpdf->blklvl]['width'], $this->mpdf->lineheight… 28 $this->mpdf->finishFlowingBlock(true); // true = END of flowing block 29 } elseif (!$this->mpdf->tableLevel && count($this->mpdf->textbuffer)) { [all …]
|
| D | BlockTag.php | 18 $this->mpdf->lastoptionaltag = ''; 23 if (isset($this->mpdf->blk[$this->mpdf->blklvl]['bidicode'])) { 24 … $blockpost = $this->mpdf->_setBidiCodes('end', $this->mpdf->blk[$this->mpdf->blklvl]['bidicode']); 26 $this->mpdf->OTLdata = []; 27 if ($this->mpdf->tableLevel) { 28 $this->mpdf->_saveCellTextBuffer($blockpost); 30 $this->mpdf->_saveTextBuffer($blockpost); 38 $this->mpdf->blklvl++; 39 $this->mpdf->blk[$this->mpdf->blklvl]['hide'] = true; 40 $this->mpdf->blk[$this->mpdf->blklvl]['tag'] = $tag; // mPDF 6 [all …]
|
| D | Tr.php | 13 $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->tableLevel][$this->mpdf-… 21 …|| !$this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['bord… 23 …$this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['trborder… 26 …$this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['trborder… 29 …$this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['trborder… 32 …$this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['trborder… [all …]
|
| D | Td.php | 16 $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->col])) { 28 $this->mpdf->col++; 32 …if ($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['nc']… [all …]
|
| D | Select.php | 12 $this->mpdf->lastoptionaltag = ''; // Save current HTML specified optional endtag 13 $this->mpdf->InlineProperties['SELECT'] = $this->mpdf->saveInlineProperties(); 16 $this->mpdf->SetFont($properties['FONT-FAMILY'], $this->mpdf->FontStyle, 0, false); 19 …$mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size /… 20 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false); 23 $this->mpdf->selectoption['SPELLCHECK'] = true; 27 …$this->mpdf->selectoption['COLOR'] = $this->colorConverter->convert($properties['COLOR'], $this->m… 29 $this->mpdf->specialcontent = 'type=select'; 31 $this->mpdf->selectoption['DISABLED'] = $attr['DISABLED']; 34 $this->mpdf->selectoption['READONLY'] = $attr['READONLY']; [all …]
|
| D | Br.php | 14 $this->mpdf->ClearFloats(strtoupper($properties['CLEAR']), $this->mpdf->blklvl); 24 if (isset($this->mpdf->blk[$this->mpdf->blklvl]['bidicode'])) { 25 $blockpre = $this->mpdf->_setBidiCodes('end', $this->mpdf->blk[$this->mpdf->blklvl]['bidicode']); 26 …$blockpost = $this->mpdf->_setBidiCodes('start', $this->mpdf->blk[$this->mpdf->blklvl]['bidicode']… 35 if (count($this->mpdf->InlineBDF)) { 36 foreach ($this->mpdf->InlineBDF as $k => $ib) { 44 $inlinepre .= $this->mpdf->_setBidiCodes('end', $iBDF[$i]); 47 $inlinepost .= $this->mpdf->_setBidiCodes('start', $iBDF[$i]); 53 if ($this->mpdf->tableLevel) { 54 if ($this->mpdf->blockjustfinished) { [all …]
|
| D | Img.php | 13 $this->mpdf->ignorefollowingspaces = false; 36 if (isset($properties['Z-INDEX']) && $this->mpdf->current_layer == 0) { 46 …if (($v === 'hidden' || $v === 'printonly' || $v === 'screenonly') && $this->mpdf->visibility === … 55 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 56 $this->mpdf->FontSize, 63 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 64 $this->mpdf->FontSize, 71 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 72 $this->mpdf->FontSize, 79 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], [all …]
|
| D | DotTab.php | 13 $objattr['width'] = $this->mpdf->GetStringWidth($dots); 19 $objattr['colorarray'] = $this->mpdf->colorarray; 30 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 31 $this->mpdf->FontSize, 37 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 38 $this->mpdf->FontSize, 45 $objattr['fontfamily'] = $this->mpdf->FontFamily; 46 $objattr['fontsize'] = $this->mpdf->FontSizePt; 51 if ($this->mpdf->tableLevel) { 52 if (!isset($this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['maxs'])) { [all …]
|
| D | TextCircle.php | 34 $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->onlyCoreFonts) { 59 …$objattr['bottom-text'] = mb_convert_encoding($objattr['bottom-text'], $this->mpdf->mb_enc, 'UTF-8… 73 …if (($v === 'hidden' || $v === 'printonly' || $v === 'screenonly') && $this->mpdf->visibility === … [all …]
|
| D | InlineTag.php | 15 if ($this->mpdf->title2annots && isset($attr['TITLE'])) { 35 $objattr['OPACITY'] = $this->mpdf->annotOpacity; 36 $objattr['COLOR'] = $this->colorConverter->convert('yellow', $this->mpdf->PDFAXwarnings); 42 if (!isset($this->mpdf->InlineProperties[$tag])) { 43 $this->mpdf->InlineProperties[$tag] = [$this->mpdf->saveInlineProperties()]; 45 $this->mpdf->InlineProperties[$tag][] = $this->mpdf->saveInlineProperties(); 48 if (!isset($this->mpdf->InlineAnnots[$tag])) { 49 $this->mpdf->InlineAnnots[$tag] = []; 51 $this->mpdf->InlineAnnots[$tag][] = $annot; 56 $this->mpdf->setCSS($properties, 'INLINE'); [all …]
|
| D | Hr.php | 17 $this->mpdf->ClearFloats(strtoupper($properties['CLEAR']), $this->mpdf->blklvl); 21 $this->mpdf->ignorefollowingspaces = true; 38 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 39 $this->mpdf->FontSize, 46 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 47 $this->mpdf->FontSize, 52 …th'] = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['… 54 …$objattr['width'] = $this->sizeConverter->convert($attr['WIDTH'], $this->mpdf->blk[$this->mpdf->bl… 73 …$objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarning… 75 $objattr['color'] = $this->colorConverter->convert($attr['COLOR'], $this->mpdf->PDFAXwarnings); [all …]
|
| D | Input.php | 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); [all …]
|
| D | Legend.php | 12 $this->mpdf->InlineProperties['LEGEND'] = $this->mpdf->saveInlineProperties(); 15 $this->mpdf->setCSS($properties, 'INLINE'); 21 if (count($this->mpdf->textbuffer) && !$this->mpdf->tableLevel) { 22 $leg = $this->mpdf->textbuffer[count($this->mpdf->textbuffer) - 1]; 23 unset($this->mpdf->textbuffer[count($this->mpdf->textbuffer) - 1]); 24 $this->mpdf->textbuffer = array_values($this->mpdf->textbuffer); 25 $this->mpdf->blk[$this->mpdf->blklvl]['border_legend'] = $leg; 26 $this->mpdf->blk[$this->mpdf->blklvl]['margin_top'] += ($leg[11] / 2) / Mpdf::SCALE; 27 $this->mpdf->blk[$this->mpdf->blklvl]['padding_top'] += ($leg[11] / 2) / Mpdf::SCALE; 29 if (isset($this->mpdf->InlineProperties['LEGEND'])) { [all …]
|
| D | Meter.php | 13 $this->mpdf->inMeter = true; 94 …if (($v === 'hidden' || $v === 'printonly' || $v === 'screenonly') && $this->mpdf->visibility === … 102 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 103 $this->mpdf->FontSize, 110 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 111 $this->mpdf->FontSize, 118 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 119 $this->mpdf->FontSize, 126 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 127 $this->mpdf->FontSize, [all …]
|
| D | TextArea.php | 37 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 /… 69 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false); 72 …$objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarning… 74 $objattr['fontfamily'] = $this->mpdf->FontFamily; 75 $objattr['fontsize'] = $this->mpdf->FontSizePt; [all …]
|
| D | THead.php | 10 $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->thead_valign_default = $properties['VERTICAL-ALIGN']; [all …]
|
| D | BarCode.php | 15 $this->mpdf->ignorefollowingspaces = false; 90 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 91 $this->mpdf->FontSize, 98 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 99 $this->mpdf->FontSize, 106 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 107 $this->mpdf->FontSize, 114 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], 115 $this->mpdf->FontSize, 123 $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], [all …]
|
| D | TFoot.php | 12 $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->tfoot_valign_default = $properties['VERTICAL-ALIGN']; [all …]
|
| /plugin/dw2pdf/ |
| D | deleted.files | 2 vendor/mpdf/mpdf/src/functions.php 4 mpdf/CHANGELOG.txt 5 mpdf/CREDITS.txt 6 mpdf/LICENSE.txt 7 mpdf/README.txt 8 mpdf/classes/barcode.php 9 mpdf/classes/bmp.php 10 mpdf/classes/cssmgr.php 11 mpdf/classes/desktop.ini 12 mpdf/classes/directw.php [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
| D | DirectWrite.php | 14 private $mpdf; variable in Mpdf\\DirectWrite 31 …public function __construct(Mpdf $mpdf, Otl $otl, SizeConverter $sizeConverter, ColorConverter $co… argument 33 $this->mpdf = $mpdf; 49 $this->mpdf->SetLineHeight(); 50 $h = $this->mpdf->lineheight; 53 $w = $this->mpdf->w - $this->mpdf->rMargin - $this->mpdf->x; 55 $wmax = ($w - ($this->mpdf->cMarginL + $this->mpdf->cMarginR)); 57 if ($this->mpdf->usingCoreFont) { 60 $nb = mb_strlen($s, $this->mpdf->mb_enc); 63 $this->mpdf->x += $this->mpdf->GetStringWidth($s); [all …]
|
| D | Form.php | 32 private $mpdf; variable in Mpdf\\Form 104 …public function __construct(Mpdf $mpdf, Otl $otl, ColorConverter $colorConverter, BaseWriter $writ… argument 106 $this->mpdf = $mpdf; 166 if ($this->mpdf->useActiveForms) { 192 $this->mpdf->SetTColor($objattr['color']); 194 $this->mpdf->SetTColor($this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings)); 222 $this->mpdf->SetTColor($this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings)); 228 $this->mpdf->x += $this->form_element_spacing['input']['outer']['h'] / $k; 229 $this->mpdf->y += $this->form_element_spacing['input']['outer']['v'] / $k; 231 …while ($this->mpdf->GetStringWidth($texto) > $w - ($this->form_element_spacing['input']['inner']['… [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
| D | BaseWriter.php | 17 private $mpdf; variable in Mpdf\\Writer\\BaseWriter 24 public function __construct(Mpdf $mpdf, Protection $protection) argument 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->offsets[$obj_id] = strlen($this->mpdf->buffer); 58 $this->mpdf->currentObjectNumber = $obj_id; // for later use with encryption [all …]
|
| D | PageWriter.php | 17 private $mpdf; variable in Mpdf\\Writer\\PageWriter 34 …public function __construct(Mpdf $mpdf, Form $form, BaseWriter $writer, MetadataWriter $metadataWr… argument 36 $this->mpdf = $mpdf; 44 $nb = $this->mpdf->page; 45 $filter = $this->mpdf->compress ? '/Filter /FlateDecode ' : ''; 47 if ($this->mpdf->DefOrientation === 'P') { 48 $defwPt = $this->mpdf->fwPt; 49 $defhPt = $this->mpdf->fhPt; 51 $defwPt = $this->mpdf->fhPt; 52 $defhPt = $this->mpdf->fwPt; [all …]
|
| D | ObjectWriter.php | 17 private $mpdf; variable in Mpdf\\Writer\\ObjectWriter 24 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument 26 $this->mpdf = $mpdf; 32 if (is_array($this->mpdf->parsers) && count($this->mpdf->parsers) > 0) { 34 foreach ($this->mpdf->parsers as $filename => $p) { 36 $this->mpdf->current_parser = $this->mpdf->parsers[$filename]; 38 if (is_array($this->mpdf->_obj_stack[$filename])) { 40 while ($n = key($this->mpdf->_obj_stack[$filename])) { 42 $nObj = $this->mpdf->current_parser->resolveObject($this->mpdf->_obj_stack[$filename][$n][1]); 43 $this->writer->object($this->mpdf->_obj_stack[$filename][$n][0]); [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/ |
| D | ColorSpaceRestrictor.php | 19 private $mpdf; variable in Mpdf\\Color\\ColorSpaceRestrictor 41 public function __construct(Mpdf $mpdf, ColorModeConverter $colorModeConverter, $mode) argument 43 $this->mpdf = $mpdf; 88 if (!isset($this->mpdf->spotColorIDs[$c[1]])) { 89 …throw new \Mpdf\MpdfException('Error: Spot colour has not been defined - ' . $this->mpdf->spotColo… 92 if ($this->mpdf->PDFA) { 93 if ($this->mpdf->PDFA && !$this->mpdf->PDFAauto) { 94 …$PDFAXwarnings[] = "Spot color specified '" . $this->mpdf->spotColorIDs[$c[1]] . "' (converted to … 97 $sp = $this->mpdf->spotColors[$this->mpdf->spotColorIDs[$c[1]]]; 101 $sp = $this->mpdf->spotColors[$this->mpdf->spotColorIDs[$c[1]]]; [all …]
|