From 3954a99fbd09ead9543cb0e9c682cbf2f69dae8f Mon Sep 17 00:00:00 2001 From: Alain Romedenne Date: Thu, 22 Nov 2018 12:49:14 -0200 Subject: tdf#114263 add help page for GetPathSelector() Change-Id: I021dcde2c5bb27713cbbff03af9f3662f187be4b Signed-off-by: Olivier Hallot Reviewed-on: https://gerrit.libreoffice.org/63807 Tested-by: Jenkins --- 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(-) create mode 100644 source/text/sbasic/shared/GetPathSeparator.xhp diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk index a236018f46..8515bb65a7 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 d2eb5ea538..fbae74d0de 100644 --- a/source/auxiliary/sbasic.tree +++ b/source/auxiliary/sbasic.tree @@ -153,6 +153,7 @@ GetDefaultContext Function GetGUIType Function GetProcessServiceManager Function +GetPathSeparator Function GetSolarVersion Function GetSystemTicks Function Get Statement diff --git a/source/text/sbasic/shared/03020400.xhp b/source/text/sbasic/shared/03020400.xhp index d7df5e8486..27592c63a5 100644 --- a/source/text/sbasic/shared/03020400.xhp +++ b/source/text/sbasic/shared/03020400.xhp @@ -30,8 +30,8 @@ - - + +
Managing Files The functions and statements for managing files are described here. @@ -46,6 +46,7 @@ + diff --git a/source/text/sbasic/shared/GetPathSeparator.xhp b/source/text/sbasic/shared/GetPathSeparator.xhp new file mode 100644 index 0000000000..d4c63c5362 --- /dev/null +++ b/source/text/sbasic/shared/GetPathSeparator.xhp @@ -0,0 +1,72 @@ + + + + + + Libre LibrÓ™ries : GetPathSeparator function + /text/sbasic/shared/GetPathSeparator.xhp + + + + + GetPathSeparator function + +
+ GetPathSeparator Function + Return the operating system dependent directory separator used to specify file paths. +
+ Syntax: + GetPathSeparator() + + Return value: + + String + + "\" Windows + + + "/" UNIX, including MacOS + + + Parameters: + + + None. + + + Error codes: + + + 5 Invalid procedure call + + + Example: + + + Sub ExampleGetPathSeparator + MsgBox GetPathSeparator() + End Sub + +
+ + It is recommended to use: + + + ConvertFromURL function to convert a file URL to s system file name. + + + ConvertToURL function to convert a system file name to a file URL. + + + See also URL Notation + +
+ +
-- cgit