Lines Matching refs:properties

175 		$properties = $this->cssManager->MergeCSS('TABLE', $tag, $attr);
177 $properties = $this->cssManager->array_merge_recursive_unique($this->mpdf->base_table_properties, $properties);
181 $this->mpdf->setCSS($properties, 'TABLECELL', $tag);
186 if (isset($properties['BACKGROUND-COLOR'])) {
187 $c['bgcolor'] = $properties['BACKGROUND-COLOR'];
188 } elseif (isset($properties['BACKGROUND'])) {
189 $c['bgcolor'] = $properties['BACKGROUND'];
197 if (isset($properties['BACKGROUND-GRADIENT'])) {
198 $c['gradient'] = $properties['BACKGROUND-GRADIENT'];
203 if (!empty($properties['BACKGROUND-IMAGE']) && !$this->mpdf->keep_block_together) {
204 $ret = $this->mpdf->SetBackground($properties, $this->mpdf->blk[$this->mpdf->blklvl]['inner_width']);
210 if (isset($properties['VERTICAL-ALIGN'])) {
211 $c['va'] = $this->getAlign($properties['VERTICAL-ALIGN']);
217 if (!empty($properties['TEXT-ALIGN'])) {
218 if (0 === strpos($properties['TEXT-ALIGN'], 'D')) {
219 $c['a'] = $properties['TEXT-ALIGN'];
221 $c['a'] = $this->getAlign($properties['TEXT-ALIGN']);
246 if (isset($properties['DIRECTION'])) {
247 $c['direction'] = strtolower($properties['DIRECTION']);
259 if (isset($properties['LINE-HEIGHT'])) {
260 $c['cellLineHeight'] = $this->mpdf->fixLineheight($properties['LINE-HEIGHT']);
264 if (isset($properties['LINE-STACKING-STRATEGY'])) {
265 $c['cellLineStackingStrategy'] = strtolower($properties['LINE-STACKING-STRATEGY']);
269 if (isset($properties['LINE-STACKING-SHIFT'])) {
270 $c['cellLineStackingShift'] = strtolower($properties['LINE-STACKING-SHIFT']);
273 if (isset($properties['TEXT-ROTATE']) && ($properties['TEXT-ROTATE'] || $properties['TEXT-ROTATE'] === '0')) {
274 $c['R'] = $properties['TEXT-ROTATE'];
276 if (isset($properties['BORDER'])) {
277 $bord = $this->mpdf->border_details($properties['BORDER']);
299 if (!empty($properties['BORDER-RIGHT'])) {
300 $c['border_details']['R'] = $this->mpdf->border_details($properties['BORDER-RIGHT']);
304 if (!empty($properties['BORDER-LEFT'])) {
305 $c['border_details']['L'] = $this->mpdf->border_details($properties['BORDER-LEFT']);
309 if (!empty($properties['BORDER-BOTTOM'])) {
310 $c['border_details']['B'] = $this->mpdf->border_details($properties['BORDER-BOTTOM']);
314 if (!empty($properties['BORDER-TOP'])) {
315 $c['border_details']['T'] = $this->mpdf->border_details($properties['BORDER-TOP']);
320 if (!empty($properties['BORDER-LEFT'])) {
321 $bord = $this->mpdf->border_details($properties['BORDER-LEFT']);
357 if (isset($properties['PADDING-LEFT'])) {
358 $c['padding']['L'] = $this->sizeConverter->convert($properties['PADDING-LEFT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false);
360 if (isset($properties['PADDING-RIGHT'])) {
361 $c['padding']['R'] = $this->sizeConverter->convert($properties['PADDING-RIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false);
363 if (isset($properties['PADDING-BOTTOM'])) {
364 $c['padding']['B'] = $this->sizeConverter->convert($properties['PADDING-BOTTOM'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false);
366 if (isset($properties['PADDING-TOP'])) {
367 $c['padding']['T'] = $this->sizeConverter->convert($properties['PADDING-TOP'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false);
371 if (isset($properties['WIDTH'])) {
372 $w = $properties['WIDTH'];
385 if (isset($properties['HEIGHT']) && !strpos($properties['HEIGHT'], '%')) {
386 $c['h'] = $this->sizeConverter->convert($properties['HEIGHT'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width'], $this->mpdf->FontSize, false);
391 if (isset($properties['WHITE-SPACE'])) {
392 if (strtoupper($properties['WHITE-SPACE']) === 'NOWRAP') {