2 % automatically generated by HelpGen from
3 % helpfrm.h at 24/Oct/99 18:03:10
7 \section{\class{wxHtmlHelpFrame
}}\label{wxhtmlhelpframe
}
9 This class is used by
\helpref{wxHtmlHelpController
}{wxhtmlhelpcontroller
}
11 It is internal class and should not be used directly - except for the case
12 you're writing your own HTML help controller.
15 \wxheading{Derived from
}
17 \helpref{wxFrame
}{wxframe
}
19 \latexignore{\rtfignore{\wxheading{Members
}}}
23 \membersection{wxHtmlHelpFrame::wxHtmlHelpFrame
}\label{wxhtmlhelpframewxhtmlhelpframe
}
25 \func{}{wxHtmlHelpFrame
}{\param{wxHtmlHelpData*
}{data = NULL
}}
27 \func{}{wxHtmlHelpFrame
}{\param{wxWindow*
}{parent
},
\param{int
}{wxWindowID
},
\param{const wxString\&
}{title = wxEmptyString
},
\param{int
}{style = wxHF
\_DEFAULTSTYLE},
\param{wxHtmlHelpData*
}{data = NULL
}}
31 {\it style
} is combination of these flags:
34 \twocolitem{\windowstyle{wxHF
\_TOOLBAR}}{Help frame has toolbar.
}
35 \twocolitem{\windowstyle{wxHF
\_CONTENTS}}{Help frame has contents panel.
}
36 \twocolitem{\windowstyle{wxHF
\_INDEX}}{Help frame has index panel.
}
37 \twocolitem{\windowstyle{wxHF
\_SEARCH}}{Help frame has search panel.
}
41 \membersection{wxHtmlHelpFrame::Create
}\label{wxhtmlhelpframecreate
}
43 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\param{const wxString\&
}{title = wxEmptyString
},
\param{int
}{style = wxHF
\_DEFAULTSTYLE}}
47 {\it style
} is combination of these flags:
50 \twocolitem{\windowstyle{wxHF
\_TOOLBAR}}{Help frame has toolbar.
}
51 \twocolitem{\windowstyle{wxHF
\_CONTENTS}}{Help frame has contents panel.
}
52 \twocolitem{\windowstyle{wxHF
\_INDEX}}{Help frame has index panel.
}
53 \twocolitem{\windowstyle{wxHF
\_SEARCH}}{Help frame has search panel.
}
58 \membersection{wxHtmlHelpFrame::CreateContents
}\label{wxhtmlhelpframecreatecontents
}
60 \func{void
}{CreateContents
}{\param{bool
}{show
\_progress = FALSE
}}
62 Creates contents panel. (May take some time.)
65 \membersection{wxHtmlHelpFrame::CreateIndex
}\label{wxhtmlhelpframecreateindex
}
67 \func{void
}{CreateIndex
}{\param{bool
}{show
\_progress = FALSE
}}
69 Creates index panel. (May take some time.)
72 \membersection{wxHtmlHelpFrame::CreateSearch
}\label{wxhtmlhelpframecreatesearch
}
74 \func{void
}{CreateSearch
}{\void}
79 \membersection{wxHtmlHelpFrame::Display
}\label{wxhtmlhelpframedisplay
}
81 \func{bool
}{Display
}{\param{const wxString\&
}{x
}}
83 \func{bool
}{Display
}{\param{const int
}{id
}}
85 Displays page x. If not found it will offect the user a choice of
87 Looking for the page runs in these steps:
88 1. try to locate file named x (if x is for example "doc/howto.htm")
89 2. try to open starting page of book x
90 3. try to find x in contents (if x is for example "How To ...")
91 4. try to find x in index (if x is for example "How To ...")
93 The second form takes numeric ID as the parameter.
94 (uses extension to MS format, <param name="ID" value=id>)
96 \membersection{wxHtmlHelpFrame::DisplayContents
}\label{wxhtmlhelpframedisplaycontents
}
98 \func{bool
}{DisplayContents
}{\void}
100 Displays contents panel.
102 \membersection{wxHtmlHelpFrame::DisplayIndex
}\label{wxhtmlhelpframedisplayindex
}
104 \func{bool
}{DisplayIndex
}{\void}
106 Displays index panel.
109 \membersection{wxHtmlHelpFrame::GetData
}\label{wxhtmlhelpframegetdata
}
111 \func{wxHtmlHelpData*
}{GetData
}{\void}
113 Return wxHtmlHelpData object.
115 \membersection{wxHtmlHelpFrame::KeywordSearch
}\label{wxhtmlhelpframekeywordsearch
}
117 \func{bool
}{KeywordSearch
}{\param{const wxString\&
}{keyword
}}
119 Search for given keyword.
122 \membersection{wxHtmlHelpFrame::ReadCustomization
}\label{wxhtmlhelpframereadcustomization
}
124 \func{void
}{ReadCustomization
}{\param{wxConfigBase*
}{cfg
},
\param{const wxString\&
}{path = wxEmptyString
}}
126 Reads user's settings for this frame (see
\helpref{wxHtmlHelpController::ReadCustomization
}{wxhtmlhelpcontrollerreadcustomization
})
128 \membersection{wxHtmlHelpFrame::RefreshLists
}\label{wxhtmlhelpframerefreshlists
}
130 \func{void
}{RefreshLists
}{\param{bool
}{show
\_progress = FALSE
}}
132 Refresh all panels. This is neccessary if new book was added.
134 \membersection{wxHtmlHelpFrame::SetTitleFormat
}\label{wxhtmlhelpframesettitleformat
}
136 \func{void
}{SetTitleFormat
}{\param{const wxString\&
}{format
}}
138 Sets frame's title format.
{\it format
} must contain exactly one "\%s"
139 (it will be replaced by page's title).
141 \membersection{wxHtmlHelpFrame::UseConfig
}\label{wxhtmlhelpframeuseconfig
}
143 \func{void
}{UseConfig
}{\param{wxConfigBase*
}{config
},
\param{const wxString\&
}{rootpath = wxEmptyString
}}
145 Add books to search choice panel
148 \membersection{wxHtmlHelpFrame::WriteCustomization
}\label{wxhtmlhelpframewritecustomization
}
150 \func{void
}{WriteCustomization
}{\param{wxConfigBase*
}{cfg
},
\param{const wxString\&
}{path = wxEmptyString
}}
152 Saves user's settings for this frame (see
\helpref{wxHtmlHelpController::WriteCustomization
}{wxhtmlhelpcontrollerwritecustomization
})