35 for (
int i=0; i<
depth; i++)
73 if (!
p->tocstream.is_open())
75 term(
"Could not open file %s for writing\n",
qPrint(name));
82 title =
"Doxygen generated documentation";
102 p->tocstream <<
"</toc>\n";
105 p->tocstream.close();
112 t <<
"<plugin name=\"" << docId <<
"\" id=\"" << docId <<
"\"\n";
113 t <<
" version=\"1.0.0\" provider-name=\"Doxygen\">\n";
114 t <<
" <extension point=\"org.eclipse.help.toc\">\n";
115 t <<
" <toc file=\"toc.xml\" primary=\"true\" />\n";
116 t <<
" </extension>\n";
141 if (
p->openTags==
p->depth)
145 p->tocstream <<
"</topic>\n";
185 p->tocstream <<
"<topic label=\"" <<
convertToXML(name) <<
"\"";
186 p->tocstream <<
" href=\"" <<
convertToXML(
p->pathprefix) << &file[1] <<
"\"";
192 p->tocstream <<
"<topic label=\"" <<
convertToXML(name) <<
"\"";
196 p->tocstream <<
"#" << anchor;
198 p->tocstream <<
"\"";
206 p->tocstream <<
"<topic label=\"" <<
convertToXML(name) <<
"\"";
The common base class of all entity definitions found in the sources.
static QCString htmlFileExtension
virtual void addIndexFile(const QCString &name)
virtual void addStyleSheetFile(const QCString &name)
virtual void decContentsDepth()
Decrease the level of content hierarchy.
std::unique_ptr< Private > p
virtual void finalize()
Finish generation of the Eclipse specific help files.
virtual void incContentsDepth()
Increase the level of content hierarchy.
virtual void addIndexItem(const Definition *context, const MemberDef *md, const QCString §ionAnchor, const QCString &title)
virtual void addImageFile(const QCString &name)
virtual void addContentsItem(bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def)
Add an item to the content.
virtual void initialize()
Initialize the Eclipse generator.
A model of a class/file/namespace member symbol.
This is an alternative implementation of QCString.
bool isEmpty() const
Returns TRUE iff the string is empty.
#define Config_getString(name)
std::ofstream openOutputStream(const QCString &name, bool append=false)
Portable versions of functions that are platform dependent.
const char * qPrint(const char *s)
QCString convertToXML(const QCString &s, bool keepEntities)
void addHtmlExtensionIfMissing(QCString &fName)
A bunch of utility functions.