1 //========================================================================
5 // Copyright 2000-2003 Glyph & Cog, LLC
7 //========================================================================
14 #ifdef USE_GCC_PRAGMAS
21 //------------------------------------------------------------------------
23 //------------------------------------------------------------------------
28 Annot(XRef *xrefA, Dict *dict);
30 GBool isOk() { return ok; }
34 // Get appearance object.
35 Object *getAppearance(Object *obj) { return appearance.fetch(xref, obj); }
39 XRef *xref; // the xref table for this PDF file
40 Object appearance; // a reference to the Form XObject stream
41 // for the normal appearance
42 double xMin, yMin, // annotation rectangle
47 //------------------------------------------------------------------------
49 //------------------------------------------------------------------------
54 // Extract non-link annotations from array of annotations.
55 Annots(XRef *xref, Object *annotsObj);
59 // Iterate through list of annotations.
60 int getNumAnnots() { return nAnnots; }
61 Annot *getAnnot(int i) { return annots[i]; }