Lines Matching refs:mpdf

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');
66 if (isset($this->mpdf->blk[$this->mpdf->blklvl]['direction'])) {
67 $currdir = $this->mpdf->blk[$this->mpdf->blklvl]['direction'];
69 if ($this->mpdf->tableLevel
70 && isset($this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['direction'])
71 && $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['direction'] === 'rtl') {
159 if (!isset($this->mpdf->InlineBDF[$tag])) {
160 $this->mpdf->InlineBDF[$tag] = [[$popd, $this->mpdf->InlineBDFctr]];
162 $this->mpdf->InlineBDF[$tag][] = [$popd, $this->mpdf->InlineBDFctr];
164 $this->mpdf->InlineBDFctr++;
168 $this->mpdf->OTLdata = [];
169 if ($this->mpdf->tableLevel) {
170 $this->mpdf->_saveCellTextBuffer(UtfString::code2utf($bdf) . $bdf2);
172 $this->mpdf->_saveTextBuffer(UtfString::code2utf($bdf) . $bdf2);
174 $this->mpdf->biDirectional = true;
187 if (!empty($this->mpdf->InlineProperties[$tag])) {
188 $this->mpdf->restoreInlineProperties($this->mpdf->InlineProperties[$tag]);
190 unset($this->mpdf->InlineProperties[$tag]);
191 if (!empty($this->mpdf->InlineAnnots[$tag])) {
192 $annot = $this->mpdf->InlineAnnots[$tag];
194 unset($this->mpdf->InlineAnnots[$tag]); // *ANNOTATIONS*
196 if (isset($this->mpdf->InlineProperties[$tag]) && count($this->mpdf->InlineProperties[$tag])) {
197 $tmpProps = array_pop($this->mpdf->InlineProperties[$tag]); // mPDF 5.7.4
198 $this->mpdf->restoreInlineProperties($tmpProps);
200 if (isset($this->mpdf->InlineAnnots[$tag]) && count($this->mpdf->InlineAnnots[$tag])) { // *ANNOTATIONS*
201 $annot = array_pop($this->mpdf->InlineAnnots[$tag]); // *ANNOTATIONS*
203 if (isset($this->mpdf->InlineBDF[$tag]) && count($this->mpdf->InlineBDF[$tag])) { // mPDF 6
204 $bdfarr = array_pop($this->mpdf->InlineBDF[$tag]);
211 if ($this->mpdf->tableLevel) { // *TABLES*
212 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['textbuffer'][] = [$annot]; // *TABLES*
215 $this->mpdf->textbuffer[] = [$annot];
223 $popf = $this->mpdf->_setBidiCodes('end', $bdf);
224 $this->mpdf->OTLdata = [];
225 if ($this->mpdf->tableLevel) {
226 $this->mpdf->_saveCellTextBuffer($popf);
228 $this->mpdf->_saveTextBuffer($popf);