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;
56 int x,
int y,
int w,
int h)
const override;
59 int x,
int y,
int w,
int h)
const override;
77 const char *full_help,
104 const char *node_path=
nullptr)
override;
108 const PYP_Interface *interface)
override;
134 void setBaseURI(
const char *base_uri)
override;
138 {
return myBaseURI; }
143 {
return myUseExternalHelp; }
151 {
return myHelpAddress; }
156 {
return myUseIPv6; }
161 {
return myExternalHelpURL; };
165 const char *ext_help_url)
override;
180 virtual bool extractTooltip(
const char *url,
185 virtual void updateBaseURLInHelpBrowsersSubclass();
188 void countHelpCardPress(
const char *
message);
191 bool getServerHasHelp(
const char *url);
197 void prefixWithHelpBaseURL(
const char *help_path,
207 void resolveHelpPath(
208 const char *help_path,
215 virtual void parseWikiToHtml(
const char *url_key,
216 const char *wiki_help,
233 bool runPythonExpr(
const char *expr,
237 bool evalPythonExpr(
const char *expr,
239 bool evalPythonExpr(
const char *expr,
241 bool evalPythonExpr(
const char *expr,
int &
result);
242 bool evalPythonExpr(
const char *expr,
246 bool initializeHelpServer();
250 bool canAccessHelpServer();
254 int getHelpServerPort();
256 bool myCouldInitializeHelpServer;
259 bool myUseExternalHelp;
268 static int theHelpServerPort;
271 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
virtual void openTooltipURLWindow(const char *url, int x, int y, int w, int h) const =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
GLfloat GLfloat GLfloat GLfloat h
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 openTooltipWindow(const char *text, int x, int y, int w, int h) const =0
GLubyte GLubyte GLubyte GLubyte w
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 closeAllTooltipWindows() const =0
}
virtual void setExternalHelpURL(const char *ext_help_url)=0