_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(); }