/** * rewritten to close opened parsers * */ function _enddoc() { parent::_enddoc(); $this->_closeParsers(); }
function _getxobjectdict() { $out = parent::_getxobjectdict(); if (count($this->tpls)) { foreach ($this->tpls as $tplidx => $tpl) { $out .= sprintf('%s%d %d 0 R', $this->tplprefix, $tplidx, $tpl['n']); } } return $out; }