Lines Matching refs:cell

38   function &cell($r, $c) {  function in TableBox
196 $cell = $row->content[$j];
199 if ($cell->rowspan > 1) { continue; }
202 $this->rhc[$i] = merge_height_constraint($this->rhc[$i], $cell->get_height_constraint());
206 $cell->put_height_constraint($hc);
231 $cell =& $this->content[$j]->content[$i];
234 if ($cell->colspan > 1) { continue; }
237 $this->cwc[$i] = merge_width_constraint($this->cwc[$i], $cell->get_css_property(CSS_WIDTH));
240 $cell->setCSSProperty(CSS_WIDTH, new WCNone);
273 $cell =& $this->content[$j]->content[0];
279 $cell_wc = $cell->get_css_property(CSS_WIDTH);
280 if (!$cell->is_fake() &&
282 $cell->colspan >= count($this->content[$j])) {
290 $cell->setCSSProperty(CSS_WIDTH, $wc);
430 $cell =& $this->content[$span->row]->content[$span->column];
440 $vertical_align = $cell->get_css_property(CSS_VERTICAL_ALIGN);
443 $va_fun->apply_cell($cell, array_sum($row_heights), $baseline);
445 if (array_sum($row_heights) > $cell->get_full_height()) {
447 $cell->put_full_height(array_sum($row_heights));
761 $cell = $this->content[$colspan->row]->content[$colspan->column];
765 $cell_width = $cell->$width_fun($context);
773 $cell_wc = $cell->get_css_property(CSS_WIDTH);
777 $cell_width = max($cell_width, $cell->get_min_width($context));
897 $cell =& $this->cell($i, $col);
898 $cell_wc = $cell->get_css_property(CSS_WIDTH);
900 if ($cell->colspan > 1 &&
1161 $cell =& $this->cell($i, $col);
1162 for ($j=0; $j<count($cell->content); $j++) {
1163 if (!$cell->content[$j]->is_null() &&
1164 !is_a($cell->content[$j], "GenericImgBox")) {
1243 $cell =& $this->content[$i]->content[$j];
1244 $cell->put_full_width($cw);
1245 $cell->setCSSProperty(CSS_WIDTH,
1247 $cell->_get_hor_extra()));