Works on migration of FPDF to TCPDF

This commit is contained in:
Laurent Destailleur 2010-10-02 11:21:36 +00:00
parent f8e1593441
commit 626b9052e2
8 changed files with 18 additions and 18 deletions

View File

@ -548,7 +548,7 @@ class pdf_edison extends ModelePDFCommandes
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY($this->marge_gauche,$posy+7); $pdf->SetXY($this->marge_gauche,$posy+7);
$pdf->MultiCell(80, 4, $carac_emetteur); $pdf->MultiCell(80, 4, $carac_emetteur, 0, 'L');
// Client destinataire // Client destinataire
$client = new Societe($this->db); $client = new Societe($this->db);
@ -583,10 +583,10 @@ class pdf_edison extends ModelePDFCommandes
$pdf->SetTextColor(0,0,0); $pdf->SetTextColor(0,0,0);
$pdf->SetFont('','B',10); $pdf->SetFont('','B',10);
$pdf->SetXY(102,42); $pdf->SetXY(102,42);
$pdf->MultiCell(96, 4, $carac_client_name); $pdf->MultiCell(96, 4, $carac_client_name, 0, 'L');
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY(102,$pdf->GetY()); $pdf->SetXY(102,$pdf->GetY());
$pdf->MultiCell(96, 4, $carac_client); $pdf->MultiCell(96, 4, $carac_client, 0, 'L');
$pdf->rect(100, 40, 100, 40); $pdf->rect(100, 40, 100, 40);

View File

@ -907,7 +907,7 @@ class pdf_einstein extends ModelePDFCommandes
// Show sender information // Show sender information
$pdf->SetXY($posx+2,$posy+8); $pdf->SetXY($posx+2,$posy+8);
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->MultiCell(80, 4, $carac_emetteur); $pdf->MultiCell(80, 4, $carac_emetteur, 0, 'L');
@ -955,7 +955,7 @@ class pdf_einstein extends ModelePDFCommandes
// Show recipient information // Show recipient information
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY($posx+2,$posy+8); $pdf->SetXY($posx+2,$posy+8);
$pdf->MultiCell(86,4, $carac_client); $pdf->MultiCell(86,4, $carac_client, 0, 'L');
} }
} }

View File

@ -442,7 +442,7 @@ Class pdf_expedition_merou extends ModelePdfExpedition
$pdf->SetFont('','',7); $pdf->SetFont('','',7);
$pdf->SetXY($blSocX,$blSocY+6); $pdf->SetXY($blSocX,$blSocY+6);
$pdf->MultiCell(80, 2, $carac_emetteur); $pdf->MultiCell(80, 2, $carac_emetteur, 0, 'L');
if ($object->client->code_client) if ($object->client->code_client)
@ -524,7 +524,7 @@ Class pdf_expedition_merou extends ModelePdfExpedition
$pdf->SetFont('','',7); $pdf->SetFont('','',7);
$pdf->SetXY($blDestX,$Yoff+4); $pdf->SetXY($blDestX,$Yoff+4);
$pdf->MultiCell($blW,2, $carac_client); $pdf->MultiCell($blW,2, $carac_client, 0, 'L');
} }
} }
?> ?>

View File

@ -857,7 +857,7 @@ class pdf_oursin extends ModelePDFFactures
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY($this->marge_gauche,$posy+9); $pdf->SetXY($this->marge_gauche,$posy+9);
$pdf->MultiCell(80, 4, $carac_emetteur); $pdf->MultiCell(80, 4, $carac_emetteur, 0, 'L');
// Client destinataire // Client destinataire
@ -898,7 +898,7 @@ class pdf_oursin extends ModelePDFFactures
$pdf->SetFont('','B',9); $pdf->SetFont('','B',9);
$pdf->SetXY($this->marges['g']+100,$posy+8); $pdf->SetXY($this->marges['g']+100,$posy+8);
$pdf->MultiCell(86,4, $carac_client); $pdf->MultiCell(86,4, $carac_client, 0, 'L');
/* /*
* ref facture * ref facture

View File

@ -236,10 +236,10 @@ class pdf_soleil extends ModelePDFFicheinter
$pdf->SetFont('','B',10); $pdf->SetFont('','B',10);
$fichinter->fetch_thirdparty(); $fichinter->fetch_thirdparty();
$pdf->SetXY(102,42); $pdf->SetXY(102,42);
$pdf->MultiCell(86,4, $outputlangs->convToOutputCharset($carac_client_name), 0, 'L'); $pdf->MultiCell(86,4, $carac_client_name, 0, 'L');
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY(102,$pdf->GetY()); $pdf->SetXY(102,$pdf->GetY());
$pdf->MultiCell(66,4, $outputlangs->convToOutputCharset($carac_client), 0, 'L'); $pdf->MultiCell(66,4, $carac_client, 0, 'L');
$pdf->rect(100, 40, 100, 40); $pdf->rect(100, 40, 100, 40);

View File

@ -369,7 +369,7 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY($this->marge_gauche,$posy+4); $pdf->SetXY($this->marge_gauche,$posy+4);
$pdf->MultiCell(80, 3, $carac_emetteur); $pdf->MultiCell(80, 3, $carac_emetteur, 0, 'L');
/* /*
@ -404,10 +404,10 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
$pdf->SetFont('','B',11); $pdf->SetFont('','B',11);
$pdf->SetXY(102,42); $pdf->SetXY(102,42);
$pdf->MultiCell(96,5, $carac_client_name); $pdf->MultiCell(96,5, $carac_client_name, 0, 'L');
$pdf->SetFont('','B',10); $pdf->SetFont('','B',10);
$pdf->SetXY(102,47); $pdf->SetXY(102,47);
$pdf->MultiCell(96,5, $carac_client); $pdf->MultiCell(96,5, $carac_client, 0, 'L');
$pdf->rect(100, 40, 100, 40); $pdf->rect(100, 40, 100, 40);

View File

@ -605,7 +605,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY($this->marge_gauche+2,$posy+9); $pdf->SetXY($this->marge_gauche+2,$posy+9);
$pdf->MultiCell(80, 3, $carac_emetteur); $pdf->MultiCell(80, 3, $carac_emetteur, 0, 'L');
// Client destinataire // Client destinataire
$posy=42; $posy=42;
@ -648,7 +648,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY(102,$posy+8); $pdf->SetXY(102,$posy+8);
$pdf->MultiCell(86,4, $carac_client); $pdf->MultiCell(86,4, $carac_client, 0, 'L');
} }
} }

View File

@ -657,7 +657,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY($this->marge_gauche+2,$posy+8); $pdf->SetXY($this->marge_gauche+2,$posy+8);
$pdf->MultiCell(80, 4, $carac_emetteur); $pdf->MultiCell(80, 4, $carac_emetteur, 0, 'L');
// Client destinataire // Client destinataire
$posy=42; $posy=42;
@ -696,7 +696,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
$pdf->SetFont('','',9); $pdf->SetFont('','',9);
$pdf->SetXY(102,$posy+8); $pdf->SetXY(102,$posy+8);
$pdf->MultiCell(96,4, $carac_client); $pdf->MultiCell(96,4, $carac_client, 0, 'L');
} }
} }