src/Html2Pdf.php
public function _INDEX_NewPage(&$page)
    {
        if ($page) {
            $oldPage = $this->pdf->getPage();
            $this->pdf->setPage($page);
            $this->pdf->SetXY($this->_margeLeft, $this->_margeTop);
            $this->_maxH = 0;
            $page++;
            return $oldPage;
        } else {
            $this->_setNewPage();
            return null;
        }
    }
public function _INDEX_NewPage(&$page)
    {
        if ($page) {
            $oldPage = $this->pdf->getPage();
            $this->pdf->setPage($page);
            $this->pdf->SetXY($this->_margeLeft, $this->_margeTop);
            $this->_maxH = 0;
            $page++;
            return $oldPage;
        } else {
            $this->_setNewPage();
            return null;
        }
    }
public function _INDEX_NewPage ( & $ page ) { if ( $ page ) { $ oldPage = $ this -> pdf -> getPage ( ) ; $ this -> pdf -> setPage ( $ page ) ; $ this -> pdf -> SetXY ( $ this -> _margeLeft , $ this -> _margeTop ) ; $ this -> _maxH = 0 ; $ page ++ ; return $ oldPage ; } else { $ this -> _setNewPage ( ) ; return null ; } }
new page for the automatic Index, do not use this method. Only myPdf could use it !!!!

@param  &int $page
@return integer $oldPage
new page for the automatic Index do not use this method . Only myPdf could use it !!!!