Lines Matching refs:root

90 function &create_pdf_box(&$root, &$pipeline) {  argument
91 switch ($root->node_type()) {
94 $box =& create_document_box($root, $pipeline);
97 $box =& create_node_box($root, $pipeline);
100 $box =& create_text_box($root, $pipeline);
103 die("Unsupported node type:".$root->node_type());
107 function &create_document_box(&$root, &$pipeline) { argument
108 return BlockBox::create($root, $pipeline);
111 function &create_node_box(&$root, &$pipeline) { argument
117 $default_css->apply($root, $css_state, $pipeline);
134 execute_attrs_before($root, $pipeline);
138 $css->apply($root, $css_state, $pipeline);
141 if ($root->has_attribute("style")) {
142 parse_style_attr($root, $css_state, $pipeline);
147 execute_attrs_after_styles($root, $pipeline);
185 switch ($root->tagname()) {
207 $box =& BlockBox::create($root, $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);
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);
311 $before =& create_pdf_pseudoelement($root, SELECTOR_PSEUDOELEMENT_BEFORE, $pipeline);
319 $after =& create_pdf_pseudoelement($root, SELECTOR_PSEUDOELEMENT_AFTER, $pipeline);
376 execute_attrs_after($root, $pipeline);
383 execute_attrs_after($root, $pipeline);
386 $box->set_tagname($root->tagname());
391 function &create_text_box(&$root, &$pipeline) { argument
401 if ($root->content !== "") {
402 $box =& InlineBox::create($root, $pipeline);
413 function &create_pdf_pseudoelement($root, $pe_type, &$pipeline) { argument
426 $css->apply_pseudoelement($pe_type, $root, $css_state, $pipeline);