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 } |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
|
inline |
Definition at line 1243 of file docnode.h.
References attribs(), DocCompoundNode::DocCompoundNode(), m_attribs, DocNode::parent(), and DocNode::parser().
|
inline |
Definition at line 1246 of file docnode.h.
References m_attribs.
Referenced by DocHtmlRow(), DocbookDocVisitor::operator()(), and HtmlDocVisitor::operator()().
bool DocHtmlRow::isHeading | ( | ) | const |
Definition at line 1883 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().
|
inline |
Definition at line 1245 of file docnode.h.
References DocCompoundNode::children(), and GrowVector< T >::size().
Referenced by RTFDocVisitor::operator()().
Token DocHtmlRow::parse | ( | ) |
Definition at line 1898 of file docnode.cpp.
References DocNodeList::append(), TokenInfo::attribs, AUTO_TRACE, DocCompoundNode::children(), DocParser::context, FALSE, DocNodeList::get_last(), HTML_TD, HTML_TH, Mappers::htmlTagMapper, Token::is(), Token::is_any_of(), isHeading(), DocTokenizer::lex(), DocHtmlCell::markFirst(), DocHtmlCell::markLast(), DocHtmlCell::parse(), DocNode::parser(), DocTokenizer::pushBackHtmlTag(), qPrint(), DocNode::thisVariant(), Token::to_string(), DocParserContext::token, DocParser::tokenizer, TRUE, and warn_doc_error.
Token DocHtmlRow::parseXml | ( | bool | header | ) |
Definition at line 1963 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(), qPrint(), DocNode::thisVariant(), Token::to_string(), DocParserContext::token, DocParser::tokenizer, TRUE, warn_doc_error, XML_DESCRIPTION, and XML_TERM.
|
inline |
Definition at line 1252 of file docnode.h.
References m_rowIdx.
Referenced by LatexDocVisitor::operator()().
|
inlineprivate |
Definition at line 1255 of file docnode.h.
References m_rowIdx.
Referenced by DocHtmlTable::computeTableGrid().
|
inline |
Definition at line 1250 of file docnode.h.
References m_visibleCells.
Referenced by DocHtmlTable::computeTableGrid().
|
inline |
|
friend |
|
private |
Definition at line 1256 of file docnode.h.
Referenced by attribs(), and DocHtmlRow().
|
private |
Definition at line 1258 of file docnode.h.
Referenced by rowIndex(), and setRowIndex().
|
private |
Definition at line 1257 of file docnode.h.
Referenced by setVisibleCells(), and visibleCells().