summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2019-11-18 10:25:40 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-11-22 15:31:04 +0100
commiteee359bf03c95f84536f4bba3e340e366fe236f9 (patch)
treed825508d27b922d272066640ae439b0bd6ed69e5
parent4c260d76445edb7b71d22ab3daecbbcc4ff31679 (diff)
tdf#128808 Clarify Basic libraries containers
Change-Id: Iaa85a3b0340eb88c8b81ee8070039c1e518789f6 Reviewed-on: https://gerrit.libreoffice.org/83092 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 75af753c3f78948c40ce34c5f6d61584b7e931a9) Reviewed-on: https://gerrit.libreoffice.org/83495
-rw-r--r--source/text/sbasic/shared/01030400.xhp53
1 files changed, 32 insertions, 21 deletions
diff --git a/source/text/sbasic/shared/01030400.xhp b/source/text/sbasic/shared/01030400.xhp
index de3a08d8ec..73f4ccdaac 100644
--- a/source/text/sbasic/shared/01030400.xhp
+++ b/source/text/sbasic/shared/01030400.xhp
@@ -1,7 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
-
<!--
* This file is part of the LibreOffice project.
*
@@ -19,9 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
-
- <helpdocument version="1.0">
+<helpdocument version="1.0">
<meta>
<topic id="textsbasicshared01030400xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Organizing Libraries and Modules</title>
@@ -30,7 +25,9 @@
</meta>
<body>
<section id="anlegenverwalten">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3148797"><bookmark_value>libraries;organizing</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148797">
+<bookmark_value>libraries;organizing</bookmark_value>
+<bookmark_value>libraries;containers</bookmark_value>
<bookmark_value>modules;organizing</bookmark_value>
<bookmark_value>copying;modules</bookmark_value>
<bookmark_value>adding libraries</bookmark_value>
@@ -39,11 +36,25 @@
<bookmark_value>moving;modules</bookmark_value>
<bookmark_value>organizing;modules/libraries/dialogs</bookmark_value>
<bookmark_value>renaming modules and dialogs</bookmark_value>
-</bookmark><paragraph role="heading" id="hd_id3148797" xml-lang="en-US" level="1"><variable id="01030400"><link href="text/sbasic/shared/01030400.xhp">Organizing Libraries and Modules</link>
-</variable></paragraph>
+</bookmark><h1 id="hd_id3148797"><variable id="01030400"><link href="text/sbasic/shared/01030400.xhp">Organizing Libraries and Modules</link>
+</variable></h1>
</section>
-<paragraph role="heading" id="hd_id3150868" xml-lang="en-US" level="2">Organizing Libraries</paragraph>
-<paragraph role="heading" id="hd_id3125864" xml-lang="en-US" level="3">Creating a New Library</paragraph>
+<h2 id="hd_id371574080559061">Basic Libraries Containers</h2>
+<paragraph role="paragraph" id="par_id961574080563824">%PRODUCTNAME Basic libraries can be stored in 3 different containers:</paragraph>
+<list type="unordered">
+ <listitem>
+ <paragraph id="par_id571574079618609" role="listitem"><emph>%PRODUCTNAME Macros</emph>: libraries stored in this container are available for all users of the computer and are managed by the computer administrator. The container is located in the %PRODUCTNAME installation directory.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id151574079741214" role="listitem"><emph>My Macros</emph>: libraries stored in this container are available to all documents of your user. The container is located in the user profile area and is not accessible by another user.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id581574080384335" role="listitem"><emph>Document</emph>: libraries stored in the document container are only available for the document and are accessible only when the document is open. You cannot access macros of a document from another document.</paragraph>
+ </listitem>
+</list>
+<paragraph role="paragraph" id="par_id881574081445896">To access macros stored in libraries of <emph>%PRODUCTNAME Macros</emph> or <emph>My Macros</emph> from another container, including the document container, use the <link href="text/sbasic/shared/03131900.xhp" name="GlobalScope">GlobalScope specifier</link>.</paragraph>
+<h2 id="hd_id3150868">Organizing Libraries</h2>
+<h3 id="hd_id3125864">Creating a New Library</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3152576" xml-lang="en-US">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
@@ -58,7 +69,7 @@
<paragraph role="listitem" id="par_id3153365" xml-lang="en-US">Click <emph>New</emph> and insert a name to create a new library.</paragraph>
</listitem>
</list>
-<paragraph role="heading" id="hd_id3147394" xml-lang="en-US" level="3">Import a Library</paragraph>
+<h3 id="hd_id3147394">Import a Library</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153157" xml-lang="en-US">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
@@ -85,7 +96,7 @@
<paragraph role="listitem" id="par_id3147004" xml-lang="en-US">Click <emph>OK</emph> to import the library.</paragraph>
</listitem>
</list>
-<paragraph role="heading" id="hd_id3159099" xml-lang="en-US" level="3">Export a Library</paragraph>
+<h3 id="hd_id3159099">Export a Library</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3147005" xml-lang="en-US">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
@@ -112,7 +123,7 @@
<paragraph role="listitem" id="par_id3147012" xml-lang="en-US">Click <emph>Save</emph> to export the library.</paragraph>
</listitem>
</list>
-<paragraph role="heading" id="hd_id3159100" xml-lang="en-US" level="3">Deleting a Library</paragraph>
+<h3 id="hd_id3159100">Deleting a Library</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3150086" xml-lang="en-US">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
@@ -138,8 +149,8 @@
<paragraph role="listitem" id="par_id3146869" xml-lang="en-US">If you delete a library that was inserted as reference only the reference is deleted but not the library itself.</paragraph>
</listitem>
</list>
-<paragraph role="heading" id="hd_id3147070" xml-lang="en-US" level="2">Organizing Modules and Dialogs</paragraph>
-<paragraph role="heading" id="hd_id3155265" xml-lang="en-US" level="3">Creating a New Module or Dialog</paragraph>
+<h2 id="hd_id3147070">Organizing Modules and Dialogs</h2>
+<h3 id="hd_id3155265">Creating a New Module or Dialog</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3154537" xml-lang="en-US">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
@@ -154,7 +165,7 @@
<paragraph role="listitem" id="par_id3152389" xml-lang="en-US">Enter a name for the module or the dialog and click <emph>OK</emph>.</paragraph>
</listitem>
</list>
-<paragraph role="heading" id="hd_id3152872" xml-lang="en-US" level="3">Renaming a Module or Dialog</paragraph>
+<h3 id="hd_id3152872">Renaming a Module or Dialog</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3159230" xml-lang="en-US">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
@@ -167,7 +178,7 @@
<paragraph role="listitem" id="par_id3155526" xml-lang="en-US">Press Enter to confirm your changes.</paragraph>
</listitem>
</list>
-<paragraph role="heading" id="hd_id3146963" xml-lang="en-US" level="3">Deleting a Module or Dialog</paragraph>
+<h3 id="hd_id3146963">Deleting a Module or Dialog</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3147547" xml-lang="en-US">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph> and click <emph>Organizer</emph> or click the <emph>Select Module</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
@@ -182,9 +193,9 @@
<paragraph role="listitem" id="par_id3147248" xml-lang="en-US">Click <emph>Delete</emph>.</paragraph>
</listitem>
</list>
-<paragraph role="warning" id="par_id3151339" xml-lang="en-US">Deleting a module permanently deletes all existing procedures and functions in that module.</paragraph>
-<paragraph role="heading" id="hd_id3151392" xml-lang="en-US" level="2">Organizing Projects among Documents or Templates</paragraph>
-<paragraph role="heading" id="hd_id3156400" xml-lang="en-US" level="3">Moving or copying modules between documents, templates and the application.</paragraph>
+<warning id="par_id3151339">Deleting a module permanently deletes all existing procedures and functions in that module.</warning>
+<h2 id="hd_id3151392">Organizing Projects among Documents or Templates</h2>
+<h3 id="hd_id3156400">Moving or copying modules between documents, templates and the application.</h3>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3146819" xml-lang="en-US">Open all documents or templates among which you want to move or copy the modules or dialogs.</paragraph>