Commit ebf9f109 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[libdocument] Add document_is_modified() to EvDocumentForms interface

parent 02f2ad25
......@@ -37,6 +37,14 @@ ev_document_forms_get_form_fields (EvDocumentForms *document_forms,
return iface->get_form_fields (document_forms, page);
}
gboolean
ev_document_forms_document_is_modified (EvDocumentForms *document_forms)
{
EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
return (iface->document_is_modified) ? iface->document_is_modified (document_forms) : FALSE;
}
gchar *
ev_document_forms_form_field_text_get_text (EvDocumentForms *document_forms,
EvFormField *field)
......
......@@ -50,6 +50,7 @@ struct _EvDocumentFormsInterface
/* Methods */
EvMappingList *(* get_form_fields) (EvDocumentForms *document_forms,
EvPage *page);
gboolean (* document_is_modified) (EvDocumentForms *document_forms);
gchar *(* form_field_text_get_text) (EvDocumentForms *document_forms,
EvFormField *field);
void (* form_field_text_set_text) (EvDocumentForms *document_forms,
......@@ -86,6 +87,7 @@ struct _EvDocumentFormsInterface
GType ev_document_forms_get_type (void) G_GNUC_CONST;
EvMappingList *ev_document_forms_get_form_fields (EvDocumentForms *document_forms,
EvPage *page);
gboolean ev_document_forms_document_is_modified (EvDocumentForms *document_forms);
gchar *ev_document_forms_form_field_text_get_text (EvDocumentForms *document_forms,
EvFormField *field);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment