summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-19 21:22:45 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:10 +0530
commit913ca00c2745f342146fd62494ad85baacf2b008 (patch)
tree159a6080a454c36e10bb9f27c55f4787e08c96b3 /include
parent1dd1c7617aae1a4bd285d83a3c73d5d2f53761d7 (diff)
downloadlibdom-913ca00c2745f342146fd62494ad85baacf2b008.tar.gz
libdom-913ca00c2745f342146fd62494ad85baacf2b008.tar.bz2
TableCol Element
Diffstat (limited to 'include')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_tablecol_element.h48
2 files changed, 49 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index fac1dac..51d12c4 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -84,6 +84,7 @@
#include <dom/html/html_script_element.h>
#include <dom/html/html_tablecaption_element.h>
#include <dom/html/html_tablecell_element.h>
+#include <dom/html/html_tablecol_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_tablecol_element.h b/include/dom/html/html_tablecol_element.h
index 2e182d5..56865a9 100644
--- a/include/dom/html/html_tablecol_element.h
+++ b/include/dom/html/html_tablecol_element.h
@@ -3,5 +3,53 @@
* 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_col_element_h_
+#define dom_html_table_col_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_table_col_element dom_html_table_col_element;
+
+dom_exception dom_html_table_col_element_get_align(
+ dom_html_table_col_element *table_col, dom_string **align);
+
+dom_exception dom_html_table_col_element_set_align(
+ dom_html_table_col_element *table_col, dom_string *align);
+
+dom_exception dom_html_table_col_element_get_ch(
+ dom_html_table_col_element *table_col, dom_string **ch);
+
+dom_exception dom_html_table_col_element_set_ch(
+ dom_html_table_col_element *table_col, dom_string *ch);
+
+dom_exception dom_html_table_col_element_get_ch_off(
+ dom_html_table_col_element *table_col, dom_string **ch_off);
+
+dom_exception dom_html_table_col_element_set_ch_off(
+ dom_html_table_col_element *table_col, dom_string *ch_off);
+
+dom_exception dom_html_table_col_element_get_v_align(
+ dom_html_table_col_element *table_col, dom_string **v_align);
+
+dom_exception dom_html_table_col_element_set_v_align(
+ dom_html_table_col_element *table_col, dom_string *v_align);
+
+dom_exception dom_html_table_col_element_get_width(
+ dom_html_table_col_element *table_col, dom_string **width);
+
+dom_exception dom_html_table_col_element_set_width(
+ dom_html_table_col_element *table_col, dom_string *width);
+
+dom_exception dom_html_table_col_element_get_span(
+ dom_html_table_col_element *table_col, int32_t *span);
+
+dom_exception dom_html_table_col_element_set_span(
+ dom_html_table_col_element *table_col, uint32_t span);
+
+#endif
+