Lines Matching refs:content
39 return $this->content[$r]->content[$c];
43 return count($this->content);
48 return count($this->content[0]->content);
165 for ($i=0; $i<count($this->content); $i++) {
166 $this->content[$i]->parent =& $this;
168 for ($j=0; $j<count($this->content[$i]->content); $j++) {
169 $this->content[$i]->content[$j]->parent =& $this;
172 $this->content[$i]->content[$j]->column = $j;
175 $this->content[$i]->content[$j]->row = $i;
187 for ($i=0, $size = count($this->content); $i < $size; $i++) {
192 for ($i=0, $num_rows = count($this->content); $i < $num_rows; $i++) {
193 $row =& $this->content[$i];
195 for ($j=0, $num_cells = count($row->content); $j < $num_cells; $j++) {
196 $cell = $row->content[$j];
218 for ($i=0, $num_cols = count($this->content[0]->content); $i < $num_cols; $i++) {
227 for ($i=0, $num_cols = count($this->content[0]->content); $i < $num_cols; $i++) {
230 for ($j=0, $num_rows = count($this->content); $j < $num_rows; $j++) {
231 $cell =& $this->content[$j]->content[$i];
248 for ($i=0, $num_cols = count($this->content[0]->content); $i < $num_cols; $i++) {
268 for ($j=0; $j<count($this->content); $j++) {
273 $cell =& $this->content[$j]->content[0];
282 $cell->colspan >= count($this->content[$j])) {
303 for ($i=0; $i<count($this->content); $i++) {
304 $row =& $this->content[$i];
305 if (count($row->content) == 0) {
306 $this->content[$i]->add_fake_cell_before(0, $pipeline);
313 for ($i=0; $i<count($this->content); $i++) {
314 $this->content[$i]->normalize($pipeline);
344 for ($i_row=0; $i_row<count($this->content); $i_row++) {
345 $row =& $this->content[$i_row];
346 if ($i_col < count($row->content)) {
350 $row->content[$i_col]->rowspan = min($row->content[$i_col]->rowspan,
351 count($this->content) - $i_row);
353 if ($row->content[$i_col]->rowspan > 1) {
359 … for ($k=$i_row+1; $k<min($i_row + $row->content[$i_col]->rowspan, count($this->content)); $k++) {
363 for ($cs = 0; $cs < $row->content[$i_col]->colspan; $cs++) {
364 $this->content[$k]->add_fake_cell_before($i_col, $pipeline);
376 for ($i=0; $i<count($this->content); $i++) {
377 $length = max($length, count($this->content[$i]->content));
379 for ($i=0; $i<count($this->content); $i++) {
380 $row =& $this->content[$i];
381 while ($length > count($row->content)) {
392 $last_row =& $this->content[count($this->content)-1];
397 if (count($this->content) > 0) {
398 if (count($this->content[count($this->content)-1]->content) == 0) {
399 array_pop($this->content);
404 $this->content[] =& $item;
407 for ($i=0, $size = count($item->content); $i < $size; $i++) {
408 $this->add_child($item->content[$i]);
422 return $this->content[$y]->content[$x]->rowspan;
430 $cell =& $this->content[$span->row]->content[$span->column];
437 $baseline = $this->content[$span->row]->get_row_baseline();
455 for ($i=0; $i<count($this->content); $i++) {
456 $spans = array_merge($spans, $this->content[$i]->get_rowspans($i));
490 for ($i=0; $i<count($this->content); $i++) {
491 $heights[] = max($minheight, $this->content[$i]->row_height());
497 $cheights[] = $hc->apply($heights[$i], $this->content[$i], null);
571 $this->content[$i]->table_resize_row($heights[$i], $row_top);
761 $cell = $this->content[$colspan->row]->content[$colspan->column];
826 for ($i=0; $i<count($this->content[0]->content); $i++) {
830 for ($i=0; $i<count($this->content); $i++) {
832 $roww = $this->content[$i]->get_table_columns_max_widths($context);
866 for ($i=0; $i<count($this->content[0]->content); $i++) {
870 $content_size = count($this->content);
873 $roww = $this->content[$i]->get_table_columns_min_widths($context);
888 for ($i=0; $i<count($this->content); $i++) {
889 $colspans = array_merge($colspans, $this->content[$i]->get_colspans($i));
959 return $this->content[$y]->content[$x]->colspan;
1090 for ($i=0; $i<count($this->content); $i++) {
1109 for ($i=0; $i<count($this->content); $i++) {
1123 for ($i=0; $i<count($this->content); $i++) {
1162 for ($j=0; $j<count($cell->content); $j++) {
1163 if (!$cell->content[$j]->is_null() &&
1164 !is_a($cell->content[$j], "GenericImgBox")) {
1190 for ($i=0; $i<count($this->content); $i++) {
1224 for ($i=0; $i<count($this->content); $i++) {
1231 for ($j=0; $j<count($this->content[$i]->content); $j++) {
1243 $cell =& $this->content[$i]->content[$j];
1252 $this->content[$i]->content[$j]->reflow($this, $context);
1267 $this->_current_y -= $this->content[$i]->row_height();
1276 … $cell_height = $this->content[$rowspan->row]->content[$rowspan->column]->get_full_height();