Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-document-forms.c File Reference
#include <config.h>
#include "ev-document-forms.h"
+ Include dependency graph for ev-document-forms.c:

Go to the source code of this file.

Functions

static void ev_document_forms_default_init (EvDocumentFormsInterface *klass)
 
EvMappingListev_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)
 
void ev_document_forms_form_field_text_set_text (EvDocumentForms *document_forms, EvFormField *field, const gchar *text)
 
gboolean ev_document_forms_form_field_button_get_state (EvDocumentForms *document_forms, EvFormField *field)
 
void ev_document_forms_form_field_button_set_state (EvDocumentForms *document_forms, EvFormField *field, gboolean state)
 
gchar * ev_document_forms_form_field_choice_get_item (EvDocumentForms *document_forms, EvFormField *field, gint index)
 
gint ev_document_forms_form_field_choice_get_n_items (EvDocumentForms *document_forms, EvFormField *field)
 
gboolean ev_document_forms_form_field_choice_is_item_selected (EvDocumentForms *document_forms, EvFormField *field, gint index)
 
void ev_document_forms_form_field_choice_select_item (EvDocumentForms *document_forms, EvFormField *field, gint index)
 
void ev_document_forms_form_field_choice_toggle_item (EvDocumentForms *document_forms, EvFormField *field, gint index)
 
void ev_document_forms_form_field_choice_unselect_all (EvDocumentForms *document_forms, EvFormField *field)
 
void ev_document_forms_form_field_choice_set_text (EvDocumentForms *document_forms, EvFormField *field, const gchar *text)
 
gchar * ev_document_forms_form_field_choice_get_text (EvDocumentForms *document_forms, EvFormField *field)
 

Function Documentation

static void ev_document_forms_default_init ( EvDocumentFormsInterface klass)
static

Definition at line 27 of file ev-document-forms.c.

28 {
29 }
gboolean ev_document_forms_document_is_modified ( EvDocumentForms document_forms)

Definition at line 41 of file ev-document-forms.c.

42 {
43  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
44 
45  return (iface->document_is_modified) ? iface->document_is_modified (document_forms) : FALSE;
46 }

+ Here is the caller graph for this function:

gboolean ev_document_forms_form_field_button_get_state ( EvDocumentForms document_forms,
EvFormField field 
)

Definition at line 68 of file ev-document-forms.c.

70 {
71  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
72 
73  return iface->form_field_button_get_state (document_forms, field);
74 }

+ Here is the caller graph for this function:

void ev_document_forms_form_field_button_set_state ( EvDocumentForms document_forms,
EvFormField field,
gboolean  state 
)

Definition at line 77 of file ev-document-forms.c.

80 {
81  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
82 
83  iface->form_field_button_set_state (document_forms, field, state);
84 }

+ Here is the caller graph for this function:

gchar* ev_document_forms_form_field_choice_get_item ( EvDocumentForms document_forms,
EvFormField field,
gint  index 
)

Definition at line 87 of file ev-document-forms.c.

90 {
91  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
92 
93  return iface->form_field_choice_get_item (document_forms, field, index);
94 }

+ Here is the caller graph for this function:

gint ev_document_forms_form_field_choice_get_n_items ( EvDocumentForms document_forms,
EvFormField field 
)

Definition at line 97 of file ev-document-forms.c.

99 {
100  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
101 
102  return iface->form_field_choice_get_n_items (document_forms, field);
103 }

+ Here is the caller graph for this function:

gchar* ev_document_forms_form_field_choice_get_text ( EvDocumentForms document_forms,
EvFormField field 
)

Definition at line 155 of file ev-document-forms.c.

157 {
158  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
159 
160  return iface->form_field_choice_get_text (document_forms, field);
161 }

+ Here is the caller graph for this function:

gboolean ev_document_forms_form_field_choice_is_item_selected ( EvDocumentForms document_forms,
EvFormField field,
gint  index 
)

Definition at line 106 of file ev-document-forms.c.

109 {
110  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
111 
112  return iface->form_field_choice_is_item_selected (document_forms, field, index);
113 }

+ Here is the caller graph for this function:

void ev_document_forms_form_field_choice_select_item ( EvDocumentForms document_forms,
EvFormField field,
gint  index 
)

Definition at line 116 of file ev-document-forms.c.

119 {
120  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
121 
122  iface->form_field_choice_select_item (document_forms, field, index);
123 }

+ Here is the caller graph for this function:

void ev_document_forms_form_field_choice_set_text ( EvDocumentForms document_forms,
EvFormField field,
const gchar *  text 
)

Definition at line 145 of file ev-document-forms.c.

148 {
149  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
150 
151  iface->form_field_choice_set_text (document_forms, field, text);
152 }

+ Here is the caller graph for this function:

void ev_document_forms_form_field_choice_toggle_item ( EvDocumentForms document_forms,
EvFormField field,
gint  index 
)

Definition at line 126 of file ev-document-forms.c.

129 {
130  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
131 
132  iface->form_field_choice_toggle_item (document_forms, field, index);
133 }
void ev_document_forms_form_field_choice_unselect_all ( EvDocumentForms document_forms,
EvFormField field 
)

Definition at line 136 of file ev-document-forms.c.

138 {
139  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
140 
141  iface->form_field_choice_unselect_all (document_forms, field);
142 }

+ Here is the caller graph for this function:

gchar* ev_document_forms_form_field_text_get_text ( EvDocumentForms document_forms,
EvFormField field 
)

Definition at line 49 of file ev-document-forms.c.

51 {
52  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
53 
54  return iface->form_field_text_get_text (document_forms, field);
55 }

+ Here is the caller graph for this function:

void ev_document_forms_form_field_text_set_text ( EvDocumentForms document_forms,
EvFormField field,
const gchar *  text 
)

Definition at line 58 of file ev-document-forms.c.

61 {
62  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
63 
64  iface->form_field_text_set_text (document_forms, field, text);
65 }

+ Here is the caller graph for this function:

EvMappingList* ev_document_forms_get_form_fields ( EvDocumentForms document_forms,
EvPage page 
)

Definition at line 32 of file ev-document-forms.c.

34 {
35  EvDocumentFormsInterface *iface = EV_DOCUMENT_FORMS_GET_IFACE (document_forms);
36 
37  return iface->get_form_fields (document_forms, page);
38 }

+ Here is the caller graph for this function: