diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-05-20 08:22:15 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@edx.srv.br> | 2017-05-20 13:27:52 +0200 |
commit | 0351604e8d6b4e3d797bdf742ff81377eee46b96 (patch) | |
tree | 5af2d1f306fab924a4d3f40d1843ce381ee0301e | |
parent | cc6b76b3b8ede1c9ad8e173df9fd5b813e9e6572 (diff) |
tdf#84675 Add help page for StrReverse VBA
Fixes some syntax definitions
Mute l10n for VBA function names
Change-Id: I06d7391a44b465339e3c82f333719488f7d843b2
Reviewed-on: https://gerrit.libreoffice.org/37854
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
-rw-r--r-- | AllLangHelp_sbasic.mk | 1 | ||||
-rw-r--r-- | source/text/sbasic/shared/03120111.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03120411.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03120412.xhp | 63 | ||||
-rw-r--r-- | source/text/sbasic/shared/special_vba_func.xhp | 50 |
5 files changed, 92 insertions, 28 deletions
diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk index 48e8ca7668..dc1039d08f 100644 --- a/AllLangHelp_sbasic.mk +++ b/AllLangHelp_sbasic.mk @@ -303,6 +303,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\ helpcontent2/source/text/sbasic/shared/03120402 \ helpcontent2/source/text/sbasic/shared/03120403 \ helpcontent2/source/text/sbasic/shared/03120411 \ + helpcontent2/source/text/sbasic/shared/03120412 \ helpcontent2/source/text/sbasic/shared/03130000 \ helpcontent2/source/text/sbasic/shared/03130100 \ helpcontent2/source/text/sbasic/shared/03130500 \ diff --git a/source/text/sbasic/shared/03120111.xhp b/source/text/sbasic/shared/03120111.xhp index 7782582589..d220006baa 100644 --- a/source/text/sbasic/shared/03120111.xhp +++ b/source/text/sbasic/shared/03120111.xhp @@ -41,7 +41,7 @@ <paragraph id="hd_id3155555" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> <bascode> -<paragraph id="par_id3143267" role="bascode" xml-lang="en-US">AscW (Text As String) as Integer</paragraph> +<paragraph id="par_id3143267" role="bascode" xml-lang="en-US">AscW (Text As String)</paragraph> </bascode> <paragraph id="hd_id3147242" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> @@ -69,4 +69,4 @@ </section> </body> -</helpdocument> +</helpdocument>
\ No newline at end of file diff --git a/source/text/sbasic/shared/03120411.xhp b/source/text/sbasic/shared/03120411.xhp index ae0bd22e84..c0ab1daada 100644 --- a/source/text/sbasic/shared/03120411.xhp +++ b/source/text/sbasic/shared/03120411.xhp @@ -42,7 +42,7 @@ <paragraph id="hd_id3145090" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> <bascode> -<paragraph id="par_id3146957" role="bascode" xml-lang="en-US">InStrRev (Text1 As String, Text2 As String [,Start As Long] [, Compare As Integer]) As Long</paragraph> +<paragraph id="par_id3146957" role="bascode" xml-lang="en-US">InStrRev (Text1 As String, Text2 As String [,Start As Long] [, Compare As Integer])</paragraph> </bascode> <paragraph id="hd_id3148538" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> diff --git a/source/text/sbasic/shared/03120412.xhp b/source/text/sbasic/shared/03120412.xhp new file mode 100644 index 0000000000..11c69947d2 --- /dev/null +++ b/source/text/sbasic/shared/03120412.xhp @@ -0,0 +1,63 @@ +<?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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + +<meta> + <topic id="textsbasicshared03120401xml" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">StrReverse Function [Runtime - VBA]</title> + <filename>/text/sbasic/shared/03120412.xhp</filename> + </topic> +</meta> + +<body> + + +<section id="instr"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3155934"> + <bookmark_value>StrReverse function</bookmark_value> +</bookmark> + + +<paragraph id="hd_id3155934" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03120412.xhp" name="InStrRev Function [Runtime]">StrReverse Function [Runtime - VBA]</link></paragraph> +<paragraph id="par_id3153990" role="paragraph" xml-lang="en-US">Returns the string with the character order reversed.</paragraph> +</section> +<embed href="text/sbasic/shared/00000003.xhp#vbasupport"/> + +<paragraph id="hd_id3145090" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> +<bascode> +<paragraph id="par_id3146957" role="bascode" xml-lang="en-US">StrReverse (Text1 As String)</paragraph> +</bascode> + +<paragraph id="hd_id3148538" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> +<paragraph id="par_id3149763" role="paragraph" xml-lang="en-US">String</paragraph> + +<paragraph id="hd_id3148473" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> +<paragraph id="par_id3145609" role="paragraph" xml-lang="en-US"> <emph>Text1:</emph> The string expression that you want to reverse the character order.</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#errorcode"/> +<embed href="text/sbasic/shared/00000003.xhp#err5"/> + +<paragraph id="hd_id3154366" role="heading" level="2" xml-lang="en-US">Example:</paragraph> +<bascode> +<paragraph id="par_idm1341612352" role="bascode" localize="false" xml-lang="en-US">Sub ExampleReverse</paragraph> +<paragraph id="par_idm1341605120" role="bascode" localize="false" xml-lang="en-US"> Print StrReverse("ABCdefGH") ' return "HGfedCBA"</paragraph> +<paragraph id="par_idm1341603888" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> +</bascode> +</body> + +</helpdocument>
\ No newline at end of file diff --git a/source/text/sbasic/shared/special_vba_func.xhp b/source/text/sbasic/shared/special_vba_func.xhp index 541870cea2..27598358e8 100644 --- a/source/text/sbasic/shared/special_vba_func.xhp +++ b/source/text/sbasic/shared/special_vba_func.xhp @@ -35,9 +35,9 @@ <paragraph id="hd_id051820170313205718" role="heading" level="1" xml-lang="en-US"><variable id="exclusivevba"><link href="text/sbasic/shared/special_vba_func.xhp">Exclusive VBA functions</link></variable></paragraph> -<paragraph id="par_id051820170314436068" role="paragraph" xml-lang="en-US"><ahelp hid=".">%PRODUCTNAME Basic supports these functions when VBA support is enabled</ahelp></paragraph> +<paragraph id="par_id051820170314436068" role="paragraph" xml-lang="en-US"><ahelp hid=".">%PRODUCTNAME Basic adds this set of functions when VBA support is enabled</ahelp></paragraph> </section> -<paragraph id="hd_id051820170407499827" role="paragraph" xml-lang="en-US">The following VBA functions are enabled when <item type="literal">Option VBASupport 1</item> is the first line of a %PRODUCTNAME Basic module. </paragraph> +<paragraph id="hd_id051820170407499827" role="paragraph" xml-lang="en-US">These exclusive VBA functions are enabled when <item type="literal">Option VBASupport 1</item> is the first line of a %PRODUCTNAME Basic module. </paragraph> <bookmark xml-lang="en-US" branch="index" id="bm_id05192017035621676"> <bookmark_value>VBA Functions;Text Functions</bookmark_value> </bookmark> @@ -47,16 +47,16 @@ <list type="unordered"> <listitem> - <paragraph id="par_id051820170314431250" role="paragraph" xml-lang="en-US"><link href="text/sbasic/shared/03120111.xhp">AscW</link></paragraph> + <paragraph id="par_id051820170314431250" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120111.xhp">AscW</link></paragraph> </listitem> <listitem> - <paragraph id="par_id051820170331279953" role="paragraph" xml-lang="en-US"><link href="text/sbasic/shared/03120112.xhp">ChrW</link></paragraph> + <paragraph id="par_id051820170331279953" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120112.xhp">ChrW</link></paragraph> </listitem> <listitem> - <paragraph id="par_id051820170331274373" role="paragraph" xml-lang="en-US"><link href="text/sbasic/shared/03120411.xhp">InStrRev</link></paragraph> + <paragraph id="par_id051820170331274373" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120411.xhp">InStrRev</link></paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335291322" role="paragraph" xml-lang="en-US">StrReverse</paragraph> + <paragraph id="par_id051820170335291322" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120412.xhp">StrReverse</link></paragraph> </listitem></list> <bookmark xml-lang="en-US" branch="index" id="bm_id051920170357078705"> <bookmark_value>VBA Functions;Financial Functions</bookmark_value> @@ -67,43 +67,43 @@ <list type="unordered"> <listitem> - <paragraph id="par_id051820170331271603" role="paragraph" xml-lang="en-US">DDB</paragraph> + <paragraph id="par_id051820170331271603" role="paragraph" localize="false" xml-lang="en-US">DDB</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170331278736" role="paragraph" xml-lang="en-US">FV</paragraph> + <paragraph id="par_id051820170331278736" role="paragraph" localize="false" xml-lang="en-US">FV</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170331278779" role="paragraph" xml-lang="en-US">IPmt</paragraph> + <paragraph id="par_id051820170331278779" role="paragraph" localize="false" xml-lang="en-US">IPmt</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335282035" role="paragraph" xml-lang="en-US">IRR</paragraph> + <paragraph id="par_id051820170335282035" role="paragraph" localize="false" xml-lang="en-US">IRR</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335284205" role="paragraph" xml-lang="en-US">MIRR</paragraph> + <paragraph id="par_id051820170335284205" role="paragraph" localize="false" xml-lang="en-US">MIRR</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335297182" role="paragraph" xml-lang="en-US">NPer</paragraph> + <paragraph id="par_id051820170335297182" role="paragraph" localize="false" xml-lang="en-US">NPer</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335299474" role="paragraph" xml-lang="en-US">NPV</paragraph> + <paragraph id="par_id051820170335299474" role="paragraph" localize="false" xml-lang="en-US">NPV</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335299272" role="paragraph" xml-lang="en-US">Pmt</paragraph> + <paragraph id="par_id051820170335299272" role="paragraph" localize="false" xml-lang="en-US">Pmt</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335298807" role="paragraph" xml-lang="en-US">PPmt</paragraph> + <paragraph id="par_id051820170335298807" role="paragraph" localize="false" xml-lang="en-US">PPmt</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335294050" role="paragraph" xml-lang="en-US">PV</paragraph> + <paragraph id="par_id051820170335294050" role="paragraph" localize="false" xml-lang="en-US">PV</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335292174" role="paragraph" xml-lang="en-US">Rate</paragraph> + <paragraph id="par_id051820170335292174" role="paragraph" localize="false" xml-lang="en-US">Rate</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335295504" role="paragraph" xml-lang="en-US">SLN</paragraph> + <paragraph id="par_id051820170335295504" role="paragraph" localize="false" xml-lang="en-US">SLN</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335294432" role="paragraph" xml-lang="en-US">SYD</paragraph> + <paragraph id="par_id051820170335294432" role="paragraph" localize="false" xml-lang="en-US">SYD</paragraph> </listitem></list> <bookmark xml-lang="en-US" branch="index" id="bm_id051920170357347041"> <bookmark_value>VBA Functions;Date and Time Functions</bookmark_value> @@ -114,10 +114,10 @@ <list type="unordered"> <listitem> - <paragraph id="par_id051820170331271717" role="paragraph" xml-lang="en-US">FormatDateTime</paragraph> + <paragraph id="par_id051820170331271717" role="paragraph" localize="false" xml-lang="en-US">FormatDateTime</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335292276" role="paragraph" xml-lang="en-US">WeekdayName</paragraph> + <paragraph id="par_id051820170335292276" role="paragraph" localize="false" xml-lang="en-US">WeekdayName</paragraph> </listitem></list> <bookmark xml-lang="en-US" branch="index" id="bm_id051920170358002074"> <bookmark_value>VBA Functions;I/O Functions</bookmark_value> @@ -128,7 +128,7 @@ <list type="unordered"> <listitem> - <paragraph id="par_id05182017033127432" role="paragraph" xml-lang="en-US">Input</paragraph> + <paragraph id="par_id05182017033127432" role="paragraph" localize="false" xml-lang="en-US">Input</paragraph> </listitem></list> <bookmark xml-lang="en-US" branch="index" id="bm_id051920170358346963"> <bookmark_value>VBA Functions;Mathematical Functions</bookmark_value> @@ -139,7 +139,7 @@ <list type="unordered"> <listitem> - <paragraph id="par_id051820170335293060" role="paragraph" xml-lang="en-US">Round</paragraph> + <paragraph id="par_id051820170335293060" role="paragraph" localize="false" xml-lang="en-US">Round</paragraph> </listitem></list> <bookmark xml-lang="en-US" branch="index" id="bm_id051920170359045662"> <bookmark_value>VBA Functions;Object Functions</bookmark_value> @@ -150,10 +150,10 @@ <list type="unordered"> <listitem> - <paragraph id="par_id051820170335289499" role="paragraph" xml-lang="en-US">Me</paragraph> + <paragraph id="par_id051820170335289499" role="paragraph" localize="false" xml-lang="en-US">Me</paragraph> </listitem> <listitem> - <paragraph id="par_id051820170335293856" role="paragraph" xml-lang="en-US">RTL</paragraph> + <paragraph id="par_id051820170335293856" role="paragraph" localize="false" xml-lang="en-US">RTL</paragraph> </listitem></list> </body> |