1 <?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
2 -------------------------------------------------------------------------------
4 -------------------------------------------------------------------------------
5 This file is part of mlib.
7 mlib is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2 of the License, or (at your option)
12 mlib is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License; if not,
17 write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18 Boston, MA 02111-1307 USA
19 -------------------------------------------------------------------------------
20 Creado: jue nov 6 16:13:38 ART 2003
21 Autor: Martin Marrese <mmarre@mecon.gov.ar>
22 -------------------------------------------------------------------------------
24 -----------------------------------------------------------------------------*/
26 require_once 'MLIB/PDF/Separador.php';
29 * Manejo de los saltos de pagina.
31 class MLIB_PDF_SaltoPagina extends MLIB_PDF_Separador {
39 function MLIB_PDF_SaltoPagina() {
40 $this->MLIB_PDF_Separador();
44 * Funcion que agrega el salto de pagina al PDF
46 * @param &Object $MARCO MLIB_PDF_Marco.
51 function toPDF(&$MARCO) {
52 $MARCO->espacioDisponible = 0;
53 parent::toPDF($MARCO);