X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FAnnot.h;h=092b6133432d8db2e3c5ef2bc48c82725b06e14a;hb=dd1c805ae5ff6e6379c67e1dca48affd1306b6e9;hp=89dde0f90f17a012493b1998d4d69621a36d391d;hpb=7c5ab64d4db75e4bb6dadedb578e10178554d0db;p=evince.git diff --git a/pdf/xpdf/Annot.h b/pdf/xpdf/Annot.h index 89dde0f9..092b6133 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