]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/hthlpdat.tex
more samples are being built and samples/Makefiles uses SAMPLES_SUBDIRS
[wxWidgets.git] / docs / latex / wx / hthlpdat.tex
CommitLineData
09397bc6
VS
1%
2% automatically generated by HelpGen from
3% helpdata.h at 24/Oct/99 18:03:10
4%
5
6\section{\class{wxHtmlHelpData}}\label{wxhtmlhelpdata}
7
8This class is used by \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}
9and \helpref{wxHtmlHelpFrame}{wxhtmlhelpframe} to access HTML help items.
10It is internal class and should not be used directly - except for the case
11you're writing your own HTML help controller.
12
13
14\wxheading{Derived from}
15
16\helpref{wxObject}{wxobject}
17
18
19\latexignore{\rtfignore{\wxheading{Members}}}
20
21
22\membersection{wxHtmlHelpData::wxHtmlHelpData}\label{wxhtmlhelpdatawxhtmlhelpdata}
23
24\func{}{wxHtmlHelpData}{\void}
25
26Constructor.
27
28
29\membersection{wxHtmlHelpData::AddBook}\label{wxhtmlhelpdataaddbook}
30
31\func{bool}{AddBook}{\param{const wxString\& }{book}}
32
33Adds new book. 'book' is location of HTML help project (hhp) or ZIP file
34that contains arbitrary number of .hhp projects (this zip file can have
35either .zip or .htb extension, htb stands for "html book").
36Returns success.
37
38
39\membersection{wxHtmlHelpData::FindPageById}\label{wxhtmlhelpdatafindpagebyid}
40
41\func{wxString}{FindPageById}{\param{int }{id}}
42
43Returns page's URL based on integer ID stored in project.
44
45
46\membersection{wxHtmlHelpData::FindPageByName}\label{wxhtmlhelpdatafindpagebyname}
47
48\func{wxString}{FindPageByName}{\param{const wxString\& }{page}}
49
50Returns page's URL based on its (file)name.
51
52
53\membersection{wxHtmlHelpData::GetBookRecArray}\label{wxhtmlhelpdatagetbookrecarray}
54
55\func{const wxHtmlBookRecArray\&}{GetBookRecArray}{\void}
56
57Returns array with help books info.
58
59\membersection{wxHtmlHelpData::GetContents}\label{wxhtmlhelpdatagetcontents}
60
61\func{wxHtmlContentsItem*}{GetContents}{\void}
62
63Returns contents lists pointer.
64
65\membersection{wxHtmlHelpData::GetContentsCnt}\label{wxhtmlhelpdatagetcontentscnt}
66
67\func{int}{GetContentsCnt}{\void}
68
69Returns size of contents list.
70
71\membersection{wxHtmlHelpData::GetIndex}\label{wxhtmlhelpdatagetindex}
72
73\func{wxHtmlContentsItem*}{GetIndex}{\void}
74
75Returns pointer to index items list.
76
77\membersection{wxHtmlHelpData::GetIndexCnt}\label{wxhtmlhelpdatagetindexcnt}
78
79\func{int}{GetIndexCnt}{\void}
80
81Returns size of index list.
82
83\membersection{wxHtmlHelpData::LoadCachedBook}\label{wxhtmlhelpdataloadcachedbook}
84
85\func{bool}{LoadCachedBook}{\param{wxHtmlBookRecord* }{book}, \param{wxInputStream* }{f}}
86
87Reads binary cached book.
88
89
90\membersection{wxHtmlHelpData::LoadMSProject}\label{wxhtmlhelpdataloadmsproject}
91
92\func{bool}{LoadMSProject}{\param{wxHtmlBookRecord* }{book}, \param{wxFileSystem\& }{fsys}, \param{const wxString\& }{indexfile}, \param{const wxString\& }{contentsfile}}
93
94Imports .hhp files (MS HTML Help Workshop).
95
96\membersection{wxHtmlHelpData::SaveCachedBook}\label{wxhtmlhelpdatasavecachedbook}
97
98\func{bool}{SaveCachedBook}{\param{wxHtmlBookRecord* }{book}, \param{wxOutputStream* }{f}}
99
100Saves binary cached book. (Internal - this methods is used automatically
101if you call SetTempDir!)
102
103\membersection{wxHtmlHelpData::SetTempDir}\label{wxhtmlhelpdatasettempdir}
104
105\func{void}{SetTempDir}{\param{const wxString\& }{path}}
106
107Sets temporary directory where binary cached versions of MS HTML Workshop
108files will be stored. (This is turned off by default and you can enable
109this feature by setting non-empty temp dir.)
110