|
libdom
|
#include <assert.h>#include <stdlib.h>#include <dom/html/html_form_element.h>#include "html/html_form_element.h"#include "html/html_input_element.h"#include "html/html_select_element.h"#include "html/html_text_area_element.h"#include "html/html_button_element.h"#include "html/html_collection.h"#include "html/html_document.h"#include "core/node.h"#include "utils/utils.h"Macros | |
| #define | SIMPLE_GET_SET(attr) |
| #define SIMPLE_GET_SET | ( | attr | ) |
| dom_exception _dom_html_form_element_copy | ( | dom_node_internal * | old, |
| dom_node_internal ** | copy | ||
| ) |
| dom_exception _dom_html_form_element_copy_internal | ( | dom_html_form_element * | old, |
| dom_html_form_element * | new | ||
| ) |
| dom_exception _dom_html_form_element_create | ( | struct dom_html_element_create_params * | params, |
| struct dom_html_form_element ** | ele | ||
| ) |
Create a dom_html_form_element object
| params | The html element creation parameters |
| ele | The returned element object |
| void _dom_html_form_element_destroy | ( | struct dom_html_form_element * | ele | ) |
Destroy a dom_html_form_element object
| ele | The dom_html_form_element object |
| void _dom_html_form_element_finalise | ( | struct dom_html_form_element * | ele | ) |
Finalise a dom_html_form_element object
| ele | The dom_html_form_element object |
| dom_exception _dom_html_form_element_initialise | ( | struct dom_html_element_create_params * | params, |
| struct dom_html_form_element * | ele | ||
| ) |
Initialise a dom_html_form_element object
| params | The html element creation parameters |
| ele | The dom_html_form_element object |
| dom_exception _dom_html_form_element_parse_attribute | ( | dom_element * | ele, |
| dom_string * | name, | ||
| dom_string * | value, | ||
| dom_string ** | parsed | ||
| ) |
| void _dom_virtual_html_form_element_destroy | ( | dom_node_internal * | node | ) |
| dom_exception dom_html_form_element_get_elements | ( | dom_html_form_element * | ele, |
| struct dom_html_collection ** | col | ||
| ) |
Get the form controls under this form element
| ele | The form object |
| col | The collection of form controls |
| dom_exception dom_html_form_element_get_length | ( | dom_html_form_element * | ele, |
| uint32_t * | len | ||
| ) |
Get the number of form controls under this form element
| ele | The form object |
| len | The number of controls |
| dom_exception dom_html_form_element_reset | ( | dom_html_form_element * | ele | ) |
Reset this form
| ele | The form object |
| dom_exception dom_html_form_element_submit | ( | dom_html_form_element * | ele | ) |
Submit this form
| ele | The form object |