]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Annot.h
Show a wait cursor while the page is rendering
[evince.git] / pdf / xpdf / Annot.h
index 4113a0bd59609fb1c6751ce15ebaf4657bdcfbd5..092b6133432d8db2e3c5ef2bc48c82725b06e14a 100644 (file)
@@ -2,14 +2,16 @@
 //
 // Annot.h
 //
 //
 // Annot.h
 //
-// Copyright 2000-2002 Glyph & Cog, LLC
+// Copyright 2000-2003 Glyph & Cog, LLC
 //
 //========================================================================
 
 #ifndef ANNOT_H
 #define ANNOT_H
 
 //
 //========================================================================
 
 #ifndef ANNOT_H
 #define ANNOT_H
 
-#ifdef __GNUC__
+#include <aconf.h>
+
+#ifdef USE_GCC_PRAGMAS
 #pragma interface
 #endif
 
 #pragma interface
 #endif
 
@@ -32,9 +34,21 @@ public:
   // Get appearance object.
   Object *getAppearance(Object *obj) { return appearance.fetch(xref, obj); }
 
   // 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
 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
   Object appearance;           // a reference to the Form XObject stream
                                //   for the normal appearance
   double xMin, yMin,           // annotation rectangle