mpdf, $this->cache, $this->cssManager, $this->form, $this->otl, $this->tableOfContents, $this->sizeConverter, $this->colorConverter, $this->imageProcessor, $this->languageToFont ); } return null; } public function open($attr, &$ahtml, &$ihtml) { if (isset($attr['COLUMN-COUNT']) && ($attr['COLUMN-COUNT'] || $attr['COLUMN-COUNT'] === '0')) { // Close any open block tags for ($b = $this->mpdf->blklvl; $b > 0; $b--) { if ($t = $this->getTagInstance($this->mpdf->blk[$b]['tag'])) { $t->close($ahtml, $ihtml); } } if (!empty($this->mpdf->textbuffer)) { //Output previously buffered content $this->mpdf->printbuffer($this->mpdf->textbuffer); $this->mpdf->textbuffer = []; } if (!empty($attr['VALIGN'])) { if ($attr['VALIGN'] === 'J') { $valign = 'J'; } else { $valign = $this->getAlign($attr['VALIGN']); } } else { $valign = ''; } if (!empty($attr['COLUMN-GAP'])) { $this->mpdf->SetColumns($attr['COLUMN-COUNT'], $valign, $attr['COLUMN-GAP']); } else { $this->mpdf->SetColumns($attr['COLUMN-COUNT'], $valign); } } $this->mpdf->ignorefollowingspaces = true; } public function close(&$ahtml, &$ihtml) { } }