diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Pdf/Trailer.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Pdf/Trailer.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,126 @@ +_dict = $dict; + + foreach ($this->_dict->getKeys() as $dictKey) { + $this->_checkDictKey($dictKey); + } + } + + /** + * Get handler + * + * @param string $property + * @return mixed + */ + public function __get($property) + { + return $this->_dict->$property; + } + + /** + * Set handler + * + * @param string $property + * @param mixed $value + */ + public function __set($property, $value) + { + $this->_checkDictKey($property); + $this->_dict->$property = $value; + } + + /** + * Return string trailer representation + * + * @return string + */ + public function toString() + { + return "trailer\n" . $this->_dict->toString() . "\n"; + } + + + /** + * Get length of source PDF + * + * @return string + */ + abstract public function getPDFLength(); + + /** + * Get PDF String + * + * @return string + */ + abstract public function getPDFString(); + + /** + * Get header of free objects list + * Returns object number of last free object + * + * @return integer + */ + abstract public function getLastFreeObject(); +}