diff options
-rw-r--r-- | AllLangHelp_sbasic.mk | 1 | ||||
-rw-r--r-- | source/text/sbasic/shared/03/lib_ScriptForge.xhp | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk index aa40d7b189..7423e9ebad 100644 --- a/AllLangHelp_sbasic.mk +++ b/AllLangHelp_sbasic.mk @@ -76,6 +76,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\ helpcontent2/source/text/sbasic/shared/03/lib_gimmicks \ helpcontent2/source/text/sbasic/shared/03/lib_importwiz \ helpcontent2/source/text/sbasic/shared/03/lib_script \ + helpcontent2/source/text/sbasic/shared/03/lib_ScriptForge \ helpcontent2/source/text/sbasic/shared/03/lib_schedule \ helpcontent2/source/text/sbasic/shared/03/lib_template \ helpcontent2/source/text/sbasic/shared/03/lib_wikieditor \ diff --git a/source/text/sbasic/shared/03/lib_ScriptForge.xhp b/source/text/sbasic/shared/03/lib_ScriptForge.xhp new file mode 100644 index 0000000000..c0f33a9c9a --- /dev/null +++ b/source/text/sbasic/shared/03/lib_ScriptForge.xhp @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + <meta> + <topic id="toolsbasiclibrary" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">ScriptForge Library</title> + <filename>/text/sbasic/shared/03/lib_ScriptForge.xhp</filename> + </topic> + </meta> + <body> + <h1 id="hd_id31529004750471" xml-lang="en-US"><variable id="ScriptForge_lib"><link href="text/sbasic/shared/03/lib_ScriptForge.xhp" name="ScriptForge library">The <item type="literal">ScriptForge</item> Library</link></variable></h1> + <bookmark xml-lang="en-US" branch="index" id="bm_id491529070339774"> + <bookmark_value>BASIC ScriptForge library</bookmark_value> + </bookmark> + <section id="howtoget"> + <embed href="text/sbasic/shared/00000003.xhp#basiclibhowtoget"/> + </section> + <note id="par_id901528999850603"><embedvar href="text/sbasic/shared/00000003.xhp#basiclibrarynote" markup="keep"/><br/> + <item type="literal">GlobalScope.BasicLibraries.LoadLibrary("ScriptForge")</item></note> + + <paragraph role="paragraph" id="par_id781606153472028">The described modules and classes are invoked from user scripts as "Services". A generic constructor of those services has been designed for that purpose:</paragraph> + <bascode> + <paragraph role="bascode" id="bas_id201606153529501">[ScriptForge.][Services.]CreateScriptService("servicename"[, arg0, Arg1, ...])</paragraph> + </bascode> + + <paragraph role="paragraph" id="par_id891606153700196">Services from external libraries can registered with the <literal>RegisterScriptServices(...)</literal> method in order to extend the set of available services.</paragraph> + + <paragraph role="paragraph" id="par_id491606151060454">Array Service</paragraph> + <paragraph role="paragraph" id="par_id51606151111406">Dictionary class Service</paragraph> + <paragraph role="paragraph" id="par_id341606151137912">Exception class Service</paragraph> + <paragraph role="paragraph" id="par_id1001606151139039">FileSystem Service</paragraph> + <paragraph role="paragraph" id="par_id511606151140972">L10n class Service</paragraph> + <paragraph role="paragraph" id="par_id781606151141190">Platform Service</paragraph> + <paragraph role="paragraph" id="par_id821606151141382">Root class Service</paragraph> + <paragraph role="paragraph" id="par_id771606151141575">Services class Service</paragraph> + <paragraph role="paragraph" id="par_id671606151231848">Session Service</paragraph> + <paragraph role="paragraph" id="par_id861606151242391">String Service</paragraph> + <paragraph role="paragraph" id="par_id791606151259895">TestStream class Service</paragraph> + <paragraph role="paragraph" id="par_id951606151273072">Timer class Service</paragraph> + <paragraph role="paragraph" id="par_id951606151282712">UI Service</paragraph> + <paragraph role="paragraph" id="par_id161606151295297">Utils Service</paragraph> + +</body> +</helpdocument> |