Lines Matching defs:cell

543 	var $cell;
552 // mPDF 6 Used for table cell (block-type) properties
770 var $cMarginL; // cell margin Left
771 var $cMarginR; // cell margin Right
772 var $cMarginT; // cell margin Left
773 var $cMarginB; // cell margin Right
779 var $y; // current position in user unit for cell positioning
781 var $lasth; // height of last cell printed
1315 // Interior cell margin (1 mm) ? not used
1509 $this->cell = [];
4526 // Output a cell using Cell() but does encoding and text reversing of RTL
4728 * Output a cell
4785 // Test: to put line through centre of cell: $this->Line($this->x,$this->y+($h/2),$this->x+50,$this->y+($h/2));
4786 // Test: to put border around cell as it is specified: $border='LRTB';
5400 $ln = 1; // cell recognizes \n from <BR> tag
7744 // cell width in points
9355 // Line feed; default value is last cell height
11811 // Set some cell values
12032 // Print cell content
13554 if ($this->blockjustfinished && $this->cell[$this->row][$this->col]['s'] > 0) {
13556 if (!isset($this->cell[$this->row][$this->col]['maxs'])) {
13557 $this->cell[$this->row][$this->col]['maxs'] = $this->cell[$this->row][$this->col]['s'];
13558 } elseif ($this->cell[$this->row][$this->col]['maxs'] < $this->cell[$this->row][$this->col]['s']) {
13559 $this->cell[$this->row][$this->col]['maxs'] = $this->cell[$this->row][$this->col]['s'];
13561 $this->cell[$this->row][$this->col]['s'] = 0; // reset
13565 if (!isset($this->cell[$this->row][$this->col]['R']) || !$this->cell[$this->row][$this->col]['R']) {
13566 if (isset($this->cell[$this->row][$this->col]['s'])) {
13567 $this->cell[$this->row][$this->col]['s'] += $this->GetStringWidth($e, false, $this->OTLdata, $this->textvar);
13569 $this->cell[$this->row][$this->col]['s'] = $this->GetStringWidth($e, false, $this->OTLdata, $this->textvar);
13572 $this->cell[$this->row][$this->col]['s'] += (isset($this->spanborddet['L']['w']) ? $this->spanborddet['L']['w'] : 0) + (isset($this->spanborddet['R']['w']) ? $this->spanborddet['R']['w'] : 0);
13578 if (substr($this->cell[$this->row][$this->col]['a'], 0, 1) == 'D') {
13580 $dp = $this->decimal_align[substr($this->cell[$this->row][$this->col]['a'], 0, 2)];
15878 $this->cell[$this->row][$this->col]['textbuffer'][] = $arr;
16159 $cell = &$table['cells'][$objattr['row']][$objattr['col']];
16169 list($bt, $br, $bb, $bl) = $this->_getBorderWidths($cell['borderbin']);
16171 $br = $cell['border_details']['R']['w'];
16172 $bl = $cell['border_details']['L']['w'];
16175 $innerw = $w - $bl - $br - $cell['padding']['L'] - $cell['padding']['R'] - $table['border_spacing_H'];
16177 $innerw = $w - $bl / 2 - $br / 2 - $cell['padding']['L'] - $cell['padding']['R'];
16181 $innerw = $w - $table['simple']['border_details']['L']['w'] - $table['simple']['border_details']['R']['w'] - $cell['padding']['L'] - $cell['padding']['R'] - $table['border_spacing_H'];
16183 $innerw = $w - $table['simple']['border_details']['L']['w'] / 2 - $table['simple']['border_details']['R']['w'] / 2 - $cell['padding']['L'] - $cell['padding']['R'];
16186 if ($cell['a'] == 'C' || $this->table[($level + 1)][$objattr['nestedcontent']]['a'] == 'C') {
16188 } elseif ($cell['a'] == 'R' || $this->table[($level + 1)][$objattr['nestedcontent']]['a'] == 'R') {
19360 $cell = $this->_unpackCellBorder($c['borderbin']);
19362 $cell['border_details']['T']['w'] /= $k;
19363 $cell['border_details']['R']['w'] /= $k;
19364 $cell['border_details']['B']['w'] /= $k;
19365 $cell['border_details']['L']['w'] /= $k;
19366 $cell['border_details']['mbw']['TL'] /= $k;
19367 $cell['border_details']['mbw']['TR'] /= $k;
19368 $cell['border_details']['mbw']['BL'] /= $k;
19369 $cell['border_details']['mbw']['BR'] /= $k;
19370 $cell['border_details']['mbw']['LT'] /= $k;
19371 $cell['border_details']['mbw']['LB'] /= $k;
19372 $cell['border_details']['mbw']['RT'] /= $k;
19373 $cell['border_details']['mbw']['RB'] /= $k;
19375 $c['borderbin'] = $this->_packCellBorder($cell);
19441 function _packCellBorder($cell)
19443 if (!is_array($cell) || !isset($cell)) {
19448 return $cell;
19451 $bindata = pack("nnda6A10nnda6A10nnda6A10nnda6A10nd9", $cell['border'], $cell['border_details']['R']['s'], $cell['border_details']['R']['w'], $cell['border_details']['R']['c'], $cell['border_details']['R']['style'], $cell['border_details']['R']['dom'], $cell['border_details']['L']['s'], $cell['border_details']['L']['w'], $cell['border_details']['L']['c'], $cell['border_details']['L']['style'], $cell['border_details']['L']['dom'], $cell['border_details']['T']['s'], $cell['border_details']['T']['w'], $cell['border_details']['T']['c'], $cell['border_details']['T']['style'], $cell['border_details']['T']['dom'], $cell['border_details']['B']['s'], $cell['border_details']['B']['w'], $cell['border_details']['B']['c'], $cell['border_details']['B']['style'], $cell['border_details']['B']['dom'], $cell['border_details']['mbw']['BL'], $cell['border_details']['mbw']['BR'], $cell['border_details']['mbw']['RT'], $cell['border_details']['mbw']['RB'], $cell['border_details']['mbw']['TL'], $cell['border_details']['mbw']['TR'], $cell['border_details']['mbw']['LT'], $cell['border_details']['mbw']['LB'], (isset($cell['border_details']['cellposdom']) ? $cell['border_details']['cellposdom'] : 0));
19465 $cell['border_details']['R']['w'] = $bd['rw'];
19466 $cell['border_details']['L']['w'] = $bd['lw'];
19467 $cell['border_details']['T']['w'] = $bd['tw'];
19468 $cell['border_details']['B']['w'] = $bd['bw'];
19483 $cell['border'] = $bd['bord'];
19484 $cell['border_details']['R']['s'] = $bd['rs'];
19485 $cell['border_details']['R']['w'] = $bd['rw'];
19486 $cell['border_details']['R']['c'] = str_pad($bd['rca'], 6, "\x00");
19487 $cell['border_details']['R']['style'] = trim($bd['rst']);
19488 $cell['border_details']['R']['dom'] = $bd['rd'];
19490 $cell['border_details']['L']['s'] = $bd['ls'];
19491 $cell['border_details']['L']['w'] = $bd['lw'];
19492 $cell['border_details']['L']['c'] = str_pad($bd['lca'], 6, "\x00");
19493 $cell['border_details']['L']['style'] = trim($bd['lst']);
19494 $cell['border_details']['L']['dom'] = $bd['ld'];
19496 $cell['border_details']['T']['s'] = $bd['ts'];
19497 $cell['border_details']['T']['w'] = $bd['tw'];
19498 $cell['border_details']['T']['c'] = str_pad($bd['tca'], 6, "\x00");
19499 $cell['border_details']['T']['style'] = trim($bd['tst']);
19500 $cell['border_details']['T']['dom'] = $bd['td'];
19502 $cell['border_details']['B']['s'] = $bd['bs'];
19503 $cell['border_details']['B']['w'] = $bd['bw'];
19504 $cell['border_details']['B']['c'] = str_pad($bd['bca'], 6, "\x00");
19505 $cell['border_details']['B']['style'] = trim($bd['bst']);
19506 $cell['border_details']['B']['dom'] = $bd['bd'];
19508 $cell['border_details']['mbw']['BL'] = $bd['mbl'];
19509 $cell['border_details']['mbw']['BR'] = $bd['mbr'];
19510 $cell['border_details']['mbw']['RT'] = $bd['mrt'];
19511 $cell['border_details']['mbw']['RB'] = $bd['mrb'];
19512 $cell['border_details']['mbw']['TL'] = $bd['mtl'];
19513 $cell['border_details']['mbw']['TR'] = $bd['mtr'];
19514 $cell['border_details']['mbw']['LT'] = $bd['mlt'];
19515 $cell['border_details']['mbw']['LB'] = $bd['mlb'];
19516 $cell['border_details']['cellposdom'] = $bd['cpd'];
19519 return($cell);
19532 // cells List of cells of each rows, cells[i][j] is a cell in the table
19586 if (isset($c['w'])) { // If cell width is specified
19680 if (isset($c['w'])) { // If cell width is specified
19698 } // If cell width not specified -> set Cell min width it to minimum allowed (W)
20116 // First set any cell widths set as percentages
20642 $cell = &$table['cells'][$i][$j];
20643 if ($cell) {
20644 if (isset($cell['x0'])) {
20645 return [$cell['x0'], $cell['w0']];
20653 if (isset($cell['colspan'])) {
20654 for ($k = $j + $cell['colspan'] - 1; $k > $j; $k--) {
20658 $cell['x0'] = $x;
20659 $cell['w0'] = $w;
20667 $cell = &$table['cells'][$i][$j];
20668 if ($cell) {
20669 if (isset($cell['x0'])) {
20670 return [$cell['x0'], $cell['w0']];
20681 if (isset($cell['colspan'])) {
20682 for ($k = $j + $cell['colspan'] - 1; $k > $j; $k--) {
20688 $cell['x0'] = $x;
20689 $cell['w0'] = $w;
20697 $cell = &$table['cells'][$i][$j];
20698 if ($cell) {
20699 if (isset($cell['y0'])) {
20700 return [$cell['y0'], $cell['h0']];
20708 if (isset($cell['rowspan'])) {
20709 for ($k = $i + $cell['rowspan'] - 1; $k > $i; $k--) {
20717 $cell['y0'] = $y;
20718 $cell['h0'] = $h;
20751 function _tableRect($x, $y, $w, $h, $bord = -1, $details = [], $buffer = false, $bSeparate = false, $cort = 'cell', $tablecorner = '', $bsv = 0, $bsh = 0)
20757 } elseif ($this->simpleTables && ($cort == 'cell')) {
20864 if ($cort == 'cell' || strpos($tablecorner, 'L') !== false) {
20874 if ($cort == 'cell' || strpos($tablecorner, 'R') !== false) {
20898 if ($cort == 'cell' || strpos($tablecorner, 'T') !== false) {
20908 if ($cort == 'cell' || strpos($tablecorner, 'B') !== false) {
20932 if ($cort == 'cell' || strpos($tablecorner, 'T') !== false) {
20943 if ($cort == 'cell' || strpos($tablecorner, 'B') !== false) {
20968 if ($cort == 'cell' || strpos($tablecorner, 'L') !== false) {
20978 if ($cort == 'cell' || strpos($tablecorner, 'R') !== false) {
21345 $cell = &$cells[$i][$j];
21347 $cbord = $this->_unpackCellBorder($cell['borderbin']);
21358 if (isset($cell['colspan']) && $cell['colspan'] > 1) {
21359 $ccolsp = $cell['colspan'];
21363 if (isset($cell['rowspan']) && $cell['rowspan'] > 1) {
21364 $crowsp = $cell['rowspan'];
21443 // Hidden >> Width >> double>solid>dashed>dotted... >> style set on cell>table >> top/left>bottom/right
21453 // already defined Top for adjacent cell below
21492 if ($ccolsp < 2) { // don't overwrite this cell if it spans
21506 if ($ccolsp < 2) { // don't overwrite this cell if it spans
21511 } elseif ($celladj['border_details']['T']['dom'] > $celladj['border_details']['B']['dom']) { // Style set on cell vs. table
21513 if ($ccolsp < 2) { // don't overwrite this cell if it spans
21518 } else { // Style set on cell vs. table - OR - LEFT/TOP (cell) in preference to BOTTOM/RIGHT
21548 // already defined Left for adjacent cell to R
21579 if ($crowsp < 2) { // don't overwrite this cell if it spans
21592 if ($crowsp < 2) { // don't overwrite this cell if it spans
21597 } // Style set on cell vs. table
21599 if ($crowsp < 2) { // don't overwrite this cell if it spans
21603 } // Style set on cell vs. table - OR - LEFT/TOP (cell) in preference to BOTTOM/RIGHT
21611 // if right-cell border is not set
21626 // Set maximum cell border width meeting at LRTB edges of cell - used for extended cell border
21639 if (($i + $crowsp) < $numrows && isset($cells[$i + $crowsp][$j])) { // Has Bottom adjoining cell
21673 if (($j + $ccolsp) < $numcols && isset($cells[$i][$j + $ccolsp])) { // Has Right adjoining cell
21707 if ($i > 0 && isset($cells[$i - 1][$j]) && is_array($cells[$i - 1][$j]) && (($this->packTableData && $cells[$i - 1][$j]['borderbin']) || $cells[$i - 1][$j]['border'])) { // Has Top adjoining cell
21752 if ($j > 0 && isset($cells[$i][$j - 1]) && is_array($cells[$i][$j - 1]) && (($this->packTableData && $cells[$i][$j - 1]['borderbin']) || $cells[$i][$j - 1]['border'])) { // Has Left adjoining cell
21799 // Update maximum cell border width at LRTB edges of table - used for overall table width
21816 $cell['borderbin'] = $this->_packCellBorder($cbord);
21821 unset($cell);
21825 unset($cell);
21839 $cell = &$cells[$i][$j];
21841 if (isset($cell['colspan']) && $cell['colspan'] > 1) {
21842 $col -= ($cell['colspan'] - 1);
21845 if (isset($cell['textbuffer'])) {
21846 for ($n = 0; $n < count($cell['textbuffer']); $n++) {
21847 $t = $cell['textbuffer'][$n][0];
21851 $cell['textbuffer'][$n][0] = "\xbb\xa4\xactype=nestedtable,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
21857 unset($cell);
22000 $cell = &$cells[$i][$j];
22020 if (isset($cell['textbuffer'])) {
22021 $tablefooter[$i][$js]['textbuffer'] = $cell['textbuffer'];
22025 $tablefooter[$i][$js]['a'] = $cell['a'];
22026 $tablefooter[$i][$js]['R'] = $cell['R'];
22027 $tablefooter[$i][$js]['va'] = $cell['va'];
22028 $tablefooter[$i][$js]['mih'] = $cell['mih'];
22029 if (isset($cell['gradient'])) {
22030 $tablefooter[$i][$js]['gradient'] = $cell['gradient']; // *BACKGROUNDS*
22032 if (isset($cell['background-image'])) {
22033 $tablefooter[$i][$js]['background-image'] = $cell['background-image']; // *BACKGROUNDS*
22039 $c = $this->_unpackCellBorder($cell['borderbin']);
22043 $tablefooter[$i][$js]['border'] = $cell['border'];
22044 $tablefooter[$i][$js]['border_details'] = $cell['border_details'];
22050 $tablefooter[$i][$js]['bgcolor'] = $cell['bgcolor'];
22051 $tablefooter[$i][$js]['padding'] = $cell['padding'];
22052 if (isset($cell['rowspan'])) {
22053 $tablefooter[$i][$js]['rowspan'] = $cell['rowspan'];
22055 if (isset($cell['colspan'])) {
22056 $tablefooter[$i][$js]['colspan'] = $cell['colspan'];
22058 if (isset($cell['direction'])) {
22059 $tablefooter[$i][$js]['direction'] = $cell['direction'];
22061 if (isset($cell['cellLineHeight'])) {
22062 $tablefooter[$i][$js]['cellLineHeight'] = $cell['cellLineHeight'];
22064 if (isset($cell['cellLineStackingStrategy'])) {
22065 $tablefooter[$i][$js]['cellLineStackingStrategy'] = $cell['cellLineStackingStrategy'];
22067 if (isset($cell['cellLineStackingShift'])) {
22068 $tablefooter[$i][$js]['cellLineStackingShift'] = $cell['cellLineStackingShift'];
22095 // Get Maximum row/cell height in row - including rowspan>1 + 1 overlapping
22108 $cell = &$cells[$i][$j];
22110 $lastCol = $j + (isset($cell['colspan']) ? ($cell['colspan'] - 1) : 0);
22122 if (!empty($tablefooter) || $i == ($numrows - 1) || (isset($cell['rowspan']) && ($i + $cell['rowspan']) == $numrows) || (!isset($cell['rowspan']) && ($i + 1) == $numrows)) {
22520 $align = $cell['a'];
22531 if ((!isset($cell['rowspan']) && $i == $numrows - 1) || (isset($cell['rowspan']) && (($i == $numrows - 1 && $cell['rowspan'] < 2) || ($cell['rowspan'] > 1 && ($i + $cell['rowspan'] - 1) == $numrows - 1)))) {
22581 if ($i == ($numrows - 1) || (isset($cell['rowspan']) && ($i + $cell['rowspan']) == $numrows) || (!isset($cell['rowspan']) && ($i + 1) == $numrows)) { // Bottom
22584 if ($j == ($numcols - 1) || (isset($cell['colspan']) && ($j + $cell['colspan']) == $numcols) || (!isset($cell['colspan']) && ($j + 1) == $numcols)) { // Right
22595 if ($table['empty_cells'] != 'hide' || !empty($cell['textbuffer']) || (isset($cell['nestedcontent']) && $cell['nestedcontent']) || !$table['borders_separate']) {
22607 $c = $this->_unpackCellBorder($cell['borderbin']);
22611 $bord = $cell['border'];
22612 $bord_det = $cell['border_details'];
22621 if (isset($cell['bgcolor']) && $cell['bgcolor'] && $cell['bgcolor'] != 'transparent') {
22622 $fill = $cell['bgcolor'];
22650 if (isset($cell['gradient']) && $cell['gradient'] && $paintcell) {
22651 $g = $this->gradient->parseBackgroundGradient($cell['gradient']);
22672 if (isset($cell['background-image']) && $paintcell) {
22673 if (isset($cell['background-image']['gradient']) && $cell['background-image']['gradient'] && preg_match('/(-moz-)*(repeating-)*(linear|radial)-gradient/', $cell['background-image']['gradient'])) {
22674 $g = $this->gradient->parseMozGradient($cell['background-image']['gradient']);
22693 } elseif (isset($cell['background-image']['image_id']) && $cell['background-image']['image_id']) { // Background pattern
22707 list($orig_w, $orig_h, $x_repeat, $y_repeat) = $this->_resizeBackgroundImage($cell['background-image']['orig_w'], $cell['background-image']['orig_h'], $pw, $ph, $cell['background-image']['resize'], $cell['background-image']['x_repeat'], $cell['background-image']['y_repeat']);
22708 $this->patterns[$n] = ['x' => $px, 'y' => $py, 'w' => $pw, 'h' => $ph, 'pgh' => $this->h, 'image_id' => $cell['background-image']['image_id'], 'orig_w' => $orig_w, 'orig_h' => $orig_h, 'x_pos' => $cell['background-image']['x_pos'], 'y_pos' => $cell['background-image']['y_pos'], 'x_repeat' => $x_repeat, 'y_repeat' => $y_repeat];
22709 if ($cell['background-image']['opacity'] > 0 && $cell['background-image']['opacity'] < 1) {
22710 $opac = $this->SetAlpha($cell['background-image']['opacity'], 'Normal', true);
22716 $image_id = $cell['background-image']['image_id'];
22717 $orig_w = $cell['background-image']['orig_w'];
22718 $orig_h = $cell['background-image']['orig_h'];
22719 $x_pos = $cell['background-image']['x_pos'];
22720 $y_pos = $cell['background-image']['y_pos'];
22721 $x_repeat = $cell['background-image']['x_repeat'];
22722 $y_repeat = $cell['background-image']['y_repeat'];
22723 $resize = $cell['background-image']['resize'];
22724 $opacity = $cell['background-image']['opacity'];
22725 $itype = $cell['background-image']['itype'];
22732 if (isset($cell['colspan']) && $cell['colspan'] > 1) {
22733 $ccolsp = $cell['colspan'];
22737 if (isset($cell['rowspan']) && $cell['rowspan'] > 1) {
22738 $crowsp = $cell['rowspan'];
22772 if (isset($cell['textbuffer'])) {
22773 $tableheader[$i][$j]['textbuffer'] = $cell['textbuffer'];
22777 $tableheader[$i][$j]['a'] = $cell['a'];
22778 $tableheader[$i][$j]['R'] = $cell['R'];
22780 $tableheader[$i][$j]['va'] = $cell['va'];
22781 $tableheader[$i][$j]['mih'] = $cell['mih'];
22782 $tableheader[$i][$j]['gradient'] = (isset($cell['gradient']) ? $cell['gradient'] : null); // *BACKGROUNDS*
22783 $tableheader[$i][$j]['background-image'] = (isset($cell['background-image']) ? $cell['background-image'] : null); // *BACKGROUNDS*
22784 $tableheader[$i][$j]['rowspan'] = (isset($cell['rowspan']) ? $cell['rowspan'] : null);
22785 $tableheader[$i][$j]['colspan'] = (isset($cell['colspan']) ? $cell['colspan'] : null);
22786 $tableheader[$i][$j]['bgcolor'] = $cell['bgcolor'];
22795 $tableheader[$i][$j]['padding'] = $cell['padding'];
22796 if (isset($cell['direction'])) {
22797 $tableheader[$i][$j]['direction'] = $cell['direction'];
22799 if (isset($cell['cellLineHeight'])) {
22800 $tableheader[$i][$j]['cellLineHeight'] = $cell['cellLineHeight'];
22802 if (isset($cell['cellLineStackingStrategy'])) {
22803 $tableheader[$i][$j]['cellLineStackingStrategy'] = $cell['cellLineStackingStrategy'];
22805 if (isset($cell['cellLineStackingShift'])) {
22806 $tableheader[$i][$j]['cellLineStackingShift'] = $cell['cellLineStackingShift'];
22820 if ($cell['R'] && intval($cell['R']) > 0 && intval($cell['R']) < 90 && isset($cell['va']) && $cell['va'] != 'B') {
22821 $cell['va'] = 'B';
22823 if (!isset($cell['va']) || $cell['va'] == 'M') {
22824 $this->y += ($h - $cell['mih']) / 2;
22825 } elseif (isset($cell['va']) && $cell['va'] == 'B') {
22826 $this->y += $h - $cell['mih'];
22833 if (!empty($cell['textbuffer'])) {
22835 $this->cellLineHeight = $cell['cellLineHeight'];
22836 $this->cellLineStackingStrategy = $cell['cellLineStackingStrategy'];
22837 $this->cellLineStackingShift = $cell['cellLineStackingShift'];
22840 if (preg_match('/{colsum([0-9]*)[_]*}/', $cell['textbuffer'][0][0], $m)) {
22842 $cell['textbuffer'][0][0] = preg_replace('/{colsum[0-9_]*}/', $rep, $cell['textbuffer'][0][0]);
22846 $this->colsums[$j] += $this->toFloat($cell['textbuffer'][0][0]);
22848 $this->colsums[$j] = $this->toFloat($cell['textbuffer'][0][0]);
22855 foreach ($cell['textbuffer'] as $k => $t) {
22863 $cell['textbuffer'][$k][0] = preg_replace('/{iteration ' . $m[1] . '}/', $this->$vname, $cell['textbuffer'][$k][0]);
22869 if ($cell['R']) {
22870 $cellPtSize = $cell['textbuffer'][0][11] / $this->shrin_k;
22876 $angle = intval($cell['R']);
22886 if (isset($cell['a']) && $cell['a'] == 'R') {
22887 $this->x += ($w) + ($offset) - ($cellFontHeight / 3) - ($cell['padding']['R'] + ($table['border_spacing_H'] / 2));
22888 } elseif (!isset($cell['a']) || $cell['a'] == 'C') {
22891 $this->x += ($offset) + ($cellFontHeight / 3) + ($cell['padding']['L'] + ($table['border_spacing_H'] / 2));
22894 foreach ($cell['textbuffer'] as $t) {
22898 if (!isset($cell['va']) || $cell['va'] == 'M') {
22899 $this->y -= ($h - $cell['mih']) / 2; // Undo what was added earlier VERTICAL ALIGN
22901 $this->y += (($h - $cell['mih']) / 2) + $cell['padding']['T'] + ($cell['mih'] - ($cell['padding']['T'] + $cell['padding']['B']));
22903 $this->y += (($h - $cell['mih']) / 2) + ($cell['padding']['T'] + ($table['border_spacing_V'] / 2));
22905 } elseif (isset($cell['va']) && $cell['va'] == 'B') {
22906 $this->y -= $h - $cell['mih']; // Undo what was added earlier VERTICAL ALIGN
22908 $this->y += $h - ($cell['padding']['B'] + ($table['border_spacing_V'] / 2));
22910 $this->y += $h - $cell['mih'] + ($cell['padding']['T'] + ($table['border_spacing_V'] / 2));
22912 } elseif (isset($cell['va']) && $cell['va'] == 'T') {
22914 $this->y += $cell['mih'] - ($cell['padding']['B'] + ($table['border_spacing_V'] / 2));
22916 $this->y += ($cell['padding']['T'] + ($table['border_spacing_V'] / 2));
22923 if (!empty($cell['textbuffer'][0][3])) { // Font Color
22924 $cor = $cell['textbuffer'][0][3];
22927 $this->SetFont($cell['textbuffer'][0][4], $cell['textbuffer'][0][2], $cellPtSize, true, true);
22929 $this->magic_reverse_dir($str, $this->directionality, $cell['textbuffer'][0][18]);
22930 $this->Text($this->x, $this->y, $str, $cell['textbuffer'][0][18], $cell['textbuffer'][0][8]); // textvar
22947 $xadj = $btlw + $cell['padding']['L'] + ($table['border_spacing_H'] / 2);
22948 $wadj = $btlw + $btrw + $cell['padding']['L'] + $cell['padding']['R'] + $table['border_spacing_H'];
22949 $yadj = $bttw + $cell['padding']['T'] + ($table['border_spacing_H'] / 2);
22951 $xadj = $btlw / 2 + $cell['padding']['L'];
22952 $wadj = ($btlw + $btrw) / 2 + $cell['padding']['L'] + $cell['padding']['R'];
22953 $yadj = $bttw / 2 + $cell['padding']['T'];
22957 $xadj = $table['simple']['border_details']['L']['w'] + $cell['padding']['L'] + ($table['border_spacing_H'] / 2);
22958 $wadj = $table['simple']['border_details']['L']['w'] + $table['simple']['border_details']['R']['w'] + $cell['padding']['L'] + $cell['padding']['R'] + $table['border_spacing_H'];
22959 $yadj = $table['simple']['border_details']['T']['w'] + $cell['padding']['T'] + ($table['border_spacing_H'] / 2);
22961 $xadj = $table['simple']['border_details']['L']['w'] / 2 + $cell['padding']['L'];
22962 $wadj = ($table['simple']['border_details']['L']['w'] + $table['simple']['border_details']['R']['w']) / 2 + $cell['padding']['L'] + $cell['padding']['R'];
22963 $yadj = $table['simple']['border_details']['T']['w'] / 2 + $cell['padding']['T'];
22967 if (substr($cell['a'], 0, 1) == 'D') {
22968 if (isset($cell['colspan']) && $cell['colspan'] > 1) {
22969 $this->cellTextAlign = $c['a'] = substr($cell['a'], 2, 1);
22976 if (substr($cell['a'], 2, 1) == 'R') {
22978 } elseif (substr($cell['a'], 2, 1) == 'C') {
22990 $this->printbuffer($cell['textbuffer'], '', true, false, $cell['direction']);
23092 if ($i == ($numrows - 1) || (isset($cell['rowspan']) && ($i + $cell['rowspan']) == $numrows)) { // Bottom
23103 if ($j == ($numcols - 1) || (isset($cell['colspan']) && ($j + $cell['colspan']) == $numcols)) { // Right
23111 unset($cell);