diff -r 000000000000 -r 4eba9c11703f web/Zend/Pdf/Resource/Extractor.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Pdf/Resource/Extractor.php Mon Dec 13 18:29:26 2010 +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); + } +} +