|
@@ -361,10 +361,10 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
|
|
|
$pdf->SetTextColor(0, 0, 0);
|
|
|
|
|
|
// Define size of image if we need it
|
|
|
- $imglinesize = array();
|
|
|
- if (!empty($realpatharray[$i])) {
|
|
|
- $imglinesize = pdf_getSizeForImage($realpatharray[$i]);
|
|
|
- }
|
|
|
+ //$imglinesize = array();
|
|
|
+ //if (!empty($realpatharray[$i])) {
|
|
|
+ // $imglinesize = pdf_getSizeForImage($realpatharray[$i]);
|
|
|
+ //}
|
|
|
|
|
|
$pdf->setTopMargin($tab_top_newpage);
|
|
|
$pdf->setPageOrientation('', 1, $heightforfooter + $heightforfreetext + $heightforinfotot); // The only function to edit the bottom margin of current page to set it.
|