[Libreoffice-commits] help.git: source/auxiliary source/text
LibreOļ¬ciant (via logerrit)
logerrit at kemper.freedesktop.org
Thu Oct 31 09:58:54 UTC 2019
source/auxiliary/sbasic.tree | 7 ++++---
source/text/sbasic/shared/03131900.xhp | 8 +++++---
source/text/sbasic/shared/03132200.xhp | 6 ++----
source/text/sbasic/shared/stardesktop.xhp | 10 ++++++----
source/text/sbasic/shared/uno_objects.xhp | 2 +-
5 files changed, 18 insertions(+), 15 deletions(-)
New commits:
commit 9147d1fa9b86a76135472697cf6c243ec20d68ff
Author: LibreOļ¬ciant <LibreOfficiant at sfr.fr>
AuthorDate: Thu Oct 31 10:17:30 2019 +0200
Commit: Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Thu Oct 31 10:58:33 2019 +0100
sbasic.tree, uno_objects, ThisComponent better descriptions
Change-Id: Ie1778adf59317260cc0c9a1c1eb43ed2d66e7518
Reviewed-on: https://gerrit.libreoffice.org/81822
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree
index cce09691c..cfee73478 100644
--- a/source/auxiliary/sbasic.tree
+++ b/source/auxiliary/sbasic.tree
@@ -60,7 +60,7 @@
<topic id="sbasic/text/sbasic/shared/03120101.xhp">Asc Function</topic>
<topic id="sbasic/text/sbasic/shared/03120111.xhp">AscW Function [VBA]</topic>
<topic id="sbasic/text/sbasic/shared/03080101.xhp">Atn Function</topic>
- <topic id="sbasic/text/sbasic/shared/03131900.xhp">BasicLibraries</topic>
+ <topic id="sbasic/text/sbasic/shared/03131900.xhp">BasicLibraries object</topic>
<topic id="sbasic/text/sbasic/shared/03130100.xhp">Beep Statement</topic>
<topic id="sbasic/text/sbasic/shared/03010301.xhp">Blue Function</topic>
<topic id="sbasic/text/sbasic/shared/03100100.xhp">CBool Function</topic>
@@ -119,7 +119,7 @@
<topic id="sbasic/text/sbasic/shared/03101600.xhp">DefLng Statement</topic>
<topic id="sbasic/text/sbasic/shared/03101700.xhp">DefObj Statement</topic>
<topic id="sbasic/text/sbasic/shared/03102000.xhp">DefVar Statement</topic>
- <topic id="sbasic/text/sbasic/shared/03131900.xhp">DialogLibraries</topic>
+ <topic id="sbasic/text/sbasic/shared/03131900.xhp">DialogLibraries object</topic>
<topic id="sbasic/text/sbasic/shared/03104300.xhp">DimArray Function</topic>
<topic id="sbasic/text/sbasic/shared/03102100.xhp">Dim Statement</topic>
<topic id="sbasic/text/sbasic/shared/03020404.xhp">Dir Function</topic>
@@ -266,6 +266,7 @@
<topic id="sbasic/text/sbasic/shared/03120314.xhp">Split Function</topic>
<topic id="sbasic/text/sbasic/shared/03080401.xhp">Sqr Function</topic>
<topic id="sbasic/text/sbasic/shared/03080400.xhp">Square Root Calculation</topic>
+ <topic id="sbasic/text/sbasic/shared/stardesktop.xhp">StarDesktop object</topic>
<topic id="sbasic/text/sbasic/shared/03103500.xhp">Static Statement</topic>
<topic id="sbasic/text/sbasic/shared/03090408.xhp">Stop Statement</topic>
<topic id="sbasic/text/sbasic/shared/03120403.xhp">StrComp Function</topic>
@@ -276,7 +277,7 @@
<topic id="sbasic/text/sbasic/shared/03090410.xhp">Switch Function</topic>
<topic id="sbasic/text/sbasic/shared/03140012.xhp">SYD Function [VBA]</topic>
<topic id="sbasic/text/sbasic/shared/03080104.xhp">Tan Function</topic>
- <topic id="sbasic/text/sbasic/shared/03132200.xhp">ThisComponent</topic>
+ <topic id="sbasic/text/sbasic/shared/03132200.xhp">ThisComponent object</topic>
<topic id="sbasic/text/sbasic/shared/03030205.xhp">TimeSerial Function</topic>
<topic id="sbasic/text/sbasic/shared/03030206.xhp">TimeValue Function</topic>
<topic id="sbasic/text/sbasic/shared/03030302.xhp">Time Statement</topic>
diff --git a/source/text/sbasic/shared/03131900.xhp b/source/text/sbasic/shared/03131900.xhp
index fbeb284fa..bf31b97a8 100644
--- a/source/text/sbasic/shared/03131900.xhp
+++ b/source/text/sbasic/shared/03131900.xhp
@@ -34,19 +34,21 @@
<bookmark_value>library systems</bookmark_value>
<bookmark_value>LibraryContainer</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 call a global library container (<emph>%PRODUCTNAME Macros</emph> or <emph>My Macros</emph>) from within a document, use the keyword <literal>GlobalScope</literal>.</paragraph>
+<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>
</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 is called with <literal>BasicLibraries</literal> keyword.</paragraph>
+<paragraph role="paragraph" id="par_id3153061" xml-lang="en-US">A Basic library can be managed with <literal>BasicLibraries</literal> keyword.</paragraph>
<h2 id="hd_id3154346">In dialogs:</h2>
-<paragraph role="paragraph" id="par_id3148663" xml-lang="en-US">A dialog library is called with <literal>DialogLibraries</literal> keyword.</paragraph>
+<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>
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
<paragraph role="code" localize="false" id="par_id3149203" xml-lang="en-US">GlobalScope</paragraph>
diff --git a/source/text/sbasic/shared/03132200.xhp b/source/text/sbasic/shared/03132200.xhp
index 6c53deb3b..eb96a9964 100644
--- a/source/text/sbasic/shared/03132200.xhp
+++ b/source/text/sbasic/shared/03132200.xhp
@@ -17,14 +17,12 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
<meta>
<topic id="textsbasicshared03132200xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">ThisComponent Object</title>
<filename>/text/sbasic/shared/03132200.xhp</filename>
</topic>
</meta>
-
<body>
<section id="thiscomponent">
<bookmark xml-lang="en-US" branch="index" id="bm_id3155342">
@@ -32,7 +30,7 @@
<bookmark_value>components;addressing</bookmark_value>
</bookmark>
<paragraph id="hd_id3155342" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03132200.xhp" name="ThisComponent Object">ThisComponent Object</link></paragraph>
-<paragraph id="par_id3154923" role="paragraph" xml-lang="en-US">Addresses the active component so that its properties can be read and set. ThisComponent is used from document Basic, where it represents the document the Basic belongs to. The type of object accessed by ThisComponent depends on the document type.<comment>see i60932</comment></paragraph>
+<paragraph id="par_id3154923" role="paragraph" xml-lang="en-US">Addresses the active component whose properties can be read and set, and whose methods can be called. <literal>ThisComponent</literal> is used in Basic, where it represents the current document. Properties and methods available through <literal>ThisComponent</literal> depend on the document type.<comment>see i60932</comment></paragraph>
</section>
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
<paragraph id="par_id3151056" role="code" localize="false" xml-lang="en-US">ThisComponent</paragraph>
@@ -48,4 +46,4 @@
<paragraph id="par_idm1341574608" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>
-</helpdocument>
+</helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/stardesktop.xhp b/source/text/sbasic/shared/stardesktop.xhp
index 95ac47351..fec1efd76 100644
--- a/source/text/sbasic/shared/stardesktop.xhp
+++ b/source/text/sbasic/shared/stardesktop.xhp
@@ -10,7 +10,7 @@
-->
<meta>
<topic id="org.LibreOffice.Help.StarDesktop" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">StarDesktop</title>
+ <title id="tit" xml-lang="en-US">StarDesktop object</title>
<filename>/text/sbasic/shared/stardesktop.xhp</filename>
</topic>
</meta>
@@ -19,17 +19,19 @@
<section id="stardesktop">
<bookmark branch="index" xml-lang="en-US" id="N0089">
<bookmark_value>StarDesktop</bookmark_value>
+ <bookmark_value>API; Desktop</bookmark_value>
</bookmark>
<bookmark id="bm_id341544551916349" xml-lang="en-US" branch="hid/zzzz" localize="false"/>
- <h1 id="hd_id401544551916353"><link href="text/sbasic/shared/stardesktop.xhp" name="StarDesktop">StarDesktop</link></h1>
- <paragraph role="paragraph" id="N0091">The StarDesktop object represents %PRODUCTNAME application. Some routines or user interface objects such as current window can be used via StarDesktop.</paragraph>
+ <h1 id="hd_id401544551916353"><link href="text/sbasic/shared/stardesktop.xhp" name="StarDesktop">StarDesktop object</link></h1>
+ <paragraph role="paragraph" id="N0091">The <literal>StarDesktop</literal> object represents %PRODUCTNAME application. Some routines or user interface objects such as current window can be used via <literal>StarDesktop</literal>.</paragraph>
</section>
<h2 id="N0092">Example:</h2>
<bascode>
<paragraph role="bascode" id="N0093" localize="false">Dim docURL As String</paragraph>
<paragraph role="bascode" id="N0094" localize="false">Dim doc As Object, docProperties()</paragraph>
<paragraph role="bascode" id="N0095" localize="false">docURL = ConvertToURL("C:\My Documents\example.odt")</paragraph>
- <paragraph role="bascode" id="N0096" localize="false">doc = StarDesktop.LoadComponentFromURL(docURL, "_blank", 0, docProperties)</paragraph>
+ <paragraph role="bascode" id="N0096" localize="false">Rem com.sun.star.frame.Desktop</paragraph>
+ <paragraph role="bascode" id="N0097" localize="false">doc = StarDesktop.LoadComponentFromURL(docURL, "_blank", 0, docProperties)</paragraph>
</bascode>
</body>
</helpdocument>
diff --git a/source/text/sbasic/shared/uno_objects.xhp b/source/text/sbasic/shared/uno_objects.xhp
index 760fcd8f5..f2dc11868 100644
--- a/source/text/sbasic/shared/uno_objects.xhp
+++ b/source/text/sbasic/shared/uno_objects.xhp
@@ -36,7 +36,7 @@
<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">BasicLibrearies and DialogLibraries</link></h2>
+ <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"/>
</body>
More information about the Libreoffice-commits
mailing list