|
Doxygen
|
A class that generated the HTML Help specific files. More...
#include <src/htmlhelp.h>
Classes | |
| class | Private |
Public Member Functions | |
| HtmlHelp () | |
| ~HtmlHelp () | |
| void | initialize () |
| void | finalize () |
| void | incContentsDepth () |
| void | decContentsDepth () |
| void | addContentsItem (bool isDir, const DString &name, const DString &ref, const DString &file, const DString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def, const DString &nameAsHtml) |
| void | addIndexItem (const Definition *context, const MemberDef *md, const DString §ionAnchor, const DString &title) |
| void | addIndexFile (const DString &name) |
| void | addImageFile (const DString &) |
| void | addStyleSheetFile (const DString &) |
Static Public Attributes | |
| static const DString | hhcFileName = "index.hhc" |
| static const DString | hhkFileName = "index.hhk" |
| static const DString | hhpFileName = "index.hhp" |
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 | |
| DString | recode (const DString &s) |
Private Attributes | |
| std::unique_ptr< Private > | p |
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 35 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 40 of file htmlhelp.h.
| HtmlHelp::HtmlHelp | ( | ) |
Constructs an html object. The object has to be initialized before it can be used.
Definition at line 356 of file htmlhelp.cpp.
References p.
Referenced by ~HtmlHelp().
|
default |
|
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. |
| nameAsHtml | name parameter in HTML format |
Implements IndexIntf.
Definition at line 543 of file htmlhelp.cpp.
References addHtmlExtensionIfMissing(), BOOK_CLOSED, convertToHtml(), DString::empty(), externalRef(), p, and TEXT.
Referenced by ~HtmlHelp().
|
virtual |
Implements IndexIntf.
Definition at line 625 of file htmlhelp.cpp.
References p, and DString::str().
Referenced by ~HtmlHelp().
|
virtual |
Implements IndexIntf.
Definition at line 480 of file htmlhelp.cpp.
References p, and DString::str().
Referenced by ~HtmlHelp().
|
virtual |
Implements IndexIntf.
Definition at line 599 of file htmlhelp.cpp.
References Definition::anchor(), MemberDef::argsString(), DString::DString(), DString::empty(), Definition::getOutputFileBase(), Definition::hasDocumentation(), Definition::name(), and p.
Referenced by ~HtmlHelp().
|
virtual |
Implements IndexIntf.
Definition at line 620 of file htmlhelp.cpp.
References p, and DString::str().
Referenced by ~HtmlHelp().
|
virtual |
Decrease the level of the contents hierarchy. This will end the unnumber HTML list.
Implements IndexIntf.
Definition at line 525 of file htmlhelp.cpp.
References p.
Referenced by ~HtmlHelp().
|
virtual |
Finalizes the HTML help. This will finish and close the htmlhelp contents file and the htmlhelp index file.
Implements IndexIntf.
Definition at line 489 of file htmlhelp.cpp.
References p.
Referenced by ~HtmlHelp().
|
virtual |
Increase the level of the contents hierarchy. This will start a new unnumbered HTML list in contents file.
Implements IndexIntf.
Definition at line 514 of file htmlhelp.cpp.
References p.
Referenced by ~HtmlHelp().
|
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 364 of file htmlhelp.cpp.
References Config_getString, hhcFileName, hhkFileName, Portable::openOutputStream(), p, and term.
Referenced by ~HtmlHelp().
|
inlinestatic |
Definition at line 87 of file htmlhelp.h.
Referenced by HtmlHelp::Private::createProjectFile(), and initialize().
|
inlinestatic |
Definition at line 88 of file htmlhelp.h.
Referenced by HtmlHelp::Private::createProjectFile(), and initialize().
|
inlinestatic |
Definition at line 89 of file htmlhelp.h.
Referenced by HtmlHelp::Private::createProjectFile(), and runHtmlHelpCompiler().
|
private |
Definition at line 92 of file htmlhelp.h.
Referenced by addContentsItem(), addImageFile(), addIndexFile(), addIndexItem(), addStyleSheetFile(), decContentsDepth(), finalize(), HtmlHelp(), incContentsDepth(), and initialize().