Lines Matching refs:box

94     $box =& create_document_box($root, $pipeline);
95 return $box;
97 $box =& create_node_box($root, $pipeline);
98 return $box;
100 $box =& create_text_box($root, $pipeline);
101 return $box;
207 $box =& BlockBox::create($root, $pipeline);
210 $box =& BRBox::create($pipeline);
213 $box =& BodyBox::create($root, $pipeline);
216 $box =& ButtonBox::create($root, $pipeline);
219 $box =& ButtonResetBox::create($root, $pipeline);
222 $box =& ButtonSubmitBox::create($root, $pipeline);
225 $box =& ButtonImageBox::create($root, $pipeline);
228 $box =& CheckBox::create($root, $pipeline);
231 $box =& FormBox::create($root, $pipeline);
235 $box =& FrameBox::create($root, $pipeline);
240 $box =& FramesetBox::create($root, $pipeline);
245 $box =& IFrameBox::create($root, $pipeline);
249 $box =& TextAreaInputBox::create($root, $pipeline);
252 $box =& IMGBox::create($root, $pipeline);
255 $box =& InlineBox::create($root, $pipeline);
258 $box =& InlineBlockBox::create($root, $pipeline);
261 $box =& LegendBox::create($root, $pipeline);
264 $box =& ListItemBox::create($root, $pipeline);
267 $box =& NullBox::create();
270 $box =& RadioBox::create($root, $pipeline);
273 $box =& SelectBox::create($root, $pipeline);
276 $box =& TableBox::create($root, $pipeline);
279 $box =& TableCellBox::create($root, $pipeline);
282 $box =& TableRowBox::create($root, $pipeline);
287 $box =& TableSectionBox::create($root, $pipeline);
290 $box =& TextInputBox::create($root, $pipeline);
293 $box =& PasswordInputBox::create($root, $pipeline);
300 $box =& BlockBox::create($root, $pipeline);
307 $pseudoelements = $box->get_css_property(CSS_HTML2PS_PSEUDOELEMENTS);
313 $box->insert_child(0, $before);
321 $box->add_child($after);
338 $box->setCSSProperty(CSS_POSITION, POSITION_STATIC);
339 $box->setCSSProperty(CSS_POSITION, FLOAT_NONE);
341 $wc = $box->get_css_property(CSS_WIDTH);
349 $box->setCSSProperty(CSS_WIDTH, new WCFraction(1));
353 $box->setCSSProperty(CSS_MARGIN, $handler->default_value());
362 $box->setCSSProperty(CSS_BORDER, $value);
365 $box->setCSSProperty(CSS_PADDING, $handler->default_value());
368 $box->setCSSProperty(CSS_BACKGROUND, $handler->default_value());
373 $wrapper->add_child($box);
386 $box->set_tagname($root->tagname());
387 return $box;
402 $box =& InlineBox::create($root, $pipeline);
404 $box = null;
410 return $box;
483 $box =& BlockBox::create_from_text($content, $pipeline);
487 $box =& InlineBox::create_from_text($content,
520 $wrapper->add_child($box);
526 return $box;
530 function is_inline(&$box) { argument
531 if (is_a($box, "TextBox")) { return true; };
533 $display = $box->get_css_property(CSS_DISPLAY);
551 function is_whitespace(&$box) { argument
553 is_a($box, "WhitespaceBox") ||
554 is_a($box, "NullBox");
557 function is_container(&$box) { argument
558 return is_a($box, "GenericContainerBox") &&
559 !is_a($box, "GenericInlineBox") ||
560 is_a($box, "InlineBox");
563 function is_span(&$box) { argument
564 return is_a($box, "InlineBox");
567 function is_table_cell(&$box) { argument
568 return is_a($box, "TableCellBox");