]>
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 | ||
18 | ||
19 | \latexignore{\rtfignore{\wxheading{Members}}} | |
20 | ||
21 | ||
22 | \membersection{wxHtmlHelpData::wxHtmlHelpData}\label{wxhtmlhelpdatawxhtmlhelpdata} | |
23 | ||
24 | \func{}{wxHtmlHelpData}{\void} | |
25 | ||
26 | Constructor. | |
27 | ||
28 | ||
29 | \membersection{wxHtmlHelpData::AddBook}\label{wxhtmlhelpdataaddbook} | |
30 | ||
31 | \func{bool}{AddBook}{\param{const wxString\& }{book}} | |
32 | ||
33 | Adds new book. 'book' is location of HTML help project (hhp) or ZIP file | |
34 | that contains arbitrary number of .hhp projects (this zip file can have | |
35 | either .zip or .htb extension, htb stands for "html book"). | |
36 | Returns success. | |
37 | ||
38 | ||
39 | \membersection{wxHtmlHelpData::FindPageById}\label{wxhtmlhelpdatafindpagebyid} | |
40 | ||
41 | \func{wxString}{FindPageById}{\param{int }{id}} | |
42 | ||
43 | Returns 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 | ||
50 | Returns page's URL based on its (file)name. | |
51 | ||
52 | ||
53 | \membersection{wxHtmlHelpData::GetBookRecArray}\label{wxhtmlhelpdatagetbookrecarray} | |
54 | ||
55 | \func{const wxHtmlBookRecArray\&}{GetBookRecArray}{\void} | |
56 | ||
57 | Returns array with help books info. | |
58 | ||
59 | \membersection{wxHtmlHelpData::GetContents}\label{wxhtmlhelpdatagetcontents} | |
60 | ||
61 | \func{wxHtmlContentsItem*}{GetContents}{\void} | |
62 | ||
63 | Returns contents lists pointer. | |
64 | ||
65 | \membersection{wxHtmlHelpData::GetContentsCnt}\label{wxhtmlhelpdatagetcontentscnt} | |
66 | ||
67 | \func{int}{GetContentsCnt}{\void} | |
68 | ||
69 | Returns size of contents list. | |
70 | ||
71 | \membersection{wxHtmlHelpData::GetIndex}\label{wxhtmlhelpdatagetindex} | |
72 | ||
73 | \func{wxHtmlContentsItem*}{GetIndex}{\void} | |
74 | ||
75 | Returns pointer to index items list. | |
76 | ||
77 | \membersection{wxHtmlHelpData::GetIndexCnt}\label{wxhtmlhelpdatagetindexcnt} | |
78 | ||
79 | \func{int}{GetIndexCnt}{\void} | |
80 | ||
81 | Returns size of index list. | |
82 | ||
09397bc6 VS |
83 | \membersection{wxHtmlHelpData::SetTempDir}\label{wxhtmlhelpdatasettempdir} |
84 | ||
85 | \func{void}{SetTempDir}{\param{const wxString\& }{path}} | |
86 | ||
87 | Sets temporary directory where binary cached versions of MS HTML Workshop | |
88 | files will be stored. (This is turned off by default and you can enable | |
89 | this feature by setting non-empty temp dir.) | |
90 |