]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | This class is used by \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller} | |
9 | and \helpref{wxHtmlHelpFrame}{wxhtmlhelpframe} to access HTML help items. | |
10 | It is internal class and should not be used directly - except for the case | |
11 | you're writing your own HTML help controller. | |
12 | ||
13 | ||
14 | \wxheading{Derived from} | |
15 | ||
16 | \helpref{wxObject}{wxobject} | |
17 | ||
9704b250 VS |
18 | \wxheading{Include files} |
19 | ||
20 | <wx/html/helpdata.h> | |
09397bc6 VS |
21 | |
22 | \latexignore{\rtfignore{\wxheading{Members}}} | |
23 | ||
24 | ||
25 | \membersection{wxHtmlHelpData::wxHtmlHelpData}\label{wxhtmlhelpdatawxhtmlhelpdata} | |
26 | ||
27 | \func{}{wxHtmlHelpData}{\void} | |
28 | ||
29 | Constructor. | |
30 | ||
31 | ||
32 | \membersection{wxHtmlHelpData::AddBook}\label{wxhtmlhelpdataaddbook} | |
33 | ||
34 | \func{bool}{AddBook}{\param{const wxString\& }{book}} | |
35 | ||
36 | Adds new book. 'book' is location of HTML help project (hhp) or ZIP file | |
37 | that contains arbitrary number of .hhp projects (this zip file can have | |
38 | either .zip or .htb extension, htb stands for "html book"). | |
39 | Returns success. | |
40 | ||
41 | ||
42 | \membersection{wxHtmlHelpData::FindPageById}\label{wxhtmlhelpdatafindpagebyid} | |
43 | ||
44 | \func{wxString}{FindPageById}{\param{int }{id}} | |
45 | ||
46 | Returns page's URL based on integer ID stored in project. | |
47 | ||
48 | ||
49 | \membersection{wxHtmlHelpData::FindPageByName}\label{wxhtmlhelpdatafindpagebyname} | |
50 | ||
51 | \func{wxString}{FindPageByName}{\param{const wxString\& }{page}} | |
52 | ||
53 | Returns page's URL based on its (file)name. | |
54 | ||
55 | ||
56 | \membersection{wxHtmlHelpData::GetBookRecArray}\label{wxhtmlhelpdatagetbookrecarray} | |
57 | ||
58 | \func{const wxHtmlBookRecArray\&}{GetBookRecArray}{\void} | |
59 | ||
60 | Returns array with help books info. | |
61 | ||
62 | \membersection{wxHtmlHelpData::GetContents}\label{wxhtmlhelpdatagetcontents} | |
63 | ||
64 | \func{wxHtmlContentsItem*}{GetContents}{\void} | |
65 | ||
66 | Returns contents lists pointer. | |
67 | ||
68 | \membersection{wxHtmlHelpData::GetContentsCnt}\label{wxhtmlhelpdatagetcontentscnt} | |
69 | ||
70 | \func{int}{GetContentsCnt}{\void} | |
71 | ||
72 | Returns size of contents list. | |
73 | ||
74 | \membersection{wxHtmlHelpData::GetIndex}\label{wxhtmlhelpdatagetindex} | |
75 | ||
76 | \func{wxHtmlContentsItem*}{GetIndex}{\void} | |
77 | ||
78 | Returns pointer to index items list. | |
79 | ||
80 | \membersection{wxHtmlHelpData::GetIndexCnt}\label{wxhtmlhelpdatagetindexcnt} | |
81 | ||
82 | \func{int}{GetIndexCnt}{\void} | |
83 | ||
84 | Returns size of index list. | |
85 | ||
09397bc6 VS |
86 | \membersection{wxHtmlHelpData::SetTempDir}\label{wxhtmlhelpdatasettempdir} |
87 | ||
88 | \func{void}{SetTempDir}{\param{const wxString\& }{path}} | |
89 | ||
90 | Sets temporary directory where binary cached versions of MS HTML Workshop | |
91 | files will be stored. (This is turned off by default and you can enable | |
92 | this feature by setting non-empty temp dir.) | |
93 |