11 #ifndef __MOT_HelpManager__
12 #define __MOT_HelpManager__
41 virtual void openURL(
const char *url)
override;
43 virtual void openHelpPath(
const char *help_path)
override;
47 bool is_html)
override;
60 const char *full_help,
87 const char *node_path=
nullptr)
override;
91 const PYP_Interface *interface)
override;
117 void setBaseURI(
const char *base_uri)
override;
121 {
return myBaseURI; }
126 {
return myUseExternalHelp; }
134 {
return myHelpAddress; }
139 {
return myUseIPv6; }
144 {
return myExternalHelpURL; };
148 const char *ext_help_url)
override;
163 virtual bool extractTooltip(
const char *url,
168 virtual void updateBaseURLInHelpBrowsersSubclass();
171 void countHelpCardPress(
const char *
message);
174 bool getServerHasHelp(
const char *url);
180 void prefixWithHelpBaseURL(
const char *help_path,
190 void resolveHelpPath(
191 const char *help_path,
198 virtual void parseWikiToHtml(
const char *url_key,
199 const char *wiki_help,
216 bool runPythonExpr(
const char *expr,
220 bool evalPythonExpr(
const char *expr,
222 bool evalPythonExpr(
const char *expr,
224 bool evalPythonExpr(
const char *expr,
int &
result);
225 bool evalPythonExpr(
const char *expr,
229 bool initializeHelpServer();
233 bool canAccessHelpServer();
237 int getHelpServerPort();
239 bool myCouldInitializeHelpServer;
242 bool myUseExternalHelp;
251 static int theHelpServerPort;
254 static UT_Signal *theHelpServerSigHandler;
virtual void openFile(const char *path)=0
GLuint GLsizei const GLchar * message
virtual void setHelpAddress(const char *address)=0
Sets the address the server should bind to.
virtual void setBaseURI(const char *base_uri)=0
virtual bool getTextHelp(const char *url, UT_String &text_help)=0
virtual bool getTooltip(const char *url, UT_String &tooltip)=0
Obtains a tool tip from the help page pointed to by the URL.
const UT_StringHolder & getHelpAddress() const override
GLsizei const GLchar *const * path
virtual void setUseExternalHelp(bool use_external)=0
virtual UT_StringArray getExprCommandsForHelpKeyword(const char *keyword)=0
**But if you need a result
virtual void openHelpPath(const char *help_path)=0
UT_StringArray & getURLStack()
virtual const UT_String & getStartupURL()=0
virtual UT_StringArray getCommandsForHelpKeyword(const char *keyword)=0
virtual bool getParsedTooltip(const char *url_key, const char *full_help, UT_String &tooltip)=0
virtual void getHelpCardURL(OP_Operator *op, UT_String &str)=0
virtual void displayData(const char *data, bool is_html)=0
virtual void openHelpCard(OP_Node *node)=0
virtual const UT_String & getHelpBaseURL()=0
virtual void openStartup()=0
virtual void closeFloatingPane()=0
bool getUseExternalHelp() const override
virtual void openContents()=0
virtual void setUseIPv6(bool use_ipv6)=0
Whether the help server should use ipv6 or not.
const UT_String & getExternalHelpURL() const override
const UT_String & getBaseURI() const override
Returns the baseURI.
virtual UT_StringHolder getExprCommandHelp(const char *command)=0
Return the text help for the given hscript expression command.
bool getUseIPv6() const override
virtual void openURL(const char *url)=0
virtual UT_StringHolder getCommandHelp(const char *command)=0
Return the text help for the given hscript command.
virtual void setExternalHelpURL(const char *ext_help_url)=0