The HtmlHelp
Class Reference
A class that generated the HTML Help specific files. More...
Declaration
Included Headers
Base class
class | IndexIntf |
Abstract interface for index generators. More... | |
Enumerations Index
enum | ImageNumber { ... } |
Public Constructors Index
HtmlHelp () | |
Public Destructor Index
~HtmlHelp () | |
Public Member Functions Index
void | initialize () |
void | finalize () |
void | incContentsDepth () |
void | decContentsDepth () |
void | addContentsItem (bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def, const QCString &nameAsHtml) |
void | addIndexItem (const Definition *context, const MemberDef *md, const QCString §ionAnchor, const QCString &title) |
void | addIndexFile (const QCString &name) |
void | addImageFile (const QCString &) |
void | addStyleSheetFile (const QCString &) |
Private Member Functions Index
QCString | recode (const QCString &s) |
Private Member Attributes Index
std::unique_ptr< Private > | p |
Public Static Attributes Index
static const QCString | hhcFileName = "index.hhc" |
static const QCString | hhkFileName = "index.hhk" |
static const QCString | hhpFileName = "index.hhp" |
Description
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.
Enumerations
ImageNumber
|
- Enumeration values
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.
Public Constructors
HtmlHelp()
|
Constructs an html object. The object has to be initialized before it can be used.
Declaration at line 64 of file htmlhelp.h, definition at line 361 of file htmlhelp.cpp.
Reference p.
Referenced by ~HtmlHelp.
Public Destructor
~HtmlHelp()
|
Definition at line 65 of file htmlhelp.h.
Reference HtmlHelp.
Public Member Functions
addContentsItem()
| virtual |
Add an list item to the contents file.
- Parameters
-
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
Declaration at line 72 of file htmlhelp.h, definition at line 548 of file htmlhelp.cpp.
References addHtmlExtensionIfMissing, BOOK_CLOSED, convertToHtml, externalRef, QCString::isEmpty, p, TEXT and TRUE.
addImageFile()
| virtual |
Declaration at line 84 of file htmlhelp.h, definition at line 629 of file htmlhelp.cpp.
References p and QCString::str.
addIndexFile()
| virtual |
Declaration at line 83 of file htmlhelp.h, definition at line 485 of file htmlhelp.cpp.
References p and QCString::str.
addIndexItem()
| virtual |
Declaration at line 81 of file htmlhelp.h, definition at line 604 of file htmlhelp.cpp.
References Definition::anchor, MemberDef::argsString, FALSE, Definition::getOutputFileBase, QCString::isEmpty, Definition::name, p and TRUE.
addStyleSheetFile()
| virtual |
Declaration at line 85 of file htmlhelp.h, definition at line 624 of file htmlhelp.cpp.
References p and QCString::str.
decContentsDepth()
| virtual |
Decrease the level of the contents hierarchy. This will end the unnumber HTML list.
- See Also
Declaration at line 71 of file htmlhelp.h, definition at line 530 of file htmlhelp.cpp.
Reference p.
finalize()
| virtual |
Finalizes the HTML help. This will finish and close the htmlhelp contents file and the htmlhelp index file.
- See Also
Declaration at line 69 of file htmlhelp.h, definition at line 494 of file htmlhelp.cpp.
Reference p.
incContentsDepth()
| virtual |
Increase the level of the contents hierarchy. This will start a new unnumbered HTML list in contents file.
- See Also
Declaration at line 70 of file htmlhelp.h, definition at line 519 of file htmlhelp.cpp.
Reference p.
initialize()
| 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)
- See Also
Declaration at line 68 of file htmlhelp.h, definition at line 369 of file htmlhelp.cpp.
References Config_getString, hhcFileName, hhkFileName, Portable::openOutputStream, p and term.
Private Member Functions
recode()
|
Definition at line 93 of file htmlhelp.h.
Private Member Attributes
p
|
Definition at line 92 of file htmlhelp.h.
Referenced by addContentsItem, addImageFile, addIndexFile, addIndexItem, addStyleSheetFile, decContentsDepth, finalize, HtmlHelp, incContentsDepth and initialize.
Public Static Attributes
hhcFileName
| static |
Definition at line 87 of file htmlhelp.h.
Referenced by HtmlHelp::Private::createProjectFile and initialize.
hhkFileName
| static |
Definition at line 88 of file htmlhelp.h.
Referenced by HtmlHelp::Private::createProjectFile and initialize.
hhpFileName
| static |
Definition at line 89 of file htmlhelp.h.
Referenced by HtmlHelp::Private::createProjectFile and runHtmlHelpCompiler.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.