]>
git.ipfire.org Git - thirdparty/cups.git/blob - pdftops/FormWidget.h
1 //========================================================================
5 // Copyright 2000 Derek B. Noonburg
7 //========================================================================
19 //------------------------------------------------------------------------
21 //------------------------------------------------------------------------
26 FormWidget(XRef
*xrefA
, Dict
*dict
);
28 GBool
isOk() { return ok
; }
32 // Get appearance object.
33 Object
*getAppearance(Object
*obj
) { return appearance
.fetch(xref
, obj
); }
37 XRef
*xref
; // the xref table for this PDF file
38 Object appearance
; // a reference to the Form XObject stream
39 // for the normal appearance
40 double xMin
, yMin
, // widget rectangle
45 //------------------------------------------------------------------------
47 //------------------------------------------------------------------------
52 // Extract widgets from array of annotations.
53 FormWidgets(XRef
*xref
, Object
*annots
);
57 // Iterate through list of widgets.
58 int getNumWidgets() { return nWidgets
; }
59 FormWidget
*getWidget(int i
) { return widgets
[i
]; }