#include <docparser.h>
Public Member Functions | |
DocHtmlCell (DocNode *parent, const HtmlAttribList &attribs, bool isHeading) | |
bool | isHeading () const |
bool | isFirst () const |
bool | isLast () const |
Kind | kind () const |
void | accept (DocVisitor *v) |
void | markFirst (bool v=TRUE) |
void | markLast (bool v=TRUE) |
const HtmlAttribList & | attribs () const |
int | parse () |
int | parseXml () |
int | rowIndex () const |
int | columnIndex () const |
int | rowSpan () const |
int | colSpan () const |
Alignment | alignment () const |
Public Member Functions inherited from CompAccept< DocHtmlCell > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocHtmlCell *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 | setRowIndex (int idx) |
void | setColumnIndex (int idx) |
Private Attributes | |
bool | m_isHeading |
bool | m_isFirst |
bool | m_isLast |
HtmlAttribList | m_attribs |
int | m_rowIdx |
int | m_colIdx |
Friends | |
class | DocHtmlTable |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from CompAccept< DocHtmlCell > | |
QList< DocNode > | m_children |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing a HTML table cell
Definition at line 1251 of file docparser.h.
Enumerator | |
---|---|
Left | |
Right | |
Center |
Definition at line 1255 of file docparser.h.
|
inline |
Definition at line 1256 of file docparser.h.
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1264 of file docparser.h.
DocHtmlCell::Alignment DocHtmlCell::alignment | ( | ) | const |
Definition at line 3465 of file docparser.cpp.
|
inline |
Definition at line 1267 of file docparser.h.
int DocHtmlCell::colSpan | ( | ) | const |
Definition at line 3449 of file docparser.cpp.
|
inline |
Definition at line 1271 of file docparser.h.
|
inline |
Definition at line 1261 of file docparser.h.
|
inline |
Definition at line 1260 of file docparser.h.
|
inline |
Definition at line 1262 of file docparser.h.
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1263 of file docparser.h.
Definition at line 1265 of file docparser.h.
Definition at line 1266 of file docparser.h.
int DocHtmlCell::parse | ( | ) |
Definition at line 3359 of file docparser.cpp.
int DocHtmlCell::parseXml | ( | ) |
Definition at line 3396 of file docparser.cpp.
|
inline |
Definition at line 1270 of file docparser.h.
int DocHtmlCell::rowSpan | ( | ) | const |
Definition at line 3433 of file docparser.cpp.
|
inlineprivate |
Definition at line 1278 of file docparser.h.
|
inlineprivate |
Definition at line 1277 of file docparser.h.
|
friend |
Definition at line 1253 of file docparser.h.
|
private |
Definition at line 1282 of file docparser.h.
|
private |
Definition at line 1284 of file docparser.h.
|
private |
Definition at line 1280 of file docparser.h.
|
private |
Definition at line 1279 of file docparser.h.
|
private |
Definition at line 1281 of file docparser.h.
|
private |
Definition at line 1283 of file docparser.h.