Home
last modified time | relevance | path

Searched refs:margins (Results 1 – 25 of 76) sorted by relevance

1234

/plugin/html2pdf/html2pdf/html2ps/
H A Dmedia.layout.inc.php14 var $margins; variable in Media
23 function Media($size, $margins) { argument
25 $this->margins = $margins;
30 $new_item =& new Media($this->size, $this->margins);
55 return $this->width() - $this->margins['left'] - $this->margins['right'];
59 return $this->height() - $this->margins['bottom'] - $this->margins['top'];
71 function set_margins($margins) { argument
72 $this->margins = $margins;
101 … return $this->pixels / ($this->size['width'] - $this->margins['left'] - $this->margins['right']);
122 "/lmargin {{$this->margins['left']} mm} def\n".
[all …]
H A Dbox.page.margin.class.php189 $this->put_full_height(mm2pt($media->margins['top']));
201 $this->put_full_width(mm2pt($media->margins['left']));
202 $this->put_full_height(mm2pt($media->margins['top']));
220 $this->put_full_height(mm2pt($media->margins['top']));
238 $this->put_full_height(mm2pt($media->margins['top']));
256 $this->put_full_height(mm2pt($media->margins['top']));
269 $this->put_full_height(mm2pt($media->margins['top']));
281 $this->put_full_width(mm2pt($media->margins['left']));
349 $this->put_full_height(mm2pt($media->margins['top']));
380 $this->put_full_width(mm2pt($media->margins['left']));
[all …]
H A Dlayout.default.class.php19 …$margin->calcPercentages(mm2pt($media->width() - $media->margins['left'] - $media->margins['right'…
22 $box->width = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) -
29 $media->margins['top']) -
32 $box->put_left(mm2pt($media->margins['left']) +
43 $viewport->left = mm2pt($media->margins['left']);
44 $viewport->top = mm2pt($media->height() - $media->margins['top']);
45 … $viewport->width = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']);
46 … $viewport->height = mm2pt($media->height() - $media->margins['top'] - $media->margins['bottom']);
H A Doutput._generic.class.php127 return round(mm2pt($this->media->margins['left']),2);
131 return round($this->offset + mm2pt($this->media->height() - $this->media->margins['top']),2);
140 mm2pt($this->media->margins['bottom']) +
321 $this->width = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']);
322 $this->height = mm2pt($media->height() - $media->margins['top'] - $media->margins['bottom']);
323 $this->left = mm2pt($media->margins['left']);
324 $this->bottom = mm2pt($media->margins['bottom']);
H A Dpipeline.class.php554 $margins = $page_rules->get_property_value(CSS_MARGIN);
555 if (!is_null($margins)) {
556 … $media->margins['left'] = $margins->left->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
557 …$media->margins['right'] = $margins->right->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
558 … $media->margins['top'] = $margins->top->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt(1);
559 …$media->margins['bottom'] = $margins->bottom->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt…
564 … $media->margins['left'] = $left_margin->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
569 … $media->margins['right'] = $right_margin->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
574 $media->margins['top'] = $top_margin->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt(1);
579 …$media->margins['bottom'] = $bottom_margin->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt(1…
[all …]
H A Dbox.page.php37 $this->put_left(mm2pt($media->margins['left']));
38 $this->put_top(mm2pt($media->height() - $media->margins['top']));
H A Dstrategy.page.break.smart.php10 mm2pt($media->height() - $media->margins['top']));
H A Dbackground.image.php95 $top = $driver->offset + mm2pt($media->margins['bottom']) + mm2pt($media->real_height());
96 $bottom = $driver->offset + mm2pt($media->margins['bottom']);
/plugin/odt/ODT/
H A Dpage.php40 $margins = $margin_top.'-'.$margin_right.'-'.$margin_bottom.'-'.$margin_left;
41 $margins = str_replace (',', '', $margins);
42 $margins = str_replace ('.', '', $margins);
43 return $format.'-'.$orientation.'-'.$margins;
52 …$margins = $this->margin_top.'-'.$this->margin_right.'-'.$this->margin_bottom.'-'.$this->margin_le…
53 $margins = str_replace (',', '', $margins);
54 $margins = str_replace ('.', '', $margins);
55 return $this->format.'-'.$this->orientation.'-'.$margins;
/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dtest.position.horizontal.absolute.positioned.php16 mm2pt($media->margins['left']),
21 mm2pt($media->margins['left']) + px2pt(100),
26 mm2pt($media->width() - $media->margins['right']) - px2pt(100),
31 mm2pt($media->margins['left']),
36 mm2pt($media->margins['left']) + px2pt(100),
H A Dtest.pagebreak.php15 mm2pt($media->height() - $media->margins['top']));
60 mm2pt($media->height() - $media->margins['top']));
131 mm2pt($media->height() - $media->margins['top']));
198 mm2pt($media->height() - $media->margins['top']));
H A Dtest.widows.php36 mm2pt($media->height() - $media->margins['top']));
81 mm2pt($media->height() - $media->margins['top']));
126 mm2pt($media->height() - $media->margins['top']));
H A Dtest.orphans.php35 mm2pt($media->height() - $media->margins['top']));
82 mm2pt($media->height() - $media->margins['top']));
129 mm2pt($media->height() - $media->margins['top']));
H A Dtest.pagebreak.border.php34 mm2pt($media->height() - $media->margins['top']));
76 mm2pt($media->height() - $media->margins['top']));
H A Dtest.pagebreak.fixed.height.php11 mm2pt($media->height() - $media->margins['top']));
H A Dtest.css.page.break.after.php15 mm2pt($media->height() - $media->margins['top']));
H A Dtest.pagebreak.table.lines.php92 mm2pt($media->height() - $media->margins['top']));
/plugin/html2pdf/html2pdf/html2ps/samples/
H A Dsample.pipeline.default.php27 $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media-…
H A Dsample.pipeline.custom.php26 $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media-…
/plugin/html2pdf/html2pdf/html2ps/features/
H A Dautomargins.php32 $media->margins['top'] = $this->_top_margin / mm2pt(1);
33 $media->margins['bottom'] = $this->_bottom_margin / mm2pt(1);
/plugin/html2pdf/html2pdf/html2ps/demo/
H A Dtest.php74 …$g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media…
H A Dhtml2ps.php41 'margins' => array(
78 $g_media->set_margins($GLOBALS['g_config']['margins']);
/plugin/blockquote/
H A Dstyle.css9 /* Fix placement with the rule above (original margins were: 1em 3em 1em 3em */
11 /* Get closer to initial design when there's enough space (ie. 3em left and right margins) */
/plugin/emoji/assets/css/
H A Demojione.css9 /* Inline alignment adjust the margins */
/plugin/emoji/
H A Dall.css9 /* Inline alignment adjust the margins */

1234