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.h File Reference
#include <glib-object.h>
#include "ev-document.h"
#include "ev-form-field.h"
#include "ev-mapping-list.h"
+ Include dependency graph for ev-document-forms.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvDocumentFormsInterface
 

Macros

#define EV_TYPE_DOCUMENT_FORMS   (ev_document_forms_get_type ())
 
#define EV_DOCUMENT_FORMS(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FORMS, EvDocumentForms))
 
#define EV_DOCUMENT_FORMS_IFACE(k)   (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))
 
#define EV_IS_DOCUMENT_FORMS(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FORMS))
 
#define EV_IS_DOCUMENT_FORMS_IFACE(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FORMS))
 
#define EV_DOCUMENT_FORMS_GET_IFACE(inst)   (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))
 

Typedefs

typedef struct _EvDocumentForms EvDocumentForms
 
typedef struct
_EvDocumentFormsInterface 
EvDocumentFormsInterface
 

Functions

GType ev_document_forms_get_type (void) G_GNUC_CONST
 
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)
 

Macro Definition Documentation

#define EV_DOCUMENT_FORMS (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FORMS, EvDocumentForms))

Definition at line 37 of file ev-document-forms.h.

#define EV_DOCUMENT_FORMS_GET_IFACE (   inst)    (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))

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

#define EV_DOCUMENT_FORMS_IFACE (   k)    (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))

Definition at line 38 of file ev-document-forms.h.

#define EV_IS_DOCUMENT_FORMS (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FORMS))

Definition at line 39 of file ev-document-forms.h.

#define EV_IS_DOCUMENT_FORMS_IFACE (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FORMS))

Definition at line 40 of file ev-document-forms.h.

#define EV_TYPE_DOCUMENT_FORMS   (ev_document_forms_get_type ())

Definition at line 36 of file ev-document-forms.h.

Typedef Documentation

typedef struct _EvDocumentForms EvDocumentForms

Definition at line 43 of file ev-document-forms.h.

Definition at line 44 of file ev-document-forms.h.

Function Documentation

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:

GType ev_document_forms_get_type ( void  )