libdom
Loading...
Searching...
No Matches
Typedefs | Functions
html_table_element.h File Reference
#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>

Go to the source code of this file.

Typedefs

typedef struct dom_html_table_element dom_html_table_element
 

Functions

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_out)
 
dom_exception dom_html_table_element_delete_row (dom_html_table_element *element, int32_t index)
 

Typedef Documentation

◆ dom_html_table_element

typedef struct dom_html_table_element dom_html_table_element

Function Documentation

◆ dom_html_table_element_create_caption()

dom_exception dom_html_table_element_create_caption ( dom_html_table_element * element,
dom_html_element ** caption )

Get or Create the table caption

Parameters
elementThe dom_html_table_element object
captionThe Status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_create_t_foot()

dom_exception dom_html_table_element_create_t_foot ( dom_html_table_element * element,
dom_html_element ** t_foot )

Get or Create the table Foot

Parameters
elementThe dom_html_table_element object
t_footThe Status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_create_t_head()

dom_exception dom_html_table_element_create_t_head ( dom_html_table_element * element,
dom_html_element ** t_head )

Get or Create the table Head

Parameters
elementThe dom_html_table_element object
t_headThe Status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_delete_caption()

dom_exception dom_html_table_element_delete_caption ( dom_html_table_element * element)

Delete the table caption, if one exists

Parameters
elementThe dom_html_table_element object
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_delete_row()

dom_exception dom_html_table_element_delete_row ( dom_html_table_element * element,
int32_t index )

Delete the table Head, if one exists

Parameters
elementThe dom_html_table_element object
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_delete_t_foot()

dom_exception dom_html_table_element_delete_t_foot ( dom_html_table_element * element)

Delete the table Foot, if one exists

Parameters
elementThe dom_html_table_element object
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_delete_t_head()

dom_exception dom_html_table_element_delete_t_head ( dom_html_table_element * element)

Delete the table Head, if one exists

Parameters
elementThe dom_html_table_element object
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_get_align()

dom_exception dom_html_table_element_get_align ( dom_html_table_element * table,
dom_string ** align )

◆ dom_html_table_element_get_bg_color()

dom_exception dom_html_table_element_get_bg_color ( dom_html_table_element * table,
dom_string ** bg_color )

◆ dom_html_table_element_get_border()

dom_exception dom_html_table_element_get_border ( dom_html_table_element * table,
dom_string ** border )

◆ dom_html_table_element_get_caption()

dom_exception dom_html_table_element_get_caption ( dom_html_table_element * table,
dom_html_table_caption_element ** caption )

Get the caption Attribute

Parameters
tableThe dom_html_table_element object

◆ dom_html_table_element_get_cell_padding()

dom_exception dom_html_table_element_get_cell_padding ( dom_html_table_element * table,
dom_string ** cell_padding )

◆ dom_html_table_element_get_cell_spacing()

dom_exception dom_html_table_element_get_cell_spacing ( dom_html_table_element * table,
dom_string ** cell_spacing )

◆ dom_html_table_element_get_frame()

dom_exception dom_html_table_element_get_frame ( dom_html_table_element * table,
dom_string ** frame )

◆ dom_html_table_element_get_rows()

dom_exception dom_html_table_element_get_rows ( dom_html_table_element * element,
dom_html_collection ** rows )

Get the rows collection

Parameters
elementThe dom_html_table_element object
rowsThe Status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_get_rules()

dom_exception dom_html_table_element_get_rules ( dom_html_table_element * table,
dom_string ** rules )

◆ dom_html_table_element_get_summary()

dom_exception dom_html_table_element_get_summary ( dom_html_table_element * table,
dom_string ** summary )

◆ dom_html_table_element_get_t_bodies()

dom_exception dom_html_table_element_get_t_bodies ( dom_html_table_element * element,
dom_html_collection ** t_bodies )

Get the tBodies collection

Parameters
elementThe dom_html_table_element object
t_bodiesThe Status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_get_t_foot()

dom_exception dom_html_table_element_get_t_foot ( dom_html_table_element * table,
dom_html_table_section_element ** t_foot )

Get the t_foot Attribute

Parameters
tableThe dom_html_table_element object

◆ dom_html_table_element_get_t_head()

dom_exception dom_html_table_element_get_t_head ( dom_html_table_element * table,
dom_html_table_section_element ** t_head )

Get the t_head Attribute

Parameters
tableThe dom_html_table_element object

◆ dom_html_table_element_get_width()

dom_exception dom_html_table_element_get_width ( dom_html_table_element * table,
dom_string ** width )

◆ dom_html_table_element_insert_row()

dom_exception dom_html_table_element_insert_row ( dom_html_table_element * element,
int32_t index,
dom_html_element ** row_out )

Insert a new Row into the table

Parameters
elementThe dom_html_table_element object
indexThe Index to insert the Row
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_element_set_align()

dom_exception dom_html_table_element_set_align ( dom_html_table_element * table,
dom_string * align )

◆ dom_html_table_element_set_bg_color()

dom_exception dom_html_table_element_set_bg_color ( dom_html_table_element * table,
dom_string * bg_color )

◆ dom_html_table_element_set_border()

dom_exception dom_html_table_element_set_border ( dom_html_table_element * table,
dom_string * border )

◆ dom_html_table_element_set_caption()

dom_exception dom_html_table_element_set_caption ( dom_html_table_element * table,
dom_html_table_caption_element * caption )

Set the caption Attribute

Parameters
tableThe dom_html_table_element object
tableThe dom_html_table_element object

◆ dom_html_table_element_set_cell_padding()

dom_exception dom_html_table_element_set_cell_padding ( dom_html_table_element * table,
dom_string * cell_padding )

◆ dom_html_table_element_set_cell_spacing()

dom_exception dom_html_table_element_set_cell_spacing ( dom_html_table_element * table,
dom_string * cell_spacing )

◆ dom_html_table_element_set_frame()

dom_exception dom_html_table_element_set_frame ( dom_html_table_element * table,
dom_string * frame )

◆ dom_html_table_element_set_rules()

dom_exception dom_html_table_element_set_rules ( dom_html_table_element * table,
dom_string * rules )

◆ dom_html_table_element_set_summary()

dom_exception dom_html_table_element_set_summary ( dom_html_table_element * table,
dom_string * summary )

◆ dom_html_table_element_set_t_foot()

dom_exception dom_html_table_element_set_t_foot ( dom_html_table_element * table,
dom_html_table_section_element * t_foot )

Set the t_foot Attribute

Parameters
tableThe dom_html_table_element object

◆ dom_html_table_element_set_t_head()

dom_exception dom_html_table_element_set_t_head ( dom_html_table_element * table,
dom_html_table_section_element * t_head )

Set the t_head Attribute

Parameters
tableThe dom_html_table_element object
tableThe dom_html_table_element object

◆ dom_html_table_element_set_width()

dom_exception dom_html_table_element_set_width ( dom_html_table_element * table,
dom_string * width )