summaryrefslogtreecommitdiff
path: root/include/dom/html/html_tablesection_element.h
blob: bceec18967b50b280985399ab54cc0b4ef929080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
 * This file is part of libdom.
 * Licensed under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
 * Copyright 2014 Rupinder Singh Khokhar <rsk1v_alignr99@gmail.com>
 */

#ifndef dom_html_table_section_element_h_
#define dom_html_table_section_element_h_

#include <stdbool.h>
#include <dom/core/exceptions.h>
#include <dom/core/string.h>

#include <dom/html/html_collection.h>
#include <dom/html/html_element.h>

#include <dom/html/html_tablerow_element.h>

typedef struct dom_html_table_section_element dom_html_table_section_element;

dom_exception dom_html_table_section_element_get_align(
	dom_html_table_section_element *table_section, dom_string **align);

dom_exception dom_html_table_section_element_set_align(
	dom_html_table_section_element *table_section, dom_string *align);

dom_exception dom_html_table_section_element_get_ch(
	dom_html_table_section_element *table_section, dom_string **ch);

dom_exception dom_html_table_section_element_set_ch(
	dom_html_table_section_element *table_section, dom_string *ch);

dom_exception dom_html_table_section_element_get_ch_off(
	dom_html_table_section_element *table_section, dom_string **ch_off);

dom_exception dom_html_table_section_element_set_ch_off(
	dom_html_table_section_element *table_section, dom_string *ch_off);

dom_exception dom_html_table_section_element_get_v_align(
	dom_html_table_section_element *table_section, dom_string **v_align);

dom_exception dom_html_table_section_element_set_v_align(
	dom_html_table_section_element *table_section, dom_string *v_align);

dom_exception dom_html_table_section_element_get_rows(
	dom_html_table_section_element *table_section, dom_html_collection **rows);

dom_exception dom_html_table_section_element_insert_row(
		dom_html_table_section_element *element,
		int32_t index, dom_html_element **new_row);

dom_exception dom_html_table_section_element_delete_row(
		dom_html_table_section_element *element,
		int32_t index);

#endif