Home
last modified time | relevance | path

Searched refs:get_width (Results 1 – 25 of 57) sorted by relevance

123

/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dtest.table.column.width.php22 $this->assertEqual($large->get_width(), $real_width);
42 $this->assertEqual($large->get_width(), $real_width);
53 $this->assertEqual($container_table->get_width(), mm2pt($media->real_width()));
54 $this->assertTrue($cell->get_width() >= $table->get_width(),
56 $cell->get_width(),
57 $table->get_width()));
69 $this->assertEqual($container_table->get_width(), mm2pt($media->real_width()) * 0.9);
71 $container_cell_width = $cell->get_width();
72 $container_cell_min_width = $cell->content[0]->get_width();
78 $cell_width = $cell1->get_width() + $cell2->get_width() + $cell->get_width();
[all …]
H A Dtest.width.absolute.positioned.php15 $this->assertWithinMargin($element->get_width(),
20 $this->assertWithinMargin($element->get_width(),
25 $this->assertEqual($element->get_width(),
29 $this->assertEqual($element->get_width(),
33 $this->assertEqual($element->get_width(),
37 $this->assertEqual($element->get_width(),
41 $this->assertEqual($element->get_width(),
50 $this->assertEqual($element->get_width(),
55 $this->assertEqual($element->get_width(),
60 $this->assertEqual($element->get_width(),
[all …]
H A Dtest.css.margin.boxes.php19 $this->assertEqual($box->get_width(), mm2pt(10));
38 $this->assertEqual($box->get_width(), mm2pt(0));
58 $this->assertNotEqual($box->get_width(), 0);
60 $this->assertTrue($box->get_width() >= $expected_width);
H A Dtest.left.percentage.php35 $this->assertEqual($wrapper->get_left() + $wrapper->get_width() / 5 * $i,
71 $this->assertEqual($wrapper->get_left() + $wrapper->get_width() / 5 * $i,
112 $this->assertEqual($wrapper->get_left() + $wrapper->get_width() / 5 * $i,
H A Dtest.width.percentage.php24 $this->assertTrue($wrapper->get_width() > 0,
25 sprintf('Non-zero width expected, got %s', $wrapper->get_width()));
H A Dtest.border-bottom.php17 $width =& $bottom->get_width();
34 $width =& $bottom->get_width();
H A Dtest.border-right.php17 $width =& $right->get_width();
34 $width =& $right->get_width();
H A Dtest.border-top.php17 $width =& $top->get_width();
34 $width =& $top->get_width();
H A Dtest.border-left.php17 $width =& $left->get_width();
34 $width =& $left->get_width();
/plugin/html2pdf/html2pdf/html2ps/
H A Dvalue.border.class.php130 … $box->get_left_border()+$this->left->get_width(), $box->get_top_border()-$this->top->get_width(),
131 …$box->get_left_border()+$this->left->get_width(), $box->get_bottom_border()+$this->bottom->get_wid…
140 …$box->get_right_border()-$this->right->get_width(), $box->get_top_border()-$this->top->get_width(),
141 …$box->get_right_border()-$this->right->get_width(), $box->get_bottom_border()+$this->bottom->get_w…
150 …$box->get_right_border()-$this->right->get_width() , $box->get_top_border() - $this->top->get_widt…
151 …$box->get_left_border() +$this->left->get_width() , $box->get_top_border() - $this->top->get_widt…
160 …$box->get_right_border()- $this->right->get_width() , $box->get_bottom_border() + $this->bottom->g…
161 …$box->get_left_border() + $this->left->get_width() , $box->get_bottom_border() + $this->bottom->g…
H A Dstrategy.width.absolute.positioned.php101 $box->put_width($wc->apply($box->get_width(),
122 $box->put_width($wc->apply($box->get_width(),
136 $box->put_width($wc->apply($box->get_width(),
151 $box->put_width($wc->apply($box->get_width(),
162 $box->setCSSProperty(CSS_WIDTH, new WCConstant($box->get_width()));
H A Dbox.input.textarea.php36 return $this->get_width();
43 function get_width() { function in TextAreaInputBox
44 $normal_width = parent::get_width();
62 … $this->get_width() + $this->get_padding_left() + $this->get_padding_right(),
H A Dbox.generic.formatted.php18 if ($border->top->get_width() > 0 ||
37 if ($border->top->get_width() > 0 ||
648 $left_border->get_width() +
657 $right_border->get_width() +
665 $border->top->get_width() +
723 $border->left->get_width();
732 $this->get_width() +
734 $border->right->get_width();
742 $border->top->get_width();
813 function get_width() { function in GenericFormattedBox
[all …]
H A Dstrategy.table.layout.fixed.php8 $width = $table->get_width();
12 $widths[] = $cwc->apply(0, $table->parent->get_width());
H A Dstrategy.link.rendering.normal.php13 $box->get_width(),
21 $box->get_width(),
H A Dstrategy.width.max.natural.php65 $item_wc->apply($child->get_width(),
69 $item_wc->apply($child->get_width(),
70 $child->get_width()));
H A Dbox.frame.php73 $this->put_width($wc->apply($this->get_width(),
95 $this->offset(-$this->get_width(), 0);
246 $this->put_full_width($viewport->get_width());
247 $this->setCSSProperty(CSS_WIDTH, new WCConstant($viewport->get_width()));
254 $cols = guess_lengths($this->cols, $this->get_width());
283 $frame->setCSSProperty(CSS_WIDTH, new WCConstant($frame->get_width()));
H A Dbox.block.php195 $this->put_full_width($wc->apply($this->get_width(),
264 $this->put_full_width($parent->get_width());
323 $parent->_current_y - $border->top->get_width() - $padding->top->value );
438 …zontal_offset = $driver->getPageWidth() * (100 - $right->getPercentage())/100 - $this->get_width();
440 $horizontal_offset = $driver->getPageWidth() - $right->getPoints() - $this->get_width();
H A Dflow_viewport.class.inc.php22 $viewport->width = $box->get_width() + $padding->left->value + $padding->right->value;
31 function get_width() { return $this->width; } function in FlowViewport
H A Dbox.note-call.class.php93 $this->put_full_width($body->get_width());
115 $parent->_current_x += $this->_note_call_box->content[0]->get_width();
116 $this->_note_call_box->put_full_width($this->_note_call_box->content[0]->get_width());
190 $this->_note_content->moveto($x + $this->_note_marker_box->content[0]->get_width()*0.75,
H A Dbox.img.php35 $this->get_width();
276 $box->src_width = $box->get_width();
306 $this->get_width();
335 if ($this->get_width() < EPSILON ||
342 $this->get_width() / $this->image->sx(),
H A Dstrategy.width.max.php51 $item_wc->apply($box->get_width(),
69 $this->_maxw = $wc->apply($this->_maxw, $box->parent->get_width());
H A Dmedia.layout.inc.php38 function get_width() { function in Media
43 return $this->get_width();
H A Dbox.radiobutton.php98 $size = $this->get_width() / 3;
121 $check_size = $this->get_width() / 6;
H A Dbox.checkbutton.php183 $size = $this->get_width() / 3;
215 $check_size = $this->get_width() / 6;

123