The htmldocvisitor.cpp
File Reference
Included Headers
Enumerations Index
enum class | contexts_t { ... } |
Functions Index
static constexpr const char * | contexts (contexts_t type) |
static QCString | convertIndexWordToAnchor (const QCString &word) |
static bool | mustBeOutsideParagraph (const DocNodeVariant &n) |
static bool | isDocVerbatimVisible (const DocVerbatim &s) |
static bool | isDocIncludeVisible (const DocInclude &s) |
static bool | isDocIncOperatorVisible (const DocIncOperator &s) |
static bool | isInvisibleNode (const DocNodeVariant &node) |
static QCString | makeShortName (const QCString &name) |
static QCString | makeBaseName (const QCString &name) |
template <class Node> | |
static bool | holds_value (const Node *val, const DocNodeVariant &v) |
template <class T> | |
bool | isFirstChildNode (const T *parent, const DocPara &node) |
template <class T> | |
bool | isLastChildNode (const T *parent, const DocPara &node) |
bool | isSeparatedParagraph (const DocSimpleSect &parent, const DocPara &par) |
static contexts_t | getParagraphContext (const DocPara &p, bool &isFirst, bool &isLast) |
static bool | determineIfNeedsTag (const DocPara &p) |
static bool | insideStyleChangeThatIsOutsideParagraph (const DocPara *para, DocNodeList::const_iterator it) |
Returns TRUE if the child nodes in paragraph para until nodeIndex contain a style change node that is still active and that style change is one that must be located outside of a paragraph, i.e. More... | |
Variables Index
static const int | NUM_HTML_LIST_TYPES = 4 |
static const char | g_types[][NUM_HTML_LIST_TYPES] = {"1", "a", "i", "A"} |
static const char * | hex ="0123456789ABCDEF" |
Functions
contexts()
| constexpr static |
Definition at line 60 of file htmldocvisitor.cpp.
References ENDDD, ENDLI, ENDTD, INTERDD, INTERLI, INTERTD, NONE, STARTDD, STARTLI and STARTTD.
Referenced by HtmlDocVisitor::operator().
convertIndexWordToAnchor()
| static |
Definition at line 79 of file htmldocvisitor.cpp.
References QCString::data, hex and QCString::setNum.
Referenced by HtmlDocVisitor::operator().
determineIfNeedsTag()
| static |
Definition at line 1262 of file htmldocvisitor.cpp.
References FALSE, holds_one_of_alternatives, DocNode::parent and TRUE.
Referenced by HtmlDocVisitor::operator().
getParagraphContext()
| static |
Definition at line 1130 of file htmldocvisitor.cpp.
References ENDDD, ENDLI, ENDTD, FALSE, holds_one_of_alternatives, INTERDD, INTERLI, INTERTD, isFirstChildNode, isLastChildNode, isSeparatedParagraph, NONE, DocNode::parent, parent, STARTDD, STARTLI, STARTTD and TRUE.
Referenced by HtmlDocVisitor::forceEndParagraph, HtmlDocVisitor::forceStartParagraph and HtmlDocVisitor::operator().
holds_value()
| static |
Definition at line 1086 of file htmldocvisitor.cpp.
Referenced by HtmlDocVisitor::forceEndParagraph, HtmlDocVisitor::forceStartParagraph, isFirstChildNode, isLastChildNode and isSeparatedParagraph.
insideStyleChangeThatIsOutsideParagraph()
| static |
Returns TRUE if the child nodes in paragraph para until nodeIndex contain a style change node that is still active and that style change is one that must be located outside of a paragraph, i.e.
it is a center, div, or pre tag. See also bug746162.
Definition at line 2280 of file htmldocvisitor.cpp.
References DocStyleChange::Center, DocCompoundNode::children, DocStyleChange::Div, DocStyleChange::enable, FALSE, DocStyleChange::Preformatted, DocStyleChange::style and TRUE.
Referenced by HtmlDocVisitor::forceEndParagraph and HtmlDocVisitor::forceStartParagraph.
isDocIncludeVisible()
| static |
Definition at line 182 of file htmldocvisitor.cpp.
References DocInclude::DocbookInclude, DocInclude::DontInclude, FALSE, DocInclude::LatexInclude, DocInclude::ManInclude, DocInclude::RtfInclude, TRUE, DocInclude::type and DocInclude::XmlInclude.
Referenced by isInvisibleNode.
isDocIncOperatorVisible()
| static |
Definition at line 198 of file htmldocvisitor.cpp.
References FALSE, DocIncOperator::Skip, TRUE and DocIncOperator::type.
Referenced by isInvisibleNode.
isDocVerbatimVisible()
| static |
Definition at line 167 of file htmldocvisitor.cpp.
References DocVerbatim::DocbookOnly, FALSE, DocVerbatim::LatexOnly, DocVerbatim::ManOnly, DocVerbatim::RtfOnly, TRUE, DocVerbatim::type and DocVerbatim::XmlOnly.
Referenced by isInvisibleNode.
isFirstChildNode()
|
Definition at line 1097 of file htmldocvisitor.cpp.
References holds_value and parent.
Referenced by getParagraphContext.
isInvisibleNode()
| static |
Definition at line 209 of file htmldocvisitor.cpp.
References DocImage::Html, isDocIncludeVisible, isDocIncOperatorVisible, isDocVerbatimVisible and DocImage::type.
Referenced by HtmlDocVisitor::forceEndParagraph, HtmlDocVisitor::forceStartParagraph and HtmlDocVisitor::operator().
isLastChildNode()
|
Definition at line 1103 of file htmldocvisitor.cpp.
References holds_value and parent.
Referenced by getParagraphContext.
isSeparatedParagraph()
|
Definition at line 1108 of file htmldocvisitor.cpp.
References FALSE, holds_value and parent.
Referenced by getParagraphContext.
makeBaseName()
| static |
Definition at line 241 of file htmldocvisitor.cpp.
References QCString::find, QCString::left and makeShortName.
makeShortName()
| static |
Definition at line 230 of file htmldocvisitor.cpp.
References QCString::findRev and QCString::mid.
Referenced by makeBaseName.
mustBeOutsideParagraph()
| static |
Definition at line 118 of file htmldocvisitor.cpp.
References DocStyleChange::Center, DocStyleChange::Div, FALSE, holds_one_of_alternatives, DocVerbatim::HtmlOnly, DocVerbatim::isBlock, DocFormula::isInline, DocImage::isInlineImage, DocVerbatim::JavaDocCode, DocVerbatim::JavaDocLiteral, DocStyleChange::Preformatted, DocStyleChange::style, TRUE and DocVerbatim::type.
Referenced by HtmlDocVisitor::forceEndParagraph, HtmlDocVisitor::forceStartParagraph and HtmlDocVisitor::operator().
Variables
g_types
| static |
Definition at line 45 of file htmldocvisitor.cpp.
Referenced by HtmlDocVisitor::operator().
hex
| static |
Definition at line 77 of file htmldocvisitor.cpp.
NUM_HTML_LIST_TYPES
| static |
Definition at line 44 of file htmldocvisitor.cpp.
Referenced by HtmlDocVisitor::operator().
Generated via doxygen2docusaurus by Doxygen 1.14.0.