Lines Matching refs:Mpdf

3 namespace Mpdf\Writer;
5 use Mpdf\Strict;
6 use Mpdf\Form;
7 use Mpdf\Mpdf;
8 use Mpdf\Pdf\Protection;
9 use Mpdf\Utils\PdfDate;
19 * @var \Mpdf\Mpdf
24 * @var \Mpdf\Writer\BaseWriter
29 * @var \Mpdf\Form
34 * @var \Mpdf\Pdf\Protection
43 public function __construct(Mpdf $mpdf, BaseWriter $writer, Form $form, Protection $protection, LoggerInterface $logger)
56 $Producer = 'mPDF' . ($this->mpdf->exposeVersion ? (' ' . Mpdf::VERSION) : '');
126 throw new \Mpdf\MpdfException(sprintf('PDFA version (%s) is not valid. (Use: 1-B, 3-B, etc.)', $this->mpdf->PDFAversion));
233 throw new \Mpdf\MpdfException(sprintf('Unable to find ICC profile "%s"', $this->mpdf->ICCProfile));
264 throw new \Mpdf\MpdfException('ext-zlib is required for compression of associated files');
296 throw new \Mpdf\MpdfException(sprintf('Cannot access associated file - %s', $file['path']));
510 $wPt = $this->mpdf->pageDim[$n]['w'] * Mpdf::SCALE;
511 $hPt = $this->mpdf->pageDim[$n]['h'] * Mpdf::SCALE;
547 $htarg = $this->mpdf->pageDim[$p]['h'] * Mpdf::SCALE;
559 $htarg = $this->mpdf->pageDim[$l[0]]['h'] * Mpdf::SCALE;
561 $htarg = $this->mpdf->h * Mpdf::SCALE;
564 $annot .= sprintf(' /Dest [%d 0 R /XYZ 0 %.3F null]>>', 1 + 2 * $l[0], $htarg - $l[1] * Mpdf::SCALE);
592 $x = ($wPt / Mpdf::SCALE) - $this->mpdf->annotMargin;
596 $a = $x * Mpdf::SCALE;
597 $b = $hPt - ($pl['y'] * Mpdf::SCALE);
711 throw new \Mpdf\MpdfException('mPDF Error: Cannot access file attachment - ' . $pl['opt']['file']);
727 $x = $pl['opt']['popup'][0] * Mpdf::SCALE;
729 $x = $pl['x'] * Mpdf::SCALE;
732 $y = $hPt - ($pl['opt']['popup'][1] * Mpdf::SCALE);
734 $y = $hPt - ($pl['y'] * Mpdf::SCALE);
737 $w = $pl['opt']['popup'][2] * Mpdf::SCALE;
742 $h = $pl['opt']['popup'][3] * Mpdf::SCALE;
812 $return = Mpdf::VERSION;