]>
git.ipfire.org Git - thirdparty/cups.git/blob - pdftops/Annot.h
1 //========================================================================
5 // Copyright 2000-2003 Glyph & Cog, LLC
7 //========================================================================
14 #ifdef USE_GCC_PRAGMAS
22 //------------------------------------------------------------------------
24 //------------------------------------------------------------------------
29 Annot(XRef
*xrefA
, Dict
*acroForm
, Dict
*dict
);
31 GBool
isOk() { return ok
; }
35 // Get appearance object.
36 Object
*getAppearance(Object
*obj
) { return appearance
.fetch(xref
, obj
); }
40 void generateAppearance(Dict
*acroForm
, Dict
*dict
);
42 XRef
*xref
; // the xref table for this PDF file
43 Object appearance
; // a reference to the Form XObject stream
44 // for the normal appearance
46 double xMin
, yMin
, // annotation rectangle
51 //------------------------------------------------------------------------
53 //------------------------------------------------------------------------
58 // Extract non-link annotations from array of annotations.
59 Annots(XRef
*xref
, Catalog
*catalog
, Object
*annotsObj
);
63 // Iterate through list of annotations.
64 int getNumAnnots() { return nAnnots
; }
65 Annot
*getAnnot(int i
) { return annots
[i
]; }