[Libreoffice-commits] help.git: source/text

LibreOļ¬ƒciant (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 1 18:07:00 UTC 2019


 source/text/sbasic/shared/03131900.xhp    |   16 ++++++++--------
 source/text/sbasic/shared/uno_objects.xhp |   11 +++++++----
 2 files changed, 15 insertions(+), 12 deletions(-)

New commits:
commit 48ba8a26f1d22e40c6e8f249f6b5c11c83f93003
Author:     LibreOļ¬ƒciant <LibreOfficiant at sfr.fr>
AuthorDate: Fri Nov 1 15:26:42 2019 +0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Fri Nov 1 19:06:40 2019 +0100

    More informative descriptions for GlobalScope, xxLibraries
    Links to existing examples
    Note to API materiel
    
    Change-Id: Iaee88045b212388ef1cf0fa6207da96bf544d0af
    Reviewed-on: https://gerrit.libreoffice.org/81889
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/sbasic/shared/03131900.xhp b/source/text/sbasic/shared/03131900.xhp
index bf31b97a8..9193b9184 100644
--- a/source/text/sbasic/shared/03131900.xhp
+++ b/source/text/sbasic/shared/03131900.xhp
@@ -30,28 +30,28 @@
 </meta>
 <body>
 <section id="globalscope">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>GlobalScope function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>GlobalScope specifier</bookmark_value>
 <bookmark_value>library systems</bookmark_value>
-<bookmark_value>LibraryContainer</bookmark_value>
+<bookmark_value>Library container</bookmark_value>
 <bookmark_value>GlobalScope</bookmark_value>
 <bookmark_value>API; BasicLibraries</bookmark_value>
 <bookmark_value>API; DialogLibraries</bookmark_value>
 <bookmark_value>BasicLibraries; library container</bookmark_value>
 <bookmark_value>DialogLibraries; library container</bookmark_value>
 </bookmark>
-<h1 id="hd_id3150682"><link href="text/sbasic/shared/03131900.xhp" name="GlobalScope">GlobalScope</link></h1>
-<paragraph role="paragraph" id="par_id991572457387308">To manage personal or shared library containers (<emph>%PRODUCTNAME Macros</emph> or <emph>My Macros</emph>) from within a document, use the keyword <literal>GlobalScope</literal>.</paragraph>
+<h1 id="hd_id3150682"><link href="text/sbasic/shared/03131900.xhp" name="GlobalScope">GlobalScope specifier</link></h1>
+<paragraph role="paragraph" id="par_id991572457387308">To manage personal or shared library containers (<emph>%PRODUCTNAME Macros</emph> or <emph>My Macros</emph>) from within a document, use the <literal>GlobalScope</literal> specifier.</paragraph>
 </section>
 <section id="basicdialogs">
     <paragraph role="paragraph" id="par_id3153345" xml-lang="en-US">Basic source code and dialogs are organized in library containers. Libraries can contain modules and dialogs.</paragraph>
 </section>
 <h2 id="hd_id3143271">In Basic:</h2>
-<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US">A Basic library can be managed with <literal>BasicLibraries</literal> keyword.</paragraph>
+<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US">Basic libraries and modules can be managed with the <literal>BasicLibraries</literal> object. Libraries can be searched, explored and loaded on request. <link href="text/sbasic/python/python_document_events.xhp" name="Monitoring document events">Monitoring Documents Events</link> illustrates %PRODUCTNAME library loading.</paragraph>
 <h2 id="hd_id3154346">In dialogs:</h2>
-<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US">A dialog library can be managed with <literal>DialogLibraries</literal> keyword.</paragraph>
-<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US">Both containers exist in an application level and within every document. In the document Basic, the document's library containers are called automatically. If you want to call a global library container (located in <emph>%PRODUCTNAME Macros</emph> or <emph>My Macros</emph>) from within a document, you must use the keyword <literal>GlobalScope</literal>.</paragraph>
+<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US">Dialog libraries and dialogs can be managed with the  <literal>DialogLibraries</literal> object. <link href="text/sbasic/guide/show_dialogs.xhp" name="Opening a Dialog">Opening a Dialog With Basic</link> illustrates how to display %PRODUCTNAME shared dialogs.</paragraph>
+<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US"><literal>BasicLibraries</literal> and <literal>DialogLibraries</literal> containers exist at application level and within every document. Document's library containers do not need the <literal>GlobalScope</literal> specifier to be managed. If you want to call a global library container (located in <emph>%PRODUCTNAME Macros</emph> or <emph>My Macros</emph>) from within a document, you must use the <literal>GlobalScope</literal> specifier.</paragraph>
 <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
-<paragraph role="code" localize="false" id="par_id3149203" xml-lang="en-US">GlobalScope</paragraph>
+<paragraph role="code" localize="false" id="par_id3149203" xml-lang="en-US">GlobalScope keyword</paragraph>
 <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
 <paragraph role="paragraph" id="par_id3154124" xml-lang="en-US">Example in the document Basic</paragraph>
 <bascode>
diff --git a/source/text/sbasic/shared/uno_objects.xhp b/source/text/sbasic/shared/uno_objects.xhp
index f2dc11868..6d8ae8d6a 100644
--- a/source/text/sbasic/shared/uno_objects.xhp
+++ b/source/text/sbasic/shared/uno_objects.xhp
@@ -24,20 +24,23 @@
         <h1 id="hd_id3156027">UNO Objects, Functions and Services</h1>
         <paragraph role="paragraph" id="par_id3153312" xml-lang="en-US">Functions, objects and services of Unified Network Objects (UNO).</paragraph>
     </section>
+    <h2 id="hd_id91572461246639"><link href="text/sbasic/shared/03131900.xhp#basicdialogs" name="basicanddialog">BasicLibraries Object</link></h2>
     <embed href="text/sbasic/shared/03131500.xhp#createunostruct"/>
     <embed href="text/sbasic/shared/03131600.xhp#createunoservice"/>
-    <embed href="text/sbasic/shared/03131700.xhp#getprocessservicemanager"/>
     <embed href="text/sbasic/shared/03131800.xhp#createunodialog"/>
     <embed href="text/sbasic/shared/03132000.xhp#createunolistener"/>
     <embed href="text/sbasic/shared/03132300.xhp#createunovalue"/>
     <embed href="text/sbasic/shared/03132400.xhp#createobject"/>
     <embed href="text/sbasic/shared/03104600.xhp#equalunoobjects"/>
+    <embed href="text/sbasic/shared/03131600.xhp#createunoservice"/>
+    <h2 id="hd_id91572461246640"><link href="text/sbasic/shared/03131900.xhp#basicdialogs" name="basicanddialog">DialogLibraries Object</link></h2>
+    <embed href="text/sbasic/shared/03132500.xhp#getdefaultcontext"/>
+    <embed href="text/sbasic/shared/03131700.xhp#getprocessservicemanager"/>
+    <embed href="text/sbasic/shared/03131900.xhp#globalscope"/>
     <embed href="text/sbasic/shared/03104400.xhp#hasunointerfaces"/>
     <embed href="text/sbasic/shared/03104500.xhp#isunostruct"/>
-    <embed href="text/sbasic/shared/03132500.xhp#getdefaultcontext"/>
     <embed href="text/sbasic/shared/stardesktop.xhp#stardesktop"/>
-    <h2 id="hd_id91572461246639"><link href="text/sbasic/shared/03131900.xhp#basicdialogs" name="basicanddialog">BasicLibraries and DialogLibraries</link></h2>
-    <embed href="text/sbasic/shared/03131900.xhp#globalscope"/>
     <embed href="text/sbasic/shared/03132200.xhp#thiscomponent"/>
+    <note id="par_id81572615048011">%PRODUCTNAME provides an Application Programming Interface (API) that allows controlling the $[officename] components with different programming languages by using the $[officename] Software Development Kit (SDK). For more information about the $[officename] API and the Software Development Kit, visit <link href="https://api.libreoffice.org/" name="api.libreoffice.org">https://api.libreoffice.org</link></note>
 </body>
 </helpdocument>


More information about the Libreoffice-commits mailing list