Class: Wx::HTML::HtmlHelpData
- Defined in:
- lib/wx/doc/gen/html/html_help_data.rb
Overview
This class is used by HtmlHelpController and Wx::HtmlHelpFrame 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.
Instance Method Summary collapse
-
#add_book(book_url) ⇒ Boolean
Adds new book.
-
#find_page_by_id(id) ⇒ String
Returns page’s URL based on integer ID stored in project.
-
#find_page_by_name(page) ⇒ String
Returns page’s URL based on its (file)name.
-
#get_book_rec_array ⇒ Array<Wx::HtmlBookRecord>
(also: #book_rec_array)
Returns array with help books info.
-
#get_contents_array ⇒ Array<Wx::HtmlHelpDataItem>
(also: #contents_array)
Returns reference to array with contents entries.
-
#get_index_array ⇒ Array<Wx::HtmlHelpDataItem>
(also: #index_array)
Returns reference to array with index entries.
-
#initialize ⇒ Wx::HTML::HtmlHelpData
constructor
Constructor.
-
#set_temp_dir(path) ⇒ void
(also: #temp_dir=)
Sets the temporary directory where binary cached versions of MS HTML Workshop files will be stored.
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize ⇒ Wx::HTML::HtmlHelpData
Constructor.
22 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 22 def initialize; end |
Instance Method Details
#add_book(book_url) ⇒ Boolean
Adds new book.
book_url 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.
30 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 30 def add_book(book_url) end |
#find_page_by_id(id) ⇒ String
Returns page’s URL based on integer ID stored in project.
35 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 35 def find_page_by_id(id) end |
#find_page_by_name(page) ⇒ String
Returns page’s URL based on its (file)name.
40 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 40 def find_page_by_name(page) end |
#get_book_rec_array ⇒ Array<Wx::HtmlBookRecord> Also known as: book_rec_array
Returns array with help books info.
44 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 44 def get_book_rec_array; end |
#get_contents_array ⇒ Array<Wx::HtmlHelpDataItem> Also known as: contents_array
Returns reference to array with contents entries.
49 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 49 def get_contents_array; end |
#get_index_array ⇒ Array<Wx::HtmlHelpDataItem> Also known as: index_array
Returns reference to array with index entries.
54 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 54 def get_index_array; end |
#set_temp_dir(path) ⇒ void Also known as: temp_dir=
This method returns an undefined value.
Sets the 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.)
62 |
# File 'lib/wx/doc/gen/html/html_help_data.rb', line 62 def set_temp_dir(path) end |