#include <htmlhelp.h>
Public Member Functions | |
HtmlHelp () | |
~HtmlHelp () | |
void | initialize () |
void | finalize () |
void | incContentsDepth () |
void | decContentsDepth () |
void | addContentsItem (bool isDir, const char *name, const char *ref, const char *file, const char *anchor, bool separateIndex, bool addToNavIndex, Definition *def) |
void | addIndexItem (Definition *context, MemberDef *md, const char *sectionAnchor, const char *title) |
void | addIndexFile (const char *name) |
void | addImageFile (const char *) |
void | addStyleSheetFile (const char *) |
Public Member Functions inherited from IndexIntf | |
virtual | ~IndexIntf () |
Private Types | |
enum | ImageNumber { BOOK_CLOSED =1, BOOK_OPEN, BOOK_CLOSED_NEW, BOOK_OPEN_NEW, FOLDER_CLOSED, FOLDER_OPEN, FOLDER_CLOSED_NEW, FOLDER_OPEN_NEW, QUERY, QUERY_NEW, TEXT, TEXT_NEW, WEB_DOC, WEB_DOC_NEW, WEB_LINK, WEB_LINK_NEW, INFO, INFO_NEW, LINK, LINK_NEW, BOOKLET, BOOKLET_NEW, EMAIL, EMAIL_NEW, EMAIL2, EMAIL2_NEW, IMAGE, IMAGE_NEW, AUDIO, AUDIO_NEW, MUSIC, MUSIC_NEW, VIDEO, VIDEO_NEW, INDEX, INDEX_NEW, IDEA, IDEA_NEW, NOTE, NOTE_NEW, TOOL, TOOL_NEW } |
Private Member Functions | |
void | createProjectFile () |
QCString | recode (const QCString &s) |
Private Attributes | |
QFile * | cf |
QFile * | kf |
FTextStream | cts |
FTextStream | kts |
HtmlHelpIndex * | index |
int | dc |
QStrList | indexFiles |
QStrList | imageFiles |
QDict< void > | indexFileDict |
void * | m_fromUtf8 |
Static Private Attributes | |
static HtmlHelp * | theInstance = 0 |
Friends | |
class | HtmlHelpIndex |
A class that generated the HTML Help specific files.
These files can be used with the Microsoft HTML Help workshop to generate compressed HTML files (.chm).
Definition at line 38 of file htmlhelp.h.
|
private |
used in imageNumber param of HTMLHelp::addContentsItem() function to specify document icon in tree view. Writes <param name="ImageNumber" value="xx"> in .HHC file.
Definition at line 43 of file htmlhelp.h.
HtmlHelp::HtmlHelp | ( | ) |
Constructs an html object. The object has to be initialized before it can be used.
Definition at line 272 of file htmlhelp.cpp.
HtmlHelp::~HtmlHelp | ( | ) |
Definition at line 281 of file htmlhelp.cpp.
|
virtual |
Add an list item to the contents file.
isDir | boolean indicating if this is a dir or file entry |
name | the name of the item. |
ref | the URL of to the item. |
file | the file in which the item is defined. |
anchor | the anchor of the item. |
separateIndex | not used. |
addToNavIndex | not used. |
def | not used. |
Implements IndexIntf.
Definition at line 627 of file htmlhelp.cpp.
|
virtual |
|
virtual |
|
virtual |
Implements IndexIntf.
Definition at line 679 of file htmlhelp.cpp.
|
inlinevirtual |
|
private |
Definition at line 465 of file htmlhelp.cpp.
|
virtual |
Decrease the level of the contents hierarchy. This will end the unnumber HTML list.
Implements IndexIntf.
Definition at line 588 of file htmlhelp.cpp.
|
virtual |
Finalizes the HTML help. This will finish and close the contents file (index.hhc) and the index file (index.hhk).
Implements IndexIntf.
Definition at line 549 of file htmlhelp.cpp.
|
virtual |
Increase the level of the contents hierarchy. This will start a new unnumbered HTML list in contents file.
Implements IndexIntf.
Definition at line 577 of file htmlhelp.cpp.
|
virtual |
This will create a contents file (index.hhc) and a index file (index.hhk) and write the header of those files. It also creates a project file (index.hhp)
Implements IndexIntf.
Definition at line 303 of file htmlhelp.cpp.
Definition at line 595 of file htmlhelp.cpp.
|
friend |
Definition at line 89 of file htmlhelp.h.
|
private |
Definition at line 92 of file htmlhelp.h.
|
private |
Definition at line 93 of file htmlhelp.h.
|
private |
Definition at line 95 of file htmlhelp.h.
|
private |
Definition at line 97 of file htmlhelp.h.
|
private |
Definition at line 94 of file htmlhelp.h.
|
private |
Definition at line 98 of file htmlhelp.h.
|
private |
Definition at line 96 of file htmlhelp.h.
|
private |
Definition at line 92 of file htmlhelp.h.
|
private |
Definition at line 93 of file htmlhelp.h.
|
private |
Definition at line 101 of file htmlhelp.h.
|
staticprivate |
Definition at line 99 of file htmlhelp.h.