PapersDocument.DocumentForms
Description: Reference for PapersDocument.DocumentForms

### Interface

# PapersDocumentDocumentForms

#### Description

    interface PapersDocument.DocumentForms : GObject.Object

No description available.

#### Prerequisite

In order to implement DocumentForms, your type must inherit from`GObject`.

#### Instance methods

###### pps_document_forms_document_is_modified

No description available.

###### pps_document_forms_form_field_button_get_state

No description available.

###### pps_document_forms_form_field_button_set_state

No description available.

###### pps_document_forms_form_field_choice_get_item

No description available.

###### pps_document_forms_form_field_choice_get_n_items

No description available.

###### pps_document_forms_form_field_choice_get_text

No description available.

###### pps_document_forms_form_field_choice_is_item_selected

No description available.

###### pps_document_forms_form_field_choice_select_item

No description available.

###### pps_document_forms_form_field_choice_set_text

No description available.

###### pps_document_forms_form_field_choice_toggle_item

No description available.

###### pps_document_forms_form_field_choice_unselect_all

No description available.

###### pps_document_forms_form_field_text_get_text

No description available.

###### pps_document_forms_form_field_text_set_text

No description available.

###### pps_document_forms_get_form_fields

No description available.

###### pps_document_forms_reset_form

No description available.

#### Interface structure

    struct PapersDocumentDocumentFormsInterface {
      GTypeInterface base_iface;
      PpsMappingList* (* get_form_fields) (
        PpsDocumentForms* document_forms,
        PpsPage* page
      );
      gboolean (* document_is_modified) (
        PpsDocumentForms* document_forms
      );
      gchar* (* form_field_text_get_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      );
      void (* form_field_text_set_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        const gchar* text
      );
      gboolean (* form_field_button_get_state) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      );
      void (* form_field_button_set_state) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gboolean state
      );
      gchar* (* form_field_choice_get_item) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      );
      gint (* form_field_choice_get_n_items) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      );
      gboolean (* form_field_choice_is_item_selected) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      );
      void (* form_field_choice_select_item) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      );
      void (* form_field_choice_toggle_item) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      );
      void (* form_field_choice_unselect_all) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      );
      void (* form_field_choice_set_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        const gchar* text
      );
      gchar* (* form_field_choice_get_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      );
      void (* reset_form) (
        PpsDocumentForms* document_forms,
        PpsLinkAction* action
      );

    }

No description available.

###### Interface members

`base_iface` |
    GTypeInterface
| No description available.
`get_form_fields` |
    PpsMappingList* (* get_form_fields) (
        PpsDocumentForms* document_forms,
        PpsPage* page
      )
| No description available.
`document_is_modified` |
    gboolean (* document_is_modified) (
        PpsDocumentForms* document_forms
      )
| No description available.
`form_field_text_get_text` |
    gchar* (* form_field_text_get_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      )
| No description available.
`form_field_text_set_text` |
    void (* form_field_text_set_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        const gchar* text
      )
| No description available.
`form_field_button_get_state` |
    gboolean (* form_field_button_get_state) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      )
| No description available.
`form_field_button_set_state` |
    void (* form_field_button_set_state) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gboolean state
      )
| No description available.
`form_field_choice_get_item` |
    gchar* (* form_field_choice_get_item) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      )
| No description available.
`form_field_choice_get_n_items` |
    gint (* form_field_choice_get_n_items) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      )
| No description available.
`form_field_choice_is_item_selected` |
    gboolean (* form_field_choice_is_item_selected) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      )
| No description available.
`form_field_choice_select_item` |
    void (* form_field_choice_select_item) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      )
| No description available.
`form_field_choice_toggle_item` |
    void (* form_field_choice_toggle_item) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        gint index
      )
| No description available.
`form_field_choice_unselect_all` |
    void (* form_field_choice_unselect_all) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      )
| No description available.
`form_field_choice_set_text` |
    void (* form_field_choice_set_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field,
        const gchar* text
      )
| No description available.
`form_field_choice_get_text` |
    gchar* (* form_field_choice_get_text) (
        PpsDocumentForms* document_forms,
        PpsFormField* field
      )
| No description available.
`reset_form` |
    void (* reset_form) (
        PpsDocumentForms* document_forms,
        PpsLinkAction* action
      )
| No description available.

#### Virtual methods

###### PapersDocument.DocumentForms.document_is_modified

No description available.

###### PapersDocument.DocumentForms.form_field_button_get_state

No description available.

###### PapersDocument.DocumentForms.form_field_button_set_state

No description available.

###### PapersDocument.DocumentForms.form_field_choice_get_item

No description available.

###### PapersDocument.DocumentForms.form_field_choice_get_n_items

No description available.

###### PapersDocument.DocumentForms.form_field_choice_get_text

No description available.

###### PapersDocument.DocumentForms.form_field_choice_is_item_selected

No description available.

###### PapersDocument.DocumentForms.form_field_choice_select_item

No description available.

###### PapersDocument.DocumentForms.form_field_choice_set_text

No description available.

###### PapersDocument.DocumentForms.form_field_choice_toggle_item

No description available.

###### PapersDocument.DocumentForms.form_field_choice_unselect_all

No description available.

###### PapersDocument.DocumentForms.form_field_text_get_text

No description available.

###### PapersDocument.DocumentForms.form_field_text_set_text

No description available.

###### PapersDocument.DocumentForms.get_form_fields

No description available.

###### PapersDocument.DocumentForms.reset_form

No description available.