Lines Matching refs:box

354   function calculate_page_heights(&$media, &$box) {  argument
355 return $this->_page_break_strategy->run($this, $media, $box);
534 foreach ($boxes as $selector => $box) {
619 $box =& BoxPage::create($this, $rules);
620 $box->reflow($media);
621 return $box;
625 $box =& $this->reflow_page_box($page_no, $media);
626 $box->show($this->output_driver);
627 $box->destroy();
628 unset($box);
640 foreach ($boxes as $selector => $box) {
647 foreach ($boxes as $selector => $box) {
789 $box =& $this->_layout_item($data_id, $media, $offset, $context, $postponed_filter);
791 if (is_null($box)) {
796 $this->_show_item($box, $offset, $context, $media, $postponed_filter);
803 $box->destroy();
809 function _show_item(&$box, $offset, &$context, &$media, &$postponed_filter) { argument
813 'document' => &$box,
817 $page_heights = $this->calculate_page_heights($media, $box);
818 $box->offset(0, $offset);
820 $box->reflow_anchors($this->output_driver, $this->output_driver->anchors, $page_heights);
823 'document' => &$box,
845 $postponed_filter->process($box, null, $this);
863 'document' => &$box,
866 if (is_null($box->show($this->output_driver))) {
888 'document' => &$box,
893 'document' => &$box));
1149 $box =& $this->parser->process($data->get_content(), $this, $media);
1152 'document' => &$box,
1163 $filter->process($box, $data, $this);
1169 $filter->process($box, $data, $this);
1173 $this->pre_tree_filters[$i]->process($box, $data, $this);
1182 $positioned_filter->process($box, null, $this);
1185 $postponed_filter->process($box, null, $this);
1201 $status = $this->layout_engine->process($box, $media, $this->output_driver, $context);
1210 $this->post_tree_filters[$i]->process($box);
1213 return $box;