2
0
forked from Wavyzz/dolibarr

Qual: Prepare TCPDF compatibility

This commit is contained in:
Laurent Destailleur
2010-11-22 19:25:49 +00:00
parent c6b8c66f51
commit 71aeaa6fc6
16 changed files with 44 additions and 40 deletions

View File

@@ -203,7 +203,7 @@ class pdf_einstein extends ModelePDFCommandes
$pagenb++;
$this->_pagehead($pdf, $object, 1, $outputlangs);
$pdf->SetFont('','', 9);
$pdf->MultiCell(0, 3, '', 0, 'J'); // Set interline to 3
$pdf->MultiCell(0, 3, ''); // Set interline to 3
$pdf->SetTextColor(0,0,0);
@@ -219,7 +219,7 @@ class pdf_einstein extends ModelePDFCommandes
$pdf->SetFont('','', 9); // Dans boucle pour gerer multi-page
$pdf->SetXY ($this->posxdesc-1, $tab_top);
$pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'J');
$pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'L');
$nexY = $pdf->GetY();
$height_note=$nexY-$tab_top;
@@ -348,7 +348,7 @@ class pdf_einstein extends ModelePDFCommandes
$pagenb++;
$this->_pagehead($pdf, $object, 0, $outputlangs);
$pdf->SetFont('','', 9);
$pdf->MultiCell(0, 3, '', 0, 'J'); // Set interline to 3
$pdf->MultiCell(0, 3, ''); // Set interline to 3
$pdf->SetTextColor(0,0,0);
$nexY = $tab_top_newpage + 7;