The htmlgen.cpp
File Reference
Included Headers
Functions Index
static void | writeClientSearchBox (TextStream &t, const QCString &relPath) |
static void | writeServerSearchBox (TextStream &t, const QCString &relPath, bool highlightSearch) |
static QCString | getConvertLatexMacro () |
Convert a set of LaTeX commands \(re)newcommand to a form readable by MathJax LaTeX syntax: More... | |
static QCString | getSearchBox (bool serverSide, QCString relPath, bool highlightSearch) |
static QCString | substituteHtmlKeywords (const QCString &file, const QCString &str, const QCString &title, const QCString &relPath, const QCString &navPath=QCString()) |
static void | fillColorStyleMap (const QCString &definitions, StringUnorderedMap &map) |
static void | fillColorStyleMaps () |
static QCString | replaceVariables (const QCString &input) |
static void | writeDefaultStyleSheet (TextStream &t) |
static void | startSectionHeader (TextStream &t, const QCString &relPath, int sectionCount) |
static void | endSectionHeader (TextStream &t) |
static void | startSectionSummary (TextStream &t, int sectionCount) |
static void | endSectionSummary (TextStream &t) |
static void | startSectionContent (TextStream &t, int sectionCount) |
static void | endSectionContent (TextStream &t) |
static void | startQuickIndexList (TextStream &t, bool topLevel=TRUE) |
static void | endQuickIndexList (TextStream &t) |
static void | startQuickIndexItem (TextStream &t, const QCString &l, bool hl, bool, const QCString &relPath) |
static void | endQuickIndexItem (TextStream &t, const QCString &l) |
static bool | quickLinkVisible (LayoutNavEntry::Kind kind) |
static void | renderQuickLinksAsTree (TextStream &t, const QCString &relPath, LayoutNavEntry *root) |
static void | renderQuickLinksAsTabs (TextStream &t, const QCString &relPath, LayoutNavEntry *hlEntry, LayoutNavEntry::Kind kind, bool highlightParent, bool highlightSearch) |
static void | writeDefaultQuickLinks (TextStream &t, HighlightedItem hli, const QCString &file, const QCString &relPath, bool extraTabs) |
Variables Index
static QCString | g_header |
static QCString | g_header_file |
static QCString | g_footer_file |
static QCString | g_footer |
static QCString | g_mathjax_code |
static QCString | g_latex_macro |
static constexpr auto | hex ="0123456789ABCDEF" |
static const SelectionMarkerInfo | htmlMarkerInfo = { '<', "<!--BEGIN ",10,"<!--END ",8,"-->",3 } |
static StringUnorderedMap | g_lightMap |
static StringUnorderedMap | g_darkMap |
static std::mutex | g_indexLock |
Macro Definitions Index
#define | DBG_HTML(x) |
Functions
endQuickIndexItem()
| static |
Definition at line 2682 of file htmlgen.cpp.
Reference QCString::isEmpty.
Referenced by renderQuickLinksAsTabs.
endQuickIndexList()
| static |
Definition at line 2655 of file htmlgen.cpp.
Reference Config_getBool.
Referenced by renderQuickLinksAsTabs and renderQuickLinksAsTree.
endSectionContent()
| static |
Definition at line 1965 of file htmlgen.cpp.
Referenced by HtmlGenerator::endCallGraph, HtmlGenerator::endClassDiagram, HtmlGenerator::endDirDepGraph, HtmlGenerator::endDotGraph, HtmlGenerator::endGroupCollaboration and HtmlGenerator::endInclDepGraph.
endSectionHeader()
| static |
Definition at line 1921 of file htmlgen.cpp.
Referenced by HtmlGenerator::endCallGraph, HtmlGenerator::endClassDiagram, HtmlGenerator::endDirDepGraph, HtmlGenerator::endDotGraph, HtmlGenerator::endGroupCollaboration and HtmlGenerator::endInclDepGraph.
endSectionSummary()
| static |
Definition at line 1939 of file htmlgen.cpp.
Reference Config_getBool.
Referenced by HtmlGenerator::endCallGraph, HtmlGenerator::endClassDiagram, HtmlGenerator::endDirDepGraph, HtmlGenerator::endDotGraph, HtmlGenerator::endGroupCollaboration and HtmlGenerator::endInclDepGraph.
fillColorStyleMap()
| static |
Definition at line 627 of file htmlgen.cpp.
References QCString::find, QCString::findRev, QCString::left, QCString::mid, QCString::startsWith, QCString::str and QCString::stripWhiteSpace.
Referenced by fillColorStyleMaps.
fillColorStyleMaps()
| static |
Definition at line 648 of file htmlgen.cpp.
References Config_getEnum, fillColorStyleMap, g_darkMap, g_lightMap, ResourceMgr::getAsString, ResourceMgr::instance and replaceColorMarkers.
Referenced by HtmlGenerator::init and HtmlGenerator::writeStyleSheetFile.
getConvertLatexMacro()
| static |
Convert a set of LaTeX commands \(re)newcommand to a form readable by MathJax LaTeX syntax:
MathJax syntax:
LaTeX syntax:
MathJax syntax:
Definition at line 149 of file htmlgen.cpp.
References FileInfo::absFilePath, GrowBuf::addChar, GrowBuf::addStr, Config_getString, QCString::data, fileToString, GrowBuf::get, QCString::isEmpty, QCString::length, literal_at, QCString::str and warn.
Referenced by HtmlGenerator::getMathJaxMacros and HtmlGenerator::init.
getSearchBox()
| static |
Definition at line 309 of file htmlgen.cpp.
References TextStream::str, writeClientSearchBox and writeServerSearchBox.
Referenced by substituteHtmlKeywords.
quickLinkVisible()
| static |
Definition at line 2689 of file htmlgen.cpp.
References ClassMemberHighlight::All, FileMemberHighlight::All, ModuleMemberHighlight::All, NamespaceMemberHighlight::All, Config_getBool, Doxygen::exampleLinkedMap, FALSE, Index::instance and TRUE.
Referenced by renderQuickLinksAsJs, renderQuickLinksAsTabs and renderQuickLinksAsTree.
renderQuickLinksAsTabs()
| static |
Definition at line 2764 of file htmlgen.cpp.
References LayoutNavEntry::children, Config_getBool, endQuickIndexItem, endQuickIndexList, fixSpaces, LayoutDocManager::instance, LayoutNavEntry::parent, quickLinkVisible, renderQuickLinksAsTabs, startQuickIndexItem, startQuickIndexList, TRUE, writeClientSearchBox and writeServerSearchBox.
Referenced by renderQuickLinksAsTabs and writeDefaultQuickLinks.
renderQuickLinksAsTree()
| static |
Definition at line 2735 of file htmlgen.cpp.
References LayoutNavEntry::children, endQuickIndexList, fixSpaces, quickLinkVisible, renderQuickLinksAsTree and startQuickIndexList.
Referenced by renderQuickLinksAsTree and writeDefaultQuickLinks.
replaceVariables()
| static |
Definition at line 662 of file htmlgen.cpp.
References GrowBuf::addChar, GrowBuf::addStr, Config_getEnum, QCString::data, err, QCString::find, g_darkMap, g_lightMap, GrowBuf::get, QCString::length, QCString::mid and QCString::str.
Referenced by HtmlGenerator::getNavTreeCss, HtmlGenerator::init, writeDefaultStyleSheet and HtmlGenerator::writeSearchData.
startQuickIndexItem()
| static |
Definition at line 2668 of file htmlgen.cpp.
References correctURL and QCString::isEmpty.
Referenced by renderQuickLinksAsTabs.
startQuickIndexList()
| static |
Definition at line 2635 of file htmlgen.cpp.
References Config_getBool and TRUE.
Referenced by renderQuickLinksAsTabs and renderQuickLinksAsTree.
startSectionContent()
| static |
Definition at line 1949 of file htmlgen.cpp.
Reference Config_getBool.
Referenced by HtmlGenerator::endCallGraph, HtmlGenerator::endClassDiagram, HtmlGenerator::endDirDepGraph, HtmlGenerator::endDotGraph, HtmlGenerator::endGroupCollaboration and HtmlGenerator::endInclDepGraph.
startSectionHeader()
| static |
Definition at line 1902 of file htmlgen.cpp.
Reference Config_getBool.
Referenced by HtmlGenerator::startCallGraph, HtmlGenerator::startClassDiagram, HtmlGenerator::startDirDepGraph, HtmlGenerator::startDotGraph, HtmlGenerator::startGroupCollaboration and HtmlGenerator::startInclDepGraph.
startSectionSummary()
| static |
Definition at line 1927 of file htmlgen.cpp.
Reference Config_getBool.
Referenced by HtmlGenerator::endCallGraph, HtmlGenerator::endClassDiagram, HtmlGenerator::endDirDepGraph, HtmlGenerator::endDotGraph, HtmlGenerator::endGroupCollaboration and HtmlGenerator::endInclDepGraph.
substituteHtmlKeywords()
| static |
Definition at line 323 of file htmlgen.cpp.
References Config_getBool, Config_getEnum, Config_getEnumAsString, Config_getList, Config_getString, convertToHtml, FileInfo::exists, FALSE, FileInfo::fileName, g_latex_macro, g_mathjax_code, getSearchBox, htmlMarkerInfo, QCString::isEmpty, QCString::lower, QCString::prepend, removeEmptyLines, selectBlocks, QCString::startsWith, QCString::str, stripPath, substitute, substituteKeywords and theTranslator.
Referenced by HtmlGenerator::init, HtmlGenerator::startFile, HtmlGenerator::writeExternalSearchPage, HtmlGenerator::writePageFooter and HtmlGenerator::writeSearchPage.
writeClientSearchBox()
| static |
Definition at line 76 of file htmlgen.cpp.
Reference theTranslator.
Referenced by getSearchBox and renderQuickLinksAsTabs.
writeDefaultQuickLinks()
| static |
Definition at line 2844 of file htmlgen.cpp.
References AnnotatedClasses, AnnotatedExceptions, AnnotatedInterfaces, AnnotatedStructs, LayoutNavEntry::children, Classes, ClassHierarchy, ClassVisible, Concepts, ConceptVisible, Config_getBool, Examples, ExceptionHierarchy, Exceptions, ExceptionVisible, Files, FileVisible, LayoutNavEntry::find, Functions, Globals, Doxygen::htmlFileExtension, LayoutDocManager::instance, InterfaceHierarchy, Interfaces, InterfaceVisible, Main, ModuleMembers, Modules, ModuleVisible, NamespaceMembers, Namespaces, NamespaceVisible, None, Pages, renderQuickLinksAsTabs, renderQuickLinksAsTree, LayoutDocManager::rootNavEntry, Search, Structs, StructVisible, theTranslator, Topics, TRUE and UserGroup.
Referenced by HtmlGenerator::writeExternalSearchPage, HtmlGenerator::writeQuickLinks and HtmlGenerator::writeSearchPage.
writeDefaultStyleSheet()
| static |
Definition at line 1337 of file htmlgen.cpp.
References Config_getBool, Config_getEnum, Config_getList, Date, DateTime, dateToString, ResourceMgr::getAsString, ResourceMgr::instance, replaceColorMarkers and replaceVariables.
Referenced by HtmlGenerator::writeStyleInfo, LatexGenerator::writeStyleInfo, HtmlGenerator::writeStyleSheetFile and LatexGenerator::writeStyleSheetFile.
writeServerSearchBox()
| static |
Definition at line 98 of file htmlgen.cpp.
References Config_getBool, Doxygen::htmlFileExtension and theTranslator.
Referenced by getSearchBox and renderQuickLinksAsTabs.
Variables
g_darkMap
| static |
Definition at line 625 of file htmlgen.cpp.
Referenced by fillColorStyleMaps and replaceVariables.
g_footer
| static |
Definition at line 67 of file htmlgen.cpp.
Referenced by LatexGenerator::endIndexSection, HtmlGenerator::init, LatexGenerator::init and HtmlGenerator::writePageFooter.
g_footer_file
| static |
Definition at line 66 of file htmlgen.cpp.
Referenced by LatexGenerator::endIndexSection, HtmlGenerator::init, LatexGenerator::init and HtmlGenerator::writePageFooter.
g_header
| static |
Definition at line 64 of file htmlgen.cpp.
Referenced by HtmlGenerator::init, LatexGenerator::init, HtmlGenerator::startFile, LatexGenerator::startIndexSection, HtmlGenerator::writeExternalSearchPage and HtmlGenerator::writeSearchPage.
g_header_file
| static |
Definition at line 65 of file htmlgen.cpp.
Referenced by HtmlGenerator::init, LatexGenerator::init, HtmlGenerator::startFile, LatexGenerator::startIndexSection, HtmlGenerator::writeExternalSearchPage and HtmlGenerator::writeSearchPage.
g_indexLock
| static |
Definition at line 1446 of file htmlgen.cpp.
Referenced by HtmlGenerator::startFile.
g_latex_macro
| static |
Definition at line 69 of file htmlgen.cpp.
Referenced by HtmlGenerator::init and substituteHtmlKeywords.
g_lightMap
| static |
Definition at line 624 of file htmlgen.cpp.
Referenced by fillColorStyleMaps and replaceVariables.
g_mathjax_code
| static |
Definition at line 68 of file htmlgen.cpp.
Referenced by HtmlGenerator::init and substituteHtmlKeywords.
hex
| constexpr static |
Definition at line 70 of file htmlgen.cpp.
htmlMarkerInfo
| static |
Definition at line 72 of file htmlgen.cpp.
Referenced by HtmlGenerator::init and substituteHtmlKeywords.
Macro Definitions
DBG_HTML
|
Definition at line 62 of file htmlgen.cpp.
Referenced by HtmlGenerator::endIndent, HtmlGenerator::endInlineMemberDoc, HtmlGenerator::endInlineMemberName, HtmlGenerator::endInlineMemberType, HtmlGenerator::endLabels, HtmlGenerator::endMemberDescription, HtmlGenerator::endMemberDoc, HtmlGenerator::endMemberDocList, HtmlGenerator::endMemberDocName, HtmlGenerator::endMemberDocPrefixItem, HtmlGenerator::endMemberDocSimple, HtmlGenerator::endMemberHeader, HtmlGenerator::endMemberList, HtmlGenerator::endMemberSections, HtmlGenerator::endMemberSubtitle, HtmlGenerator::endParameterExtra, HtmlGenerator::endParameterList, HtmlGenerator::endParameterName, HtmlGenerator::endParameterType, HtmlGenerator::exceptionEntry, HtmlGenerator::insertMemberAlign, HtmlGenerator::startIndent, HtmlGenerator::startInlineMemberDoc, HtmlGenerator::startInlineMemberName, HtmlGenerator::startInlineMemberType, HtmlGenerator::startLabels, HtmlGenerator::startMemberDescription, HtmlGenerator::startMemberDoc, HtmlGenerator::startMemberDocList, HtmlGenerator::startMemberDocName, HtmlGenerator::startMemberDocPrefixItem, HtmlGenerator::startMemberDocSimple, HtmlGenerator::startMemberHeader, HtmlGenerator::startMemberItem, HtmlGenerator::startMemberList, HtmlGenerator::startMemberSections, HtmlGenerator::startMemberSubtitle, HtmlGenerator::startParameterExtra, HtmlGenerator::startParameterList, HtmlGenerator::startParameterName, HtmlGenerator::startParameterType, HtmlGenerator::writeInheritedSectionTitle and HtmlGenerator::writeLabel.
Generated via doxygen2docusaurus by Doxygen 1.14.0.