EPS Relation Schema Class: adding boundingbox and pages commands

This commit is contained in:
Adnan
2010-08-16 17:53:30 +05:00
parent 821b8b134e
commit 2a5a6e39b1

View File

@@ -98,6 +98,8 @@ class PMA_EPS
$this->stringCommands .= '%%Orientation: ' . $value . "\n"; $this->stringCommands .= '%%Orientation: ' . $value . "\n";
} }
$this->stringCommands .= "%%EndComments \n"; $this->stringCommands .= "%%EndComments \n";
$this->stringCommands .= "%%Pages 1 \n";
$this->stringCommands .= "%%BoundingBox: 72 150 144 170 \n";
} }
/** /**
@@ -793,13 +795,14 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema
$this->_drawTables($this->showColor); $this->_drawTables($this->showColor);
$eps->endEpsDoc(); $eps->endEpsDoc();
$eps->showOutput($db.'-'.$this->pageNumber);
exit();
print '<pre>'; print '<pre>';
print_r(get_object_vars($eps)); print_r(get_object_vars($eps));
print_r($alltables); print_r($alltables);
print_r(get_object_vars($this)); print_r(get_object_vars($this));
print '</pre>'; print '</pre>';
exit();
$eps->showOutput($db.'-'.$this->pageNumber);
} }
/** /**