Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
src
htmlhelp.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
*
4
*
5
* Copyright (C) 1997-2015 by Dimitri van Heesch.
6
*
7
* Permission to use, copy, modify, and distribute this software and its
8
* documentation under the terms of the GNU General Public License is hereby
9
* granted. No representations are made about the suitability of this software
10
* for any purpose. It is provided "as is" without express or implied warranty.
11
* See the GNU General Public License for more details.
12
*
13
* Documents produced by Doxygen are derivative works derived from the
14
* input used in their production; they are not affected by this license.
15
*
16
* The code is this file is largely based on a contribution from
17
* Harm van der Heijden <H.v.d.Heijden@phys.tue.nl>
18
* Please send thanks to him and bug reports to me :-)
19
*/
20
21
#ifndef HTMLHELP_H
22
#define HTMLHELP_H
23
24
#include <
qstrlist.h
>
25
#include <
qdict.h
>
26
#include "
index.h
"
27
#include "
ftextstream.h
"
28
29
class
QFile
;
30
class
Definition
;
31
class
HtmlHelpIndex
;
32
33
/** A class that generated the HTML Help specific files.
34
*
35
* These files can be used with the Microsoft HTML Help workshop
36
* to generate compressed HTML files (.chm).
37
*/
38
class
HtmlHelp
:
public
IndexIntf
39
{
40
/*! used in imageNumber param of HTMLHelp::addContentsItem() function
41
to specify document icon in tree view.
42
Writes <param name="ImageNumber" value="xx"> in .HHC file. */
43
enum
ImageNumber
{
44
BOOK_CLOSED
=1,
BOOK_OPEN
,
45
BOOK_CLOSED_NEW
,
BOOK_OPEN_NEW
,
46
FOLDER_CLOSED
,
FOLDER_OPEN
,
47
FOLDER_CLOSED_NEW
,
FOLDER_OPEN_NEW
,
48
QUERY
,
QUERY_NEW
,
49
TEXT
,
TEXT_NEW
,
50
WEB_DOC
,
WEB_DOC_NEW
,
51
WEB_LINK
,
WEB_LINK_NEW
,
52
INFO
,
INFO_NEW
,
53
LINK
,
LINK_NEW
,
54
BOOKLET
,
BOOKLET_NEW
,
55
EMAIL
,
EMAIL_NEW
,
56
EMAIL2
,
EMAIL2_NEW
,
57
IMAGE
,
IMAGE_NEW
,
58
AUDIO
,
AUDIO_NEW
,
59
MUSIC
,
MUSIC_NEW
,
60
VIDEO
,
VIDEO_NEW
,
61
INDEX
,
INDEX_NEW
,
62
IDEA
,
IDEA_NEW
,
63
NOTE
,
NOTE_NEW
,
64
TOOL
,
TOOL_NEW
65
};
66
public
:
67
//static HtmlHelp *getInstance();
68
HtmlHelp
();
69
~HtmlHelp
();
70
void
initialize
();
71
void
finalize
();
72
void
incContentsDepth
();
73
void
decContentsDepth
();
74
void
addContentsItem
(
bool
isDir,
75
const
char
*
name
,
76
const
char
*ref,
77
const
char
*
file
,
78
const
char
*anchor,
79
bool
separateIndex,
80
bool
addToNavIndex,
81
Definition
*def);
82
void
addIndexItem
(
Definition
*context,
MemberDef
*
md
,
83
const
char
*sectionAnchor,
const
char
*
title
);
84
void
addIndexFile
(
const
char
*
name
);
85
void
addImageFile
(
const
char
*);
86
void
addStyleSheetFile
(
const
char
*) {}
87
88
private
:
89
friend
class
HtmlHelpIndex
;
90
void
createProjectFile
();
91
92
QFile
*
cf
,*
kf
;
93
FTextStream
cts
,
kts
;
94
HtmlHelpIndex
*
index
;
95
int
dc
;
96
QStrList
indexFiles
;
97
QStrList
imageFiles
;
98
QDict<void>
indexFileDict
;
99
static
HtmlHelp
*
theInstance
;
100
QCString
recode
(
const
QCString
&
s
);
101
void
*
m_fromUtf8
;
102
};
103
104
#endif
/* HTMLHELP_H */
105
name
static QCString name
Definition:
declinfo.cpp:673
HtmlHelp::EMAIL_NEW
Definition:
htmlhelp.h:55
HtmlHelp::AUDIO_NEW
Definition:
htmlhelp.h:58
QStrList
Definition:
qstrlist.h:57
HtmlHelp::addContentsItem
void addContentsItem(bool isDir, const char *name, const char *ref, const char *file, const char *anchor, bool separateIndex, bool addToNavIndex, Definition *def)
Definition:
htmlhelp.cpp:627
HtmlHelp::LINK
Definition:
htmlhelp.h:53
HtmlHelp::EMAIL2_NEW
Definition:
htmlhelp.h:56
HtmlHelp::NOTE
Definition:
htmlhelp.h:63
Definition
Definition:
definition.h:92
HtmlHelp::NOTE_NEW
Definition:
htmlhelp.h:63
index.h
MemberDef
Definition:
memberdef.h:43
HtmlHelp::IMAGE
Definition:
htmlhelp.h:57
HtmlHelp::FOLDER_OPEN
Definition:
htmlhelp.h:46
HtmlHelp::QUERY_NEW
Definition:
htmlhelp.h:48
HtmlHelp::BOOK_CLOSED_NEW
Definition:
htmlhelp.h:45
HtmlHelp::EMAIL
Definition:
htmlhelp.h:55
HtmlHelp::ImageNumber
ImageNumber
Definition:
htmlhelp.h:43
HtmlHelp::TEXT_NEW
Definition:
htmlhelp.h:49
HtmlHelp::IDEA_NEW
Definition:
htmlhelp.h:62
HtmlHelp::INDEX
Definition:
htmlhelp.h:61
HtmlHelp::EMAIL2
Definition:
htmlhelp.h:56
HtmlHelp::AUDIO
Definition:
htmlhelp.h:58
HtmlHelp::INDEX_NEW
Definition:
htmlhelp.h:61
FTextStream
Simplified and optimized version of QTextStream.
Definition:
ftextstream.h:11
HtmlHelp::FOLDER_OPEN_NEW
Definition:
htmlhelp.h:47
HtmlHelp::indexFileDict
QDict< void > indexFileDict
Definition:
htmlhelp.h:98
HtmlHelp::MUSIC_NEW
Definition:
htmlhelp.h:59
HtmlHelp::TOOL
Definition:
htmlhelp.h:64
HtmlHelp::VIDEO
Definition:
htmlhelp.h:60
HtmlHelp::addStyleSheetFile
void addStyleSheetFile(const char *)
Definition:
htmlhelp.h:86
qstrlist.h
HtmlHelp::QUERY
Definition:
htmlhelp.h:48
HtmlHelp::MUSIC
Definition:
htmlhelp.h:59
HtmlHelp::theInstance
static HtmlHelp * theInstance
Definition:
htmlhelp.h:99
HtmlHelpIndex
Definition:
htmlhelp.cpp:68
HtmlHelp::~HtmlHelp
~HtmlHelp()
Definition:
htmlhelp.cpp:281
HtmlHelp::HtmlHelp
HtmlHelp()
Definition:
htmlhelp.cpp:272
HtmlHelp::VIDEO_NEW
Definition:
htmlhelp.h:60
HtmlHelp::IDEA
Definition:
htmlhelp.h:62
cache_state.file
file
Definition:
cache_state.py:421
HtmlHelp::addIndexFile
void addIndexFile(const char *name)
Definition:
htmlhelp.cpp:536
HtmlHelp::indexFiles
QStrList indexFiles
Definition:
htmlhelp.h:96
HtmlHelp
Definition:
htmlhelp.h:38
HtmlHelp::addImageFile
void addImageFile(const char *)
Definition:
htmlhelp.cpp:711
HtmlHelp::addIndexItem
void addIndexItem(Definition *context, MemberDef *md, const char *sectionAnchor, const char *title)
Definition:
htmlhelp.cpp:679
ftextstream.h
HtmlHelp::BOOK_OPEN
Definition:
htmlhelp.h:44
wirecell.gen.test.plot_impactzipper.title
title
Definition:
plot_impactzipper.py:90
HtmlHelp::INFO
Definition:
htmlhelp.h:52
HtmlHelp::recode
QCString recode(const QCString &s)
Definition:
htmlhelp.cpp:595
HtmlHelp::WEB_LINK
Definition:
htmlhelp.h:51
HtmlHelp::kts
FTextStream kts
Definition:
htmlhelp.h:93
QFile
The QFile class is an I/O device that operates on files.
Definition:
qfile.h:50
python.root_metadata.md
md
Definition:
root_metadata.py:196
IndexIntf
Abstract interface for index generators.
Definition:
index.h:30
HtmlHelp::TEXT
Definition:
htmlhelp.h:49
HtmlHelp::BOOKLET
Definition:
htmlhelp.h:54
HtmlHelp::FOLDER_CLOSED_NEW
Definition:
htmlhelp.h:47
HtmlHelp::INFO_NEW
Definition:
htmlhelp.h:52
HtmlHelp::WEB_DOC
Definition:
htmlhelp.h:50
HtmlHelp::initialize
void initialize()
Definition:
htmlhelp.cpp:303
qdict.h
HtmlHelp::m_fromUtf8
void * m_fromUtf8
Definition:
htmlhelp.h:101
HtmlHelp::cf
QFile * cf
Definition:
htmlhelp.h:92
HtmlHelp::FOLDER_CLOSED
Definition:
htmlhelp.h:46
HtmlHelp::kf
QFile * kf
Definition:
htmlhelp.h:92
HtmlHelp::WEB_LINK_NEW
Definition:
htmlhelp.h:51
HtmlHelp::IMAGE_NEW
Definition:
htmlhelp.h:57
HtmlHelp::imageFiles
QStrList imageFiles
Definition:
htmlhelp.h:97
HtmlHelp::index
HtmlHelpIndex * index
Definition:
htmlhelp.h:94
HtmlHelp::WEB_DOC_NEW
Definition:
htmlhelp.h:50
HtmlHelp::createProjectFile
void createProjectFile()
Definition:
htmlhelp.cpp:465
HtmlHelp::incContentsDepth
void incContentsDepth()
Definition:
htmlhelp.cpp:577
HtmlHelp::LINK_NEW
Definition:
htmlhelp.h:53
QCString
Definition:
qcstring.h:131
HtmlHelp::dc
int dc
Definition:
htmlhelp.h:95
HtmlHelp::finalize
void finalize()
Definition:
htmlhelp.cpp:549
HtmlHelp::decContentsDepth
void decContentsDepth()
Definition:
htmlhelp.cpp:588
HtmlHelp::BOOKLET_NEW
Definition:
htmlhelp.h:54
HtmlHelp::BOOK_OPEN_NEW
Definition:
htmlhelp.h:45
HtmlHelp::cts
FTextStream cts
Definition:
htmlhelp.h:93
s
static QCString * s
Definition:
config.cpp:1042
HtmlHelp::BOOK_CLOSED
Definition:
htmlhelp.h:44
HtmlHelp::TOOL_NEW
Definition:
htmlhelp.h:64
Generated by
1.8.11