The DocHtmlCell
Class Reference
Node representing a HTML table cell. More...
Declaration
Included Headers
Base class
class | DocCompoundNode |
Base class for nodes with children. More... | |
Enumerations Index
enum | Alignment { ... } |
enum | Valignment { ... } |
Friends Index
class | DocHtmlTable |
Public Constructors Index
DocHtmlCell (DocParser *parser, DocNodeVariant *parent, const HtmlAttribList &attribs, bool isHeading) | |
Public Member Functions Index
bool | isHeading () const |
bool | isFirst () const |
bool | isLast () const |
void | markFirst (bool v=TRUE) |
void | markLast (bool v=TRUE) |
const HtmlAttribList & | attribs () const |
Token | parse () |
Token | parseXml () |
uint32_t | rowIndex () const |
uint32_t | columnIndex () const |
uint32_t | rowSpan () const |
uint32_t | colSpan () const |
Alignment | alignment () const |
Valignment | valignment () const |
Private Member Functions Index
void | setRowIndex (uint32_t idx) |
void | setColumnIndex (uint32_t idx) |
Private Member Attributes Index
bool | m_isHeading = false |
bool | m_isFirst = false |
bool | m_isLast = false |
HtmlAttribList | m_attribs |
uint32_t | m_rowIdx = static_cast<uint32_t>(-1) |
uint32_t | m_colIdx = static_cast<uint32_t>(-1) |
Description
Node representing a HTML table cell.
Definition at line 1192 of file docnode.h.
Friends
DocHtmlTable
|
Definition at line 1194 of file docnode.h.
Reference DocHtmlTable.
Referenced by DocHtmlTable.
Public Constructors
DocHtmlCell()
| inline |
Definition at line 1198 of file docnode.h.
References attribs, DocCompoundNode::DocCompoundNode, isHeading, m_attribs, m_isHeading, DocNode::parent and DocNode::parser.
Public Member Functions
alignment()
|
Declaration at line 1212 of file docnode.h, definition at line 1862 of file docnode.cpp.
References attribs, Center, Left, QCString::lower, Right and QCString::startsWith.
Referenced by LatexDocVisitor::operator().
attribs()
| inline |
Definition at line 1205 of file docnode.h.
Reference m_attribs.
Referenced by align, alignment, colSpan, DocHtmlCell, DocbookDocVisitor::operator(), HtmlDocVisitor::operator(), XmlDocVisitor::operator(), rowSpan and valignment.
colSpan()
|
Declaration at line 1211 of file docnode.h, definition at line 1850 of file docnode.cpp.
Reference attribs.
Referenced by DocHtmlTable::computeTableGrid and LatexDocVisitor::operator().
columnIndex()
| inline |
Definition at line 1209 of file docnode.h.
Reference m_colIdx.
Referenced by LatexDocVisitor::operator().
isFirst()
| inline |
isHeading()
| inline |
Definition at line 1200 of file docnode.h.
Reference m_isHeading.
Referenced by DocHtmlCell, DocHtmlRow::isHeading, HtmlDocVisitor::operator(), LatexDocVisitor::operator(), PerlModDocVisitor::operator(), PrintDocVisitor::operator() and XmlDocVisitor::operator().
isLast()
| inline |
markFirst()
| inline |
Definition at line 1203 of file docnode.h.
References m_isFirst and TRUE.
Referenced by DocHtmlRow::parse and DocHtmlRow::parseXml.
markLast()
| inline |
Definition at line 1204 of file docnode.h.
Referenced by DocHtmlRow::parse and DocHtmlRow::parseXml.
parse()
|
Declaration at line 1206 of file docnode.h, definition at line 1770 of file docnode.cpp.
References DocNodeList::append, AUTO_TRACE, DocCompoundNode::children, FALSE, DocNodeList::get_last, HTML_TD, HTML_TH, Mappers::htmlTagMapper, Token::is, Token::is_any_of, isFirst, DocPara::markFirst, DocPara::markLast, DocPara::parse, DocNode::parser, DocNode::thisVariant and TRUE.
Referenced by DocHtmlRow::parse.
parseXml()
|
Declaration at line 1207 of file docnode.h, definition at line 1804 of file docnode.cpp.
References DocNodeList::append, AUTO_TRACE, DocCompoundNode::children, FALSE, DocNodeList::get_last, Mappers::htmlTagMapper, Token::is, isFirst, DocPara::markFirst, DocPara::markLast, DocPara::parse, DocNode::parser, DocNode::thisVariant, TRUE, XML_DESCRIPTION and XML_ITEM.
Referenced by DocHtmlRow::parseXml.
rowIndex()
| inline |
rowSpan()
|
Declaration at line 1210 of file docnode.h, definition at line 1838 of file docnode.cpp.
Reference attribs.
Referenced by DocHtmlTable::computeTableGrid and LatexDocVisitor::operator().
valignment()
|
Declaration at line 1213 of file docnode.h, definition at line 1900 of file docnode.cpp.
References attribs, Bottom, QCString::lower, Middle and Top.
Referenced by LatexDocVisitor::operator().
Private Member Functions
setColumnIndex()
| inline |
Definition at line 1217 of file docnode.h.
Reference m_colIdx.
Referenced by DocHtmlTable::computeTableGrid.
setRowIndex()
| inline |
Definition at line 1216 of file docnode.h.
Reference m_rowIdx.
Referenced by DocHtmlTable::computeTableGrid.
Private Member Attributes
m_attribs
|
Definition at line 1221 of file docnode.h.
Referenced by attribs and DocHtmlCell.
m_colIdx
|
Definition at line 1223 of file docnode.h.
Referenced by columnIndex and setColumnIndex.
m_isFirst
|
m_isHeading
|
Definition at line 1218 of file docnode.h.
Referenced by DocHtmlCell and isHeading.
m_isLast
|
m_rowIdx
|
Definition at line 1222 of file docnode.h.
Referenced by rowIndex and setRowIndex.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.