Lines Matching refs:cell
696 foreach($row as $cell) {
700 $nextkey += $cell['colspan'] - 1;
701 $table[$inorm][$nextkey] = $cell;
702 $rowspan = $cell['rowspan'];
706 $nu_cell = $cell;
718 foreach($row as $n => $cell) {
720 $diff = (utf8_strlen($cell['text']) + $cell['colspan'] +
721 ($cell['align'] === 'center' ? 3 : 2));
724 $span = $cell['colspan'];
733 while(++$span < $cell['colspan']) {
734 …$span] = (isset($m_width[$n - $span]) ? $m_width[$n - $span] : 0) + ceil($diff / $cell['colspan']);
745 foreach($row as $n => $cell) {
746 $pos += utf8_strlen($cell['text']) + 1;
747 $span = $cell['colspan'];
754 $pad = $target - utf8_strlen($cell['text']);
755 $pos += $pad + ($cell['colspan'] - 1);
756 switch($cell['align']) {
768 $str .= $types[$cell['tag']].str_repeat(' ', $lpad).
769 $cell['text'].str_repeat(' ', $pad - $lpad).
770 str_repeat($types[$cell['tag']], $cell['colspan'] - 1);
772 $str .= $types[$cell['tag']].DOKU_LF;