This class is used by wxHtmlHelpController and wxHtmlHelpFrame to access HTML help items. It is internal class and should not be used directly - except for the case you're writing your own HTML help controller.
Derived from
Include files
<wx/html/helpdata.h>
Members
wxHtmlHelpData::wxHtmlHelpData
wxHtmlHelpData::AddBook
wxHtmlHelpData::FindPageById
wxHtmlHelpData::FindPageByName
wxHtmlHelpData::GetBookRecArray
wxHtmlHelpData::GetContentsArray
wxHtmlHelpData::GetIndexArray
wxHtmlHelpData::SetTempDir
wxHtmlHelpData()
Constructor.
bool AddBook(const wxString& book_url)
Adds new book. book is URL (not filename!) of HTML help project (hhp) or ZIP file that contains arbitrary number of .hhp projects (this zip file can have either .zip or .htb extension, htb stands for "html book"). Returns success.
wxString FindPageById(int id)
Returns page's URL based on integer ID stored in project.
wxString FindPageByName(const wxString& page)
Returns page's URL based on its (file)name.
const wxHtmlBookRecArray& GetBookRecArray()
Returns array with help books info.
const wxHtmlHelpDataItems& GetContentsArray()
Returns reference to array with contents entries.
const wxHtmlHelpDataItems& GetIndexArray()
Returns reference to array with index entries.
void SetTempDir(const wxString& path)
Sets temporary directory where binary cached versions of MS HTML Workshop files will be stored. (This is turned off by default and you can enable this feature by setting non-empty temp dir.)