Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
class StrategyPageBreakSmart {
4
  function StrategyPageBreakSmart() {
5
  }
6
 
7
  function run(&$pipeline, &$media, &$box) {
8
    $page_heights = PageBreakLocator::get_pages($box,
9
                                                mm2pt($media->real_height()),
10
                                                mm2pt($media->height() - $media->margins['top']));
11
 
12
    return $page_heights;
13
  }
14
}
15
 
16
?>