diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Pdf/Resource/Extractor.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Pdf/Resource/Extractor.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,86 @@ +_factory = Zend_Pdf_ElementFactory::createFactory(1); + $this->_processed = array(); + } + + /** + * Clone page, extract it and dependent objects from the current document, + * so it can be used within other docs + * + * return Zend_Pdf_Page + */ + public function clonePage(Zend_Pdf_Page $page) + { + return $page->clonePage($this->_factory, $this->_processed); + } +} +