]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/html/helpdata.h
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        html/helpdata.h 
   3 // Purpose:     interface of wxHtmlHelpData 
   4 // Author:      wxWidgets team 
   6 // Licence:     wxWindows license 
   7 ///////////////////////////////////////////////////////////////////////////// 
  12     This class is used by wxHtmlHelpController and wxHtmlHelpFrame to access HTML 
  15     It is internal class and should not be used directly - except for the case 
  16     you're writing your own HTML help controller. 
  21 class wxHtmlHelpData 
: public wxObject
 
  32         @a book_url is URL (not filename!) of HTML help project (hhp) or ZIP file 
  33         that contains arbitrary number of .hhp projects (this zip file can have 
  34         either .zip or .htb extension, htb stands for "html book"). 
  38     bool AddBook(const wxString
& book_url
); 
  41         Returns page's URL based on integer ID stored in project. 
  43     wxString 
FindPageById(int id
); 
  46         Returns page's URL based on its (file)name. 
  48     wxString 
FindPageByName(const wxString
& page
); 
  51         Returns array with help books info. 
  53     const wxHtmlBookRecArray
& GetBookRecArray() const; 
  56         Returns reference to array with contents entries. 
  58     const wxHtmlHelpDataItems
& GetContentsArray() const; 
  61         Returns reference to array with index entries. 
  63     const wxHtmlHelpDataItems
& GetIndexArray() const; 
  66         Sets the temporary directory where binary cached versions of MS HTML Workshop 
  67         files will be stored. (This is turned off by default and you can enable 
  68         this feature by setting non-empty temp dir.) 
  70     void SetTempDir(const wxString
& path
);