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=ac6e61a0860b741e22072696e0ac6a78e386db0d;hp=4113a0bd59609fb1c6751ce15ebaf4657bdcfbd5;hpb=2a393c134fe3fe8eb85bf818cb7ad6ae4396322a;p=evince.git diff --git a/pdf/xpdf/Annot.h b/pdf/xpdf/Annot.h index 4113a0bd..092b6133 100644 --- a/pdf/xpdf/Annot.h +++ b/pdf/xpdf/Annot.h @@ -2,14 +2,16 @@ // // Annot.h // -// Copyright 2000-2002 Glyph & Cog, LLC +// Copyright 2000-2003 Glyph & Cog, LLC // //======================================================================== #ifndef ANNOT_H #define ANNOT_H -#ifdef __GNUC__ +#include + +#ifdef USE_GCC_PRAGMAS #pragma interface #endif @@ -32,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