Auto page break now take footer size into consideration.

This commit is contained in:
Madhura Jayaratne
2011-02-12 21:13:57 +05:30
parent a0b93568ae
commit e81669dce1

View File

@@ -1114,7 +1114,7 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema
$z = 0;
foreach ($alltables as $table) {
$z++;
$pdf->SetAutoPageBreak(true);
$pdf->SetAutoPageBreak(true, 15);
$pdf->addpage($GLOBALS['orientation']);
$pdf->Bookmark($table);
$pdf->SetAlias('{' . sprintf("%02d", $z) . '}', $pdf->PageNo()) ;