wxhtmlhelpdatathis 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::wxhtmlhelpdatawxhtmlhelpdata() constructor.
wxhtmlhelpdata::addbookbool 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.
wxhtmlhelpdata::findpagebyidwxstring findpagebyid(int id) returns page's url based on integer id stored in project.
wxhtmlhelpdata::findpagebynamewxstring findpagebyname(const wxstring& page) returns page's url based on its (file)name.
wxhtmlhelpdata::getbookrecarrayconst wxhtmlbookrecarray& getbookrecarray() returns array with help books info.
wxhtmlhelpdata::getcontentsarrayconst wxhtmlhelpdataitems& getcontentsarray() returns reference to array with contents entries.
wxhtmlhelpdata::getindexarrayconst wxhtmlhelpdataitems& getindexarray() returns reference to array with index entries.
wxhtmlhelpdata::settempdirvoid 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.)
|