This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?
$this->SetFont('arialpl', '', 8);
$this->SetY($this->fh-15);
$this->SetDrawColor(0,0,0);
$this->SetFillColor(255,255,255);
$this->Rect(0, $this->getBreakLine(), $this->fw, $this->bMargin+1, "F");
$this->SetDrawColor(0,0,0);
$this->Cell(0, 10, $this->PageNo().'/{nb}');
$this->Ln(5);
$this->AliasNbPages();
$this->SetLineWidth(0);
$this->SetDrawColor(0,0,0);
$this->Line($this->lMargin,$this->getBreakLine(),$this->fw-$this->rMargin,$this->fh-$this->bMargin+1);
if($this->edt->show_footer_on_all_pages == 0 && $this->page > 1) {
// $this->bMargin = 3;
// $this->SetAutoPageBreak(true,$this->bMargin);
return;
} else {
// $this->bMargin = 19;
// $this->SetAutoPageBreak(true,$this->bMargin+$this->tMarign+5);
}
$this->SetFont('arialpl','','8');
$this->SetXY($this->lMargin+10,$this->fh-$this->bMargin+3);
$this->MultiCell($this->fw-$this->lMargin-$this->rMargin-20,4,$this->edt->footer_text,0,'C');
?>

View File

@@ -0,0 +1,34 @@
<?
if(!$this->blnShowHeader) return;
if($this->edt->show_header_on_all_pages == 0 && $this->page > 1) return;
//from address
$this->SetFont('arialpl', '', 8);
$this->SetXY($this->fw-100-$this->rMargin,$this->tMargin);
$this->MultiCell(100,3.15,$this->edt->header_text,0,'R');
//logo
if(isset($this->edt->logo_path) && $this->edt->logo_path != '')
if(file_exists($this->edt->logo_path))
$this->Image($this->edt->logo_path,$this->lMargin,$this->tMargin,0,22.3);
/*
//line
$this->SetLineWidth(0);
$this->SetDrawColor(0,0,0);
$this->Line($this->lMargin,$this->tMargin-1,$this->fw-$this->rMargin,$this->tMargin-1);
*/
//if($this->GetY() < $this->tMargin) $this->SetY($this->tMargin); else
/*
$this->Ln(6);
if($this->page == 1)
if($this->edt->address) {
$this->Ln(9);
$this->SetFont('arialpl', 'u', 8);
$this->SetX($this->lMargin);
//$this->MultiCell(0,3.15,$this->edt->address,0,'L');
$this->Ln(5);
}
*/
?>

View File

@@ -0,0 +1,3 @@
<?
?>

View File

@@ -0,0 +1,9 @@
<?
$pdf->SetFont('arialpl','','10');
$pdf->UseCSS(true);
$pdf->noPPadding = true;
$this->document_text = "<p></p>".$this->document_text;
$this->document_text = str_replace(array("&lt;", "&gt;", "&quot;"), array("<", ">", "\""), $this->document_text);
$pdf->WriteHTML($this->document_text);
?>