The DocHtmlRow
Class Reference
Node representing a HTML table row. More...
Declaration
Included Headers
Base class
class | DocCompoundNode |
Base class for nodes with children. More... | |
Friends Index
class | DocHtmlTable |
Public Constructors Index
DocHtmlRow (DocParser *parser, DocNodeVariant *parent, const HtmlAttribList &attribs) | |
Public Member Functions Index
size_t | numCells () const |
const HtmlAttribList & | attribs () const |
Token | parse () |
Token | parseXml (bool header) |
bool | isHeading () const |
void | setVisibleCells (uint32_t n) |
uint32_t | visibleCells () const |
uint32_t | rowIndex () const |
Private Member Functions Index
void | setRowIndex (uint32_t idx) |
Private Member Attributes Index
HtmlAttribList | m_attribs |
uint32_t | m_visibleCells = 0 |
uint32_t | m_rowIdx = static_cast<uint32_t>(-1) |
Description
Node representing a HTML table row.
Definition at line 1245 of file docnode.h.
Friends
DocHtmlTable
|
Definition at line 1247 of file docnode.h.
Reference DocHtmlTable.
Referenced by DocHtmlTable.
Public Constructors
DocHtmlRow()
| inline |
Definition at line 1249 of file docnode.h.
References attribs, DocCompoundNode::DocCompoundNode, m_attribs, DocNode::parent and DocNode::parser.
Public Member Functions
attribs()
| inline |
Definition at line 1252 of file docnode.h.
Reference m_attribs.
Referenced by DocHtmlRow, DocbookDocVisitor::operator() and HtmlDocVisitor::operator().
isHeading()
|
Declaration at line 1255 of file docnode.h, definition at line 1922 of file docnode.cpp.
References DocCompoundNode::children, GrowVector< T >::empty, FALSE, DocHtmlCell::isHeading and TRUE.
Referenced by DocbookDocVisitor::operator(), LatexDocVisitor::operator(), RTFDocVisitor::operator(), parse and parseXml.
numCells()
| inline |
Definition at line 1251 of file docnode.h.
References DocCompoundNode::children and GrowVector< T >::size.
Referenced by RTFDocVisitor::operator().
parse()
|
Declaration at line 1253 of file docnode.h, definition at line 1937 of file docnode.cpp.
References DocNodeList::append, TokenInfo::attribs, AUTO_TRACE, DocCompoundNode::children, DocParser::context, FALSE, DocNodeList::get_last, HTML_TABLE, HTML_TD, HTML_TH, HTML_TR, Mappers::htmlTagMapper, Token::is, Token::is_any_of, isHeading, DocTokenizer::lex, DocHtmlCell::markFirst, DocHtmlCell::markLast, DocHtmlCell::parse, DocNode::parser, DocTokenizer::pushBackHtmlTag, DocNode::thisVariant, Token::to_string, DocParserContext::token, DocParser::tokenizer, TRUE and warn_doc_error.
parseXml()
|
Declaration at line 1254 of file docnode.h, definition at line 2049 of file docnode.cpp.
References DocNodeList::append, TokenInfo::attribs, AUTO_TRACE, DocCompoundNode::children, DocParser::context, FALSE, DocNodeList::get_last, Mappers::htmlTagMapper, Token::is, Token::is_any_of, isHeading, DocTokenizer::lex, DocHtmlCell::markFirst, DocHtmlCell::markLast, DocNode::parser, DocHtmlCell::parseXml, DocTokenizer::pushBackHtmlTag, DocNode::thisVariant, Token::to_string, DocParserContext::token, DocParser::tokenizer, TRUE, warn_doc_error, XML_DESCRIPTION and XML_TERM.
rowIndex()
| inline |
setVisibleCells()
| inline |
Definition at line 1256 of file docnode.h.
Reference m_visibleCells.
Referenced by DocHtmlTable::computeTableGrid.
visibleCells()
| inline |
Definition at line 1257 of file docnode.h.
Reference m_visibleCells.
Private Member Functions
setRowIndex()
| inline |
Definition at line 1261 of file docnode.h.
Reference m_rowIdx.
Referenced by DocHtmlTable::computeTableGrid.
Private Member Attributes
m_attribs
|
Definition at line 1262 of file docnode.h.
Referenced by attribs and DocHtmlRow.
m_rowIdx
|
Definition at line 1264 of file docnode.h.
Referenced by rowIndex and setRowIndex.
m_visibleCells
|
Definition at line 1263 of file docnode.h.
Referenced by setVisibleCells and visibleCells.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.