/** * Print mult-iline cells * * @param $w * @param $h * @param $txt * @param int $border * @param string $align * @param bool|false $fill * @param int $ln Indicates where the current position should go after the * call. Possible values are: 0 - to the rigth. Default to 2 */ function MultiCell($w, $h, $txt, $border = 0, $align = 'J', $fill = false, $ln = 2) { if ($ln == 0) { $x = $this->GetX(); $y = $this->GetY(); parent::MultiCell($w, $h, $txt, $border, $align, $fill); $this->SetXY($x + $w, $y); } else { parent::MultiCell($w, $h, $txt, $border, $align, $fill); } }
public function __construct() { parent::__construct(15, 'L', 'mm', 'A4'); $this->AliasNbPages(); $this->SetAutoPageBreak(true, 20); }
/** * Private Method */ function _out($s) { if ($this->state == 2 && $this->_intpl) { $this->tpls[$this->tpl]['buffer'] .= $s . "\n"; } else { parent::_out($s); } }
public function endPage() { if ($this->angle != 0) { $this->angle = 0; $this->_out('Q'); } parent::_endpage(); }
public function __construct() { parent::__construct(15, 'P', 'mm', 'A4'); $this->AliasNbPages(); }