TableCellElement

TableCellElement class

Represents a base class for table cell elements (TH and TD) in logical structure.

The TableCellElement type exposes the following members:

Properties

NameDescription
parent_elementNone
child_elementsNone
default_attribute_ownerGets
attributesGets
structure_typeGets type of structure element.
idGets the ID for structure element.
titleGets or sets the title for structure element.
languageGets or sets the language for structure element.
alternative_textGets or sets the alternative text for structure element.
expansion_textGets or sets the expansion text for structure element.
actual_textGets or sets the actual text for structure element.
background_colorGets or sets the cell background color.
borderGets or sets the cell border.
is_no_borderGets or sets the cell have border.
marginGets or sets the padding.
alignmentGets or sets the cell alignment.
default_cell_text_stateGets or sets the default cell text state.
is_word_wrappedGets or sets the cell’s text word wrapped.
vertical_alignmentGets or sets the vertical alignment.
col_spanGets or sets the column span.
row_spanGets or sets the row span.
structure_text_stateGets

Methods

NameDescription
append_child(element)None
change_parent_element(new_parent_element)Change parent element for current structure element
generate_id()Generate ID for structure element.
set_id(id)Sets ID for structure element.
clear_id()Clear ID for structure element.
set_tag(new_tag)Sets custom tag for structure element.
set_text(text)Appends text content to current text element.

See Also