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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Nov 23 13:06:39 UTC 2018


 AllLangHelp_sbasic.mk                          |    1 
 source/auxiliary/sbasic.tree                   |    1 
 source/text/sbasic/shared/03020400.xhp         |    5 +
 source/text/sbasic/shared/GetPathSeparator.xhp |   72 +++++++++++++++++++++++++
 4 files changed, 77 insertions(+), 2 deletions(-)

New commits:
commit 3954a99fbd09ead9543cb0e9c682cbf2f69dae8f
Author:     Alain Romedenne <pyoffice.romedenne pyoffice.romedenne at sfr.fr>
AuthorDate: Thu Nov 22 12:49:14 2018 -0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Fri Nov 23 14:06:17 2018 +0100

    tdf#114263 add help page for GetPathSelector()
    
    Change-Id: I021dcde2c5bb27713cbbff03af9f3662f187be4b
    Signed-off-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Reviewed-on: https://gerrit.libreoffice.org/63807
    Tested-by: Jenkins

diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk
index a236018f4..8515bb65a 100644
--- a/AllLangHelp_sbasic.mk
+++ b/AllLangHelp_sbasic.mk
@@ -354,6 +354,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\
     helpcontent2/source/text/sbasic/shared/03170010 \
     helpcontent2/source/text/sbasic/shared/05060700 \
     helpcontent2/source/text/sbasic/shared/code-stubs \
+    helpcontent2/source/text/sbasic/shared/GetPathSeparator \
     helpcontent2/source/text/sbasic/shared/keys \
     helpcontent2/source/text/sbasic/shared/main0211 \
     helpcontent2/source/text/sbasic/shared/main0601 \
diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree
index d2eb5ea53..fbae74d0d 100644
--- a/source/auxiliary/sbasic.tree
+++ b/source/auxiliary/sbasic.tree
@@ -153,6 +153,7 @@
 <topic id="sbasic/text/sbasic/shared/03132500.xhp">GetDefaultContext Function</topic>
 <topic id="sbasic/text/sbasic/shared/03132100.xhp">GetGUIType Function</topic>
 <topic id="sbasic/text/sbasic/shared/03131700.xhp">GetProcessServiceManager Function</topic>
+<topic id="sbasic/text/sbasic/shared/GetPathSeparator.xhp">GetPathSeparator Function</topic>
 <topic id="sbasic/text/sbasic/shared/03131000.xhp">GetSolarVersion Function</topic>
 <topic id="sbasic/text/sbasic/shared/03130700.xhp">GetSystemTicks Function</topic>
 <topic id="sbasic/text/sbasic/shared/03020201.xhp">Get Statement</topic>
diff --git a/source/text/sbasic/shared/03020400.xhp b/source/text/sbasic/shared/03020400.xhp
index d7df5e848..27592c63a 100644
--- a/source/text/sbasic/shared/03020400.xhp
+++ b/source/text/sbasic/shared/03020400.xhp
@@ -30,8 +30,8 @@
 </history>
 </meta>
 <body>
-  
-  
+
+
   <section id="organisation">
   <paragraph id="hd_id3145136" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020400.xhp" name="Managing Files">Managing Files</link></paragraph>
   <paragraph role="paragraph" id="par_id3147264" xml-lang="en-US">The functions and statements for managing files are described here.</paragraph>
@@ -46,6 +46,7 @@
   <embed href="text/sbasic/shared/03020415.xhp#fileexists"/>
   <embed href="text/sbasic/shared/03020408.xhp#filelen"/>
   <embed href="text/sbasic/shared/03020409.xhp#getattr"/>
+  <embed href="text/sbasic/shared/GetPathSeparator.xhp#getpathseparator"/>
   <embed href="text/sbasic/shared/03020410.xhp#kill"/>
   <embed href="text/sbasic/shared/03020411.xhp#mkdir"/>
   <embed href="text/sbasic/shared/03020412.xhp#name"/>
diff --git a/source/text/sbasic/shared/GetPathSeparator.xhp b/source/text/sbasic/shared/GetPathSeparator.xhp
new file mode 100644
index 000000000..d4c63c536
--- /dev/null
+++ b/source/text/sbasic/shared/GetPathSeparator.xhp
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+    <!--
+    * This file is part of the LibreOffice project.
+    *
+    * This Source Code Form is subject to the terms of the Mozilla Public
+    * License, v. 2.0. If a copy of the MPL was not distributed with this
+    * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+    *
+    -->
+    <meta>
+        <topic id="org.Libre.Libreries.GetPathSeparator.en" indexer="include" status="PUBLISH">
+            <title id="tit">Libre LibrÓ™ries : GetPathSeparator function</title>
+            <filename>/text/sbasic/shared/GetPathSeparator.xhp</filename>
+        </topic>
+    </meta>
+    <body>
+    <bookmark branch="index"  id="N0001">
+        <bookmark_value>GetPathSeparator function</bookmark_value>
+    </bookmark>
+    <section id="getpathseparator">
+        <paragraph role="heading" level="1"  id="N0002"><link href="text/sbasic/shared/GetPathSeparator.xhp" name="GetPathSeparator">GetPathSeparator Function</link></paragraph>
+        <paragraph role="paragraph"  id="N0003">Return the operating system dependent directory separator used to specify file paths.</paragraph>
+    </section>
+    <paragraph role="heading" level="2"  id="N0004">Syntax:</paragraph>
+    <paragraph role="bascode"  id="N0005">GetPathSeparator()</paragraph>
+    <paragraph role="heading" level="2"  id="N0006">
+        Return value:
+    </paragraph>
+    <paragraph role="paragraph" id="par_id481542894937950" xml-lang="en-US">String</paragraph>
+    <paragraph role="paragraph"  id="N0007">
+        "\" Windows
+    </paragraph>
+    <paragraph role="paragraph"  id="N0008">
+        "/" UNIX, including MacOS
+    </paragraph>
+    <paragraph role="heading" level="2" xml-lang="en-US" id="N0009">
+        Parameters:
+    </paragraph>
+    <paragraph role="paragraph"  id="N0010">
+        None.
+    </paragraph>
+    <paragraph role="heading" level="2"  id="N0011">
+        Error codes:
+    </paragraph>
+    <paragraph role="paragraph"  id="N0012">
+        5 Invalid procedure call
+    </paragraph>
+    <paragraph role="heading" level="2"  id="N0013">
+        Example:
+    </paragraph>
+    <bascode>
+        <paragraph role="bascode"  id="N0014">Sub ExampleGetPathSeparator</paragraph>
+        <paragraph role="bascode"  id="N0015">    MsgBox GetPathSeparator()</paragraph>
+        <paragraph role="bascode"  id="N0016">End Sub</paragraph>
+    </bascode>
+    <section id="relatedtopics" >
+        <paragraph role="paragraph"  id="N0017">
+            It is recommended to use:
+        </paragraph>
+        <paragraph role="paragraph"  id="N0018">
+            <link href="text/sbasic/shared/03120313.xhp" name ="external">ConvertFromURL</link> function to convert a file URL to s system file name.
+        </paragraph>
+        <paragraph role="paragraph"  id="N0019">
+            <link href="text/sbasic/shared/03120312.xhp" name ="external">ConvertToURL</link> function to convert a system file name to a file URL.
+        </paragraph>
+        <paragraph role="paragraph"  id="N0020">
+            See also <link href="text/sbasic/shared/00000002.xhp" name ="external">URL Notation</link>
+        </paragraph>
+    </section>
+</body>
+</helpdocument>


More information about the Libreoffice-commits mailing list