app/Report/ReportHtml.php
public function addPage()
    {
        $this->pageN++;

        // Add a little margin to max Y "between pages"
        $this->maxY += 10;

        // If Y is still heigher by any reason...
        if ($this->maxY < $this->Y) {
            // ... update max Y
            $this->maxY = $this->Y;
        } else {
            // else update Y so that nothing will be overwritten, like images or cells...
            $this->Y = $this->maxY;
        }
    }
public function addPage()
    {
        $this->pageN++;

        // Add a little margin to max Y "between pages"
        $this->maxY += 10;

        // If Y is still heigher by any reason...
        if ($this->maxY < $this->Y) {
            // ... update max Y
            $this->maxY = $this->Y;
        } else {
            // else update Y so that nothing will be overwritten, like images or cells...
            $this->Y = $this->maxY;
        }
    }
public function addPage ( ) { $ this -> pageN ++ ; // Add a little margin to max Y "between pages" $ this -> maxY += 10 ; // If Y is still heigher by any reason... if ( $ this -> maxY < $ this -> Y ) { // ... update max Y $ this -> maxY = $ this -> Y ; } else { // else update Y so that nothing will be overwritten, like images or cells... $ this -> Y = $ this -> maxY ; } }
Update the Page Number and set a new Y if max Y is larger - ReportHtml

@return void
Update the Page Number and set a new Y if max Y is larger - ReportHtml