From f46c7f188063be6d7f73a76c0825417c7bbf031b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 23 Mar 2005 12:06:40 +0000 Subject: [PATCH] Nouveau fichier --- .../compta/export/ComptaJournalPdf.class.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 htdocs/compta/export/ComptaJournalPdf.class.php diff --git a/htdocs/compta/export/ComptaJournalPdf.class.php b/htdocs/compta/export/ComptaJournalPdf.class.php new file mode 100644 index 00000000000..72b7f0b7526 --- /dev/null +++ b/htdocs/compta/export/ComptaJournalPdf.class.php @@ -0,0 +1,36 @@ + + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * or see http://www.gnu.org/ + * + * $Id$ + * $Source$ + * + */ + +class ComptaJournalPdf extends FPDF { + + function Footer() + { + $this->SetY(-10); + //Police Arial italique 8 + $this->SetFont('Arial','I',8); + + $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); + } +} + +?>