33#include <dom/html_element.h>
34#include <tdelibs_export.h>
38class HTMLTableCaptionElementImpl;
47class TDEHTML_EXPORT HTMLTableCaptionElement :
public HTMLElement
49 friend class HTMLTableElement;
52 HTMLTableCaptionElement();
53 HTMLTableCaptionElement(
const HTMLTableCaptionElement &other);
54 HTMLTableCaptionElement(
const Node &other) : HTMLElement()
57 HTMLTableCaptionElement(HTMLTableCaptionElementImpl *impl);
60 HTMLTableCaptionElement & operator = (
const HTMLTableCaptionElement &other);
61 HTMLTableCaptionElement & operator = (
const Node &other);
63 ~HTMLTableCaptionElement();
82class HTMLTableCellElementImpl;
91class TDEHTML_EXPORT HTMLTableCellElement :
public HTMLElement
93 friend class HTMLTableElement;
96 HTMLTableCellElement();
97 HTMLTableCellElement(
const HTMLTableCellElement &other);
98 HTMLTableCellElement(
const Node &other) : HTMLElement()
101 HTMLTableCellElement(HTMLTableCellElementImpl *impl);
104 HTMLTableCellElement & operator = (
const HTMLTableCellElement &other);
105 HTMLTableCellElement & operator = (
const Node &other);
107 ~HTMLTableCellElement();
313class HTMLTableColElementImpl;
322class TDEHTML_EXPORT HTMLTableColElement :
public HTMLElement
324 friend class HTMLTableElement;
327 HTMLTableColElement();
328 HTMLTableColElement(
const HTMLTableColElement &other);
329 HTMLTableColElement(
const Node &other) : HTMLElement()
332 HTMLTableColElement(HTMLTableColElementImpl *impl);
335 HTMLTableColElement & operator = (
const HTMLTableColElement &other);
336 HTMLTableColElement & operator = (
const Node &other);
338 ~HTMLTableColElement();
422class HTMLTableElementImpl;
441class TDEHTML_EXPORT HTMLTableElement :
public HTMLElement
445 HTMLTableElement(
const HTMLTableElement &other);
446 HTMLTableElement(
const Node &other) : HTMLElement()
450 HTMLTableElement(HTMLTableElementImpl *impl);
453 HTMLTableElement & operator = (
const HTMLTableElement &other);
454 HTMLTableElement & operator = (
const Node &other);
475 HTMLTableSectionElement
tHead()
const;
480 void setTHead(
const HTMLTableSectionElement & );
487 HTMLTableSectionElement
tFoot()
const;
492 void setTFoot(
const HTMLTableSectionElement & );
714class HTMLTableRowElementImpl;
725class TDEHTML_EXPORT HTMLTableRowElement :
public HTMLElement
727 friend class HTMLTableElement;
730 HTMLTableRowElement();
731 HTMLTableRowElement(
const HTMLTableRowElement &other);
732 HTMLTableRowElement(
const Node &other) : HTMLElement()
736 HTMLTableRowElement(HTMLTableRowElementImpl *impl);
739 HTMLTableRowElement & operator = (
const HTMLTableRowElement &other);
740 HTMLTableRowElement & operator = (
const Node &other);
742 ~HTMLTableRowElement();
885class HTMLTableSectionElementImpl;
895class TDEHTML_EXPORT HTMLTableSectionElement :
public HTMLElement
897 friend class HTMLTableElement;
900 HTMLTableSectionElement();
901 HTMLTableSectionElement(
const HTMLTableSectionElement &other);
902 HTMLTableSectionElement(
const Node &other) : HTMLElement()
907 HTMLTableSectionElement(HTMLTableSectionElementImpl *impl);
910 HTMLTableSectionElement & operator = (
const HTMLTableSectionElement &other);
911 HTMLTableSectionElement & operator = (
const Node &other);
913 ~HTMLTableSectionElement();
This class implements the basic string we use in the DOM.
An HTMLCollection is a list of nodes.
All HTML element interfaces derive from this class.
Table caption See the CAPTION element definition in HTML 4.0.
DOMString align() const
Caption alignment with respect to the table.
void setAlign(const DOMString &)
see align
DOMString height() const
Cell height.
void setColSpan(long)
see colSpan
DOMString axis() const
Names group of related headers.
DOMString vAlign() const
Vertical alignment of data in cell.
DOMString chOff() const
Offset of alignment character.
void setCellIndex(long)
see cellIndex
void setHeight(const DOMString &)
see height
void setHeaders(const DOMString &)
see headers
void setVAlign(const DOMString &)
see vAlign
void setBgColor(const DOMString &)
see bgColor
void setAbbr(const DOMString &)
see abbr
long cellIndex() const
The index of this cell in the row.
DOMString headers() const
List of id attribute values for header cells.
void setScope(const DOMString &)
see scope
void setChOff(const DOMString &)
see chOff
long rowSpan() const
Number of rows spanned by cell.
DOMString ch() const
Alignment character for cells in a column.
DOMString width() const
Cell width.
void setNoWrap(bool)
see noWrap
void setCh(const DOMString &)
see ch
bool noWrap() const
Suppress word wrapping.
DOMString abbr() const
Abbreviation for header cells.
DOMString align() const
Horizontal alignment of data in cell.
void setWidth(const DOMString &)
see width
void setAxis(const DOMString &)
see axis
void setAlign(const DOMString &)
see align
void setRowSpan(long)
see rowSpan
DOMString bgColor() const
Cell background color.
long colSpan() const
Number of columns spanned by cell.
DOMString scope() const
Scope covered by header cells.
DOMString width() const
Default column width.
void setChOff(const DOMString &)
see chOff
void setWidth(const DOMString &)
see width
void setVAlign(const DOMString &)
see vAlign
void setAlign(const DOMString &)
see align
DOMString align() const
Horizontal alignment of cell data in column.
long span() const
Indicates the number of columns in a group or affected by a grouping.
void setSpan(long)
see span
DOMString chOff() const
Offset of alignment character.
DOMString ch() const
Alignment character for cells in a column.
DOMString vAlign() const
Vertical alignment of cell data in column.
void setCh(const DOMString &)
see ch
HTMLTableSectionElement tFoot() const
Returns the table's TFOOT , or null if none exists.
void deleteTFoot()
Delete the footer from the table, if one exists.
HTMLElement insertRow(long index)
Insert a new empty row in the table.
HTMLTableCaptionElement caption() const
Returns the table's CAPTION , or void if none exists.
HTMLElement createTHead()
Create a table header row or return an existing one.
void setAlign(const DOMString &)
see align
void setBorder(const DOMString &)
see border
void setFrame(const DOMString &)
see frame
void setCellPadding(const DOMString &)
see cellPadding
void setSummary(const DOMString &)
see summary
void setCellSpacing(const DOMString &)
see cellSpacing
DOMString summary() const
Supplementary description about the purpose or structure of a table.
void setRules(const DOMString &)
see rules
HTMLCollection rows() const
Returns a collection of all the rows in the table, including all in THEAD , TFOOT ,...
DOMString bgColor() const
Cell background color.
DOMString frame() const
Specifies which external table borders to render.
HTMLCollection tBodies() const
Returns a collection of the table bodies (including implicit ones).
void deleteRow(long index)
Delete a table row.
void setBgColor(const DOMString &)
see bgColor
DOMString cellPadding() const
Specifies the horizontal and vertical space between cell content and cell borders.
HTMLElement createCaption()
Create a new table caption object or return an existing one.
HTMLElement createTFoot()
Create a table footer row or return an existing one.
DOMString rules() const
Specifies which internal table borders to render.
void setCaption(const HTMLTableCaptionElement &)
see caption
void deleteCaption()
Delete the table caption, if one exists.
void setTFoot(const HTMLTableSectionElement &)
see tFoot
DOMString width() const
Specifies the desired table width.
HTMLTableSectionElement tHead() const
Returns the table's THEAD , or null if none exists.
DOMString border() const
The width of the border around the table.
DOMString align() const
Specifies the table's position with respect to the rest of the document.
void setTHead(const HTMLTableSectionElement &)
see tHead
void deleteTHead()
Delete the header from the table, if one exists.
void setWidth(const DOMString &)
see width
DOMString cellSpacing() const
Specifies the horizontal and vertical separation between cells.
DOMString align() const
Horizontal alignment of data within cells of this row.
DOMString ch() const
Alignment character for cells in a column.
void deleteCell(long index)
Delete a cell from the current row.
void setSectionRowIndex(long)
see sectionRowIndex
void setCh(const DOMString &)
see ch
DOMString chOff() const
Offset of alignment character.
long sectionRowIndex() const
The index of this row, relative to the current section ( THEAD , TFOOT , or TBODY ).
void setVAlign(const DOMString &)
see vAlign
void setBgColor(const DOMString &)
see bgColor
HTMLCollection cells() const
The collection of cells in this row.
DOMString vAlign() const
Vertical alignment of data within cells of this row.
HTMLElement insertCell(long index)
Insert an empty TD cell into this row.
DOMString bgColor() const
Background color for rows.
void setAlign(const DOMString &)
see align
void setCells(const HTMLCollection &)
see cells
void setChOff(const DOMString &)
see chOff
long rowIndex() const
The index of this row, relative to the entire table.
void setRowIndex(long)
see rowIndex
The THEAD , TFOOT , and TBODY elements.
void setCh(const DOMString &)
see ch
DOMString vAlign() const
Vertical alignment of data in cells.
void setVAlign(const DOMString &)
see vAlign
DOMString chOff() const
Offset of alignment character.
HTMLCollection rows() const
The collection of rows in this table section.
DOMString ch() const
Alignment character for cells in a column.
void setChOff(const DOMString &)
see chOff
void setAlign(const DOMString &)
see align
HTMLElement insertRow(long index)
Insert a row into this section.
DOMString align() const
Horizontal alignment of data in cells.
void deleteRow(long index)
Delete a row from this section.
The Node interface is the primary datatype for the entire Document Object Model.
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...