1 //========================================================================
5 // Copyright 2000 Derek B. Noonburg
7 //========================================================================
18 //------------------------------------------------------------------------
20 //------------------------------------------------------------------------
25 FormWidget(Dict *dict);
27 GBool isOk() { return ok; }
31 // Get appearance object.
32 Object *getAppearance(Object *obj) { return appearance.fetch(obj); }
36 Object appearance; // a reference to the Form XObject stream
37 // for the normal appearance
38 double xMin, yMin, // widget rectangle
43 //------------------------------------------------------------------------
45 //------------------------------------------------------------------------
50 // Extract widgets from array of annotations.
51 FormWidgets(Object *annots);
55 // Iterate through list of widgets.
56 int getNumWidgets() { return nWidgets; }
57 FormWidget *getWidget(int i) { return widgets[i]; }