public function initialize(TcTable $table, $rows, callable $fn = null) {
        $this->_widowsCalculatedHeight = [];
        $this->height = $this->getCalculatedWidowsHeight($table, $rows, $fn);
        $this->count = count($rows);
        $this->rows = $rows;
        $this->resetPageBreakTrigger();
    }
public function initialize(TcTable $table, $rows, callable $fn = null) {
        $this->_widowsCalculatedHeight = [];
        $this->height = $this->getCalculatedWidowsHeight($table, $rows, $fn);
        $this->count = count($rows);
        $this->rows = $rows;
        $this->resetPageBreakTrigger();
    }
public function initialize ( TcTable $ table , $ rows , callable $ fn = null ) { $ this -> _widowsCalculatedHeight = [ ] ; $ this -> height = $ this -> getCalculatedWidowsHeight ( $ table , $ rows , $ fn ) ; $ this -> count = count ( $ rows ) ; $ this -> rows = $ rows ; $ this -> resetPageBreakTrigger ( ) ; }
Called before body is added. Configure everything about widows

@param TcTable $table
@param array|Traversable $rows
@param callable $fn
@return void
Called before body is added . Configure everything about widows