#include <docparser.h>
Public Member Functions | |
DocHtmlTable (DocNode *parent, const HtmlAttribList &attribs) | |
~DocHtmlTable () | |
Kind | kind () const |
uint | numRows () const |
bool | hasCaption () |
const HtmlAttribList & | attribs () const |
int | parse () |
int | parseXml () |
uint | numColumns () const |
void | accept (DocVisitor *v) |
DocHtmlCaption * | caption () const |
DocHtmlRow * | firstRow () const |
Public Member Functions inherited from CompAccept< DocHtmlTable > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocHtmlTable *obj, DocVisitor *v) |
const QList< DocNode > & | children () const |
QList< DocNode > & | children () |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Private Member Functions | |
void | computeTableGrid () |
Private Attributes | |
DocHtmlCaption * | m_caption |
HtmlAttribList | m_attribs |
int | m_numCols |
Node representing a HTML table
Definition at line 1345 of file docparser.h.
|
inline |
Definition at line 1348 of file docparser.h.
|
inline |
Definition at line 1350 of file docparser.h.
|
virtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 3803 of file docparser.cpp.
|
inline |
Definition at line 1354 of file docparser.h.
|
inline |
Definition at line 1359 of file docparser.h.
|
private |
determines the location of all cells in a grid, resolving row and column spans. For each the total number of visible cells is computed, and the total number of visible columns over all rows is stored.
Definition at line 3746 of file docparser.cpp.
|
inline |
Definition at line 1360 of file docparser.h.
|
inline |
Definition at line 1353 of file docparser.h.
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1351 of file docparser.h.
|
inline |
Definition at line 1357 of file docparser.h.
|
inline |
Definition at line 1352 of file docparser.h.
int DocHtmlTable::parse | ( | ) |
Definition at line 3616 of file docparser.cpp.
int DocHtmlTable::parseXml | ( | ) |
Definition at line 3686 of file docparser.cpp.
|
private |
Definition at line 1369 of file docparser.h.
|
private |
Definition at line 1368 of file docparser.h.
|
private |
Definition at line 1370 of file docparser.h.