source/auxiliary/sbasic.tree             |   12 ++++++------
 source/text/sbasic/shared/03090401.xhp   |   13 +++++++++----
 source/text/sbasic/shared/CallByName.xhp |    7 ++++---
 3 files changed, 19 insertions(+), 13 deletions(-)

New commits:
commit 385b2a1c99550f8b49d8a4a2f83f89c9089b8943
Author:     Alain Romedenne <libreoffici...@gerrit.libreoffice.org>
AuthorDate: Mon Feb 28 16:37:34 2022 +0100
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Wed Mar 2 14:17:44 2022 +0100

    Basic help extra x-links
    
    Change-Id: I875e5027de98d23e1644aaa5cfbce0a124f543b2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130677
    Tested-by: Jenkins
    Reviewed-by: Rafael Lima <rafael.palma.l...@gmail.com>
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree
index 35df2f89b..bca59567b 100644
--- a/source/auxiliary/sbasic.tree
+++ b/source/auxiliary/sbasic.tree
@@ -69,6 +69,7 @@
           <topic id="sbasic/text/sbasic/shared/03131900.xhp">BasicLibraries 
object</topic>
           <topic id="sbasic/text/sbasic/shared/03130100.xhp">Beep 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/03010301.xhp">Blue 
Function</topic>
+          <topic id="sbasic/text/sbasic/shared/03090401.xhp">Call 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/CallByName.xhp">CallByName 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03090102.xhp">Case 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/03100100.xhp">CBool 
Function</topic>
@@ -85,19 +86,16 @@
           <topic id="sbasic/text/sbasic/shared/03100300.xhp">CDate 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03100400.xhp">CDbl 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03100060.xhp">CDec 
Function</topic>
-          <topic id="sbasic/text/sbasic/shared/03100500.xhp">CInt 
Function</topic>
-          <topic id="sbasic/text/sbasic/shared/03100600.xhp">CLng 
Function</topic>
-          <topic 
id="sbasic/text/sbasic/shared/compatible.xhp">CompatibilityMode Function</topic>
-          <topic id="sbasic/text/sbasic/shared/03100900.xhp">CSng 
Function</topic>
-          <topic id="sbasic/text/sbasic/shared/03101000.xhp">CStr 
Function</topic>
-          <topic id="sbasic/text/sbasic/shared/03090401.xhp">Call 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/03020401.xhp">ChDir 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/03020402.xhp">ChDrive 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/03090402.xhp">Choose 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03120102.xhp">Chr 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03120112.xhp">ChrW Function 
[VBA]</topic>
+          <topic id="sbasic/text/sbasic/shared/03100500.xhp">CInt 
Function</topic>
+          <topic id="sbasic/text/sbasic/shared/03100600.xhp">CLng 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03020101.xhp">Close 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/collection.xhp">Collection 
Object</topic>
+          <topic 
id="sbasic/text/sbasic/shared/compatible.xhp">CompatibilityMode Function</topic>
           <topic id="sbasic/text/sbasic/shared/03100700.xhp">Const 
Statement</topic>
           <topic id="sbasic/text/sbasic/shared/03120313.xhp">ConvertFromURL 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03120312.xhp">ConvertToURL 
Function</topic>
@@ -108,6 +106,8 @@
           <topic id="sbasic/text/sbasic/shared/03131600.xhp">CreateUnoService 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03131500.xhp">CreateUnoStruct 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03132300.xhp">CreateUnoValue 
Function</topic>
+          <topic id="sbasic/text/sbasic/shared/03100900.xhp">CSng 
Function</topic>
+          <topic id="sbasic/text/sbasic/shared/03101000.xhp">CStr 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03020403.xhp">CurDir 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03100070.xhp">CVar 
Function</topic>
           <topic id="sbasic/text/sbasic/shared/03100080.xhp">CVErr 
Function</topic>
diff --git a/source/text/sbasic/shared/03090401.xhp 
b/source/text/sbasic/shared/03090401.xhp
index 662580d96..2737a682c 100644
--- a/source/text/sbasic/shared/03090401.xhp
+++ b/source/text/sbasic/shared/03090401.xhp
@@ -30,16 +30,16 @@
 <section id="call">
 <bookmark xml-lang="en-US" branch="index" 
id="bm_id3154422"><bookmark_value>Call statement</bookmark_value>
 </bookmark>
-<paragraph role="heading" id="hd_id3154422" xml-lang="en-US" level="1"><link 
href="text/sbasic/shared/03090401.xhp" name="Call Statement">Call 
Statement</link></paragraph>
+<h1 id="hd_id3154422"><variable id="Call_h1"><link 
href="text/sbasic/shared/03090401.xhp" name="Call Statement">Call 
Statement</link></variable></h1>
 <paragraph role="paragraph" id="par_id3153394" xml-lang="en-US">Transfers the 
control of the program to a subroutine, a function, or a procedure of a <link 
href="text/sbasic/shared/03090403.xhp" name="Dynamic Link Library">Dynamic Link 
Library (DLL)</link>. The keyword, type and number of parameters is dependent 
on the routine that is being called.</paragraph>
 </section>
-<paragraph role="heading" id="hd_id3153345" xml-lang="en-US" 
level="2">Syntax:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
 <paragraph role="paragraph" id="par_id491585753339474">
   <image src="media/helpimg/sbasic/Call_statement.svg" 
id="img_id4156296484514"><alt xml-lang="en-US" id="alt_id15152796484514">Call 
Statement diagram</alt></image></paragraph>
 <bascode>
 <paragraph role="bascode" id="par_id3150984" xml-lang="en-US">[Call] name [(] 
[param :=] value, ... [)] </paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3150771" xml-lang="en-US" 
level="2">Parameters:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
 <paragraph role="paragraph" id="par_id3148473" xml-lang="en-US">
 <emph>name:</emph> Name of the subroutine, the function, or the <link 
href="text/sbasic/shared/03090403.xhp" name="Dynamic Link Library">DLL</link> 
that you want to call</paragraph>
 <paragraph role="paragraph" id="par_id3148946" xml-lang="en-US">
@@ -47,7 +47,7 @@
 <paragraph role="paragraph" id="par_id871586190690812"><emph>value:</emph> 
Positional parameter value. The type is dependent on the routine that is being 
called</paragraph>
 <note id="par_id421586006407428" xml-lang="en-US">When mixing positional and 
keyword parameters, make sure positional parameters are following the routine 
declaration order.</note>
 <tip id="par_id3154216" xml-lang="en-US">When a function is used as an 
expression, enclosing parameters with brackets becomes necessary. Using a <link 
href="text/sbasic/shared/03090403.xhp" name="Declare Statement">Declare 
statement</link> is compulsory prior to call a DLL.</tip>
-<paragraph role="heading" id="hd_id3125865" xml-lang="en-US" 
level="2">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
 <bascode>
 <paragraph role="bascode" id="par_id3159254" xml-lang="en-US" 
localize="false">Sub ExampleCall</paragraph>
 <paragraph role="bascode" id="par_id3161832" xml-lang="en-US" 
localize="false">    Dim value As String</paragraph>
@@ -60,5 +60,10 @@
 <paragraph role="bascode" id="par_id3151112" xml-lang="en-US" 
localize="false">    Msgbox text</paragraph>
 <paragraph role="bascode" id="par_id3148646" xml-lang="en-US" 
localize="false">End Sub</paragraph>
 </bascode>
+
+<section id="relatedtopics">
+  <embed href="text/sbasic/shared/CallByName.xhp#CallByName_h1"/>
+</section>
+
 </body>
 </helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/CallByName.xhp 
b/source/text/sbasic/shared/CallByName.xhp
index 90581cd66..44be2c9a3 100644
--- a/source/text/sbasic/shared/CallByName.xhp
+++ b/source/text/sbasic/shared/CallByName.xhp
@@ -19,7 +19,7 @@
 <body>
 
 <section id="CallByName">
-<h1 id="hd_id3150669"><link 
href="text/sbasic/shared/CallByName.xhp">CallByName Function</link></h1>
+<h1 id="hd_id3150669"><variable id="CallByName_h1"><link 
href="text/sbasic/shared/CallByName.xhp">CallByName 
Function</link></variable></h1>
 <paragraph id="par_id3149670" role="paragraph">Invokes a subroutine by its 
string name.</paragraph>
 </section>
 <bookmark xml-lang="en-US" branch="index" id="bm_id3150669">
@@ -29,7 +29,6 @@
 <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
 <bascode>
   <paragraph id="par_id3153360" role="bascode">CallByName(object As Object, 
ProcName As String, CallType As Integer [,arg0 [,arg1 …]])</paragraph>
-
 </bascode>
 
 <embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
@@ -103,8 +102,9 @@
   <paragraph role="bascode" id="bas_id691644589423728" 
localize="false"></paragraph>
   <paragraph role="bascode" id="bas_id801644589423903" localize="false">Public 
Function Multiply(ParamArray args() As Double) As Variant</paragraph>
   <paragraph role="bascode" id="bas_id661644589424096" xml-lang="en-US">    
''' Multiply a variable list of numbers '''</paragraph>
-  <paragraph role="bascode" id="bas_id861644589424279" localize="false">    
Dim ndx As Integer : Multiply = 1.0</paragraph>
+  <paragraph role="bascode" id="bas_id861644589424279" localize="false">    
Dim ndx As Integer</paragraph>
   <paragraph role="bascode" id="bas_id151644589424456" localize="false">    If 
UBound(args) >= 0 Then</paragraph>
+  <paragraph role="bascode" id="bas_id521646063432572" localize="false">       
 Multiply = 1.0</paragraph>
   <paragraph role="bascode" id="bas_id591644589424639" localize="false">       
 For ndx = 0 To UBound(args)</paragraph>
   <paragraph role="bascode" id="bas_id931644589424831" localize="false">       
     Multiply = Multiply * args(ndx)</paragraph>
   <paragraph role="bascode" id="bas_id271644589568598" localize="false">       
 Next ndx</paragraph>
@@ -113,6 +113,7 @@
 </bascode>
 
 <section id="relatedtopics">
+  <embed href="text/sbasic/shared/03090401.xhp#Call_h1"/>
   <embed href="text/sbasic/shared/03/sf_platform.xhp#PlatformService"/>
   <embed href="text/sbasic/shared/compatible.xhp#compatiblestatement"/>
   <embed href="text/sbasic/shared/classmodule.xhp#classmodulestatement"/>

Reply via email to