Work on replacement of FPDF with TCPDF

This commit is contained in:
Laurent Destailleur
2010-09-01 14:32:13 +00:00
parent acf961a506
commit a7f6fdecca
124 changed files with 115 additions and 58232 deletions

View File

@@ -144,6 +144,11 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
$pdf=new FPDI('P','mm',$this->format);
}
if (class_exists('TCPDF'))
{
$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);
}
$pdf->SetFont('Helvetica');
// Complete object by loading several other informations

View File

@@ -166,7 +166,12 @@ class pdf_typhon extends ModelePDFDeliveryOrder
$pdf=new FPDI('P','mm',$this->format);
}
$pdf->SetFont('Helvetica');
if (class_exists('TCPDF'))
{
$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);
}
$pdf->SetFont('Helvetica');
// Complete object by loading several other informations
$expedition=new Expedition($this->db);