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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Feb 25 16:30:47 UTC 2019


 source/text/sbasic/python/python_locations.xhp |    2 ++
 source/text/sbasic/python/python_session.xhp   |    3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 7a6c121a39e651f7af4b2f57e33ad0df48166689
Author:     LibreOļ¬ƒciant <LibreOfficiant at sfr.fr>
AuthorDate: Mon Feb 25 10:57:20 2019 +0100
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Mon Feb 25 17:30:26 2019 +0100

    Mutual references (links) in Session & Locations help pages for Python
    
    Change-Id: I96c55ca44c1b04598fcdd663a394c68211f4a29d
    Reviewed-on: https://gerrit.libreoffice.org/68310
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/sbasic/python/python_locations.xhp b/source/text/sbasic/python/python_locations.xhp
index 46b473ae8..9ec22d0e0 100644
--- a/source/text/sbasic/python/python_locations.xhp
+++ b/source/text/sbasic/python/python_locations.xhp
@@ -21,6 +21,7 @@
         <paragraph id="par_id771543358231022" role="paragraph" xml-lang="en-US">The Python script files are stored in the filesystem, in folders controlled by %PRODUCTNAME. The macros can be started at installation, user or file level.</paragraph>
     </section>
     <h2 id="hd_id911544049584458">Python Script Locations</h2>
+        <paragraph id="par_id121551089455774" role="paragraph" xml-lang="en-US">Refer to <link href="text/sbasic/python/python_session.xhp" name="Getting Session Information">Getting Session Information</link> in order to get programmatic access to Python script locations.</paragraph>
     <h3 id="hd_id591544049572647">%PRODUCTNAME Macros container</h3>
     <paragraph role="paragraph" id="par_id261544049064421">Existing macros in this location (container) were copied by the installation program and are available to every computer user, and any open document can access macros stored the container. You need administrative rights to store or edit macros here.</paragraph>
 
@@ -55,6 +56,7 @@
     <h3 id="hd_id151544209895574">Python macros</h3>
     <paragraph role="paragraph" id="par_id61544209944591">A macro is a python object in the module.</paragraph>
     <section id="relatedtopics">
+        <embed href="text/sbasic/python/python_session.xhp#pythonsession"/>
         <embed href="text/sbasic/python/main0000.xhp#pythonscriptshelp"/>
     </section>
 </body>
diff --git a/source/text/sbasic/python/python_session.xhp b/source/text/sbasic/python/python_session.xhp
index 2a35081a3..ef0387b59 100644
--- a/source/text/sbasic/python/python_session.xhp
+++ b/source/text/sbasic/python/python_session.xhp
@@ -23,7 +23,7 @@
         <bookmark_value>Session;UserScripts</bookmark_value>
         <bookmark_value>Session;UserPythonScripts</bookmark_value>
     </bookmark>
-    <h1 id="N0340"><variable id="pythonsession"><link href="text/sbasic/python/python_session.xhp" name="session01">Getting session information</link></variable></h1>
+    <h1 id="N0340"><variable id="pythonsession"><link href="text/sbasic/python/python_session.xhp" name="session01">Getting Session Information</link></variable></h1>
     <paragraph role="paragraph" id="N0341">Computing %PRODUCTNAME user profile and shared modules system file paths can be performed with Python or with Basic languages. BeanShell, Java, JavaScript and Python scripts locations can be derived from this information.</paragraph>
     <h2 id="N0343">Examples:</h2>
     <paragraph role="paragraph" id="N0344">With Python shell.</paragraph>
@@ -148,6 +148,7 @@
         <paragraph role="bascode" localize="false" id="N0453">End Property ' Session.userPythonScripts</paragraph>
     </bascode>
     <section id="relatedtopics">
+        <embed href="text/sbasic/python/python_locations.xhp#pythonlocations1"/>
         <embed href="text/sbasic/python/python_import.xhp#pythonimporth1"/>
         <embed href="text/sbasic/python/python_screen.xhp#ioscreen"/>
         <embed href="text/sbasic/python/python_examples.xhp#pythonexamples2"/>


More information about the Libreoffice-commits mailing list