summaryrefslogtreecommitdiff
path: root/include/dom/html
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom/html')
-rw-r--r--include/dom/html/html_anchor_element.h87
-rw-r--r--include/dom/html/html_applet_element.h78
-rw-r--r--include/dom/html/html_area_element.h62
-rw-r--r--include/dom/html/html_base_element.h16
-rw-r--r--include/dom/html/html_basefont_element.h27
-rw-r--r--include/dom/html/html_br_element.h16
-rw-r--r--include/dom/html/html_directory_element.h16
-rw-r--r--include/dom/html/html_div_element.h16
-rw-r--r--include/dom/html/html_dlist_element.h16
-rw-r--r--include/dom/html/html_document.h10
-rw-r--r--include/dom/html/html_fieldset_element.h17
-rw-r--r--include/dom/html/html_font_element.h27
-rw-r--r--include/dom/html/html_frame_element.h63
-rw-r--r--include/dom/html/html_frameset_element.h22
-rw-r--r--include/dom/html/html_heading_element.h16
-rw-r--r--include/dom/html/html_iframe_element.h75
-rw-r--r--include/dom/html/html_image_element.h84
-rw-r--r--include/dom/html/html_input_element.h4
-rw-r--r--include/dom/html/html_isindex_element.h6
-rw-r--r--include/dom/html/html_label_element.h26
-rw-r--r--include/dom/html/html_legend_element.h27
-rw-r--r--include/dom/html/html_li_element.h22
-rw-r--r--include/dom/html/html_map_element.h21
-rw-r--r--include/dom/html/html_menu_element.h16
-rw-r--r--include/dom/html/html_mod_element.h22
-rw-r--r--include/dom/html/html_object_element.h121
-rw-r--r--include/dom/html/html_olist_element.h28
-rw-r--r--include/dom/html/html_option_element.h2
-rw-r--r--include/dom/html/html_paragraph_element.h16
-rw-r--r--include/dom/html/html_param_element.h34
-rw-r--r--include/dom/html/html_pre_element.h16
-rw-r--r--include/dom/html/html_quote_element.h16
-rw-r--r--include/dom/html/html_script_element.h52
-rw-r--r--include/dom/html/html_style_element.h13
-rw-r--r--include/dom/html/html_table_element.h123
-rw-r--r--include/dom/html/html_tablecaption_element.h16
-rw-r--r--include/dom/html/html_tablecell_element.h99
-rw-r--r--include/dom/html/html_tablecol_element.h48
-rw-r--r--include/dom/html/html_tablerow_element.h62
-rw-r--r--include/dom/html/html_tablesection_element.h52
-rw-r--r--include/dom/html/html_ulist_element.h22
41 files changed, 1504 insertions, 8 deletions
diff --git a/include/dom/html/html_anchor_element.h b/include/dom/html/html_anchor_element.h
index 2e182d5..c7bcdea 100644
--- a/include/dom/html/html_anchor_element.h
+++ b/include/dom/html/html_anchor_element.h
@@ -3,5 +3,92 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_anchor_element_h_
+#define dom_html_anchor_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_anchor_element dom_html_anchor_element;
+
+
+dom_exception dom_html_anchor_element_get_access_key(
+ dom_html_anchor_element *anchor, dom_string **access_key);
+
+dom_exception dom_html_anchor_element_set_access_key(
+ dom_html_anchor_element *anchor, dom_string *access_key);
+
+dom_exception dom_html_anchor_element_get_charset(
+ dom_html_anchor_element *anchor, dom_string **charset);
+
+dom_exception dom_html_anchor_element_set_charset(
+ dom_html_anchor_element *anchor, dom_string *charset);
+
+dom_exception dom_html_anchor_element_get_coords(
+ dom_html_anchor_element *anchor, dom_string **coords);
+
+dom_exception dom_html_anchor_element_set_coords(
+ dom_html_anchor_element *anchor, dom_string *coords);
+
+dom_exception dom_html_anchor_element_get_href(
+ dom_html_anchor_element *anchor, dom_string **href);
+
+dom_exception dom_html_anchor_element_set_href(
+ dom_html_anchor_element *anchor, dom_string *href);
+
+dom_exception dom_html_anchor_element_get_hreflang(
+ dom_html_anchor_element *anchor, dom_string **hreflang);
+
+dom_exception dom_html_anchor_element_set_hreflang(
+ dom_html_anchor_element *anchor, dom_string *hreflang);
+
+dom_exception dom_html_anchor_element_get_name(
+ dom_html_anchor_element *anchor, dom_string **name);
+
+dom_exception dom_html_anchor_element_set_name(
+ dom_html_anchor_element *anchor, dom_string *name);
+
+dom_exception dom_html_anchor_element_get_rel(
+ dom_html_anchor_element *anchor, dom_string **rel);
+
+dom_exception dom_html_anchor_element_set_rel(
+ dom_html_anchor_element *anchor, dom_string *rel);
+
+dom_exception dom_html_anchor_element_get_rev(
+ dom_html_anchor_element *anchor, dom_string **rev);
+
+dom_exception dom_html_anchor_element_set_rev(
+ dom_html_anchor_element *anchor, dom_string *rev);
+
+dom_exception dom_html_anchor_element_get_shape(
+ dom_html_anchor_element *anchor, dom_string **shape);
+
+dom_exception dom_html_anchor_element_set_shape(
+ dom_html_anchor_element *anchor, dom_string *shape);
+
+dom_exception dom_html_anchor_element_get_target(
+ dom_html_anchor_element *anchor, dom_string **target);
+
+dom_exception dom_html_anchor_element_set_target(
+ dom_html_anchor_element *anchor, dom_string *target);
+
+dom_exception dom_html_anchor_element_get_type(
+ dom_html_anchor_element *anchor, dom_string **type);
+
+dom_exception dom_html_anchor_element_set_type(
+ dom_html_anchor_element *anchor, dom_string *type);
+
+dom_exception dom_html_anchor_element_get_tab_index(
+ dom_html_anchor_element *anchor, int32_t *tab_index);
+
+dom_exception dom_html_anchor_element_set_tab_index(
+ dom_html_anchor_element *anchor, uint32_t tab_index);
+
+dom_exception dom_html_anchor_element_blur(dom_html_anchor_element *ele);
+dom_exception dom_html_anchor_element_focus(dom_html_anchor_element *ele);
+
+#endif
diff --git a/include/dom/html/html_applet_element.h b/include/dom/html/html_applet_element.h
index 2e182d5..29e5c62 100644
--- a/include/dom/html/html_applet_element.h
+++ b/include/dom/html/html_applet_element.h
@@ -3,5 +3,83 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_applet_element_h_
+#define dom_html_applet_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_applet_element dom_html_applet_element;
+
+dom_exception dom_html_applet_element_get_align(
+ dom_html_applet_element *applet, dom_string **align);
+
+dom_exception dom_html_applet_element_set_align(
+ dom_html_applet_element *applet, dom_string *align);
+
+dom_exception dom_html_applet_element_get_alt(
+ dom_html_applet_element *applet, dom_string **alt);
+
+dom_exception dom_html_applet_element_set_alt(
+ dom_html_applet_element *applet, dom_string *alt);
+
+dom_exception dom_html_applet_element_get_archive(
+ dom_html_applet_element *applet, dom_string **archive);
+
+dom_exception dom_html_applet_element_set_archive(
+ dom_html_applet_element *applet, dom_string *archive);
+
+dom_exception dom_html_applet_element_get_code(
+ dom_html_applet_element *applet, dom_string **code);
+
+dom_exception dom_html_applet_element_set_code(
+ dom_html_applet_element *applet, dom_string *code);
+
+dom_exception dom_html_applet_element_get_code_base(
+ dom_html_applet_element *applet, dom_string **code_base);
+
+dom_exception dom_html_applet_element_set_code_base(
+ dom_html_applet_element *applet, dom_string *code_base);
+
+dom_exception dom_html_applet_element_get_height(
+ dom_html_applet_element *applet, dom_string **height);
+
+dom_exception dom_html_applet_element_set_height(
+ dom_html_applet_element *applet, dom_string *height);
+
+dom_exception dom_html_applet_element_get_name(
+ dom_html_applet_element *applet, dom_string **name);
+
+dom_exception dom_html_applet_element_set_name(
+ dom_html_applet_element *applet, dom_string *name);
+
+dom_exception dom_html_applet_element_get_object(
+ dom_html_applet_element *applet, dom_string **object);
+
+dom_exception dom_html_applet_element_set_object(
+ dom_html_applet_element *applet, dom_string *object);
+
+dom_exception dom_html_applet_element_get_width(
+ dom_html_applet_element *applet, dom_string **width);
+
+dom_exception dom_html_applet_element_set_width(
+ dom_html_applet_element *applet, dom_string *width);
+
+
+dom_exception dom_html_applet_element_get_hspace(
+ dom_html_applet_element *applet, int32_t *hspace);
+
+dom_exception dom_html_applet_element_set_hspace(
+ dom_html_applet_element *applet, uint32_t hspace);
+
+dom_exception dom_html_applet_element_get_vspace(
+ dom_html_applet_element *applet, int32_t *vspace);
+
+dom_exception dom_html_applet_element_set_vspace(
+ dom_html_applet_element *applet, uint32_t vspace);
+#endif
+
diff --git a/include/dom/html/html_area_element.h b/include/dom/html/html_area_element.h
index 2e182d5..c57202b 100644
--- a/include/dom/html/html_area_element.h
+++ b/include/dom/html/html_area_element.h
@@ -3,5 +3,67 @@
* 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 <rsk1access_keyr99@gmail.com>
*/
+#ifndef dom_html_area_element_h_
+#define dom_html_area_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_form_element.h>
+#include <dom/html/html_document.h>
+
+typedef struct dom_html_area_element dom_html_area_element;
+
+dom_exception dom_html_area_element_get_access_key(
+ dom_html_area_element *area, dom_string **access_key);
+
+dom_exception dom_html_area_element_set_access_key(
+ dom_html_area_element *area, dom_string *access_key);
+
+dom_exception dom_html_area_element_get_alt(
+ dom_html_area_element *area, dom_string **alt);
+
+dom_exception dom_html_area_element_set_alt(
+ dom_html_area_element *area, dom_string *alt);
+
+dom_exception dom_html_area_element_get_coords(
+ dom_html_area_element *area, dom_string **coords);
+
+dom_exception dom_html_area_element_set_coords(
+ dom_html_area_element *area, dom_string *coords);
+
+dom_exception dom_html_area_element_get_href(
+ dom_html_area_element *area, dom_string **href);
+
+dom_exception dom_html_area_element_set_href(
+ dom_html_area_element *area, dom_string *href);
+
+dom_exception dom_html_area_element_get_no_href(
+ dom_html_area_element *ele, bool *no_href);
+
+dom_exception dom_html_area_element_set_no_href(
+ dom_html_area_element *ele, bool no_href);
+
+dom_exception dom_html_area_element_get_shape(
+ dom_html_area_element *area, dom_string **shape);
+
+dom_exception dom_html_area_element_set_shape(
+ dom_html_area_element *area, dom_string *shape);
+
+dom_exception dom_html_area_element_get_tab_index(
+ dom_html_area_element *area, int32_t *tab_index);
+
+dom_exception dom_html_area_element_set_tab_index(
+ dom_html_area_element *area, uint32_t tab_index);
+
+dom_exception dom_html_area_element_get_target(
+ dom_html_area_element *area, dom_string **target);
+
+dom_exception dom_html_area_element_set_target(
+ dom_html_area_element *area, dom_string *target);
+
+#endif
diff --git a/include/dom/html/html_base_element.h b/include/dom/html/html_base_element.h
index 5ff28ee..c8283f3 100644
--- a/include/dom/html/html_base_element.h
+++ b/include/dom/html/html_base_element.h
@@ -8,7 +8,23 @@
#ifndef dom_html_base_element_h_
#define dom_html_base_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
typedef struct dom_html_base_element dom_html_base_element;
+dom_exception dom_html_base_element_get_href(
+ dom_html_base_element *element, dom_string **href);
+
+dom_exception dom_html_base_element_set_href(
+ dom_html_base_element *element, dom_string *href);
+
+dom_exception dom_html_base_element_get_target(
+ dom_html_base_element *element, dom_string **target);
+
+dom_exception dom_html_base_element_set_target(
+ dom_html_base_element *element, dom_string *target);
+
#endif
diff --git a/include/dom/html/html_basefont_element.h b/include/dom/html/html_basefont_element.h
index 2e182d5..fa60e0d 100644
--- a/include/dom/html/html_basefont_element.h
+++ b/include/dom/html/html_basefont_element.h
@@ -3,5 +3,32 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_base_font_element_h_
+#define dom_html_base_font_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_base_font_element dom_html_base_font_element;
+
+dom_exception dom_html_base_font_element_get_size(
+ dom_html_base_font_element *element, int32_t *size);
+
+dom_exception dom_html_base_font_element_set_size(
+ dom_html_base_font_element *element, uint32_t size);
+
+dom_exception dom_html_base_font_element_get_color(
+ dom_html_base_font_element *element, dom_string **color);
+
+dom_exception dom_html_base_font_element_set_color(
+ dom_html_base_font_element *element, dom_string *color);
+
+dom_exception dom_html_base_font_element_get_face(
+ dom_html_base_font_element *element, dom_string **face);
+
+dom_exception dom_html_base_font_element_set_face(
+ dom_html_base_font_element *element, dom_string *face);
+#endif
diff --git a/include/dom/html/html_br_element.h b/include/dom/html/html_br_element.h
index 2e182d5..9475e74 100644
--- a/include/dom/html/html_br_element.h
+++ b/include/dom/html/html_br_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_br_element_h_
+#define dom_html_br_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_br_element dom_html_br_element;
+
+dom_exception dom_html_br_element_get_clear(
+ dom_html_br_element *ele, dom_string **clear);
+
+dom_exception dom_html_br_element_set_clear(
+ dom_html_br_element *ele, dom_string *clear);
+
+#endif
diff --git a/include/dom/html/html_directory_element.h b/include/dom/html/html_directory_element.h
index 2e182d5..67fa269 100644
--- a/include/dom/html/html_directory_element.h
+++ b/include/dom/html/html_directory_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_directory_element_h_
+#define dom_html_directory_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_directory_element dom_html_directory_element;
+
+dom_exception dom_html_directory_element_get_compact(
+ dom_html_directory_element *ele, bool *compact);
+
+dom_exception dom_html_directory_element_set_compact(
+ dom_html_directory_element *ele, bool compact);
+
+#endif
diff --git a/include/dom/html/html_div_element.h b/include/dom/html/html_div_element.h
index 2e182d5..051a6d5 100644
--- a/include/dom/html/html_div_element.h
+++ b/include/dom/html/html_div_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_div_element_h_
+#define dom_html_div_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_div_element dom_html_div_element;
+
+dom_exception dom_html_div_element_get_align(
+ dom_html_div_element *element, dom_string **align);
+
+dom_exception dom_html_div_element_set_align(
+ dom_html_div_element *element, dom_string *align);
+
+#endif
diff --git a/include/dom/html/html_dlist_element.h b/include/dom/html/html_dlist_element.h
index 2e182d5..e537994 100644
--- a/include/dom/html/html_dlist_element.h
+++ b/include/dom/html/html_dlist_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_d_list_element_h_
+#define dom_html_d_list_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_d_list_element dom_html_d_list_element;
+
+dom_exception dom_html_d_list_element_get_compact(
+ dom_html_d_list_element *ele, bool *compact);
+
+dom_exception dom_html_d_list_element_set_compact(
+ dom_html_d_list_element *ele, bool compact);
+
+#endif
diff --git a/include/dom/html/html_document.h b/include/dom/html/html_document.h
index 1f868a5..936ea69 100644
--- a/include/dom/html/html_document.h
+++ b/include/dom/html/html_document.h
@@ -114,7 +114,7 @@ static inline dom_exception dom_html_document_get_body(dom_html_document *doc,
get_body(doc, body);
}
#define dom_html_document_get_body(d, b) \
- dom_html_document_get_title((dom_html_document *) (d), \
+ dom_html_document_get_body((dom_html_document *) (d), \
(struct dom_html_element **) (b))
static inline dom_exception dom_html_document_set_body(dom_html_document *doc,
@@ -174,7 +174,7 @@ static inline dom_exception dom_html_document_get_anchors(dom_html_document *doc
get_anchors(doc, col);
}
#define dom_html_document_get_anchors(d, c) \
- dom_html_document_get_title((dom_html_document *) (d), \
+ dom_html_document_get_anchors((dom_html_document *) (d), \
(struct dom_html_collection **) (c))
static inline dom_exception dom_html_document_get_cookie(dom_html_document *doc,
@@ -184,7 +184,7 @@ static inline dom_exception dom_html_document_get_cookie(dom_html_document *doc,
get_cookie(doc, cookie);
}
#define dom_html_document_get_cookie(d, c) \
- dom_html_document_get_title((dom_html_document *) (d), (c))
+ dom_html_document_get_cookie((dom_html_document *) (d), (c))
static inline dom_exception dom_html_document_set_cookie(dom_html_document *doc,
dom_string *cookie)
@@ -237,8 +237,8 @@ static inline dom_exception dom_html_document_get_elements_by_name(dom_html_docu
return ((dom_html_document_vtable *) ((dom_node *) doc)->vtable)->
get_elements_by_name(doc, name, list);
}
-#define dom_html_document_get_elements_by_name(d, n, l) \
- dom_html_document_get_element_by_name((dom_html_document *) (d), \
+#define dom_html_document_get_element_by_name(d, n, l) \
+ dom_html_document_get_elements_by_name((dom_html_document *) (d), \
(n), (struct dom_nodelist **) (l))
#endif
diff --git a/include/dom/html/html_fieldset_element.h b/include/dom/html/html_fieldset_element.h
index 2e182d5..26383b3 100644
--- a/include/dom/html/html_fieldset_element.h
+++ b/include/dom/html/html_fieldset_element.h
@@ -3,5 +3,22 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_field_set_element_h_
+#define dom_html_field_set_element_h_
+
+#include <stdbool.h>
+
+#include <dom/core/exceptions.h>
+
+#include <dom/html/html_form_element.h>
+
+typedef struct dom_html_field_set_element dom_html_field_set_element;
+
+struct dom_html_element;
+dom_exception dom_html_field_set_element_get_form(
+ dom_html_field_set_element *ele, dom_html_form_element **form);
+#endif
+
diff --git a/include/dom/html/html_font_element.h b/include/dom/html/html_font_element.h
index 2e182d5..b878f42 100644
--- a/include/dom/html/html_font_element.h
+++ b/include/dom/html/html_font_element.h
@@ -3,5 +3,32 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_font_element_h_
+#define dom_html_font_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_font_element dom_html_font_element;
+
+dom_exception dom_html_font_element_get_color(
+ dom_html_font_element *ele, dom_string **color);
+
+dom_exception dom_html_font_element_set_color(
+ dom_html_font_element *ele, dom_string *color);
+
+dom_exception dom_html_font_element_get_face(
+ dom_html_font_element *ele, dom_string **face);
+
+dom_exception dom_html_font_element_set_face(
+ dom_html_font_element *ele, dom_string *face);
+
+dom_exception dom_html_font_element_get_size(
+ dom_html_font_element *ele, dom_string **size);
+
+dom_exception dom_html_font_element_set_size(
+ dom_html_font_element *ele, dom_string *size);
+#endif
diff --git a/include/dom/html/html_frame_element.h b/include/dom/html/html_frame_element.h
index 2e182d5..1202f5c 100644
--- a/include/dom/html/html_frame_element.h
+++ b/include/dom/html/html_frame_element.h
@@ -3,5 +3,68 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_frame_element_h_
+#define dom_html_frame_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_document.h>
+typedef struct dom_html_frame_element dom_html_frame_element;
+
+dom_exception dom_html_frame_element_get_frame_border(
+ dom_html_frame_element *element, dom_string **frame_border);
+
+dom_exception dom_html_frame_element_set_frame_border(
+ dom_html_frame_element *element, dom_string *frame_border);
+
+dom_exception dom_html_frame_element_set_long_desc(
+ dom_html_frame_element *ele, dom_string *long_desc);
+
+dom_exception dom_html_frame_element_get_long_desc(
+ dom_html_frame_element *ele, dom_string **long_desc);
+
+dom_exception dom_html_frame_element_get_margin_height(
+ dom_html_frame_element *element, dom_string **margin_height);
+
+dom_exception dom_html_frame_element_set_margin_height(
+ dom_html_frame_element *element, dom_string *margin_height);
+
+dom_exception dom_html_frame_element_get_margin_width(
+ dom_html_frame_element *element, dom_string **margin_width);
+
+dom_exception dom_html_frame_element_set_margin_width(
+ dom_html_frame_element *element, dom_string *margin_width);
+
+dom_exception dom_html_frame_element_get_name(
+ dom_html_frame_element *element, dom_string **name);
+
+dom_exception dom_html_frame_element_set_name(
+ dom_html_frame_element *element, dom_string *name);
+
+dom_exception dom_html_frame_element_get_scrolling(
+ dom_html_frame_element *element, dom_string **scrolling);
+
+dom_exception dom_html_frame_element_set_scrolling(
+ dom_html_frame_element *element, dom_string *scrolling);
+
+dom_exception dom_html_frame_element_get_src(
+ dom_html_frame_element *element, dom_string **src);
+
+dom_exception dom_html_frame_element_set_src(
+ dom_html_frame_element *element, dom_string *src);
+
+dom_exception dom_html_frame_element_set_no_resize(dom_html_frame_element *ele,
+ bool no_resize);
+
+dom_exception dom_html_frame_element_get_no_resize(dom_html_frame_element *ele,
+ bool *no_resize);
+
+dom_exception dom_html_frame_element_get_content_document(
+ dom_html_frame_element *ele,
+ dom_document **content_document);
+
+#endif
diff --git a/include/dom/html/html_frameset_element.h b/include/dom/html/html_frameset_element.h
index 2e182d5..c0de3b4 100644
--- a/include/dom/html/html_frameset_element.h
+++ b/include/dom/html/html_frameset_element.h
@@ -3,5 +3,27 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_frame_set_element_h_
+#define dom_html_frame_set_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_frame_set_element dom_html_frame_set_element;
+
+dom_exception dom_html_frame_set_element_get_rows(
+ dom_html_frame_set_element *element, dom_string **rows);
+
+dom_exception dom_html_frame_set_element_set_rows(
+ dom_html_frame_set_element *element, dom_string *rows);
+
+dom_exception dom_html_frame_set_element_set_cols(
+ dom_html_frame_set_element *ele, dom_string *cols);
+
+dom_exception dom_html_frame_set_element_get_cols(
+ dom_html_frame_set_element *ele, dom_string **cols);
+
+#endif
diff --git a/include/dom/html/html_heading_element.h b/include/dom/html/html_heading_element.h
index 2e182d5..fb42b89 100644
--- a/include/dom/html/html_heading_element.h
+++ b/include/dom/html/html_heading_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_heading_element_h_
+#define dom_html_heading_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_heading_element dom_html_heading_element;
+
+dom_exception dom_html_heading_element_get_align(
+ dom_html_heading_element *element, dom_string **align);
+
+dom_exception dom_html_heading_element_set_align(
+ dom_html_heading_element *element, dom_string *align);
+
+#endif
diff --git a/include/dom/html/html_iframe_element.h b/include/dom/html/html_iframe_element.h
index 2e182d5..f064cfe 100644
--- a/include/dom/html/html_iframe_element.h
+++ b/include/dom/html/html_iframe_element.h
@@ -3,5 +3,80 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_iframe_element_h_
+#define dom_html_iframe_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_document.h>
+typedef struct dom_html_iframe_element dom_html_iframe_element;
+
+dom_exception dom_html_iframe_element_get_frame_border(
+ dom_html_iframe_element *element, dom_string **frame_border);
+
+dom_exception dom_html_iframe_element_set_frame_border(
+ dom_html_iframe_element *element, dom_string *frame_border);
+
+dom_exception dom_html_iframe_element_get_align(
+ dom_html_iframe_element *element, dom_string **align);
+
+dom_exception dom_html_iframe_element_set_align(
+ dom_html_iframe_element *element, dom_string *align);
+
+dom_exception dom_html_iframe_element_set_long_desc(
+ dom_html_iframe_element *ele, dom_string *long_desc);
+
+dom_exception dom_html_iframe_element_get_long_desc(
+ dom_html_iframe_element *ele, dom_string **long_desc);
+
+dom_exception dom_html_iframe_element_get_margin_height(
+ dom_html_iframe_element *element, dom_string **margin_height);
+
+dom_exception dom_html_iframe_element_set_margin_height(
+ dom_html_iframe_element *element, dom_string *margin_height);
+
+dom_exception dom_html_iframe_element_get_margin_width(
+ dom_html_iframe_element *element, dom_string **margin_width);
+
+dom_exception dom_html_iframe_element_set_margin_width(
+ dom_html_iframe_element *element, dom_string *margin_width);
+
+dom_exception dom_html_iframe_element_get_name(
+ dom_html_iframe_element *element, dom_string **name);
+
+dom_exception dom_html_iframe_element_set_name(
+ dom_html_iframe_element *element, dom_string *name);
+
+dom_exception dom_html_iframe_element_get_scrolling(
+ dom_html_iframe_element *element, dom_string **scrolling);
+
+dom_exception dom_html_iframe_element_set_scrolling(
+ dom_html_iframe_element *element, dom_string *scrolling);
+
+dom_exception dom_html_iframe_element_get_src(
+ dom_html_iframe_element *element, dom_string **src);
+
+dom_exception dom_html_iframe_element_set_src(
+ dom_html_iframe_element *element, dom_string *src);
+
+dom_exception dom_html_iframe_element_get_height(
+ dom_html_iframe_element *element, dom_string **height);
+
+dom_exception dom_html_iframe_element_set_height(
+ dom_html_iframe_element *element, dom_string *height);
+
+dom_exception dom_html_iframe_element_get_width(
+ dom_html_iframe_element *element, dom_string **width);
+
+dom_exception dom_html_iframe_element_set_width(
+ dom_html_iframe_element *element, dom_string *width);
+
+dom_exception dom_html_iframe_element_get_content_document(
+ dom_html_iframe_element *ele,
+ dom_document **content_document);
+
+#endif
diff --git a/include/dom/html/html_image_element.h b/include/dom/html/html_image_element.h
index 2e182d5..7e3e879 100644
--- a/include/dom/html/html_image_element.h
+++ b/include/dom/html/html_image_element.h
@@ -3,5 +3,89 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_image_element_h_
+#define dom_html_image_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_image_element dom_html_image_element;
+
+
+dom_exception dom_html_image_element_get_name(
+ dom_html_image_element *image, dom_string **name);
+
+dom_exception dom_html_image_element_set_name(
+ dom_html_image_element *image, dom_string *name);
+
+dom_exception dom_html_image_element_get_align(
+ dom_html_image_element *image, dom_string **align);
+
+dom_exception dom_html_image_element_set_align(
+ dom_html_image_element *image, dom_string *align);
+
+dom_exception dom_html_image_element_get_alt(
+ dom_html_image_element *image, dom_string **alt);
+
+dom_exception dom_html_image_element_set_alt(
+ dom_html_image_element *image, dom_string *alt);
+
+dom_exception dom_html_image_element_get_border(
+ dom_html_image_element *image, dom_string **border);
+
+dom_exception dom_html_image_element_set_border(
+ dom_html_image_element *image, dom_string *border);
+
+dom_exception dom_html_image_element_get_long_desc(
+ dom_html_image_element *image, dom_string **long_desc);
+
+dom_exception dom_html_image_element_set_long_desc(
+ dom_html_image_element *image, dom_string *long_desc);
+
+dom_exception dom_html_image_element_get_src(
+ dom_html_image_element *image, dom_string **src);
+
+dom_exception dom_html_image_element_set_src(
+ dom_html_image_element *image, dom_string *src);
+
+dom_exception dom_html_image_element_get_use_map(
+ dom_html_image_element *image, dom_string **use_map);
+
+dom_exception dom_html_image_element_set_use_map(
+ dom_html_image_element *image, dom_string *use_map);
+
+dom_exception dom_html_image_element_get_height(
+ dom_html_image_element *image, int32_t *height);
+
+dom_exception dom_html_image_element_set_height(
+ dom_html_image_element *image, uint32_t height);
+
+dom_exception dom_html_image_element_get_hspace(
+ dom_html_image_element *image, int32_t *hspace);
+
+dom_exception dom_html_image_element_set_hspace(
+ dom_html_image_element *image, uint32_t hspace);
+
+dom_exception dom_html_image_element_get_vspace(
+ dom_html_image_element *image, int32_t *vspace);
+
+dom_exception dom_html_image_element_set_vspace(
+ dom_html_image_element *image, uint32_t vspace);
+
+dom_exception dom_html_image_element_get_width(
+ dom_html_image_element *image, int32_t *width);
+
+dom_exception dom_html_image_element_set_width(
+ dom_html_image_element *image, uint32_t width);
+
+dom_exception dom_html_image_element_get_is_map(
+ dom_html_image_element *ele, bool *is_map);
+
+dom_exception dom_html_image_element_set_is_map(
+ dom_html_image_element *ele, bool is_map);
+
+#endif
diff --git a/include/dom/html/html_input_element.h b/include/dom/html/html_input_element.h
index eb6aecd..086e1cb 100644
--- a/include/dom/html/html_input_element.h
+++ b/include/dom/html/html_input_element.h
@@ -85,10 +85,10 @@ dom_exception dom_html_input_element_set_read_only(
dom_html_input_element *input, bool read_only);
dom_exception dom_html_input_element_get_size(
- dom_html_input_element *input, dom_string **size);
+ dom_html_input_element *input, int32_t *size);
dom_exception dom_html_input_element_set_size(
- dom_html_input_element *input, dom_string *size);
+ dom_html_input_element *input, uint32_t size);
dom_exception dom_html_input_element_get_src(
dom_html_input_element *input, dom_string **src);
diff --git a/include/dom/html/html_isindex_element.h b/include/dom/html/html_isindex_element.h
index 4961ccc..d41a149 100644
--- a/include/dom/html/html_isindex_element.h
+++ b/include/dom/html/html_isindex_element.h
@@ -9,6 +9,7 @@
#define dom_html_isindex_element_h_
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
struct dom_html_form_element;
@@ -22,5 +23,10 @@ typedef struct dom_html_isindex_element dom_html_isindex_element;
dom_exception dom_html_isindex_element_get_form(dom_html_isindex_element *ele,
struct dom_html_form_element **form);
+dom_exception dom_html_isindex_element_get_prompt(dom_html_isindex_element *ele,
+ dom_string **prompt);
+
+dom_exception dom_html_isindex_element_set_prompt(dom_html_isindex_element *ele,
+ dom_string *prompt);
#endif
diff --git a/include/dom/html/html_label_element.h b/include/dom/html/html_label_element.h
index 2e182d5..6aca45d 100644
--- a/include/dom/html/html_label_element.h
+++ b/include/dom/html/html_label_element.h
@@ -5,3 +5,29 @@
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
*/
+#ifndef dom_html_label_element_h_
+#define dom_html_label_element_h_
+
+#include <stdbool.h>
+
+#include <dom/core/exceptions.h>
+
+#include <dom/html/html_form_element.h>
+
+typedef struct dom_html_label_element dom_html_label_element;
+
+dom_exception dom_html_label_element_get_access_key(
+ dom_html_label_element *ele, dom_string **access_key);
+dom_exception dom_html_label_element_set_access_key(
+ dom_html_label_element *ele, dom_string *access_key);
+
+dom_exception dom_html_label_element_get_html_for(
+ dom_html_label_element *ele, dom_string **html_for);
+dom_exception dom_html_label_element_set_html_for(
+ dom_html_label_element *ele, dom_string *html_for);
+
+dom_exception dom_html_label_element_get_form(
+ dom_html_label_element *ele, dom_html_form_element **form);
+
+#endif
+
diff --git a/include/dom/html/html_legend_element.h b/include/dom/html/html_legend_element.h
index 2e182d5..caf34a6 100644
--- a/include/dom/html/html_legend_element.h
+++ b/include/dom/html/html_legend_element.h
@@ -3,5 +3,32 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_legend_element_h_
+#define dom_html_legend_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_form_element.h>
+
+typedef struct dom_html_legend_element dom_html_legend_element;
+
+dom_exception dom_html_legend_element_get_form(
+ dom_html_legend_element *ele, dom_html_form_element **form);
+
+dom_exception dom_html_legend_element_get_access_key(
+ dom_html_legend_element *element, dom_string **access_key);
+
+dom_exception dom_html_legend_element_set_access_key(
+ dom_html_legend_element *element, dom_string *access_key);
+
+dom_exception dom_html_legend_element_get_align(
+ dom_html_legend_element *element, dom_string **align);
+
+dom_exception dom_html_legend_element_set_align(
+ dom_html_legend_element *ele, dom_string *align);
+
+#endif
diff --git a/include/dom/html/html_li_element.h b/include/dom/html/html_li_element.h
index 2e182d5..465bb98 100644
--- a/include/dom/html/html_li_element.h
+++ b/include/dom/html/html_li_element.h
@@ -3,5 +3,27 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_li_element_h_
+#define dom_html_li_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_li_element dom_html_li_element;
+
+dom_exception dom_html_li_element_get_value(
+ dom_html_li_element *ele, int32_t *value);
+
+dom_exception dom_html_li_element_set_value(
+ dom_html_li_element *ele, uint32_t value);
+
+dom_exception dom_html_li_element_get_type(
+ dom_html_li_element *ele, dom_string **type);
+
+dom_exception dom_html_li_element_set_type(
+ dom_html_li_element *ele, dom_string *type);
+
+#endif
diff --git a/include/dom/html/html_map_element.h b/include/dom/html/html_map_element.h
index 2e182d5..6abdee5 100644
--- a/include/dom/html/html_map_element.h
+++ b/include/dom/html/html_map_element.h
@@ -3,5 +3,26 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_map_element_h_
+#define dom_html_map_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_collection.h>
+
+typedef struct dom_html_map_element dom_html_map_element;
+
+dom_exception dom_html_map_element_get_name(
+ dom_html_map_element *ele, dom_string **name);
+
+dom_exception dom_html_map_element_set_name(
+ dom_html_map_element *ele, dom_string *name);
+
+dom_exception dom_html_map_element_get_areas(
+ dom_html_map_element *ele, dom_html_collection **areas);
+
+#endif
diff --git a/include/dom/html/html_menu_element.h b/include/dom/html/html_menu_element.h
index 2e182d5..f4dad74 100644
--- a/include/dom/html/html_menu_element.h
+++ b/include/dom/html/html_menu_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_menu_element_h_
+#define dom_html_menu_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_menu_element dom_html_menu_element;
+
+dom_exception dom_html_menu_element_get_compact(
+ dom_html_menu_element *ele, bool *compact);
+
+dom_exception dom_html_menu_element_set_compact(
+ dom_html_menu_element *ele, bool compact);
+
+#endif
diff --git a/include/dom/html/html_mod_element.h b/include/dom/html/html_mod_element.h
index 2e182d5..99c4f2e 100644
--- a/include/dom/html/html_mod_element.h
+++ b/include/dom/html/html_mod_element.h
@@ -3,5 +3,27 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_mod_element_h_
+#define dom_html_mod_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_mod_element dom_html_mod_element;
+
+dom_exception dom_html_mod_element_get_cite(
+ dom_html_mod_element *ele, dom_string **cite);
+
+dom_exception dom_html_mod_element_set_cite(
+ dom_html_mod_element *ele, dom_string *cite);
+
+dom_exception dom_html_mod_element_get_date_time(
+ dom_html_mod_element *ele, dom_string **date_time);
+
+dom_exception dom_html_mod_element_set_date_time(
+ dom_html_mod_element *ele, dom_string *date_time);
+
+#endif
diff --git a/include/dom/html/html_object_element.h b/include/dom/html/html_object_element.h
index 2e182d5..0263e85 100644
--- a/include/dom/html/html_object_element.h
+++ b/include/dom/html/html_object_element.h
@@ -3,5 +3,126 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_object_element_h_
+#define dom_html_object_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include <dom/html/html_form_element.h>
+#include <dom/html/html_document.h>
+
+typedef struct dom_html_object_element dom_html_object_element;
+
+dom_exception dom_html_object_element_get_form(
+ dom_html_object_element *ele, dom_html_form_element **form);
+
+dom_exception dom_html_object_element_get_code(
+ dom_html_object_element *object, dom_string **code);
+
+dom_exception dom_html_object_element_set_code(
+ dom_html_object_element *object, dom_string *code);
+
+dom_exception dom_html_object_element_get_align(
+ dom_html_object_element *object, dom_string **align);
+
+dom_exception dom_html_object_element_set_align(
+ dom_html_object_element *object, dom_string *align);
+
+dom_exception dom_html_object_element_get_archive(
+ dom_html_object_element *object, dom_string **archive);
+
+dom_exception dom_html_object_element_set_archive(
+ dom_html_object_element *object, dom_string *archive);
+
+dom_exception dom_html_object_element_get_border(
+ dom_html_object_element *object, dom_string **border);
+
+dom_exception dom_html_object_element_set_border(
+ dom_html_object_element *object, dom_string *border);
+
+dom_exception dom_html_object_element_get_code_base(
+ dom_html_object_element *object, dom_string **code_base);
+
+dom_exception dom_html_object_element_set_code_base(
+ dom_html_object_element *object, dom_string *code_base);
+
+dom_exception dom_html_object_element_get_code_type(
+ dom_html_object_element *object, dom_string **code_type);
+
+dom_exception dom_html_object_element_set_code_type(
+ dom_html_object_element *object, dom_string *code_type);
+
+dom_exception dom_html_object_element_get_data(
+ dom_html_object_element *object, dom_string **data);
+
+dom_exception dom_html_object_element_set_data(
+ dom_html_object_element *object, dom_string *data);
+
+dom_exception dom_html_object_element_get_declare(
+ dom_html_object_element *ele, bool *declare);
+
+dom_exception dom_html_object_element_set_declare(
+ dom_html_object_element *ele, bool declare);
+
+dom_exception dom_html_object_element_get_height(
+ dom_html_object_element *object, dom_string **height);
+
+dom_exception dom_html_object_element_set_height(
+ dom_html_object_element *object, dom_string *height);
+
+dom_exception dom_html_object_element_get_name(
+ dom_html_object_element *object, dom_string **name);
+
+dom_exception dom_html_object_element_set_name(
+ dom_html_object_element *object, dom_string *name);
+
+dom_exception dom_html_object_element_get_standby(
+ dom_html_object_element *object, dom_string **standby);
+
+dom_exception dom_html_object_element_set_standby(
+ dom_html_object_element *object, dom_string *standby);
+
+dom_exception dom_html_object_element_get_type(
+ dom_html_object_element *object, dom_string **type);
+
+dom_exception dom_html_object_element_set_type(
+ dom_html_object_element *object, dom_string *type);
+
+dom_exception dom_html_object_element_get_use_map(
+ dom_html_object_element *object, dom_string **use_map);
+
+dom_exception dom_html_object_element_set_use_map(
+ dom_html_object_element *object, dom_string *use_map);
+
+dom_exception dom_html_object_element_get_width(
+ dom_html_object_element *object, dom_string **width);
+
+dom_exception dom_html_object_element_set_width(
+ dom_html_object_element *object, dom_string *width);
+
+dom_exception dom_html_object_element_get_hspace(
+ dom_html_object_element *object, int32_t *hspace);
+
+dom_exception dom_html_object_element_set_hspace(
+ dom_html_object_element *object, uint32_t hspace);
+
+dom_exception dom_html_object_element_get_tab_index(
+ dom_html_object_element *object, int32_t *tab_index);
+
+dom_exception dom_html_object_element_set_tab_index(
+ dom_html_object_element *object, uint32_t tab_index);
+
+dom_exception dom_html_object_element_get_vspace(
+ dom_html_object_element *object, int32_t *vspace);
+
+dom_exception dom_html_object_element_set_vspace(
+ dom_html_object_element *object, uint32_t vspace);
+
+dom_exception dom_html_object_element_get_content_document(
+ dom_html_object_element *object, dom_document **content_document);
+#endif
diff --git a/include/dom/html/html_olist_element.h b/include/dom/html/html_olist_element.h
index 2e182d5..3d1511e 100644
--- a/include/dom/html/html_olist_element.h
+++ b/include/dom/html/html_olist_element.h
@@ -3,5 +3,33 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_o_list_element_h_
+#define dom_html_o_list_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_o_list_element dom_html_o_list_element;
+
+dom_exception dom_html_o_list_element_get_compact(
+ dom_html_o_list_element *ele, bool *compact);
+
+dom_exception dom_html_o_list_element_set_compact(
+ dom_html_o_list_element *ele, bool compact);
+
+dom_exception dom_html_o_list_element_get_start(
+ dom_html_o_list_element *ele, int32_t *start);
+
+dom_exception dom_html_o_list_element_set_start(
+ dom_html_o_list_element *ele, uint32_t start);
+
+dom_exception dom_html_o_list_element_get_type(
+ dom_html_o_list_element *ele, dom_string **type);
+
+dom_exception dom_html_o_list_element_set_type(
+ dom_html_o_list_element *ele, dom_string *type);
+
+#endif
diff --git a/include/dom/html/html_option_element.h b/include/dom/html/html_option_element.h
index 53ba286..aa0d11c 100644
--- a/include/dom/html/html_option_element.h
+++ b/include/dom/html/html_option_element.h
@@ -28,7 +28,7 @@ dom_exception dom_html_option_element_get_text(
dom_html_option_element *option, dom_string **text);
dom_exception dom_html_option_element_get_index(
- dom_html_option_element *option, unsigned long *index);
+ dom_html_option_element *option, int32_t *index);
dom_exception dom_html_option_element_get_disabled(
dom_html_option_element *option, bool *disabled);
diff --git a/include/dom/html/html_paragraph_element.h b/include/dom/html/html_paragraph_element.h
index 2e182d5..c0e228a 100644
--- a/include/dom/html/html_paragraph_element.h
+++ b/include/dom/html/html_paragraph_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_paragraph_element_h_
+#define dom_html_paragraph_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_paragraph_element dom_html_paragraph_element;
+
+dom_exception dom_html_paragraph_element_get_align(
+ dom_html_paragraph_element *element, dom_string **align);
+
+dom_exception dom_html_paragraph_element_set_align(
+ dom_html_paragraph_element *element, dom_string *align);
+
+#endif
diff --git a/include/dom/html/html_param_element.h b/include/dom/html/html_param_element.h
index 2e182d5..be12789 100644
--- a/include/dom/html/html_param_element.h
+++ b/include/dom/html/html_param_element.h
@@ -3,5 +3,39 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_param_element_h_
+#define dom_html_param_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_param_element dom_html_param_element;
+
+dom_exception dom_html_param_element_get_name(
+ dom_html_param_element *element, dom_string **name);
+
+dom_exception dom_html_param_element_set_name(
+ dom_html_param_element *element, dom_string *name);
+
+dom_exception dom_html_param_element_get_type(
+ dom_html_param_element *element, dom_string **type);
+
+dom_exception dom_html_param_element_set_type(
+ dom_html_param_element *ele, dom_string *type);
+
+dom_exception dom_html_param_element_get_value(
+ dom_html_param_element *ele, dom_string **value);
+
+dom_exception dom_html_param_element_set_value(
+ dom_html_param_element *ele, dom_string *value);
+
+dom_exception dom_html_param_element_get_value_type(
+ dom_html_param_element *ele, dom_string **value_type);
+
+dom_exception dom_html_param_element_set_value_type(
+ dom_html_param_element *ele, dom_string *value_type);
+
+#endif
diff --git a/include/dom/html/html_pre_element.h b/include/dom/html/html_pre_element.h
index 2e182d5..bd72701 100644
--- a/include/dom/html/html_pre_element.h
+++ b/include/dom/html/html_pre_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_pre_element_h_
+#define dom_html_pre_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_pre_element dom_html_pre_element;
+
+dom_exception dom_html_pre_element_get_width(
+ dom_html_pre_element *element, int32_t *width);
+
+dom_exception dom_html_pre_element_set_width(
+ dom_html_pre_element *element, uint32_t width);
+
+#endif
diff --git a/include/dom/html/html_quote_element.h b/include/dom/html/html_quote_element.h
index 2e182d5..7d88eef 100644
--- a/include/dom/html/html_quote_element.h
+++ b/include/dom/html/html_quote_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_quote_element_h_
+#define dom_html_quote_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_quote_element dom_html_quote_element;
+
+dom_exception dom_html_quote_element_get_cite(
+ dom_html_quote_element *element, dom_string **cite);
+
+dom_exception dom_html_quote_element_set_cite(
+ dom_html_quote_element *element, dom_string *cite);
+
+#endif
diff --git a/include/dom/html/html_script_element.h b/include/dom/html/html_script_element.h
index 2e182d5..b7df3aa 100644
--- a/include/dom/html/html_script_element.h
+++ b/include/dom/html/html_script_element.h
@@ -3,5 +3,57 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_script_element_h_
+#define dom_html_script_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_script_element dom_html_script_element;
+
+dom_exception dom_html_script_element_get_defer(
+ dom_html_script_element *ele, bool *defer);
+
+dom_exception dom_html_script_element_set_defer(
+ dom_html_script_element *ele, bool defer);
+
+dom_exception dom_html_script_element_get_text(
+ dom_html_script_element *element, dom_string **text);
+
+dom_exception dom_html_script_element_set_text(
+ dom_html_script_element *element, dom_string *text);
+
+dom_exception dom_html_script_element_get_html_for(
+ dom_html_script_element *element, dom_string **html_for);
+
+dom_exception dom_html_script_element_set_html_for(
+ dom_html_script_element *element, dom_string *html_for);
+
+dom_exception dom_html_script_element_get_event(
+ dom_html_script_element *element, dom_string **event);
+
+dom_exception dom_html_script_element_set_event(
+ dom_html_script_element *ele, dom_string *event);
+
+dom_exception dom_html_script_element_get_charset(
+ dom_html_script_element *ele, dom_string **charset);
+
+dom_exception dom_html_script_element_set_charset(
+ dom_html_script_element *ele, dom_string *charset);
+
+dom_exception dom_html_script_element_get_src(
+ dom_html_script_element *ele, dom_string **src);
+
+dom_exception dom_html_script_element_set_src(
+ dom_html_script_element *ele, dom_string *src);
+
+dom_exception dom_html_script_element_get_type(
+ dom_html_script_element *ele, dom_string **type);
+
+dom_exception dom_html_script_element_set_type(
+ dom_html_script_element *ele, dom_string *type);
+
+#endif
diff --git a/include/dom/html/html_style_element.h b/include/dom/html/html_style_element.h
index 868a043..5b3cd41 100644
--- a/include/dom/html/html_style_element.h
+++ b/include/dom/html/html_style_element.h
@@ -10,6 +10,7 @@
#include <stdbool.h>
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
typedef struct dom_html_style_element dom_html_style_element;
@@ -19,5 +20,17 @@ dom_exception dom_html_style_element_get_disabled(dom_html_style_element *ele,
dom_exception dom_html_style_element_set_disabled(dom_html_style_element *ele,
bool disabled);
+dom_exception dom_html_style_element_get_media(dom_html_style_element *ele,
+ dom_string **media);
+
+dom_exception dom_html_style_element_set_media(dom_html_style_element *ele,
+ dom_string *media);
+
+dom_exception dom_html_style_element_get_type(dom_html_style_element *ele,
+ dom_string **type);
+
+dom_exception dom_html_style_element_set_type(dom_html_style_element *ele,
+ dom_string *type);
+
#endif
diff --git a/include/dom/html/html_table_element.h b/include/dom/html/html_table_element.h
index 2e182d5..6fcd7ed 100644
--- a/include/dom/html/html_table_element.h
+++ b/include/dom/html/html_table_element.h
@@ -3,5 +3,128 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_table_element_h_
+#define dom_html_table_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include<dom/html/html_element.h>
+#include<dom/html/html_tablecaption_element.h>
+#include<dom/html/html_tablesection_element.h>
+#include<dom/html/html_tablerow_element.h>
+
+typedef struct dom_html_table_element dom_html_table_element;
+
+dom_exception dom_html_table_element_get_caption(
+ dom_html_table_element *element, dom_html_table_caption_element **caption);
+
+dom_exception dom_html_table_element_set_caption(
+ dom_html_table_element *element, dom_html_table_caption_element *caption);
+
+dom_exception dom_html_table_element_get_t_head(
+ dom_html_table_element *element, dom_html_table_section_element **t_head);
+
+dom_exception dom_html_table_element_set_t_head(
+ dom_html_table_element *element, dom_html_table_section_element *t_head);
+
+dom_exception dom_html_table_element_get_t_foot(
+ dom_html_table_element *element, dom_html_table_section_element **t_foot);
+
+dom_exception dom_html_table_element_set_t_foot(
+ dom_html_table_element *element, dom_html_table_section_element *t_foot);
+
+dom_exception dom_html_table_element_get_rows(
+ dom_html_table_element *element, dom_html_collection **rows);
+
+dom_exception dom_html_table_element_get_t_bodies(
+ dom_html_table_element *element, dom_html_collection **t_bodies);
+
+dom_exception dom_html_table_element_get_align(
+ dom_html_table_element *table, dom_string **align);
+
+dom_exception dom_html_table_element_set_align(
+ dom_html_table_element *table, dom_string *align);
+
+dom_exception dom_html_table_element_get_bg_color(
+ dom_html_table_element *table, dom_string **bg_color);
+
+dom_exception dom_html_table_element_set_bg_color(
+ dom_html_table_element *table, dom_string *bg_color);
+
+dom_exception dom_html_table_element_get_border(
+ dom_html_table_element *table, dom_string **border);
+
+dom_exception dom_html_table_element_set_border(
+ dom_html_table_element *table, dom_string *border);
+
+dom_exception dom_html_table_element_get_cell_padding(
+ dom_html_table_element *table, dom_string **cell_padding);
+
+dom_exception dom_html_table_element_set_cell_padding(
+ dom_html_table_element *table, dom_string *cell_padding);
+
+dom_exception dom_html_table_element_get_cell_spacing(
+ dom_html_table_element *table, dom_string **cell_spacing);
+
+dom_exception dom_html_table_element_set_cell_spacing(
+ dom_html_table_element *table, dom_string *cell_spacing);
+
+dom_exception dom_html_table_element_get_frame(
+ dom_html_table_element *table, dom_string **frame);
+
+dom_exception dom_html_table_element_set_frame(
+ dom_html_table_element *table, dom_string *frame);
+
+dom_exception dom_html_table_element_get_rules(
+ dom_html_table_element *table, dom_string **rules);
+
+dom_exception dom_html_table_element_set_rules(
+ dom_html_table_element *table, dom_string *rules);
+
+dom_exception dom_html_table_element_get_summary(
+ dom_html_table_element *table, dom_string **summary);
+
+dom_exception dom_html_table_element_set_summary(
+ dom_html_table_element *table, dom_string *summary);
+
+dom_exception dom_html_table_element_get_width(
+ dom_html_table_element *table, dom_string **width);
+
+dom_exception dom_html_table_element_set_width(
+ dom_html_table_element *table, dom_string *width);
+
+dom_exception dom_html_table_element_create_caption(
+ dom_html_table_element *element,
+ dom_html_element **caption);
+
+dom_exception dom_html_table_element_delete_caption(
+ dom_html_table_element *element);
+
+dom_exception dom_html_table_element_create_t_head(
+ dom_html_table_element *element,
+ dom_html_element **t_head);
+
+dom_exception dom_html_table_element_delete_t_head(
+ dom_html_table_element *element);
+
+dom_exception dom_html_table_element_create_t_foot(
+ dom_html_table_element *element,
+ dom_html_element **t_foot);
+
+dom_exception dom_html_table_element_delete_t_foot(
+ dom_html_table_element *element);
+
+dom_exception dom_html_table_element_insert_row(
+ dom_html_table_element *element,
+ int32_t index, dom_html_element **row);
+
+dom_exception dom_html_table_element_delete_row(
+ dom_html_table_element *element,
+ int32_t index);
+
+#endif
diff --git a/include/dom/html/html_tablecaption_element.h b/include/dom/html/html_tablecaption_element.h
index 2e182d5..412efae 100644
--- a/include/dom/html/html_tablecaption_element.h
+++ b/include/dom/html/html_tablecaption_element.h
@@ -3,5 +3,21 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_table_caption_element_h_
+#define dom_html_table_caption_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_table_caption_element dom_html_table_caption_element;
+
+dom_exception dom_html_table_caption_element_get_align(
+ dom_html_table_caption_element *element, dom_string **align);
+
+dom_exception dom_html_table_caption_element_set_align(
+ dom_html_table_caption_element *element, dom_string *align);
+
+#endif
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
+
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
+
diff --git a/include/dom/html/html_tablerow_element.h b/include/dom/html/html_tablerow_element.h
index 2e182d5..897e243 100644
--- a/include/dom/html/html_tablerow_element.h
+++ b/include/dom/html/html_tablerow_element.h
@@ -3,5 +3,67 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_table_row_element_h_
+#define dom_html_table_row_element_h_
+
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+#include<dom/html/html_element.h>
+#include<dom/html/html_collection.h>
+
+typedef struct dom_html_table_row_element dom_html_table_row_element;
+
+dom_exception dom_html_table_row_element_get_align(
+ dom_html_table_row_element *table, dom_string **align);
+
+dom_exception dom_html_table_row_element_set_align(
+ dom_html_table_row_element *table, dom_string *align);
+
+dom_exception dom_html_table_row_element_get_bg_color(
+ dom_html_table_row_element *table, dom_string **bg_color);
+
+dom_exception dom_html_table_row_element_set_bg_color(
+ dom_html_table_row_element *table, dom_string *bg_color);
+
+dom_exception dom_html_table_row_element_get_ch(
+ dom_html_table_row_element *table, dom_string **ch);
+
+dom_exception dom_html_table_row_element_set_ch(
+ dom_html_table_row_element *table, dom_string *ch);
+
+dom_exception dom_html_table_row_element_get_ch_off(
+ dom_html_table_row_element *table, dom_string **ch_off);
+
+dom_exception dom_html_table_row_element_set_ch_off(
+ dom_html_table_row_element *table, dom_string *ch_off);
+
+dom_exception dom_html_table_row_element_get_v_align(
+ dom_html_table_row_element *table, dom_string **v_align);
+
+dom_exception dom_html_table_row_element_set_v_align(
+ dom_html_table_row_element *table, dom_string *v_align);
+
+dom_exception dom_html_table_row_element_get_row_index(
+ dom_html_table_row_element *table, int32_t *index);
+
+dom_exception dom_html_table_row_element_get_section_row_index(
+ dom_html_table_row_element *table_row, int32_t *section_row_index);
+
+dom_exception dom_html_table_row_element_get_cells(
+ dom_html_table_row_element *element,
+ dom_html_collection **cells);
+
+dom_exception dom_html_table_row_element_delete_cell(
+ dom_html_table_row_element *element,
+ int32_t index);
+
+dom_exception dom_html_table_row_element_insert_cell(
+ dom_html_table_row_element *element,
+ int32_t index, dom_html_element **cell);
+
+#endif
diff --git a/include/dom/html/html_tablesection_element.h b/include/dom/html/html_tablesection_element.h
index 2e182d5..bceec18 100644
--- a/include/dom/html/html_tablesection_element.h
+++ b/include/dom/html/html_tablesection_element.h
@@ -3,5 +3,57 @@
* 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
+
diff --git a/include/dom/html/html_ulist_element.h b/include/dom/html/html_ulist_element.h
index 2e182d5..c5daa6a 100644
--- a/include/dom/html/html_ulist_element.h
+++ b/include/dom/html/html_ulist_element.h
@@ -3,5 +3,27 @@
* 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 <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_u_list_element_h_
+#define dom_html_u_list_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_u_list_element dom_html_u_list_element;
+
+dom_exception dom_html_u_list_element_get_compact(
+ dom_html_u_list_element *ele, bool *compact);
+
+dom_exception dom_html_u_list_element_set_compact(
+ dom_html_u_list_element *ele, bool compact);
+
+dom_exception dom_html_u_list_element_get_type(
+ dom_html_u_list_element *ele, dom_string **type);
+
+dom_exception dom_html_u_list_element_set_type(
+ dom_html_u_list_element *ele, dom_string *type);
+
+#endif