1<?php
2
3class 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?>