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

Alain Romedenne (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 29 13:30:36 UTC 2021


 source/text/sbasic/shared/03/avail_release.xhp |    4 ++--
 source/text/sbasic/shared/03/sf_string.xhp     |   23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)

New commits:
commit a4aacdb16a5c386147c6e7a2c1c1f47843b3a805
Author:     Alain Romedenne <alain.romedenne at libreoffice.org>
AuthorDate: Tue Apr 27 14:03:04 2021 +0200
Commit:     Alain Romedenne <alain.romedenne at libreoffice.org>
CommitDate: Thu Apr 29 15:30:15 2021 +0200

    document SF_String isIBAN() 7.2 method
    
    Change-Id: Icdf0bdc74ea5deced0f31ee01061e46ff8b805f1
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114713
    Tested-by: Jenkins
    Reviewed-by: Rafael Lima <rafael.palma.lima at gmail.com>
    Reviewed-by: Alain Romedenne <alain.romedenne at libreoffice.org>

diff --git a/source/text/sbasic/shared/03/avail_release.xhp b/source/text/sbasic/shared/03/avail_release.xhp
index 29f4bd1f4..0a02b37aa 100644
--- a/source/text/sbasic/shared/03/avail_release.xhp
+++ b/source/text/sbasic/shared/03/avail_release.xhp
@@ -28,9 +28,9 @@
     <section id="7.2.methods">
         <note id="par_id281613660174140">These methods are available from %PRODUCTNAME 7.2 onwards.</note>
     </section>
-<!--<section id="7.2.method">
+    <section id="7.2.method">
         <note id="par_id291613654389792">This method is available from %PRODUCTNAME 7.2 onwards.</note>
-    </section>    -->
+    </section>
     <section id="7.2.control">
         <note id="par_id981613655373210">This control is available from %PRODUCTNAME 7.2 onwards.</note>
     </section>
diff --git a/source/text/sbasic/shared/03/sf_string.xhp b/source/text/sbasic/shared/03/sf_string.xhp
index 80d228c31..a400c492d 100644
--- a/source/text/sbasic/shared/03/sf_string.xhp
+++ b/source/text/sbasic/shared/03/sf_string.xhp
@@ -283,6 +283,7 @@
            <paragraph id="par_id541611613601554" role="tablecontent" localize="false">
              <link href="text/sbasic/shared/03/sf_string.xhp#IsFileName" name="IsFileName method">IsFileName</link><br/>
              <link href="text/sbasic/shared/03/sf_string.xhp#IsHexDigit" name="IsHexDigit method">IsHexDigit</link><br/>
+             <link href="text/sbasic/shared/03/sf_string.xhp#IsIPv4" name="IsIBAN method">IsIBAN</link><br/>
              <link href="text/sbasic/shared/03/sf_string.xhp#IsIPv4" name="IsIPv4 method">IsIPv4</link><br/>
              <link href="text/sbasic/shared/03/sf_string.xhp#IsLike" name="IsLike method">IsLike</link><br/>
              <link href="text/sbasic/shared/03/sf_string.xhp#IsLower" name="IsLower method">IsLower</link><br/>
@@ -711,6 +712,28 @@
       </bascode>
 </section>
 
+<section id="IsIBAN">
+  <comment> IsIBAN -------------------------------------------------------------------------------------------------------------------------- </comment>
+      <bookmark xml-lang="en-US" localize="false" branch="index" id="bm_id931582204907784">
+          <bookmark_value>String service;IsIBAN</bookmark_value>
+      </bookmark>
+  <h2 id="hd_id431580840408317" localize="false">IsIBAN</h2>
+    <paragraph role="paragraph" id="par_id791584008420941">Returns <literal>True</literal> if the string is a valid International Bank Account Number (IBAN). The comparison is not case-sensitive.</paragraph>
+    <embed href="text/sbasic/shared/03/avail_release.xhp#7.2.method"/>
+    <h3 id="hd_id9615004808430925" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functsyntax"/></h3>
+      <bascode>
+        <paragraph role="bascode" localize="false" id="bas_id371584008441769">SF_String.IsIBAN(InputStr As String) As Boolean</paragraph>
+      </bascode>
+    <h3 id="hd_id671580840452527" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3>
+      <paragraph role="paragraph" id="par_id951880048466565"> <emph>InputStr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>.</paragraph>
+    <h3 id="hd_id251619526510787" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functvalue"/></h3>
+      <paragraph role="paragraph" id="par_id631619526542367"><literal>True</literal> if the string contains a valid IBAN number.</paragraph>
+    <h3 id="hd_id321580048473256" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3>
+      <bascode>
+        <paragraph role="bascode" localize="false" id="bas_id571500848484444">MsgBox SF_String.IsIBAN("BR15 0000 0000 0000 1093 2840 814 P2") 'returns True</paragraph>
+      </bascode>
+</section>
+
 <section id="IsIPv4">
   <comment> IsIPv4 -------------------------------------------------------------------------------------------------------------------------- </comment>
       <bookmark xml-lang="en-US" localize="false" branch="index" id="bm_id931582204977084">


More information about the Libreoffice-commits mailing list