]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Annot.h
Fix CAN-2005-0064
[evince.git] / pdf / xpdf / Annot.h
index 89dde0f90f17a012493b1998d4d69621a36d391d..092b6133432d8db2e3c5ef2bc48c82725b06e14a 100644 (file)
@@ -34,9 +34,21 @@ public:
   // Get appearance object.
   Object *getAppearance(Object *obj) { return appearance.fetch(xref, obj); }
 
+  // Get subtype object
+  Object *getSubtype(Object *obj) {return subtype.copy(obj); };
+
+  // Get dictionary
+  Dict *getDict() {return dict; };
+
+  // Get annot appearance ID
+  int getRefNum() {return appearance.getRefNum();};
+  int getRefGen() {return appearance.getRefGen();};
+  
 private:
 
   XRef *xref;                  // the xref table for this PDF file
+  Dict *dict;
+  Object subtype;
   Object appearance;           // a reference to the Form XObject stream
                                //   for the normal appearance
   double xMin, yMin,           // annotation rectangle