My Project
|
#include <eclipsehelp.h>
Public Member Functions | |
EclipseHelp () | |
virtual | ~EclipseHelp () |
virtual void | initialize () |
Initialize the Eclipse generator. | |
virtual void | finalize () |
Finish generation of the Eclipse specific help files. | |
virtual void | incContentsDepth () |
Increase the level of content hierarchy. | |
virtual void | decContentsDepth () |
Decrease the level of content hierarchy. | |
virtual void | addContentsItem (bool isDir, const char *name, const char *ref, const char *file, const char *anchor, bool separateIndex, bool addToNavIndex, Definition *def) |
Add an item to the content. | |
virtual void | addIndexItem (Definition *context, MemberDef *md, const char *sectionAnchor, const char *title) |
virtual void | addIndexFile (const char *name) |
virtual void | addImageFile (const char *name) |
virtual void | addStyleSheetFile (const char *name) |
Public Member Functions inherited from IndexIntf | |
virtual | ~IndexIntf () |
Private Member Functions | |
EclipseHelp (const EclipseHelp &) | |
EclipseHelp & | operator= (const EclipseHelp &) |
void | indent () |
void | closedTag () |
void | openedTag () |
Private Attributes | |
int | m_depth |
bool | m_endtag |
int | m_openTags |
QFile * | m_tocfile |
FTextStream | m_tocstream |
QCString | m_pathprefix |
Generator for Eclipse help files.
This class generates the Eclipse specific help files. These files can be used to generate a help plugin readable by the Eclipse IDE.
Definition at line 40 of file eclipsehelp.h.
EclipseHelp::EclipseHelp | ( | ) |
Definition at line 22 of file eclipsehelp.cpp.
|
virtual |
Definition at line 26 of file eclipsehelp.cpp.
|
private |
|
virtual |
Add an item to the content.
isDir | Flag whether the argument file is a directory or a file entry |
name | Name of the item |
ref | URL of the item |
file | Name of a file which the item is defined in (without extension) |
anchor | Name of an anchor of the item. |
separateIndex | not used. |
addToNavIndex | not used. |
def | not used. |
Implements IndexIntf.
Definition at line 169 of file eclipsehelp.cpp.
References closedTag(), convertToXML(), Doxygen::htmlFileExtension, indent(), m_endtag, m_pathprefix, and m_tocstream.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
private |
Definition at line 39 of file eclipsehelp.cpp.
References endl(), m_endtag, and m_tocstream.
Referenced by addContentsItem(), decContentsDepth(), and finalize().
|
virtual |
Decrease the level of content hierarchy.
It closes currently opened topic tag.
Implements IndexIntf.
Definition at line 143 of file eclipsehelp.cpp.
References closedTag(), endl(), indent(), m_depth, m_openTags, and m_tocstream.
|
virtual |
Finish generation of the Eclipse specific help files.
This method writes footers of the files and closes them.
Implements IndexIntf.
Definition at line 101 of file eclipsehelp.cpp.
References closedTag(), Config_getString, endl(), m_depth, m_tocfile, m_tocstream, and FTextStream::unsetDevice().
|
virtual |
Increase the level of content hierarchy.
Implements IndexIntf.
Definition at line 132 of file eclipsehelp.cpp.
References m_depth, and openedTag().
|
private |
Definition at line 30 of file eclipsehelp.cpp.
References m_depth, and m_tocstream.
Referenced by addContentsItem(), and decContentsDepth().
|
virtual |
Initialize the Eclipse generator.
This method opens the XML TOC file and writes headers of the files.
Implements IndexIntf.
Definition at line 64 of file eclipsehelp.cpp.
References Config_getString, convertToXML(), endl(), err(), Doxygen::htmlFileExtension, m_depth, m_pathprefix, m_tocfile, m_tocstream, and FTextStream::setDevice().
|
private |
Definition at line 48 of file eclipsehelp.cpp.
References endl(), m_endtag, m_openTags, and m_tocstream.
Referenced by incContentsDepth().
|
private |
|
private |
Definition at line 61 of file eclipsehelp.h.
Referenced by decContentsDepth(), finalize(), incContentsDepth(), indent(), and initialize().
|
private |
Definition at line 62 of file eclipsehelp.h.
Referenced by addContentsItem(), closedTag(), and openedTag().
|
private |
Definition at line 63 of file eclipsehelp.h.
Referenced by decContentsDepth(), and openedTag().
|
private |
Definition at line 67 of file eclipsehelp.h.
Referenced by addContentsItem(), and initialize().
|
private |
Definition at line 65 of file eclipsehelp.h.
Referenced by finalize(), and initialize().
|
private |
Definition at line 66 of file eclipsehelp.h.
Referenced by addContentsItem(), closedTag(), decContentsDepth(), finalize(), indent(), initialize(), and openedTag().