Lines Matching refs:attr
12 public function open($attr, &$ahtml, &$ihtml)
175 $properties = $this->cssManager->MergeCSS('TABLE', $tag, $attr);
190 } elseif (isset($attr['BGCOLOR'])) {
191 $c['bgcolor'] = $attr['BGCOLOR'];
212 } elseif (isset($attr['VALIGN'])) {
213 $c['va'] = $this->getAlign($attr['VALIGN']);
224 if (!empty($attr['ALIGN'])) {
225 if (strtolower($attr['ALIGN']) === 'char') {
226 if (!empty($attr['CHAR'])) {
227 $char = html_entity_decode($attr['CHAR']);
237 $c['a'] = $this->getAlign($attr['ALIGN']);
243 if (isset($attr['DIR']) && $attr['DIR'] != '') {
244 $c['direction'] = strtolower($attr['DIR']);
373 } elseif (isset($attr['WIDTH'])) {
374 $w = $attr['WIDTH'];
387 } elseif (isset($attr['HEIGHT']) && !strpos($attr['HEIGHT'], '%')) {
388 $c['h'] = $this->sizeConverter->convert($attr['HEIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false);
397 if (isset($attr['TEXT-ROTATE'])) {
398 $c['R'] = $attr['TEXT-ROTATE'];
400 if (!empty($attr['NOWRAP'])) {
409 if (isset($attr['COLSPAN']) && preg_match('/^\d+$/', $attr['COLSPAN']) && $attr['COLSPAN'] > 1) {
410 $cs = $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['colspan'] = $attr['COLSPAN'];
423 if (isset($attr['ROWSPAN']) && $attr['ROWSPAN'] > 1) {
424 $rs = $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['rowspan'] = $attr['ROWSPAN'];