Subversion-Projekte lars-tiefland.php_share

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?php

class StrategyPageBreakSmart {
  function StrategyPageBreakSmart() {
  }

  function run(&$pipeline, &$media, &$box) {
    $page_heights = PageBreakLocator::get_pages($box, 
                                                mm2pt($media->real_height()), 
                                                mm2pt($media->height() - $media->margins['top']));

    return $page_heights;
  }
}

?>