Lines Matching refs:content

31   var $content;  variable in GenericContainerBox
67 for ($i=0, $size = count($this->content); $i < $size; $i++) {
68 $this->content[$i]->destroy();
70 unset($this->content);
103 for ($i=0, $size = count($this->content); $i < $size; $i++) {
104 $child =& $this->content[$i];
184 $size = count($this->content);
195 $child =& $this->content[$i];
219 $size = count($this->content);
221 if ($this->content[$i]->uid == $box->uid) {
237 for ($i = count($this->content)-1; $i>= $index; $i--) {
238 $this->content[$i+1] =& $this->content[$i];
241 $this->content[$index] =& $box;
272 $this->content[] =& $box;
284 $size = count($this->content);
286 if (!is_whitespace($this->content[$i]) &&
287 !$this->content[$i]->is_null()) {
288 return $this->content[$i];
305 $size = count($this->content);
307 if (!is_whitespace($this->content[$i]) && !$this->content[$i]->is_null()) {
308 if (is_container($this->content[$i])) {
309 $data =& $this->content[$i]->get_first_data();
312 return $this->content[$i];
330 for ($i=count($this->content)-1; $i>=0; $i--) {
331 if (!is_whitespace($this->content[$i]) && !$this->content[$i]->is_null()) {
332 return $this->content[$i];
361 $size = count($this->content);
363 $this->content[$i]->offset($dx, $dy);
371 $this->content = array();
415 return join('', array_map(array($this, 'get_content_callback'), $this->content));
426 $content_size = count($this->content);
448 if (!$this->content[$i]->is_null()) {
451 $max_top = max($max_top, $this->content[$i]->get_top_margin());
459 if (!$this->content[$i]->is_container()) {
461 $this->content[$i]->get_bottom_margin());
463 $content_overflow = $this->content[$i]->get_css_property(CSS_OVERFLOW);
467 $this->content[$i]->get_bottom_margin());
470 $this->content[$i]->get_bottom_margin(),
471 $this->content[$i]->get_top_margin() -
472 $this->content[$i]->get_real_full_height());
548 $content_size = count($this->content);
575 $this->content[$start_index]->out_of_flow()) {
583 $this->content[$start_index]->get_min_width_natural($context);
589 $item =& $this->content[$i];
848 $size = count($this->content);
850 $this->content[$i]->reflow_anchors($viewport, $anchors, $page_heights);
886 $size = count($this->content);
888 $child =& $this->content[$i];
896 $size = count($this->content);
898 $this->content[$i]->reflow_inline();
903 $size = count($this->content);
905 if (is_null($this->content[$i]->reflow_text($viewport))) {
988 $size = count($this->content);
990 $child =& $this->content[$i];
1008 if (count($this->content) == 0) {
1012 $i = count($this->content)-1;
1013 $last = $this->content[$i];
1014 while ($i >= 0 && is_whitespace($this->content[$i])) {
1015 $this->remove($this->content[$i]);
1019 $last = $this->content[$i];
1024 if (is_container($this->content[$i])) {
1025 $this->content[$i]->remove_last_whitespace();
1031 $size = count($this->content);
1033 if ($this->content[$i]->uid === $box->uid) {
1034 $this->content[$i] = NullBox::create();
1052 $size = count($this->content);
1054 if (!$this->content[$i]->is_null()) { return false; };
1070 $size = count($this->content);
1072 $this->content[$i]->pre_reflow_images();
1112 return $this->content;