|
Doxygen
|
Node representing a HTML table row. More...
#include <src/docnode.h>
Public Member Functions | |
| DocHtmlRow (DocParser *parser, DocNodeVariant *parent, const HtmlAttribList &attribs) | |
| 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 |
| Public Member Functions inherited from DocCompoundNode | |
| DocCompoundNode (DocParser *parser, DocNodeVariant *parent) | |
| DocNodeList & | children () |
| const DocNodeList & | children () const |
| Public Member Functions inherited from DocNode | |
| DocNode (DocParser *parser, DocNodeVariant *parent) | |
| ~DocNode ()=default | |
| DocNodeVariant * | parent () |
| const DocNodeVariant * | parent () const |
| DocNodeVariant * | thisVariant () |
| const DocNodeVariant * | thisVariant () const |
| void | setThisVariant (DocNodeVariant *thisVariant) |
| DocParser * | parser () |
| const DocParser * | parser () const |
| void | setParent (DocNodeVariant *parent) |
| bool | isPreformatted () const |
Private Member Functions | |
| void | setRowIndex (uint32_t idx) |
Private Attributes | |
| HtmlAttribList | m_attribs |
| uint32_t | m_visibleCells = 0 |
| uint32_t | m_rowIdx = static_cast<uint32_t>(-1) |
Friends | |
| class | DocHtmlTable |
Additional Inherited Members | |
| Protected Types inherited from DocNode | |
| enum | RefType { Unknown , Anchor , Section , Table , Requirement } |
| Protected Member Functions inherited from DocNode | |
| void | setInsidePreformatted (bool p) |
|
inline |
Definition at line 1247 of file docnode.h.
References attribs(), DocCompoundNode::DocCompoundNode(), m_attribs, DocNode::parent(), and DocNode::parser().
|
inline |
Definition at line 1250 of file docnode.h.
References m_attribs.
Referenced by DocHtmlRow(), DocbookDocVisitor::operator()(), and HtmlDocVisitor::operator()().
| bool DocHtmlRow::isHeading | ( | ) | const |
Definition at line 1954 of file docnode.cpp.
References DocCompoundNode::children(), GrowVector< T >::empty(), FALSE, DocHtmlCell::isHeading(), and TRUE.
Referenced by DocHtmlTable::numberHeaderRows(), DocbookDocVisitor::operator()(), RTFDocVisitor::operator()(), parse(), and parseXml().
|
inline |
Definition at line 1249 of file docnode.h.
References DocCompoundNode::children(), and GrowVector< T >::size().
Referenced by RTFDocVisitor::operator()().
| Token DocHtmlRow::parse | ( | ) |
Definition at line 2029 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(), DocHtmlCell::markFirst(), DocHtmlCell::markLast(), DocHtmlCell::parse(), DocNode::parser(), DocTokenizer::pushBackHtmlTag(), skipSpacesForTable(), DocNode::thisVariant(), Token::to_string(), DocParserContext::token, DocParser::tokenizer, TRUE, and warn_doc_error.
| Token DocHtmlRow::parseXml | ( | bool | header | ) |
Definition at line 2136 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.
|
inline |
|
inlineprivate |
Definition at line 1259 of file docnode.h.
References m_rowIdx.
Referenced by DocHtmlTable::computeTableGrid().
|
inline |
Definition at line 1254 of file docnode.h.
References m_visibleCells.
Referenced by DocHtmlTable::computeTableGrid().
|
inline |
|
friend |
|
private |
Definition at line 1260 of file docnode.h.
Referenced by attribs(), and DocHtmlRow().
|
private |
Definition at line 1262 of file docnode.h.
Referenced by rowIndex(), and setRowIndex().
|
private |
Definition at line 1261 of file docnode.h.
Referenced by setVisibleCells(), and visibleCells().