src/Html2Pdf.php
protected function _makeBreakLine($h, $curr = null)
    {
        if ($h) {
            if (($this->pdf->GetY()+$h<$this->pdf->getH() - $this->pdf->getbMargin()) || $this->_isInOverflow || $this->_isInFooter) {
                $this->_setNewLine($h, $curr);
            } else {
                $this->_setNewPage(null, '', null, $curr);
            }
        } else {
            $this->_setNewPositionForNewLine($curr);
        }

        $this->_maxH = 0;
        $this->_maxE = 0;
    }
protected function _makeBreakLine($h, $curr = null)
    {
        if ($h) {
            if (($this->pdf->GetY()+$h<$this->pdf->getH() - $this->pdf->getbMargin()) || $this->_isInOverflow || $this->_isInFooter) {
                $this->_setNewLine($h, $curr);
            } else {
                $this->_setNewPage(null, '', null, $curr);
            }
        } else {
            $this->_setNewPositionForNewLine($curr);
        }

        $this->_maxH = 0;
        $this->_maxE = 0;
    }
protected function _makeBreakLine ( $ h , $ curr = null ) { if ( $ h ) { if ( ( $ this -> pdf -> GetY ( ) + $ h < $ this -> pdf -> getH ( ) - $ this -> pdf -> getbMargin ( ) ) || $ this -> _isInOverflow || $ this -> _isInFooter ) { $ this -> _setNewLine ( $ h , $ curr ) ; } else { $ this -> _setNewPage ( null , '' , null , $ curr ) ; } } else { $ this -> _setNewPositionForNewLine ( $ curr ) ; } $ this -> _maxH = 0 ; $ this -> _maxE = 0 ; }
make a break line

@access protected
@param  float $h current line height
@param  integer $curr real current position in the text, if new line in the write of a text
make a break line