예제 #1
0
 /**
  * rewritten to close opened parsers
  *
  */
 function _enddoc()
 {
     parent::_enddoc();
     $this->_closeParsers();
 }
예제 #2
0
 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;
 }