My Project
|
#include <stdlib.h>
#include <qdir.h>
#include <qregexp.h>
#include "message.h"
#include "htmlgen.h"
#include "config.h"
#include "util.h"
#include "doxygen.h"
#include "logos.h"
#include "diagram.h"
#include "version.h"
#include "dot.h"
#include "language.h"
#include "htmlhelp.h"
#include "docparser.h"
#include "htmldocvisitor.h"
#include "searchindex.h"
#include "pagedef.h"
#include "debug.h"
#include "dirdef.h"
#include "vhdldocgen.h"
#include "layout.h"
#include "image.h"
#include "ftvhelp.h"
#include "bufstr.h"
#include "resourcemgr.h"
Go to the source code of this file.
Macros | |
#define | DBG_HTML(x) |
Functions | |
static void | writeClientSearchBox (FTextStream &t, const char *relPath) |
static void | writeServerSearchBox (FTextStream &t, const char *relPath, bool highlightSearch) |
QCString | clearBlock (const char *s, const char *begin, const char *end) |
Clear a text block s from begin to end markers. | |
QCString | selectBlock (const QCString &s, const QCString &name, bool enable) |
static QCString | getSearchBox (bool serverSide, QCString relPath, bool highlightSearch) |
static QCString | removeEmptyLines (const QCString &s) |
static QCString | substituteHtmlKeywords (const QCString &s, const QCString &title, const QCString &relPath, const QCString &navPath=QCString()) |
static void | startSectionHeader (FTextStream &t, const QCString &relPath, int sectionCount) |
static void | endSectionHeader (FTextStream &t) |
static void | startSectionSummary (FTextStream &t, int sectionCount) |
static void | endSectionSummary (FTextStream &t) |
static void | startSectionContent (FTextStream &t, int sectionCount) |
static void | endSectionContent (FTextStream &t) |
static void | startQuickIndexList (FTextStream &t, bool compact, bool topLevel=TRUE) |
static void | endQuickIndexList (FTextStream &t, bool compact) |
static void | startQuickIndexItem (FTextStream &t, const char *l, bool hl, bool, const QCString &relPath) |
static void | endQuickIndexItem (FTextStream &t, const char *l) |
static bool | quickLinkVisible (LayoutNavEntry::Kind kind) |
static void | renderQuickLinksAsTree (FTextStream &t, const QCString &relPath, LayoutNavEntry *root) |
static void | renderQuickLinksAsTabs (FTextStream &t, const QCString &relPath, LayoutNavEntry *hlEntry, LayoutNavEntry::Kind kind, bool highlightParent, bool highlightSearch) |
static void | writeDefaultQuickLinks (FTextStream &t, bool compact, HighlightedItem hli, const char *file, const QCString &relPath) |
Variables | |
static QCString | g_header |
static QCString | g_footer |
static QCString | g_mathjax_code |
#define DBG_HTML | ( | x | ) |
Definition at line 48 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::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::startParameterList(), HtmlGenerator::startParameterName(), HtmlGenerator::startParameterType(), HtmlGenerator::writeInheritedSectionTitle(), and HtmlGenerator::writeLabel().
QCString clearBlock | ( | const char * | s, |
const char * | begin, | ||
const char * | end | ||
) |
Clear a text block s from begin to end markers.
Definition at line 110 of file htmlgen.cpp.
Referenced by selectBlock().
|
static |
Definition at line 1996 of file htmlgen.cpp.
Referenced by renderQuickLinksAsTabs().
|
static |
Definition at line 1969 of file htmlgen.cpp.
Referenced by renderQuickLinksAsTabs(), and renderQuickLinksAsTree().
|
static |
Definition at line 1337 of file htmlgen.cpp.
References endl().
Referenced by HtmlGenerator::endCallGraph(), HtmlGenerator::endClassDiagram(), HtmlGenerator::endDirDepGraph(), HtmlGenerator::endDotGraph(), HtmlGenerator::endGroupCollaboration(), and HtmlGenerator::endInclDepGraph().
|
static |
Definition at line 1293 of file htmlgen.cpp.
References endl().
Referenced by HtmlGenerator::endCallGraph(), HtmlGenerator::endClassDiagram(), HtmlGenerator::endDirDepGraph(), HtmlGenerator::endDotGraph(), HtmlGenerator::endGroupCollaboration(), and HtmlGenerator::endInclDepGraph().
|
static |
Definition at line 1311 of file htmlgen.cpp.
References Config_getBool, and endl().
Referenced by HtmlGenerator::endCallGraph(), HtmlGenerator::endClassDiagram(), HtmlGenerator::endDirDepGraph(), HtmlGenerator::endDotGraph(), HtmlGenerator::endGroupCollaboration(), and HtmlGenerator::endInclDepGraph().
|
static |
Definition at line 175 of file htmlgen.cpp.
References writeClientSearchBox(), and writeServerSearchBox().
Referenced by substituteHtmlKeywords().
|
static |
Definition at line 2003 of file htmlgen.cpp.
References annotatedClasses, LayoutNavEntry::Classes, LayoutNavEntry::ClassHierarchy, LayoutNavEntry::ClassIndex, LayoutNavEntry::ClassList, LayoutNavEntry::ClassMembers, CMHL_All, Config_getBool, SDict< T >::count(), documentedClassMembers, documentedFileMembers, documentedGroups, documentedHtmlFiles, documentedNamespaceMembers, documentedNamespaces, LayoutNavEntry::Examples, Doxygen::exampleSDict, LayoutNavEntry::FileGlobals, LayoutNavEntry::FileList, LayoutNavEntry::Files, FMHL_All, hierarchyClasses, indexedPages, LayoutNavEntry::MainPage, LayoutNavEntry::Modules, LayoutNavEntry::NamespaceList, LayoutNavEntry::NamespaceMembers, LayoutNavEntry::Namespaces, NMHL_All, LayoutNavEntry::Pages, LayoutNavEntry::User, and LayoutNavEntry::UserGroup.
Referenced by renderQuickLinksAsTabs(), and renderQuickLinksAsTree().
|
static |
Definition at line 190 of file htmlgen.cpp.
References BufStr::data().
Referenced by substituteHtmlKeywords().
|
static |
Definition at line 2062 of file htmlgen.cpp.
References LayoutNavEntry::children(), Config_getBool, endQuickIndexItem(), endQuickIndexList(), fixSpaces(), LayoutDocManager::instance(), LayoutNavEntry::parent(), quickLinkVisible(), HtmlGenerator::relPath, LayoutDocManager::rootNavEntry(), startQuickIndexItem(), startQuickIndexList(), writeClientSearchBox(), and writeServerSearchBox().
|
static |
Definition at line 2031 of file htmlgen.cpp.
References LayoutNavEntry::children(), endQuickIndexList(), fixSpaces(), quickLinkVisible(), and startQuickIndexList().
Referenced by writeDefaultQuickLinks().
QCString selectBlock | ( | const QCString & | s, |
const QCString & | name, | ||
bool | enable | ||
) |
Definition at line 150 of file htmlgen.cpp.
References clearBlock(), and substitute().
Referenced by substituteHtmlKeywords().
|
static |
Definition at line 1982 of file htmlgen.cpp.
References correctURL().
Referenced by renderQuickLinksAsTabs().
|
static |
Definition at line 1949 of file htmlgen.cpp.
Referenced by renderQuickLinksAsTabs(), and renderQuickLinksAsTree().
|
static |
Definition at line 1321 of file htmlgen.cpp.
References Config_getBool, and endl().
Referenced by HtmlGenerator::endCallGraph(), HtmlGenerator::endClassDiagram(), HtmlGenerator::endDirDepGraph(), HtmlGenerator::endDotGraph(), HtmlGenerator::endGroupCollaboration(), and HtmlGenerator::endInclDepGraph().
|
static |
Definition at line 1273 of file htmlgen.cpp.
References Config_getBool, and endl().
Referenced by HtmlGenerator::startCallGraph(), HtmlGenerator::startClassDiagram(), HtmlGenerator::startDirDepGraph(), HtmlGenerator::startDotGraph(), HtmlGenerator::startGroupCollaboration(), and HtmlGenerator::startInclDepGraph().
|
static |
Definition at line 1299 of file htmlgen.cpp.
References Config_getBool, and endl().
Referenced by HtmlGenerator::endCallGraph(), HtmlGenerator::endClassDiagram(), HtmlGenerator::endDirDepGraph(), HtmlGenerator::endDotGraph(), HtmlGenerator::endGroupCollaboration(), and HtmlGenerator::endInclDepGraph().
|
static |
Definition at line 220 of file htmlgen.cpp.
References Config_getBool, Config_getEnum, Config_getList, Config_getString, convertToHtml(), dateToString(), g_mathjax_code, getSearchBox(), removeEmptyLines(), selectBlock(), stripPath(), substitute(), substituteKeywords(), theTranslator, Translator::trGeneratedAt(), and Translator::trGeneratedBy().
Referenced by HtmlGenerator::startFile(), HtmlGenerator::writeExternalSearchPage(), HtmlGenerator::writePageFooter(), and HtmlGenerator::writeSearchPage().
|
static |
Definition at line 57 of file htmlgen.cpp.
References theTranslator, and Translator::trSearch().
Referenced by getSearchBox(), and renderQuickLinksAsTabs().
|
static |
Definition at line 2134 of file htmlgen.cpp.
References Config_getBool, endl(), Doxygen::htmlFileExtension, LayoutDocManager::instance(), renderQuickLinksAsTree(), LayoutDocManager::rootNavEntry(), theTranslator, and Translator::trSearch().
Referenced by HtmlGenerator::writeExternalSearchPage(), HtmlGenerator::writeQuickLinks(), and HtmlGenerator::writeSearchPage().
|
static |
Definition at line 79 of file htmlgen.cpp.
References Config_getBool, Doxygen::htmlFileExtension, theTranslator, and Translator::trSearch().
Referenced by getSearchBox(), and renderQuickLinksAsTabs().
|
static |
Definition at line 51 of file htmlgen.cpp.
Referenced by HtmlGenerator::init(), and HtmlGenerator::writePageFooter().
|
static |
Definition at line 50 of file htmlgen.cpp.
Referenced by HtmlGenerator::init(), HtmlGenerator::startFile(), HtmlGenerator::writeExternalSearchPage(), and HtmlGenerator::writeSearchPage().
|
static |
Definition at line 52 of file htmlgen.cpp.
Referenced by HtmlGenerator::init(), and substituteHtmlKeywords().