Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'pdf')
-rw-r--r--pdf/xpdf/Annot.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pdf/xpdf/Annot.h b/pdf/xpdf/Annot.h
index 89dde0f..092b613 100644
--- a/pdf/xpdf/Annot.h
+++ b/pdf/xpdf/Annot.h
@@ -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