summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_tablecell_element.h99
2 files changed, 100 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index b19a298..fac1dac 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -83,6 +83,7 @@
#include <dom/html/html_map_element.h>
#include <dom/html/html_script_element.h>
#include <dom/html/html_tablecaption_element.h>
+#include <dom/html/html_tablecell_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_tablecell_element.h b/include/dom/html/html_tablecell_element.h
index 2e182d5..938d148 100644
--- a/include/dom/html/html_tablecell_element.h
+++ b/include/dom/html/html_tablecell_element.h
@@ -3,5 +3,104 @@
* 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 <rsk1bg_colorr99@gmail.com>
*/
+#ifndef dom_html_table_cell_element_h_
+#define dom_html_table_cell_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_table_cell_element dom_html_table_cell_element;
+
+dom_exception dom_html_table_cell_element_get_cell_index(
+ dom_html_table_cell_element *table_cell, int32_t *cell_index);
+
+dom_exception dom_html_table_cell_element_get_abbr(
+ dom_html_table_cell_element *table_cell, dom_string **abbr);
+
+dom_exception dom_html_table_cell_element_set_abbr(
+ dom_html_table_cell_element *table_cell, dom_string *abbr);
+
+dom_exception dom_html_table_cell_element_get_align(
+ dom_html_table_cell_element *table_cell, dom_string **align);
+
+dom_exception dom_html_table_cell_element_set_align(
+ dom_html_table_cell_element *table_cell, dom_string *align);
+
+dom_exception dom_html_table_cell_element_get_axis(
+ dom_html_table_cell_element *table_cell, dom_string **axis);
+
+dom_exception dom_html_table_cell_element_set_axis(
+ dom_html_table_cell_element *table_cell, dom_string *axis);
+
+dom_exception dom_html_table_cell_element_get_bg_color(
+ dom_html_table_cell_element *table_cell, dom_string **bg_color);
+
+dom_exception dom_html_table_cell_element_set_bg_color(
+ dom_html_table_cell_element *table_cell, dom_string *bg_color);
+
+dom_exception dom_html_table_cell_element_get_ch(
+ dom_html_table_cell_element *table_cell, dom_string **ch);
+
+dom_exception dom_html_table_cell_element_set_ch(
+ dom_html_table_cell_element *table_cell, dom_string *ch);
+
+dom_exception dom_html_table_cell_element_get_ch_off(
+ dom_html_table_cell_element *table_cell, dom_string **ch_off);
+
+dom_exception dom_html_table_cell_element_set_ch_off(
+ dom_html_table_cell_element *table_cell, dom_string *ch_off);
+
+dom_exception dom_html_table_cell_element_get_headers(
+ dom_html_table_cell_element *table_cell, dom_string **headers);
+
+dom_exception dom_html_table_cell_element_set_headers(
+ dom_html_table_cell_element *table_cell, dom_string *headers);
+
+dom_exception dom_html_table_cell_element_get_height(
+ dom_html_table_cell_element *table_cell, dom_string **height);
+
+dom_exception dom_html_table_cell_element_set_height(
+ dom_html_table_cell_element *table_cell, dom_string *height);
+
+dom_exception dom_html_table_cell_element_get_scope(
+ dom_html_table_cell_element *table_cell, dom_string **scope);
+
+dom_exception dom_html_table_cell_element_set_scope(
+ dom_html_table_cell_element *table_cell, dom_string *scope);
+
+dom_exception dom_html_table_cell_element_get_v_align(
+ dom_html_table_cell_element *table_cell, dom_string **v_align);
+
+dom_exception dom_html_table_cell_element_set_v_align(
+ dom_html_table_cell_element *table_cell, dom_string *v_align);
+
+dom_exception dom_html_table_cell_element_get_width(
+ dom_html_table_cell_element *table_cell, dom_string **width);
+
+dom_exception dom_html_table_cell_element_set_width(
+ dom_html_table_cell_element *table_cell, dom_string *width);
+
+dom_exception dom_html_table_cell_element_get_col_span(
+ dom_html_table_cell_element *table_cell, int32_t *col_span);
+
+dom_exception dom_html_table_cell_element_set_col_span(
+ dom_html_table_cell_element *table_cell, uint32_t col_span);
+
+dom_exception dom_html_table_cell_element_get_row_span(
+ dom_html_table_cell_element *table_cell, int32_t *row_span);
+
+dom_exception dom_html_table_cell_element_set_row_span(
+ dom_html_table_cell_element *table_cell, uint32_t row_span);
+
+dom_exception dom_html_table_cell_element_get_no_wrap(
+ dom_html_table_cell_element *ele, bool *no_wrap);
+
+dom_exception dom_html_table_cell_element_set_no_wrap(
+ dom_html_table_cell_element *ele, bool no_wrap);
+
+#endif
+