summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03131900.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03131900.xhp')
-rw-r--r--source/text/sbasic/shared/03131900.xhp47
1 files changed, 16 insertions, 31 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>