24 #require_once 'Zend/Pdf/Element.php'; 25 #require_once 'Zend/Pdf/Element/Array.php'; 26 #require_once 'Zend/Pdf/Element/Dictionary.php'; 27 #require_once 'Zend/Pdf/Element/Name.php'; 28 #require_once 'Zend/Pdf/Element/Numeric.php'; 29 #require_once 'Zend/Pdf/Element/String.php'; 33 #require_once 'Zend/Pdf/Annotation.php'; 54 #require_once 'Zend/Pdf/Exception.php'; 55 throw new Zend_Pdf_Exception(
'Annotation dictionary resource has to be a dictionary.');
58 if ($annotationDictionary->Subtype ===
null ||
60 $annotationDictionary->Subtype->value !=
'FileAttachment') {
61 #require_once 'Zend/Pdf/Exception.php'; 65 parent::__construct($annotationDictionary);
78 public static function create($x1, $y1, $x2, $y2, $fileSpecification)
90 $annotationDictionary->Rect = $rectangle;
96 $annotationDictionary->FS = $fsDictionary;
__construct(Zend_Pdf_Element $annotationDictionary)
static create($x1, $y1, $x2, $y2, $fileSpecification)