/plugin/html2pdf/html2pdf/html2ps/ |
H A D | media.layout.inc.php | 14 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 D | box.page.margin.class.php | 189 $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 D | layout.default.class.php | 19 …$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 D | output._generic.class.php | 127 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 D | pipeline.class.php | 554 $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 D | box.page.php | 37 $this->put_left(mm2pt($media->margins['left'])); 38 $this->put_top(mm2pt($media->height() - $media->margins['top']));
|
H A D | strategy.page.break.smart.php | 10 mm2pt($media->height() - $media->margins['top']));
|
H A D | background.image.php | 95 $top = $driver->offset + mm2pt($media->margins['bottom']) + mm2pt($media->real_height()); 96 $bottom = $driver->offset + mm2pt($media->margins['bottom']);
|
/plugin/odt/ODT/ |
H A D | page.php | 40 $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 D | test.position.horizontal.absolute.positioned.php | 16 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 D | test.pagebreak.php | 15 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 D | test.widows.php | 36 mm2pt($media->height() - $media->margins['top'])); 81 mm2pt($media->height() - $media->margins['top'])); 126 mm2pt($media->height() - $media->margins['top']));
|
H A D | test.orphans.php | 35 mm2pt($media->height() - $media->margins['top'])); 82 mm2pt($media->height() - $media->margins['top'])); 129 mm2pt($media->height() - $media->margins['top']));
|
H A D | test.pagebreak.border.php | 34 mm2pt($media->height() - $media->margins['top'])); 76 mm2pt($media->height() - $media->margins['top']));
|
H A D | test.pagebreak.fixed.height.php | 11 mm2pt($media->height() - $media->margins['top']));
|
H A D | test.css.page.break.after.php | 15 mm2pt($media->height() - $media->margins['top']));
|
H A D | test.pagebreak.table.lines.php | 92 mm2pt($media->height() - $media->margins['top']));
|
/plugin/html2pdf/html2pdf/html2ps/samples/ |
H A D | sample.pipeline.default.php | 27 $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media-…
|
H A D | sample.pipeline.custom.php | 26 $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media-…
|
/plugin/html2pdf/html2pdf/html2ps/features/ |
H A D | automargins.php | 32 $media->margins['top'] = $this->_top_margin / mm2pt(1); 33 $media->margins['bottom'] = $this->_bottom_margin / mm2pt(1);
|
/plugin/html2pdf/html2pdf/html2ps/demo/ |
H A D | test.php | 74 …$g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media…
|
H A D | html2ps.php | 41 'margins' => array( 78 $g_media->set_margins($GLOBALS['g_config']['margins']);
|
/plugin/blockquote/ |
H A D | style.css | 9 /* 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 D | emojione.css | 9 /* Inline alignment adjust the margins */
|
/plugin/emoji/ |
H A D | all.css | 9 /* Inline alignment adjust the margins */
|