libdom
Loading...
Searching...
No Matches
html_tablerow_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_collection.h>

Go to the source code of this file.

Typedefs

typedef struct dom_html_table_row_element dom_html_table_row_element
 

Functions

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)
 

Typedef Documentation

◆ dom_html_table_row_element

typedef struct dom_html_table_row_element dom_html_table_row_element

Function Documentation

◆ dom_html_table_row_element_delete_cell()

dom_exception dom_html_table_row_element_delete_cell ( dom_html_table_row_element * element,
int32_t index )

Delete Cell at given Index

Parameters
elementThe dom_html_table_row_element object
indexThe Index of the Cell node to be deleted
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_row_element_get_align()

dom_exception dom_html_table_row_element_get_align ( dom_html_table_row_element * table,
dom_string ** align )

◆ dom_html_table_row_element_get_bg_color()

dom_exception dom_html_table_row_element_get_bg_color ( dom_html_table_row_element * table,
dom_string ** bg_color )

◆ dom_html_table_row_element_get_cells()

dom_exception dom_html_table_row_element_get_cells ( dom_html_table_row_element * element,
dom_html_collection ** cells )

Get the Cells 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_row_element_get_ch()

dom_exception dom_html_table_row_element_get_ch ( dom_html_table_row_element * table,
dom_string ** ch )

◆ dom_html_table_row_element_get_ch_off()

dom_exception dom_html_table_row_element_get_ch_off ( dom_html_table_row_element * table,
dom_string ** ch_off )

◆ dom_html_table_row_element_get_row_index()

dom_exception dom_html_table_row_element_get_row_index ( dom_html_table_row_element * table_row,
int32_t * row_index )

Get the index of the Row in logical order

Parameters
elementThe dom_html_table_row_element object
indexThe Status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_row_element_get_section_row_index()

dom_exception dom_html_table_row_element_get_section_row_index ( dom_html_table_row_element * table_row,
int32_t * section_row_index )

Get the index of a row within its Section

Parameters
elementThe dom_html_table_row_element object
indexThe Status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_row_element_get_v_align()

dom_exception dom_html_table_row_element_get_v_align ( dom_html_table_row_element * table,
dom_string ** v_align )

◆ dom_html_table_row_element_insert_cell()

dom_exception dom_html_table_row_element_insert_cell ( dom_html_table_row_element * element,
int32_t index,
dom_html_element ** cell )

Insert Cell before the given Index

Parameters
elementThe dom_html_table_row_element object
indexThe Index of the Cell node to be inserted
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_table_row_element_set_align()

dom_exception dom_html_table_row_element_set_align ( dom_html_table_row_element * table,
dom_string * align )

◆ dom_html_table_row_element_set_bg_color()

dom_exception dom_html_table_row_element_set_bg_color ( dom_html_table_row_element * table,
dom_string * bg_color )

◆ dom_html_table_row_element_set_ch()

dom_exception dom_html_table_row_element_set_ch ( dom_html_table_row_element * table,
dom_string * ch )

◆ dom_html_table_row_element_set_ch_off()

dom_exception dom_html_table_row_element_set_ch_off ( dom_html_table_row_element * table,
dom_string * ch_off )

◆ dom_html_table_row_element_set_v_align()

dom_exception dom_html_table_row_element_set_v_align ( dom_html_table_row_element * table,
dom_string * v_align )