1 //========================================================================
5 // Copyright 2000-2003 Glyph & Cog, LLC
7 //========================================================================
12 #ifdef USE_GCC_PRAGMAS
20 //------------------------------------------------------------------------
22 //------------------------------------------------------------------------
27 Annot(XRef
*xrefA
, Dict
*acroForm
, Dict
*dict
);
29 GBool
isOk() { return ok
; }
33 // Get appearance object.
34 Object
*getAppearance(Object
*obj
) { return appearance
.fetch(xref
, obj
); }
38 void generateAppearance(Dict
*acroForm
, Dict
*dict
);
39 void readArrayNum(Object
*pdfArray
, int key
, double *value
);
41 XRef
*xref
; // the xref table for this PDF file
42 Object appearance
; // a reference to the Form XObject stream
43 // for the normal appearance
45 double xMin
, yMin
, // annotation rectangle
50 //------------------------------------------------------------------------
52 //------------------------------------------------------------------------
57 // Extract non-link annotations from array of annotations.
58 Annots(XRef
*xref
, Catalog
*catalog
, Object
*annotsObj
);
62 // Iterate through list of annotations.
63 int getNumAnnots() { return nAnnots
; }
64 Annot
*getAnnot(int i
) { return annots
[i
]; }