Doxygen
|
Concrete visitor implementation for HTML output. More...
#include <src/htmldocvisitor.h>
Public Member Functions | |
HtmlDocVisitor (TextStream &t, OutputCodeList &ci, const Definition *ctx, const QCString &fn=QCString()) | |
void | operator() (const DocWord &) |
void | operator() (const DocLinkedWord &) |
void | operator() (const DocWhiteSpace &) |
void | operator() (const DocSymbol &) |
void | operator() (const DocEmoji &) |
void | operator() (const DocURL &) |
void | operator() (const DocLineBreak &) |
void | operator() (const DocHorRuler &) |
void | operator() (const DocStyleChange &) |
void | operator() (const DocVerbatim &) |
void | operator() (const DocAnchor &) |
void | operator() (const DocInclude &) |
void | operator() (const DocIncOperator &) |
void | operator() (const DocFormula &) |
void | operator() (const DocIndexEntry &) |
void | operator() (const DocSimpleSectSep &) |
void | operator() (const DocCite &) |
void | operator() (const DocSeparator &) |
void | operator() (const DocAutoList &) |
void | operator() (const DocAutoListItem &) |
void | operator() (const DocPara &) |
void | operator() (const DocRoot &) |
void | operator() (const DocSimpleSect &) |
void | operator() (const DocTitle &) |
void | operator() (const DocSimpleList &) |
void | operator() (const DocSimpleListItem &) |
void | operator() (const DocSection &) |
void | operator() (const DocHtmlList &) |
void | operator() (const DocHtmlListItem &) |
void | operator() (const DocHtmlDescList &) |
void | operator() (const DocHtmlDescTitle &) |
void | operator() (const DocHtmlDescData &) |
void | operator() (const DocHtmlTable &) |
void | operator() (const DocHtmlRow &) |
void | operator() (const DocHtmlCell &) |
void | operator() (const DocHtmlCaption &) |
void | operator() (const DocInternal &) |
void | operator() (const DocHRef &) |
void | operator() (const DocHtmlSummary &) |
void | operator() (const DocHtmlDetails &) |
void | operator() (const DocHtmlHeader &) |
void | operator() (const DocImage &) |
void | operator() (const DocDotFile &) |
void | operator() (const DocMscFile &) |
void | operator() (const DocDiaFile &) |
void | operator() (const DocPlantUmlFile &) |
void | operator() (const DocLink &) |
void | operator() (const DocRef &) |
void | operator() (const DocSecRefItem &) |
void | operator() (const DocSecRefList &) |
void | operator() (const DocParamSect &) |
void | operator() (const DocParamList &) |
void | operator() (const DocXRefItem &) |
void | operator() (const DocInternalRef &) |
void | operator() (const DocText &) |
void | operator() (const DocHtmlBlockQuote &) |
void | operator() (const DocVhdlFlow &) |
void | operator() (const DocParBlock &) |
template<class Node> | |
void | forceEndParagraph (const Node &n) |
Used for items found inside a paragraph, which due to XHTML restrictions have to be outside of the paragraph. | |
template<class Node> | |
void | forceStartParagraph (const Node &n) |
Used for items found inside a paragraph, which due to XHTML restrictions have to be outside of the paragraph. | |
Public Member Functions inherited from DocVisitor | |
DocVisitor () | |
virtual | ~DocVisitor () |
CodeParserInterface & | getCodeParser (const QCString &langExt) |
void | pushHidden (bool hide) |
bool | popHidden () |
Private Member Functions | |
template<class T> | |
void | visitChildren (const T &t) |
template<class T> | |
void | visitCaption (TextStream &t, const T &n) |
void | writeObfuscatedMailAddress (const QCString &url) |
void | filter (const QCString &str, const bool retainNewline=false) |
QCString | filterQuotedCdataAttr (const QCString &str) |
Escape basic entities to produce a valid CDATA attribute value, assume that the outer quoting will be using the double quote ". | |
void | startLink (const QCString &ref, const QCString &file, const QCString &relPath, const QCString &anchor, const QCString &tooltip="") |
void | endLink () |
void | writeDotFile (const QCString &fileName, const QCString &relPath, const QCString &context, const QCString &srcFile, int srcLine) |
void | writeMscFile (const QCString &fileName, const QCString &relPath, const QCString &context, const QCString &srcFile, int srcLine) |
void | writeDiaFile (const QCString &fileName, const QCString &relPath, const QCString &context, const QCString &srcFile, int srcLine) |
void | writePlantUMLFile (const QCString &fileName, const QCString &relPath, const QCString &context, const QCString &srcFile, int srcLine) |
template<class DocNode> | |
void | forceEndParagraph (const DocNode &n) |
template<class DocNode> | |
void | forceStartParagraph (const DocNode &n) |
Private Attributes | |
TextStream & | m_t |
OutputCodeList & | m_ci |
bool | m_insidePre = false |
bool | m_hide = false |
bool | m_insideTitle = false |
const Definition * | m_ctx |
QCString | m_fileName |
QCString | m_langExt |
Concrete visitor implementation for HTML output.
Definition at line 29 of file htmldocvisitor.h.
HtmlDocVisitor::HtmlDocVisitor | ( | TextStream & | t, |
OutputCodeList & | ci, | ||
const Definition * | ctx, | ||
const QCString & | fn = QCString() ) |
Definition at line 254 of file htmldocvisitor.cpp.
References Definition::getDefFileExtension(), m_ci, m_ctx, m_fileName, m_langExt, and m_t.
|
private |
Definition at line 2200 of file htmldocvisitor.cpp.
References m_t.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 2090 of file htmldocvisitor.cpp.
References QCString::data(), hex, QCString::isEmpty(), and m_t.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
Escape basic entities to produce a valid CDATA attribute value, assume that the outer quoting will be using the double quote ".
Definition at line 2127 of file htmldocvisitor.cpp.
References GrowBuf::addChar(), GrowBuf::addStr(), QCString::data(), GrowBuf::get(), hex, and QCString::isEmpty().
Referenced by operator()().
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
void HtmlDocVisitor::forceEndParagraph | ( | const Node & | n | ) |
Used for items found inside a paragraph, which due to XHTML restrictions have to be outside of the paragraph.
This method will forcefully end the current paragraph and forceStartParagraph() will restart it.
Definition at line 2310 of file htmldocvisitor.cpp.
References DocCompoundNode::children(), found, getParagraphContext(), holds_value(), insideStyleChangeThatIsOutsideParagraph(), isInvisibleNode(), m_t, and mustBeOutsideParagraph().
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
void HtmlDocVisitor::forceStartParagraph | ( | const Node & | n | ) |
Used for items found inside a paragraph, which due to XHTML restrictions have to be outside of the paragraph.
This method will forcefully start the paragraph, that was previously ended by forceEndParagraph().
Definition at line 2365 of file htmldocvisitor.cpp.
References DocCompoundNode::children(), getParagraphContext(), holds_value(), insideStyleChangeThatIsOutsideParagraph(), isInvisibleNode(), m_t, and mustBeOutsideParagraph().
void HtmlDocVisitor::operator() | ( | const DocAnchor & | anc | ) |
Definition at line 690 of file htmldocvisitor.cpp.
References DocAnchor::anchor(), DocAnchor::attribs(), m_hide, m_t, and HtmlAttribList::toString().
void HtmlDocVisitor::operator() | ( | const DocAutoList & | l | ) |
Definition at line 1008 of file htmldocvisitor.cpp.
References DocAutoList::depth(), forceEndParagraph(), forceStartParagraph(), DocAutoList::isCheckedList(), DocAutoList::isEnumList(), DocNode::isPreformatted(), m_hide, m_t, NUM_HTML_LIST_TYPES, types, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocAutoListItem & | li | ) |
Definition at line 1050 of file htmldocvisitor.cpp.
References DocAutoList::Checked_X, DocAutoList::Checked_x, DocNode::isPreformatted(), DocAutoListItem::itemNumber(), m_hide, m_t, DocAutoList::Unchecked, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocCite & | cite | ) |
Definition at line 980 of file htmldocvisitor.cpp.
References DocCite::anchor(), endLink(), DocCite::file(), filter(), QCString::isEmpty(), m_hide, m_t, DocCite::ref(), DocCite::relPath(), startLink(), and DocCite::text().
void HtmlDocVisitor::operator() | ( | const DocDiaFile & | df | ) |
Definition at line 1804 of file htmldocvisitor.cpp.
References Config_getBool, Config_getString, DocDiagramFileBase::context(), copyFile(), DocDiagramFileBase::file(), forceEndParagraph(), forceStartParagraph(), DocDiagramFileBase::hasCaption(), m_hide, m_t, DocDiagramFileBase::relPath(), DocDiagramFileBase::srcFile(), DocDiagramFileBase::srcLine(), stripPath(), visitChildren(), and writeDiaFile().
void HtmlDocVisitor::operator() | ( | const DocDotFile & | df | ) |
Definition at line 1764 of file htmldocvisitor.cpp.
References Config_getBool, Config_getString, DocDiagramFileBase::context(), copyFile(), DocDiagramFileBase::file(), forceEndParagraph(), forceStartParagraph(), DocDiagramFileBase::hasCaption(), m_hide, m_t, DocDiagramFileBase::relPath(), DocDiagramFileBase::srcFile(), DocDiagramFileBase::srcLine(), stripPath(), visitChildren(), and writeDotFile().
void HtmlDocVisitor::operator() | ( | const DocEmoji & | s | ) |
Definition at line 330 of file htmldocvisitor.cpp.
References DocEmoji::index(), EmojiEntityMapper::instance(), m_hide, m_t, DocEmoji::name(), and EmojiEntityMapper::unicode().
void HtmlDocVisitor::operator() | ( | const DocFormula & | f | ) |
Definition at line 845 of file htmldocvisitor.cpp.
References QCString::at(), Config_getBool, Config_getEnum, convertToHtml(), FALSE, filterQuotedCdataAttr(), FormulaManager::findFormula(), forceEndParagraph(), forceStartParagraph(), Formula::height(), DocFormula::id(), FormulaManager::instance(), QCString::isEmpty(), DocFormula::isInline(), QCString::length(), m_hide, m_t, QCString::mid(), DocFormula::name(), DocFormula::relPath(), TextStream::str(), DocFormula::text(), TRUE, and Formula::width().
void HtmlDocVisitor::operator() | ( | const DocHorRuler & | hr | ) |
Definition at line 416 of file htmldocvisitor.cpp.
References DocHorRuler::attribs(), forceEndParagraph(), forceStartParagraph(), m_hide, m_t, and HtmlAttribList::toString().
void HtmlDocVisitor::operator() | ( | const DocHRef & | href | ) |
Definition at line 1605 of file htmldocvisitor.cpp.
References DocHRef::attribs(), convertToHtml(), correctURL(), m_hide, m_t, QCString::mid(), DocHRef::relPath(), QCString::startsWith(), HtmlAttribList::toString(), DocHRef::url(), visitChildren(), and writeObfuscatedMailAddress().
void HtmlDocVisitor::operator() | ( | const DocHtmlBlockQuote & | b | ) |
Definition at line 2046 of file htmldocvisitor.cpp.
References DocHtmlBlockQuote::attribs(), forceEndParagraph(), forceStartParagraph(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlCaption & | c | ) |
Definition at line 1591 of file htmldocvisitor.cpp.
References DocHtmlCaption::attribs(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlCell & | c | ) |
Definition at line 1576 of file htmldocvisitor.cpp.
References DocHtmlCell::attribs(), DocHtmlCell::isHeading(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlDescData & | dd | ) |
Definition at line 1527 of file htmldocvisitor.cpp.
References DocHtmlDescData::attribs(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlDescList & | dl | ) |
Definition at line 1509 of file htmldocvisitor.cpp.
References DocHtmlDescList::attribs(), forceEndParagraph(), forceStartParagraph(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlDescTitle & | dt | ) |
Definition at line 1519 of file htmldocvisitor.cpp.
References DocHtmlDescTitle::attribs(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlDetails & | d | ) |
Definition at line 1630 of file htmldocvisitor.cpp.
References DocHtmlDetails::attribs(), forceEndParagraph(), forceStartParagraph(), m_hide, m_t, DocHtmlDetails::summary(), HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlHeader & | header | ) |
Definition at line 1645 of file htmldocvisitor.cpp.
References DocHtmlHeader::attribs(), forceEndParagraph(), forceStartParagraph(), DocHtmlHeader::level(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlList & | s | ) |
Definition at line 1474 of file htmldocvisitor.cpp.
References DocHtmlList::attribs(), forceEndParagraph(), forceStartParagraph(), DocNode::isPreformatted(), m_hide, m_t, DocHtmlList::Ordered, HtmlAttribList::toString(), DocHtmlList::type(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlListItem & | i | ) |
Definition at line 1500 of file htmldocvisitor.cpp.
References DocHtmlListItem::attribs(), DocNode::isPreformatted(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlRow & | tr | ) |
Definition at line 1568 of file htmldocvisitor.cpp.
References DocHtmlRow::attribs(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlSummary & | s | ) |
Definition at line 1622 of file htmldocvisitor.cpp.
References DocHtmlSummary::attribs(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocHtmlTable & | t | ) |
Definition at line 1535 of file htmldocvisitor.cpp.
References DocHtmlTable::attribs(), DocHtmlTable::caption(), forceEndParagraph(), forceStartParagraph(), QCString::isEmpty(), m_hide, m_t, HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocImage & | img | ) |
Definition at line 1655 of file htmldocvisitor.cpp.
References DocImage::attribs(), convertToHtml(), correctURL(), forceEndParagraph(), forceStartParagraph(), DocImage::hasCaption(), DocImage::height(), DocImage::Html, QCString::isEmpty(), DocImage::isInlineImage(), DocImage::isSVG(), m_hide, m_insideTitle, m_t, makeShortName(), HtmlAttribList::mergeAttribute(), DocImage::name(), DocImage::relPath(), HtmlAttribList::toString(), DocImage::type(), DocImage::url(), visitChildren(), and DocImage::width().
void HtmlDocVisitor::operator() | ( | const DocInclude & | inc | ) |
Definition at line 696 of file htmldocvisitor.cpp.
References DocInclude::blockId(), DocInclude::context(), createFileDef(), FileInfo::dirPath(), DocInclude::DocbookInclude, DocInclude::DontInclude, DocInclude::DontIncWithLines, DocInclude::exampleFile(), DocInclude::extension(), FALSE, DocInclude::file(), FileInfo::fileName(), filter(), forceEndParagraph(), forceStartParagraph(), DocVisitor::getCodeParser(), getLanguageFromFileName(), DocInclude::HtmlInclude, DocInclude::Include, DocInclude::IncWithLines, CodeFragmentManager::instance(), DocInclude::isBlock(), DocInclude::isExample(), DocInclude::LatexInclude, m_ci, m_ctx, m_hide, m_t, DocInclude::ManInclude, CodeParserInterface::parseCode(), CodeFragmentManager::parseCodeFragment(), DocInclude::RtfInclude, DocInclude::Snippet, DocInclude::SnippetWithLines, QCString::str(), DocInclude::stripCodeComments(), DocInclude::text(), DocInclude::trimLeft(), TRUE, DocInclude::type(), DocInclude::VerbInclude, and DocInclude::XmlInclude.
void HtmlDocVisitor::operator() | ( | const DocIncOperator & | op | ) |
Definition at line 788 of file htmldocvisitor.cpp.
References DocIncOperator::context(), createFileDef(), FileInfo::dirPath(), DocIncOperator::exampleFile(), FileInfo::fileName(), forceEndParagraph(), forceStartParagraph(), DocVisitor::getCodeParser(), getFileNameExtension(), getLanguageFromFileName(), DocIncOperator::includeFileName(), QCString::isEmpty(), DocIncOperator::isExample(), DocIncOperator::isFirst(), DocIncOperator::isLast(), DocIncOperator::line(), m_ci, m_ctx, m_hide, m_langExt, m_t, CodeParserInterface::parseCode(), DocVisitor::popHidden(), DocVisitor::pushHidden(), DocIncOperator::showLineNo(), DocIncOperator::Skip, QCString::str(), DocIncOperator::stripCodeComments(), DocIncOperator::text(), TRUE, and DocIncOperator::type().
void HtmlDocVisitor::operator() | ( | const DocIndexEntry & | e | ) |
Definition at line 958 of file htmldocvisitor.cpp.
References Definition::anchor(), convertIndexWordToAnchor(), DocIndexEntry::entry(), Doxygen::indexList, m_t, DocIndexEntry::member(), QCString::prepend(), and DocIndexEntry::scope().
void HtmlDocVisitor::operator() | ( | const DocInternal & | i | ) |
Definition at line 1599 of file htmldocvisitor.cpp.
References m_hide, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocInternalRef & | ref | ) |
Definition at line 2032 of file htmldocvisitor.cpp.
References DocInternalRef::anchor(), endLink(), DocInternalRef::file(), m_hide, m_t, DocInternalRef::relPath(), startLink(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocLineBreak & | br | ) |
Definition at line 410 of file htmldocvisitor.cpp.
References DocLineBreak::attribs(), m_hide, m_t, and HtmlAttribList::toString().
void HtmlDocVisitor::operator() | ( | const DocLink & | lnk | ) |
Definition at line 1857 of file htmldocvisitor.cpp.
References DocLink::anchor(), endLink(), DocLink::file(), m_hide, DocLink::ref(), DocLink::relPath(), startLink(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocLinkedWord & | w | ) |
Definition at line 285 of file htmldocvisitor.cpp.
References DocLinkedWord::anchor(), endLink(), DocLinkedWord::file(), filter(), m_hide, DocLinkedWord::ref(), DocLinkedWord::relPath(), startLink(), DocLinkedWord::tooltip(), and DocLinkedWord::word().
void HtmlDocVisitor::operator() | ( | const DocMscFile & | df | ) |
Definition at line 1784 of file htmldocvisitor.cpp.
References Config_getBool, Config_getString, DocDiagramFileBase::context(), copyFile(), DocDiagramFileBase::file(), forceEndParagraph(), forceStartParagraph(), DocDiagramFileBase::hasCaption(), m_hide, m_t, DocDiagramFileBase::relPath(), DocDiagramFileBase::srcFile(), DocDiagramFileBase::srcLine(), stripPath(), visitChildren(), and writeMscFile().
void HtmlDocVisitor::operator() | ( | const DocPara & | p | ) |
Definition at line 1278 of file htmldocvisitor.cpp.
References DocPara::attribs(), DocCompoundNode::children(), contexts(), determineIfNeedsTag(), GrowVector< T >::empty(), FALSE, getParagraphContext(), isInvisibleNode(), m_hide, m_t, mustBeOutsideParagraph(), HtmlAttribList::toString(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocParamList & | pl | ) |
Definition at line 1952 of file htmldocvisitor.cpp.
References DocParamList::direction(), FALSE, DocParamSect::hasInOutSpecifier(), DocParamSect::hasTypeSpecifier(), DocParamSect::In, DocParamSect::InOut, m_hide, m_t, DocParamSect::Out, DocParamList::paragraphs(), DocParamList::parameters(), DocParamList::paramTypes(), DocNode::parent(), TRUE, and DocParamSect::Unspecified.
void HtmlDocVisitor::operator() | ( | const DocParamSect & | s | ) |
Definition at line 1908 of file htmldocvisitor.cpp.
References ASSERT, DocParamSect::Exception, forceEndParagraph(), forceStartParagraph(), m_hide, m_t, DocParamSect::Param, DocParamSect::RetVal, DocParamSect::TemplateParam, theTranslator, DocParamSect::type(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocParBlock & | pb | ) |
Definition at line 2084 of file htmldocvisitor.cpp.
References m_hide, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocPlantUmlFile & | df | ) |
Definition at line 1824 of file htmldocvisitor.cpp.
References Config_getBool, Config_getString, copyFile(), DocDiagramFileBase::file(), forceEndParagraph(), forceStartParagraph(), getDotImageExtension(), DocDiagramFileBase::hasCaption(), PlantumlManager::instance(), m_hide, m_t, makeBaseName(), PlantumlManager::PUML_BITMAP, PlantumlManager::PUML_SVG, readInputFile(), DocDiagramFileBase::relPath(), DocDiagramFileBase::srcFile(), DocDiagramFileBase::srcLine(), stripPath(), visitChildren(), writePlantUMLFile(), and PlantumlManager::writePlantUMLSource().
void HtmlDocVisitor::operator() | ( | const DocRef & | ref | ) |
Definition at line 1865 of file htmldocvisitor.cpp.
References DocRef::anchor(), endLink(), DocRef::file(), filter(), DocRef::hasLinkText(), QCString::isEmpty(), DocRef::isSubPage(), m_hide, DocRef::ref(), DocRef::relPath(), startLink(), DocRef::targetTitle(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocRoot & | r | ) |
Definition at line 1366 of file htmldocvisitor.cpp.
References visitChildren().
void HtmlDocVisitor::operator() | ( | const DocSecRefItem & | ref | ) |
Definition at line 1880 of file htmldocvisitor.cpp.
References DocSecRefItem::anchor(), endLink(), DocSecRefItem::file(), QCString::isEmpty(), DocSecRefItem::isSubPage(), m_hide, m_t, DocSecRefItem::ref(), DocSecRefItem::relPath(), startLink(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocSecRefList & | s | ) |
Definition at line 1896 of file htmldocvisitor.cpp.
References forceEndParagraph(), forceStartParagraph(), m_hide, m_t, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocSection & | s | ) |
Definition at line 1458 of file htmldocvisitor.cpp.
References DocSection::anchor(), forceEndParagraph(), forceStartParagraph(), DocSection::level(), m_hide, m_t, DocSection::title(), and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocSeparator & | s | ) |
Definition at line 1946 of file htmldocvisitor.cpp.
References DocSeparator::chars(), m_hide, and m_t.
void HtmlDocVisitor::operator() | ( | const DocSimpleList & | sl | ) |
Definition at line 1434 of file htmldocvisitor.cpp.
References forceEndParagraph(), forceStartParagraph(), DocNode::isPreformatted(), m_hide, m_t, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocSimpleListItem & | li | ) |
Definition at line 1446 of file htmldocvisitor.cpp.
References DocNode::isPreformatted(), m_hide, m_t, and DocSimpleListItem::paragraph().
void HtmlDocVisitor::operator() | ( | const DocSimpleSect & | s | ) |
Definition at line 1374 of file htmldocvisitor.cpp.
References DocSimpleSect::Attention, DocSimpleSect::Author, DocSimpleSect::Authors, DocSimpleSect::Copyright, DocSimpleSect::Date, FALSE, forceEndParagraph(), forceStartParagraph(), DocSimpleSect::Important, DocSimpleSect::Invar, m_hide, m_t, DocSimpleSect::Note, DocSimpleSect::Post, DocSimpleSect::Pre, DocSimpleSect::Rcs, DocSimpleSect::Remark, DocSimpleSect::Return, DocSimpleSect::See, DocSimpleSect::Since, theTranslator, DocSimpleSect::title(), TRUE, DocSimpleSect::type(), DocSimpleSect::typeString(), DocSimpleSect::Unknown, DocSimpleSect::User, DocSimpleSect::Version, visitChildren(), and DocSimpleSect::Warning.
void HtmlDocVisitor::operator() | ( | const DocSimpleSectSep & | ) |
Definition at line 974 of file htmldocvisitor.cpp.
References m_t.
void HtmlDocVisitor::operator() | ( | const DocStyleChange & | s | ) |
Definition at line 424 of file htmldocvisitor.cpp.
References DocStyleChange::attribs(), DocStyleChange::Bold, DocStyleChange::Center, DocStyleChange::Cite, DocStyleChange::Code, DocStyleChange::Del, DocStyleChange::Div, DocStyleChange::enable(), FALSE, forceEndParagraph(), forceStartParagraph(), DocStyleChange::Ins, DocStyleChange::Italic, DocStyleChange::Kbd, m_hide, m_insidePre, m_t, DocStyleChange::Preformatted, DocStyleChange::S, DocStyleChange::Small, DocStyleChange::Span, DocStyleChange::Strike, DocStyleChange::style(), DocStyleChange::Subscript, DocStyleChange::Superscript, DocStyleChange::tagName(), HtmlAttribList::toString(), TRUE, and DocStyleChange::Underline.
void HtmlDocVisitor::operator() | ( | const DocSymbol & | s | ) |
Definition at line 307 of file htmldocvisitor.cpp.
References err, HtmlEntityMapper::html(), HtmlEntityMapper::instance(), m_hide, m_insideTitle, m_t, HtmlEntityMapper::Sym_Quot, HtmlEntityMapper::Sym_quot, DocSymbol::symbol(), and TRUE.
void HtmlDocVisitor::operator() | ( | const DocText & | t | ) |
Definition at line 2041 of file htmldocvisitor.cpp.
References visitChildren().
void HtmlDocVisitor::operator() | ( | const DocTitle & | t | ) |
Definition at line 1428 of file htmldocvisitor.cpp.
References m_hide, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocURL & | u | ) |
Definition at line 372 of file htmldocvisitor.cpp.
References Config_getBool, QCString::data(), filter(), DocURL::isEmail(), m_hide, m_t, DocURL::url(), writeObfuscatedMailAddress(), and writeUTF8Char().
void HtmlDocVisitor::operator() | ( | const DocVerbatim & | s | ) |
Definition at line 538 of file htmldocvisitor.cpp.
References DocVerbatim::Code, Config_getBool, Config_getString, DocVerbatim::context(), QCString::data(), DocVerbatim::DocbookOnly, DocVerbatim::Dot, DocVerbatim::engine(), err, DocVerbatim::exampleFile(), QCString::ExplicitSize, filter(), forceEndParagraph(), forceStartParagraph(), DocVisitor::getCodeParser(), getDotImageExtension(), getLanguageFromCodeLang(), DocVerbatim::HtmlOnly, PlantumlManager::instance(), DocVerbatim::isBlock(), QCString::isEmpty(), DocVerbatim::isExample(), DocVerbatim::JavaDocCode, DocVerbatim::JavaDocLiteral, DocVerbatim::language(), DocVerbatim::LatexOnly, QCString::length(), m_ci, m_ctx, m_hide, m_langExt, m_t, DocVerbatim::ManOnly, DocVerbatim::Msc, Portable::openOutputStream(), CodeParserInterface::parseCode(), DocVerbatim::PlantUML, PlantumlManager::PUML_BITMAP, PlantumlManager::PUML_SVG, qPrint(), DocVerbatim::relPath(), Dir::remove(), DocVerbatim::RtfOnly, QCString::sprintf(), DocVerbatim::srcFile(), DocVerbatim::srcLine(), QCString::str(), DocVerbatim::text(), DocVerbatim::type(), DocVerbatim::Verbatim, visitCaption(), writeDotFile(), writeMscFile(), writePlantUMLFile(), PlantumlManager::writePlantUMLSource(), and DocVerbatim::XmlOnly.
void HtmlDocVisitor::operator() | ( | const DocVhdlFlow & | vf | ) |
Definition at line 2056 of file htmldocvisitor.cpp.
References FlowChart::convertNameToFileName(), forceEndParagraph(), forceStartParagraph(), VhdlDocGen::getFlowMember(), DocVhdlFlow::hasCaption(), m_hide, m_t, Definition::name(), theTranslator, and visitChildren().
void HtmlDocVisitor::operator() | ( | const DocWhiteSpace & | w | ) |
Definition at line 294 of file htmldocvisitor.cpp.
References DocWhiteSpace::chars(), m_hide, m_insidePre, and m_t.
void HtmlDocVisitor::operator() | ( | const DocWord & | w | ) |
Definition at line 279 of file htmldocvisitor.cpp.
References filter(), m_hide, and DocWord::word().
void HtmlDocVisitor::operator() | ( | const DocXRefItem & | x | ) |
Definition at line 2004 of file htmldocvisitor.cpp.
References addHtmlExtensionIfMissing(), DocXRefItem::anchor(), DocXRefItem::file(), filter(), forceEndParagraph(), forceStartParagraph(), QCString::isEmpty(), DocXRefItem::key(), m_hide, m_t, DocXRefItem::relPath(), DocXRefItem::title(), and visitChildren().
|
private |
Definition at line 2174 of file htmldocvisitor.cpp.
References addHtmlExtensionIfMissing(), Config_getString, convertToHtml(), createHtmlUrl(), externalLinkTarget(), QCString::isEmpty(), m_fileName, and m_t.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 262 of file htmldocvisitor.cpp.
Referenced by operator()().
|
inlineprivate |
Definition at line 105 of file htmldocvisitor.h.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 2229 of file htmldocvisitor.cpp.
References BITMAP, Config_getString, m_t, makeBaseName(), QCString::prepend(), and writeDiaGraphFromFile().
Referenced by operator()().
|
private |
Definition at line 2205 of file htmldocvisitor.cpp.
References BITMAP, Config_getString, m_t, makeBaseName(), QCString::prepend(), writeDotGraphFromFile(), and writeDotImageMapFromFile().
Referenced by operator()(), and operator()().
|
private |
Definition at line 2215 of file htmldocvisitor.cpp.
References BITMAP, Config_getString, getDotImageExtension(), m_t, makeBaseName(), QCString::prepend(), SVG, writeMscGraphFromFile(), and writeMscImageMapFromFile().
Referenced by operator()(), and operator()().
|
private |
Definition at line 344 of file htmldocvisitor.cpp.
References Config_getBool, QCString::data(), QCString::isEmpty(), m_t, and writeUTF8Char().
Referenced by operator()(), and operator()().
|
private |
Definition at line 2240 of file htmldocvisitor.cpp.
References Config_getString, PlantumlManager::generatePlantUMLOutput(), getDotImageExtension(), PlantumlManager::instance(), m_t, makeBaseName(), PlantumlManager::PUML_BITMAP, and PlantumlManager::PUML_SVG.
Referenced by operator()(), and operator()().
|
private |
Definition at line 145 of file htmldocvisitor.h.
Referenced by HtmlDocVisitor(), operator()(), operator()(), and operator()().
|
private |
Definition at line 149 of file htmldocvisitor.h.
Referenced by HtmlDocVisitor(), operator()(), operator()(), and operator()().
|
private |
Definition at line 150 of file htmldocvisitor.h.
Referenced by HtmlDocVisitor(), and startLink().
|
private |
Definition at line 147 of file htmldocvisitor.h.
Referenced by operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), and operator()().
|
private |
Definition at line 146 of file htmldocvisitor.h.
Referenced by operator()(), and operator()().
|
private |
Definition at line 148 of file htmldocvisitor.h.
Referenced by operator()(), and operator()().
|
private |
Definition at line 151 of file htmldocvisitor.h.
Referenced by HtmlDocVisitor(), operator()(), and operator()().
|
private |
Definition at line 144 of file htmldocvisitor.h.
Referenced by endLink(), filter(), forceEndParagraph(), forceStartParagraph(), HtmlDocVisitor(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), operator()(), startLink(), writeDiaFile(), writeDotFile(), writeMscFile(), writeObfuscatedMailAddress(), and writePlantUMLFile().