function _putxobjectdict() { parent::_putxobjectdict(); if (count($this->tpls)) { foreach ($this->tpls as $tplidx => $tpl) { $this->_out(sprintf('%s%d %d 0 R', $this->tplprefix, $tplidx, $tpl['n'])); } } }