|
Doxygen
|
#include "htmldocvisitor.h"#include "docparser.h"#include "language.h"#include "doxygen.h"#include "outputgen.h"#include "outputlist.h"#include "dot.h"#include "message.h"#include "config.h"#include "htmlgen.h"#include "parserintf.h"#include "msc.h"#include "dia.h"#include "util.h"#include "vhdldocgen.h"#include "filedef.h"#include "memberdef.h"#include "htmlentity.h"#include "emoji.h"#include "plantuml.h"#include "formula.h"#include "fileinfo.h"#include "indexlist.h"#include "growbuf.h"#include "portable.h"#include "codefragment.h"#include "cite.h"Go to the source code of this file.
Enumerations | |
| enum class | contexts_t { NONE , STARTLI , STARTDD , ENDLI , ENDDD , STARTTD , ENDTD , INTERLI , INTERDD , INTERTD } |
Functions | |
| 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. | |
Variables | |
| 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" |
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| STARTLI | |
| STARTDD | |
| ENDLI | |
| ENDDD | |
| STARTTD | |
| ENDTD | |
| INTERLI | |
| INTERDD | |
| INTERTD | |
Definition at line 46 of file htmldocvisitor.cpp.
|
staticconstexpr |
Definition at line 79 of file htmldocvisitor.cpp.
References QCString::data(), hex, and QCString::setNum().
Referenced by HtmlDocVisitor::operator()().
|
static |
Definition at line 1265 of file htmldocvisitor.cpp.
References FALSE, holds_one_of_alternatives(), DocNode::parent(), and TRUE.
Referenced by HtmlDocVisitor::operator()().
|
static |
Definition at line 1133 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()().
|
static |
Definition at line 1089 of file htmldocvisitor.cpp.
Referenced by HtmlDocVisitor::forceEndParagraph(), HtmlDocVisitor::forceStartParagraph(), isFirstChildNode(), isLastChildNode(), and isSeparatedParagraph().
|
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 2286 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().
|
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().
|
static |
Definition at line 198 of file htmldocvisitor.cpp.
References FALSE, DocIncOperator::Skip, TRUE, and DocIncOperator::type().
Referenced by isInvisibleNode().
|
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().
| bool isFirstChildNode | ( | const T * | parent, |
| const DocPara & | node ) |
Definition at line 1100 of file htmldocvisitor.cpp.
References holds_value(), and parent().
Referenced by getParagraphContext().
|
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()().
| bool isLastChildNode | ( | const T * | parent, |
| const DocPara & | node ) |
Definition at line 1106 of file htmldocvisitor.cpp.
References holds_value(), and parent().
Referenced by getParagraphContext().
| bool isSeparatedParagraph | ( | const DocSimpleSect & | parent, |
| const DocPara & | par ) |
Definition at line 1111 of file htmldocvisitor.cpp.
References FALSE, holds_value(), and parent().
Referenced by getParagraphContext().
Definition at line 241 of file htmldocvisitor.cpp.
References QCString::find(), QCString::left(), and makeShortName().
Definition at line 230 of file htmldocvisitor.cpp.
References QCString::findRev(), and QCString::mid().
Referenced by makeBaseName().
|
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()().
|
static |
Definition at line 45 of file htmldocvisitor.cpp.
Referenced by HtmlDocVisitor::operator()().
|
static |
Definition at line 77 of file htmldocvisitor.cpp.
|
static |
Definition at line 44 of file htmldocvisitor.cpp.
Referenced by HtmlDocVisitor::operator()().