* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
#ifndef EV_FORM_FIELD_H
#define EV_FORM_FIELD_H
{
EV_FORM_FIELD_TEXT_NORMAL,
EV_FORM_FIELD_TEXT_MULTILINE,
- EV_FORM_FIELD_TEXT_PASSWORD,
EV_FORM_FIELD_TEXT_FILE_SELECT
} EvFormFieldTextType;
gboolean is_read_only;
gdouble font_size;
- gint page;
+ EvPage *page;
gboolean changed;
};
gboolean do_scroll : 1;
gboolean comb : 1;
gboolean is_rich_text : 1;
+ gboolean is_password;
gint max_len;
gchar *text;
EvFormField *ev_form_field_signature_new (gint id);
-/* FormField Mapping stuff */
-typedef struct _EvFormFieldMapping EvFormFieldMapping;
-struct _EvFormFieldMapping {
- EvFormField *field;
- gdouble x1;
- gdouble y1;
- gdouble x2;
- gdouble y2;
-};
-
-void ev_form_field_mapping_free (GList *field_mapping);
-EvFormField *ev_form_field_mapping_find (GList *field_mapping,
- gdouble x,
- gdouble y);
-void ev_form_field_mapping_get_area (GList *field_mapping,
- EvFormField *field,
- EvRectangle *area);
-EvFormField *ev_form_field_mapping_find_by_id (GList *form_field_mapping,
- gint id);
-
G_END_DECLS
#endif /* !EV_FORM_FIELD_H */