missing file
This commit is contained in:
parent
539d6e2560
commit
c8d680e336
1 changed files with 51 additions and 0 deletions
51
include/XMLDocument/pdf.class.php
Normal file
51
include/XMLDocument/pdf.class.php
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of NOALYSS.
|
||||
*
|
||||
* NOALYSS 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.
|
||||
*
|
||||
* NOALYSS 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 NOALYSS; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
// Copyright Author Dany dany 5 déc. 2025
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file pdf.class
|
||||
* @brief answer to an inplace object
|
||||
*/
|
||||
namespace Noalyss\XMLDocument;
|
||||
|
||||
class PDF extends \PDF_Core
|
||||
{
|
||||
function Header()
|
||||
{
|
||||
|
||||
}
|
||||
function Footer()
|
||||
{
|
||||
$date=date('d.m.y h:i');
|
||||
//Position at 20 cm from bottom
|
||||
$this->SetY(-20);
|
||||
//Arial italic 8
|
||||
$this->SetFont('Arial', '', 8);
|
||||
//Page number
|
||||
parent::Cell(0,8,'Date '.$date." - Page ".$this->PageNo().'/{nb}',0,0,'C');
|
||||
parent::Ln(3);
|
||||
// Created by NOALYSS
|
||||
parent::Cell(0,8,'Created by NOALYSS, online on https://www.noalyss.eu',0,0,'C',false,'https://www.noalyss.eu');
|
||||
parent::Ln(3);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue