noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
pdf.class.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of NOALYSS.
5 *
6 * NOALYSS is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * NOALYSS is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with NOALYSS; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19*/
20// Copyright Author Dany dany 5 déc. 2025
21/*
22 *
23 */
24
25/**
26 * @file pdf.class
27 * @brief answer to an inplace object
28 */
29namespace Noalyss\XMLDocument;
30
31class PDF extends \PDF_Core
32{
33 function Header()
34 {
35
36 }
37 function Footer()
38 {
39 $date=date('d.m.y h:i');
40 //Position at 20 cm from bottom
41 $this->SetY(-20);
42 //Arial italic 8
43 $this->SetFont('Arial', '', 8);
44 //Page number
45 parent::Cell(0,8,'Date '.$date." - Page ".$this->PageNo().'/{nb}',0,0,'C');
46 parent::Ln(3);
47 // Created by NOALYSS
48 parent::Cell(0,8,'Created by NOALYSS, online on https://www.noalyss.eu',0,0,'C',false,'https://www.noalyss.eu');
49 parent::Ln(3);
50 }
51}
API for creating PDF, unicode, based on tfpdf.