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

LibreOfficiant (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 17 18:35:17 UTC 2020


 source/text/sbasic/shared/03050000.xhp |    1 +
 source/text/sbasic/shared/03050100.xhp |    4 +++-
 source/text/sbasic/shared/03050200.xhp |    6 ++++--
 source/text/sbasic/shared/03050300.xhp |    3 +++
 source/text/sbasic/shared/03050500.xhp |    4 +++-
 source/text/sbasic/shared/03100080.xhp |    6 ++++--
 source/text/sbasic/shared/03102450.xhp |    5 ++++-
 source/text/sbasic/shared/ErrVBA.xhp   |    8 +++++---
 8 files changed, 27 insertions(+), 10 deletions(-)

New commits:
commit 578b70a8e756d07c9df48096a6e2b06d0bbd5707
Author:     LibreOfficiant <LibreOfficiant at sfr.fr>
AuthorDate: Fri Apr 17 10:50:07 2020 +0100
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Fri Apr 17 20:34:57 2020 +0200

    error handling w/ Basic
    
    - include err VBA object
    - relate pages together
    
    Change-Id: I94358470091cd6ce7d57a21b34325da7d88e42ad
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92427
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/sbasic/shared/03050000.xhp b/source/text/sbasic/shared/03050000.xhp
index 2d23d147d..c7d951d04 100644
--- a/source/text/sbasic/shared/03050000.xhp
+++ b/source/text/sbasic/shared/03050000.xhp
@@ -35,6 +35,7 @@
   <embed href="text/sbasic/shared/03100080.xhp#cverr"/>
   <embed href="text/sbasic/shared/03050100.xhp#erl"/>
   <embed href="text/sbasic/shared/03050200.xhp#err"/>
+  <embed href="text/sbasic/shared/ErrVBA.xhp#VBAErrObject"/>
   <embed href="text/sbasic/shared/03102450.xhp#iserror"/>
   <embed href="text/sbasic/shared/03050300.xhp#errorf"/>
   <embed href="text/sbasic/shared/03050500.xhp#onerrorgotoresume"/>
diff --git a/source/text/sbasic/shared/03050100.xhp b/source/text/sbasic/shared/03050100.xhp
index bacd265f8..e10ff2d81 100644
--- a/source/text/sbasic/shared/03050100.xhp
+++ b/source/text/sbasic/shared/03050100.xhp
@@ -63,6 +63,8 @@
 <paragraph id="par_id3155416" role="bascode" xml-lang="en-US">    MsgBox "Error " & err & ": " & Error$ + chr(13) + "In Line : " + Erl + chr(13) + Now , 16 ,"An error occurred"</paragraph>
 <paragraph id="par_idm1340974432" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
 </bascode>
+<section id="relatedtopics">
+   <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/>
+</section>
 </body>
-
 </helpdocument>
diff --git a/source/text/sbasic/shared/03050200.xhp b/source/text/sbasic/shared/03050200.xhp
index 880a9c900..a6ee49f82 100644
--- a/source/text/sbasic/shared/03050200.xhp
+++ b/source/text/sbasic/shared/03050200.xhp
@@ -59,6 +59,8 @@
 <paragraph role="bascode" id="par_id3145646" xml-lang="en-US">    MsgBox "Error " & Err & ": " & Error$ + chr(13) + "At line : " + Erl + chr(13) + Now , 16 ,"an error occurred"</paragraph>
 <paragraph role="bascode" id="par_id3155418" xml-lang="en-US" localize="false">End Sub</paragraph>
 </bascode>
+<section id="relatedtopics">
+  <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/>
+</section>
 </body>
-</helpdocument>
-
+</helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/03050300.xhp b/source/text/sbasic/shared/03050300.xhp
index 8896763a6..f3964172a 100644
--- a/source/text/sbasic/shared/03050300.xhp
+++ b/source/text/sbasic/shared/03050300.xhp
@@ -48,5 +48,8 @@
 <paragraph role="paragraph" id="par_id351576405235602" xml-lang="en-US"><emph>err_code:</emph> Any value that corresponds to an existing error code.</paragraph>
 <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
 <embed href="text/sbasic/shared/00000003.xhp#allerrors"/><comment>fixed i60953</comment>
+<section id="relatedtopics">
+  <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/>
+</section>
 </body>
 </helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/03050500.xhp b/source/text/sbasic/shared/03050500.xhp
index 80b3f1fba..2481ea1cf 100644
--- a/source/text/sbasic/shared/03050500.xhp
+++ b/source/text/sbasic/shared/03050500.xhp
@@ -82,6 +82,8 @@
 <paragraph id="par_id3146916" role="bascode" xml-lang="en-US">    MsgBox "All files will be closed",0,"Error"</paragraph>
 <paragraph id="par_idm1341097264" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
 </bascode>
+<section id="relatedtopics">
+  <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/>
+</section>  
 </body>
-
 </helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/03100080.xhp b/source/text/sbasic/shared/03100080.xhp
index 6b4652116..3107ba049 100644
--- a/source/text/sbasic/shared/03100080.xhp
+++ b/source/text/sbasic/shared/03100080.xhp
@@ -43,6 +43,8 @@
     <paragraph role="paragraph" id="par_idN10569">Variant.</paragraph>
     <h2 id="par_idN1056C">Parameter:</h2>
     <paragraph role="paragraph" id="par_idN10570">Expression: Any string or numeric expression that you want to convert.</paragraph>
+    <section id="relatedtopics">
+       <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/>
+    </section>
   </body>
-</helpdocument>
-
+</helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/03102450.xhp b/source/text/sbasic/shared/03102450.xhp
index ffcf01ca6..c08464407 100644
--- a/source/text/sbasic/shared/03102450.xhp
+++ b/source/text/sbasic/shared/03102450.xhp
@@ -43,5 +43,8 @@
   <paragraph role="paragraph" id="par_idN1056C" xml-lang="en-US">Bool</paragraph>
   <h2 id="par_idN1056F">Parameters:</h2>
   <paragraph role="paragraph" id="par_idN10573" xml-lang="en-US"><emph>Var:</emph> Any variable that you want to test. If the variable contains an error value, the function returns True, otherwise the function returns False.</paragraph>
+  <section id="relatedtopics">
+    <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/>
+  </section>
   </body>
-</helpdocument>
+</helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/ErrVBA.xhp b/source/text/sbasic/shared/ErrVBA.xhp
index 0e28e5107..548d666dd 100644
--- a/source/text/sbasic/shared/ErrVBA.xhp
+++ b/source/text/sbasic/shared/ErrVBA.xhp
@@ -22,9 +22,10 @@
          <bookmark_value>Error;handling</bookmark_value>
       </bookmark>
      <h1 id="N0011"><variable id="ErrVBAh1"><link href="text/sbasic/shared/ErrVBA.xhp" name="Err object [VBA]">Err Object [VBA]</link></variable></h1>
-     <paragraph role="paragraph" id="N0012">Use VBA <literal>Err</literal> object to raise or handle runtime errors. <literal>Err</literal> is a VBA built-in global object which permits:</paragraph>
+     <paragraph role="paragraph" id="N0012">Use VBA <literal>Err</literal> object to raise or handle runtime errors.</paragraph>
      </section>
-        <list type="unordered">
+      <paragraph role="paragraph" id="N0012b"><literal>Err</literal> is a built-in VBA global object which permits:</paragraph>
+      <list type="unordered">
          <listitem><paragraph role="paragraph" id="N0013">to raise predefined Basic errors</paragraph></listitem>
          <listitem><paragraph role="paragraph" id="N0014">to throw user-defined exceptions</paragraph></listitem>
          <listitem><paragraph role="paragraph" id="N0015">to name the routine originating the error</paragraph></listitem>
@@ -36,7 +37,7 @@
       <bascode>
          <paragraph role="bascode" id="N0019" localize="false">Err.Description As String</paragraph>
       </bascode>
-      <paragraph role="paragraph" id="N0020"><emph>Description</emph> property gives the nature of the error. It details the various reasons that may cause the error. Ideally it provides the multiple course of actions that help solve the issue and prevent its reoccurrence. Its alias is Basic <link href="text/sbasic/shared/03050300.xhp" name ="Error function">Error</link> function for %PRODUCTNAME predefined errors.</paragraph>
+      <paragraph role="paragraph" id="N0020"><emph>Description</emph> property gives the nature of the error. It details the various reasons that may cause the error. Ideally it provides the multiple course of actions that help solve the issue and prevent it happens again. Its alias is Basic <link href="text/sbasic/shared/03050300.xhp" name ="Error function">Error</link> function for %PRODUCTNAME predefined errors.</paragraph>
       <bascode>
          <paragraph role="bascode" id="N0021" localize="false">Err.Number As Long</paragraph>
       </bascode>
@@ -120,6 +121,7 @@
       </bascode>
       <note id="N0088">The <link href="text/sbasic/shared/03050300.xhp" name="Error statement">Error</link> statement or an Exception-like class module can be used interchangeably, while the latter adds extra features.</note>
       <section id="relatedtopics">
+         <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/>
          <embed href="text/sbasic/shared/classmodule.xhp#classmodulestatement"/>
          <embed href="text/sbasic/shared/03103350.xhp#vbasupportstatement"/>
       </section>


More information about the Libreoffice-commits mailing list