summaryrefslogtreecommitdiff
path: root/source/text
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2019-10-30 15:59:18 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-10-31 01:21:01 +0100
commit2ba8d7ab8af821da34117ecb61bf8bd87e731b53 (patch)
treeccc06f19b9861ad11f1f55df78b54105d3a1acfd /source/text
parentec3711dbe4d9cee407cbf7e6707cfaf15860c490 (diff)
tdf#127716 Add GlobalScope object description
Also add BasicLibraries and DialogLibraries Refactor page Add entry in tree Change-Id: I9754af4d98fc6267120c232e1ba366262534b3a7 Reviewed-on: https://gerrit.libreoffice.org/81803 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text')
-rw-r--r--source/text/sbasic/shared/03131900.xhp47
-rw-r--r--source/text/sbasic/shared/03132200.xhp6
-rw-r--r--source/text/sbasic/shared/uno_objects.xhp2
3 files changed, 21 insertions, 34 deletions
diff --git a/source/text/sbasic/shared/03131900.xhp b/source/text/sbasic/shared/03131900.xhp
index ec885a29b0..fbeb284fa7 100644
--- a/source/text/sbasic/shared/03131900.xhp
+++ b/source/text/sbasic/shared/03131900.xhp
@@ -28,44 +28,29 @@
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
-
<body>
<section id="globalscope">
<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>GlobalScope function</bookmark_value>
<bookmark_value>library systems</bookmark_value>
<bookmark_value>LibraryContainer</bookmark_value>
-<bookmark_value>BasicLibraries (LibraryContainer)</bookmark_value>
-<bookmark_value>DialogLibraries (LibraryContainer)</bookmark_value>
+<bookmark_value>GlobalScope</bookmark_value>
+<bookmark_value>BasicLibraries; library container</bookmark_value>
+<bookmark_value>DialogLibraries; library container</bookmark_value>
</bookmark>
-<paragraph role="heading" id="hd_id3150682" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03131900.xhp" name="GlobalScope">GlobalScope</link></paragraph>
-<paragraph role="paragraph" id="par_id3153345" xml-lang="en-US">Basic source code and dialogs are organized in a library system.</paragraph>
+<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>
</section>
-<list type="unordered">
-<listitem>
-<paragraph role="listitem" id="par_id3145315" xml-lang="en-US">The LibraryContainer contains libraries</paragraph>
-</listitem>
-<listitem>
-<paragraph role="listitem" id="par_id3149514" xml-lang="en-US">Libraries can contain modules and dialogs</paragraph>
-</listitem>
-</list>
-<paragraph role="heading" id="hd_id3143271" xml-lang="en-US" level="2">In Basic:</paragraph>
-<list type="unordered">
-<listitem>
-<paragraph role="listitem" id="par_id3153061" xml-lang="en-US">The LibraryContainer is called <emph>BasicLibraries</emph>.</paragraph>
-</listitem>
-</list>
-<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="2">In dialogs:</paragraph>
-<list type="unordered">
-<listitem>
-<paragraph role="listitem" id="par_id3148663" xml-lang="en-US">The LibraryContainer is called <emph>DialogLibraries</emph>.</paragraph>
-</listitem>
-</list>
-<paragraph role="paragraph" id="par_id3150543" xml-lang="en-US">Both LibraryContainers exist in an application level and within every document. In the document Basic, the document's LibraryContainers are called automatically. If you want to call the global LibraryContainers from within a document, you must use the keyword <emph>GlobalScope</emph>.</paragraph>
-<paragraph role="heading" id="hd_id3148920" xml-lang="en-US" level="2">Syntax:</paragraph>
-<bascode>
-<paragraph role="bascode" localize="false" id="par_id3149203" xml-lang="en-US">GlobalScope</paragraph>
-</bascode>
-<paragraph role="heading" id="hd_id3154685" xml-lang="en-US" level="2">Example:</paragraph>
+<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>
+<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_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>
+<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>
<paragraph role="bascode" id="par_id3158408" xml-lang="en-US">' calling Dialog1 in the document library Standard</paragraph>
diff --git a/source/text/sbasic/shared/03132200.xhp b/source/text/sbasic/shared/03132200.xhp
index a4f19ddaeb..6c53deb3b7 100644
--- a/source/text/sbasic/shared/03132200.xhp
+++ b/source/text/sbasic/shared/03132200.xhp
@@ -20,7 +20,7 @@
<meta>
<topic id="textsbasicshared03132200xml" indexer="include" status="PUBLISH">
- <title id="tit" xml-lang="en-US">ThisComponent Statement</title>
+ <title id="tit" xml-lang="en-US">ThisComponent Object</title>
<filename>/text/sbasic/shared/03132200.xhp</filename>
</topic>
</meta>
@@ -28,10 +28,10 @@
<body>
<section id="thiscomponent">
<bookmark xml-lang="en-US" branch="index" id="bm_id3155342">
- <bookmark_value>ThisComponent property</bookmark_value>
+ <bookmark_value>ThisComponent object</bookmark_value>
<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 Statement">ThisComponent Statement</link></paragraph>
+<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>
</section>
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
diff --git a/source/text/sbasic/shared/uno_objects.xhp b/source/text/sbasic/shared/uno_objects.xhp
index 1b671523a5..760fcd8f54 100644
--- a/source/text/sbasic/shared/uno_objects.xhp
+++ b/source/text/sbasic/shared/uno_objects.xhp
@@ -36,6 +36,8 @@
<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>
+ <embed href="text/sbasic/shared/03131900.xhp#globalscope"/>
<embed href="text/sbasic/shared/03132200.xhp#thiscomponent"/>
</body>
</helpdocument>