/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
H A D | ResourceWriter.php | 17 private $mpdf; variable in Mpdf\\Writer\\ResourceWriter 75 Mpdf $mpdf, argument 88 $this->mpdf = $mpdf; 104 if ($this->mpdf->hasOC || count($this->mpdf->layers)) { 108 $this->mpdf->_putextgstates(); 121 $this->mpdf->writeImportedPagesAndResolvedObjects(); 127 $this->mpdf->offsets[2] = strlen($this->mpdf [all...] |
H A D | BookmarkWriter.php | 16 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 D | OptionalContentWriter.php | 16 private $mpdf; variable in Mpdf\\Writer\\OptionalContentWriter 23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument 25 $this->mpdf = $mpdf; 31 if ($this->mpdf->hasOC) { 34 $this->mpdf->n_ocg_print = $this->mpdf->n; 40 $this->mpdf->n_ocg_view = $this->mpdf->n; 46 $this->mpdf [all...] |
H A D | BackgroundWriter.php | 16 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 D | MetadataWriter.php | 21 private $mpdf; 43 public function __construct(Mpdf $mpdf, BaseWriter $writer, Form $form, Protection $protection, LoggerInterface $logger) 45 $this->mpdf = $mpdf; 55 $this->mpdf->MetadataRoot = $this->mpdf->n; 56 $Producer = 'mPDF' . ($this->mpdf->exposeVersion ? (' ' . Mpdf::VERSION) : ''); 68 if (!empty($this->mpdf->keywords)) { 69 $m .= ' <pdf:Keywords>' . $this->mpdf->keywords . '</pdf:Keywords>' . "\n"; 77 if (!empty($this->mpdf 22 private $mpdf; global() variable in Mpdf\\Writer\\MetadataWriter 44 __construct(Mpdf $mpdf, BaseWriter $writer, Form $form, Protection $protection, LoggerInterface $logger) global() argument [all...] |
H A D | ImageWriter.php | 16 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...] |
H A D | FormWriter.php | 16 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 D | JavaScriptWriter.php | 16 private $mpdf; variable in Mpdf\\Writer\\JavaScriptWriter 23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument 25 $this->mpdf = $mpdf; 32 $this->mpdf->n_js = $this->mpdf->n; 34 $this->writer->write('/Names [(EmbeddedJS) ' . (1 + $this->mpdf->n) . ' 0 R ]'); 41 $this->writer->write('/JS ' . $this->writer->string($this->mpdf->js));
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
H A D | CssManager.php | 17 private $mpdf; variable in Mpdf\\CssManager 55 public function __construct(Mpdf $mpdf, Cache $cache, SizeConverter $sizeConverter, ColorConverter $colorConverter, RemoteContentFetcher $remoteContentFetcher) 57 $this->mpdf = $mpdf; 74 if ($this->mpdf->CSSselectMedia && !preg_match('/(' . trim($this->mpdf->CSSselectMedia) . '|all)/i', $m[1][$i])) { 82 if ($this->mpdf->CSSselectMedia && !preg_match('/(' . trim($this->mpdf->CSSselectMedia) . '|all)/i', $m[1][$i])) { 103 $html = preg_replace('/<!--mpdf/i', '', $html); 104 $html = preg_replace('/mpdf 50 __construct(Mpdf $mpdf, Cache $cache, SizeConverter $sizeConverter, ColorConverter $colorConverter) global() argument [all...] |
H A D | ServiceFactory.php | 31 Mpdf $mpdf, 42 $sizeConverter = new SizeConverter($mpdf->dpi, $mpdf->default_font_size, $mpdf, $logger); 46 $mpdf, 50 $colorConverter = new ColorConverter($mpdf, $colorModeConverter, $colorSpaceRestrictor); 52 $tableOfContents = new TableOfContents($mpdf, $sizeConverter); 54 $cacheBasePath = $config['tempDir'] . '/mpdf'; 61 $remoteContentFetcher = new RemoteContentFetcher($mpdf, $logger); 63 $cssManager = new CssManager($mpdf, 36 getServices(Mpdf $mpdf, LoggerInterface $logger, $config, $restrictColorSpace, $languageToFont, $scriptToLanguage, $fontDescriptor, $bmp, $directWrite, $wmf) global() argument [all...] |
H A D | Tag.php | 18 private $mpdf; 66 * @param \Mpdf\Mpdf $mpdf 78 Mpdf $mpdf, 90 $this->mpdf = $mpdf; 111 $this->mpdf, 176 if ($this->mpdf->allow_html_optional_endtags) { 177 if (isset($this->mpdf->blk[$this->mpdf->blklvl]['tag'])) { 180 if (!$closed && $this->mpdf 21 private $mpdf; global() variable in Mpdf\\Tag 81 __construct(Mpdf $mpdf, Cache $cache, CssManager $cssManager, Form $form, Otl $otl, TableOfContents $tableOfContents, SizeConverter $sizeConverter, ColorConverter $colorConverter, ImageProcessor $imageProcessor, LanguageToFontInterface $languageToFont) global() argument [all...] |
H A D | TableOfContents.php | 11 private $mpdf; variable in Mpdf\\TableOfContents 78 public function __construct(Mpdf $mpdf, SizeConverter $sizeConverter) argument 80 $this->mpdf = $mpdf; 166 $this->m_TOC[$toc_id]['TOCmark'] = $this->mpdf->page; 202 $this->TOCmark = $this->mpdf->page; 269 if (($this->mpdf->mirrorMargins) && (($this->mpdf->page) % 2 == 0)) { // EVEN 270 if ($this->mpdf->ColActive) { 271 if (count($this->mpdf [all...] |
H A D | Hyphenator.php | 11 private $mpdf; variable in Mpdf\\Hyphenator 26 public function __construct(Mpdf $mpdf) argument 28 $this->mpdf = $mpdf; 57 if (!in_array($this->mpdf->SHYlang, $this->mpdf->SHYlanguages)) { 66 if ($this->mpdf->usingCoreFont) { 67 $word = mb_convert_encoding($word, 'UTF-8', $this->mpdf->mb_enc); 75 if (preg_match('/^(["\'' . $startpunctuation . '])+(.{' . $this->mpdf->SHYcharmin . ',})$/u', $word, $m)) { 80 if (preg_match('/^(.{' . $this->mpdf [all...] |
H A D | RemoteContentFetcher.php | 15 private $mpdf; variable in Mpdf\\RemoteContentFetcher 22 public function __construct(Mpdf $mpdf, LoggerInterface $logger) argument 24 $this->mpdf = $mpdf; 34 curl_setopt($ch, CURLOPT_USERAGENT, $this->mpdf->curlUserAgent); 38 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $this->mpdf->curlTimeout); 40 if ($this->mpdf->curlExecutionTimeout) { 41 curl_setopt($ch, CURLOPT_TIMEOUT, $this->mpdf->curlExecutionTimeout); 44 if ($this->mpdf->curlFollowLocation) { 48 if ($this->mpdf [all...] |
H A D | Gradient.php | 17 private $mpdf; variable in Mpdf\\Gradient 34 public function __construct(Mpdf $mpdf, SizeConverter $sizeConverter, ColorConverter $colorConverter, BaseWriter $writer) argument 36 $this->mpdf = $mpdf; 46 $s.=sprintf(' %.3F %.3F %.3F %.3F re W n ', $x * Mpdf::SCALE, ($this->mpdf->h - $y) * Mpdf::SCALE, $w * Mpdf::SCALE, -$h * Mpdf::SCALE); 47 $s.=sprintf(' %.3F 0 0 %.3F %.3F %.3F cm ', $w * Mpdf::SCALE, $h * Mpdf::SCALE, $x * Mpdf::SCALE, ($this->mpdf->h - ($y + $h)) * Mpdf::SCALE); 48 $n = count($this->mpdf->gradients) + 1; 49 $this->mpdf->gradients[$n]['type'] = 6; //coons patch mesh 50 $this->mpdf->gradients[$n]['colorspace'] = $colspace; //coons patch mesh 53 $this->mpdf [all...] |
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/ |
H A D | FormFeed.php | 24 $save_blklvl = $this->mpdf->blklvl; 25 $save_blk = $this->mpdf->blk; 26 $save_silp = $this->mpdf->saveInlineProperties(); 27 $save_ilp = $this->mpdf->InlineProperties; 28 $save_bflp = $this->mpdf->InlineBDF; 29 $save_bflpc = $this->mpdf->InlineBDFctr; // mPDF 6 33 $mgr = $this->sizeConverter->convert($attr['MARGIN-RIGHT'], $this->mpdf->w, $this->mpdf->FontSize, false); 36 $mgl = $this->sizeConverter->convert($attr['MARGIN-LEFT'], $this->mpdf->w, $this->mpdf [all...] |
H A D | Option.php | 12 $this->mpdf->lastoptionaltag = ''; 13 $this->mpdf->selectoption['ACTIVE'] = true; 14 $this->mpdf->selectoption['currentSEL'] = false; 15 if (empty($this->mpdf->selectoption)) { 16 $this->mpdf->selectoption['MAXWIDTH'] = ''; 17 $this->mpdf->selectoption['SELECTED'] = ''; 20 $this->mpdf->selectoption['SELECTED'] = ''; 21 $this->mpdf->selectoption['currentSEL'] = true; 25 $attr['VALUE'] = $this->mpdf->lesser_entity_decode($attr['VALUE']); 26 if ($this->mpdf [all...] |
H A D | A.php | 13 if ($this->mpdf->anchor2Bookmark) { 25 if ($this->mpdf->tableLevel) { // *TABLES* 26 $this->mpdf->_saveCellTextBuffer($e, '', $attr['NAME']); // *TABLES* 29 $this->mpdf->_saveTextBuffer($e, '', $attr['NAME']); //an internal link (adds a space for recognition) 33 $this->mpdf->InlineProperties['A'] = $this->mpdf->saveInlineProperties(); 36 $this->mpdf->setCSS($properties, 'INLINE'); 38 $this->mpdf->HREF = $attr['HREF']; // mPDF 5.7.4 URLs 44 $this->mpdf->HREF = ''; 45 if (isset($this->mpdf [all...] |
H A D | Tta.php | 10 $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 D | SetHtmlPageFooter.php | 11 $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 D | Columns.php | 16 $this->mpdf, 36 for ($b = $this->mpdf->blklvl; $b > 0; $b--) { 37 if ($t = $this->getTagInstance($this->mpdf->blk[$b]['tag'])) { 41 if (!empty($this->mpdf->textbuffer)) { //Output previously buffered content 42 $this->mpdf->printbuffer($this->mpdf->textbuffer); 43 $this->mpdf->textbuffer = []; 56 $this->mpdf->SetColumns($attr['COLUMN-COUNT'], $valign, $attr['COLUMN-GAP']); 58 $this->mpdf->SetColumns($attr['COLUMN-COUNT'], $valign); 61 $this->mpdf [all...] |
H A D | Annotation.php | 10 //if (isset($attr['CONTENT']) && !$this->mpdf->writingHTMLheader && !$this->mpdf->writingHTMLfooter) { // Stops annotations in FixedPos 63 } elseif ($this->mpdf->annotMargin) { 66 $objattr['OPACITY'] = $this->mpdf->annotOpacity; 69 $cor = $this->colorConverter->convert($attr['COLOR'], $this->mpdf->PDFAXwarnings); 73 $objattr['COLOR'] = $this->colorConverter->convert('yellow', $this->mpdf->PDFAXwarnings); 76 $objattr['COLOR'] = $this->colorConverter->convert('yellow', $this->mpdf->PDFAXwarnings); 88 if ($this->mpdf->tableLevel) { 89 $this->mpdf->cell[$this->mpdf [all...] |
/plugin/siteexport/inc/ |
H A D | pdfgenerator.php | 28 if (!$mpdf) { 45 $mpdf->debug = false; 48 $mpdf->usepre = false; 49 $mpdf->margin_bottom_collapse = true; 50 $mpdf->SetDisplayMode('fullpage'); 51 $mpdf->restoreBlockPageBreaks = true; 58 $mpdf->ignore_invalid_utf8 = true; 60 $mpdf->setAutoTopMargin = 'pad'; 61 $mpdf->setAutoBottomMargin = 'pad'; 63 $mpdf->WriteHTML($html); [all …]
|
/plugin/dw2pdf/vendor/mpdf/mpdf/ |
H A D | README.md | 7 [![Latest Stable Version](https://poser.pugx.org/mpdf/mpdf/v/stable)](https://packagist.org/packages/mpdf/mpdf) 8 [![Total Downloads](https://poser.pugx.org/mpdf/mpdf/downloads)](https://packagist.org/packages/mpdf/mpdf) 9 [![License](https://poser.pugx.org/mpdf/mpdf/licens [all...] |
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/ |
H A D | ImageProcessor.php | 26 private $mpdf; 99 Mpdf $mpdf, 112 $this->mpdf = $mpdf; 146 * @see https://github.com/mpdf/mpdf/issues/949 147 * @see https://github.com/mpdf/mpdf/issues/1381 149 $wrapperChecker = new StreamWrapperChecker($this->mpdf); 165 if (!isset($this->mpdf 37 private $mpdf; global() variable in Mpdf\\Image\\ImageProcessor 110 __construct(Mpdf $mpdf, Otl $otl, CssManager $cssManager, SizeConverter $sizeConverter, ColorConverter $colorConverter, ColorModeConverter $colorModeConverter, Cache $cache, LanguageToFontInterface $languageToFont, ScriptToLanguageInterface $scriptToLanguage, RemoteContentFetcher $remoteContentFetcher, LoggerInterface $logger) global() argument [all...] |