diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Pdf/Resource/Extractor.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Pdf/Resource/Extractor.php Fri Mar 11 15:05:35 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); + } +} +