HDK
|
#include <MOT_HelpManager.h>
Public Member Functions | |
MOT_HelpManager () | |
~MOT_HelpManager () override | |
virtual void | openContents () override |
Opens the table of contenst help page. More... | |
virtual void | openStartup () override |
Opens the special essential-skills page on startup. More... | |
virtual void | openFile (const char *path) override |
Opens a help page defined by the file. More... | |
virtual void | openURL (const char *url) override |
virtual void | openHelpPath (const char *help_path) override |
virtual void | displayData (const char *data, bool is_html) override |
Displays the buffer data in help browser. More... | |
void | openTooltipWindow (const char *text, int x, int y, int w, int h) const override |
void | openTooltipURLWindow (const char *url, int x, int y, int w, int h) const override |
virtual void | closeAllTooltipWindows () const override |
} More... | |
bool | getTooltip (const char *url, UT_String &tooltip) override |
Obtains a tool tip from the help page pointed to by the URL. More... | |
bool | getTooltip (const PRM_Parm *parm, UT_String &tooltip) override |
Obtains a tool tip for the specified parameter. More... | |
bool | getParsedTooltip (const char *url_key, const char *full_help, UT_String &tooltip) override |
bool | getTextHelp (const char *url, UT_String &text_help) override |
UT_StringHolder | getCommandHelp (const char *command) override |
Return the text help for the given hscript command. More... | |
UT_StringHolder | getExprCommandHelp (const char *command) override |
Return the text help for the given hscript expression command. More... | |
UT_StringArray | getCommandsForHelpKeyword (const char *keyword) override |
UT_StringArray | getExprCommandsForHelpKeyword (const char *keyword) override |
virtual void | openHelpCard (OP_Node *node) override |
virtual void | openHelpCard (OP_Operator *op, const char *node_path=nullptr) override |
virtual void | openHelpCard (BM_State *state) override |
virtual void | openHelpCard (SHLF_Tool *tool) override |
virtual void | openHelpCard (const PYP_Interface *interface) override |
virtual void | openHelpCard (OP_GalleryEntry *entry) override |
virtual void | openHelpCard (const PRM_ScriptParm *prop) override |
void | getHelpCardURL (OP_Operator *op, UT_String &str) override |
void | getHelpCardURL (BM_State *state, UT_String &url) override |
void | getHelpCardURL (SHLF_Tool *tool, UT_String &url) override |
void | getHelpCardURL (const PYP_Interface *interface, UT_String &url) override |
void | getHelpCardURL (OP_GalleryEntry *entry, UT_String &url) override |
void | getHelpCardURL (const PRM_ScriptParm *prop, UT_String &url) override |
void | getHelpCardURL (const char *helpTopicId, UT_String &url) override |
void | getHelpCardURL (const PRM_Parm *parm, UT_String &help_path) override |
void | setBaseURI (const char *base_uri) override |
Sets the base URI that is used to disambiguate the relative URLs. More... | |
const UT_String & | getBaseURI () const override |
Returns the baseURI. More... | |
bool | getUseExternalHelp () const override |
void | setUseExternalHelp (bool use_external) override |
Sets whether the help manager should use an external help server or not. More... | |
void | setHelpAddress (const char *help_address) override |
Sets the address the help server should bind to. More... | |
const UT_StringHolder & | getHelpAddress () const override |
void | setUseIPv6 (bool use_ipv6) override |
Sets if the help server can use ipv6. More... | |
bool | getUseIPv6 () const override |
const UT_String & | getExternalHelpURL () const override |
void | setExternalHelpURL (const char *ext_help_url) override |
Sets the url to the external help server. More... | |
const UT_String & | getHelpBaseURL () override |
Returns the base URL for all of Houdini's help. More... | |
const UT_String & | getStartupURL () override |
Returns the url for the help startup page. More... | |
virtual void | closeFloatingPane () override |
Closes the help pane. More... | |
![]() | |
UT_HelpManager () | |
virtual | ~UT_HelpManager () |
void | setDesiredHelpLocation (fpreal x, fpreal y) |
void | clearDesiredHelpLocation () |
void | setFloatingHelpPaneId (int pane_id) |
int | getFloatingHelpPaneId () const |
Protected Member Functions | |
virtual bool | extractTooltip (const char *url, UT_String &tooltip) |
virtual void | updateBaseURLInHelpBrowsersSubclass () |
void | countHelpCardPress (const char *message) |
Count help cards opening times for FS_datalogger. More... | |
bool | getServerHasHelp (const char *url) |
Checks whether the help server has the help page under the given URL. More... | |
UT_StringArray & | getURLStack () |
void | prefixWithHelpBaseURL (const char *help_path, UT_String &url) |
OP_Operator * | getOpFromURL (const char *url) |
Parses URL and tries to obtain the entity. More... | |
OP_GalleryEntry * | getGalleryEntryFromURL (const char *url) |
const PRM_ScriptParm * | getPropFromURL (const char *url) |
void | resolveHelpPath (const char *help_path, UT_String &resolved_path) |
![]() | |
bool | getDesiredHelpLocation (float &x, float &y) |
Additional Inherited Members | |
![]() | |
static bool | platformSupportsHtmlHelp () |
static void | constructOpBasedURL (const char *protocol, const char *optable, const char *optype, const char *extra, UT_String &url) |
static bool | parseOpBasedURL (const char *url, const char *protocol, UT_String &optable, UT_String &optype, UT_String &extra) |
static UT_HelpManager * | getHelpManager () |
static void | setHelpManager (UT_HelpManager *help_manager) |
Definition at line 24 of file MOT_HelpManager.h.
MOT_HelpManager::MOT_HelpManager | ( | ) |
|
override |
|
overridevirtual |
}
Close all tooltip popup windows. Do nothing if there are no open tooltip popup windows.
Implements UT_HelpManager.
|
overridevirtual |
Closes the help pane.
Implements UT_HelpManager.
|
protected |
Count help cards opening times for FS_datalogger.
|
overridevirtual |
Displays the buffer data in help browser.
Implements UT_HelpManager.
|
protectedvirtual |
Helper function for getTooltip(const char *, UT_String&). Attempts to extract an operator, gallery entry or parameter tooltip from the given url.
|
inlineoverridevirtual |
|
overridevirtual |
Return the text help for the given hscript command.
Implements UT_HelpManager.
|
overridevirtual |
Return an array of hscript commands whose text help contain a match for the given keyword.
Implements UT_HelpManager.
|
overridevirtual |
Return the text help for the given hscript expression command.
Implements UT_HelpManager.
|
overridevirtual |
Return an array of hscript expression commands whose text help conotain a match for the given keyword.
Implements UT_HelpManager.
|
inlineoverridevirtual |
Returns the base url for the external help server. Returns "" if no external help server is used.
Implements UT_HelpManager.
Definition at line 160 of file MOT_HelpManager.h.
|
protected |
|
inlineoverridevirtual |
Implements UT_HelpManager.
Definition at line 150 of file MOT_HelpManager.h.
|
overridevirtual |
Returns the base URL for all of Houdini's help.
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
Implements UT_HelpManager.
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
protected |
Parses URL and tries to obtain the entity.
|
overridevirtual |
Obtains a tool tip conained by the full help text. The url serves as a caching key.
Implements UT_HelpManager.
|
protected |
|
protected |
Checks whether the help server has the help page under the given URL.
|
overridevirtual |
Returns the url for the help startup page.
Implements UT_HelpManager.
|
overridevirtual |
Obtains a plain text version of the help page pointed to by the URL (e.g. 'vex:attrib').
Implements UT_HelpManager.
|
overridevirtual |
Obtains a tool tip from the help page pointed to by the URL.
Implements UT_HelpManager.
Obtains a tool tip for the specified parameter.
Implements UT_HelpManager.
|
inlineprotected |
Definition at line 193 of file MOT_HelpManager.h.
|
inlineoverridevirtual |
Returns true if the help manager is using an external help server. Returns false otherwise.
Implements UT_HelpManager.
Definition at line 142 of file MOT_HelpManager.h.
|
inlineoverridevirtual |
Implements UT_HelpManager.
Definition at line 155 of file MOT_HelpManager.h.
|
overridevirtual |
Opens the table of contenst help page.
Implements UT_HelpManager.
|
overridevirtual |
Opens a help page defined by the file.
Implements UT_HelpManager.
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Opens the special essential-skills page on startup.
Implements UT_HelpManager.
|
overridevirtual |
Implements UT_HelpManager.
|
overridevirtual |
Open the requested tooltip in a popup window. x,y,w,h represents the native screen position and size of the source feel that the tooltip is for. If there is no source feel, then pass in (0,0,0,0) for x,y,w,h. {
Implements UT_HelpManager.
|
overridevirtual |
Opens a URL in the help browser (url can be of forms "http://u.r.l", "hdox://u.r.l", "operator:table/name", "tool:name" etc)
Implements UT_HelpManager.
Prefixes help_path
with the help server's base url and passes back the final url in url
.
|
protected |
Resolve specified help path by expanding variables and translating help protocols to help paths.
|
overridevirtual |
Sets the base URI that is used to disambiguate the relative URLs.
Implements UT_HelpManager.
|
overridevirtual |
Sets the url to the external help server.
Implements UT_HelpManager.
|
overridevirtual |
Sets the address the help server should bind to.
Implements UT_HelpManager.
|
overridevirtual |
Sets whether the help manager should use an external help server or not.
Implements UT_HelpManager.
|
overridevirtual |
Sets if the help server can use ipv6.
Implements UT_HelpManager.
|
protectedvirtual |
Updates all opened web browsers with the current help base URL.