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