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

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Mon Jan 25 14:31:40 PST 2016


 source/text/sbasic/shared/01020100.xhp      |  509 ++++++++++++++--------------
 source/text/sbasic/shared/01020300.xhp      |  184 +++++-----
 source/text/sbasic/shared/03010101.xhp      |   92 ++---
 source/text/sbasic/shared/03010102.xhp      |  119 +++---
 source/text/sbasic/shared/03010103.xhp      |   94 ++---
 source/text/sbasic/shared/03010201.xhp      |   79 ++--
 source/text/sbasic/shared/03010301.xhp      |   69 ++-
 source/text/sbasic/shared/03010302.xhp      |   69 ++-
 source/text/sbasic/shared/03010303.xhp      |   69 ++-
 source/text/sbasic/shared/03010304.xhp      |  100 ++---
 source/text/sbasic/shared/03010305.xhp      |   71 +--
 source/text/sbasic/shared/03020101.xhp      |   94 ++---
 source/text/sbasic/shared/03020102.xhp      |   98 ++---
 source/text/sbasic/shared/03020103.xhp      |  109 ++---
 source/text/sbasic/shared/03020104.xhp      |   92 ++---
 source/text/sbasic/shared/03020201.xhp      |  109 +++--
 source/text/sbasic/shared/03020202.xhp      |  125 +++---
 source/text/sbasic/shared/03020203.xhp      |   97 ++---
 source/text/sbasic/shared/03020204.xhp      |  112 +++---
 source/text/sbasic/shared/03020205.xhp      |   87 ++--
 source/text/sbasic/shared/03020301.xhp      |   99 ++---
 source/text/sbasic/shared/03020401.xhp      |   71 ++-
 source/text/sbasic/shared/03020402.xhp      |   56 +--
 source/text/sbasic/shared/03020403.xhp      |   75 ++--
 source/text/sbasic/shared/03020404.xhp      |  104 ++---
 source/text/sbasic/shared/03020405.xhp      |  100 ++---
 source/text/sbasic/shared/03020406.xhp      |   59 +--
 source/text/sbasic/shared/03020407.xhp      |   56 +--
 source/text/sbasic/shared/03020408.xhp      |   61 +--
 source/text/sbasic/shared/03020409.xhp      |   96 ++---
 source/text/sbasic/shared/03020410.xhp      |   54 +-
 source/text/sbasic/shared/03020411.xhp      |  133 +++----
 source/text/sbasic/shared/03020412.xhp      |   70 ++-
 source/text/sbasic/shared/03020413.xhp      |   64 +--
 source/text/sbasic/shared/03020414.xhp      |   88 ++--
 source/text/sbasic/shared/03020415.xhp      |   62 +--
 source/text/sbasic/shared/03030107.xhp      |   61 +--
 source/text/sbasic/shared/03030110.xhp      |  242 ++++++-------
 source/text/sbasic/shared/03030111.xhp      |   82 ++--
 source/text/sbasic/shared/03030112.xhp      |   82 ++--
 source/text/sbasic/shared/03030113.xhp      |   82 ++--
 source/text/sbasic/shared/03030114.xhp      |   82 ++--
 source/text/sbasic/shared/03030115.xhp      |   80 ++--
 source/text/sbasic/shared/03030116.xhp      |   80 ++--
 source/text/sbasic/shared/03030120.xhp      |  297 ++++++++--------
 source/text/sbasic/shared/03030130.xhp      |   64 +--
 source/text/sbasic/shared/03030203.xhp      |   55 +--
 source/text/sbasic/shared/03030204.xhp      |   67 +--
 source/text/sbasic/shared/03030205.xhp      |   93 ++---
 source/text/sbasic/shared/03030206.xhp      |   91 ++---
 source/text/sbasic/shared/03030301.xhp      |   56 +--
 source/text/sbasic/shared/03030302.xhp      |   56 +--
 source/text/sbasic/shared/03030303.xhp      |   71 ++-
 source/text/sbasic/shared/03050100.xhp      |   80 ++--
 source/text/sbasic/shared/03050500.xhp      |  102 ++---
 source/text/sbasic/shared/03060100.xhp      |   80 ++--
 source/text/sbasic/shared/03060200.xhp      |   77 ++--
 source/text/sbasic/shared/03060300.xhp      |   77 ++--
 source/text/sbasic/shared/03060400.xhp      |   75 ++--
 source/text/sbasic/shared/03060500.xhp      |   77 ++--
 source/text/sbasic/shared/03060600.xhp      |   77 ++--
 source/text/sbasic/shared/03070100.xhp      |   75 ++--
 source/text/sbasic/shared/03070200.xhp      |   75 ++--
 source/text/sbasic/shared/03070300.xhp      |   75 ++--
 source/text/sbasic/shared/03070400.xhp      |   75 ++--
 source/text/sbasic/shared/03070500.xhp      |   64 +--
 source/text/sbasic/shared/03070600.xhp      |   74 ++--
 source/text/sbasic/shared/03080101.xhp      |   87 ++--
 source/text/sbasic/shared/03080102.xhp      |   85 ++--
 source/text/sbasic/shared/03080103.xhp      |   87 ++--
 source/text/sbasic/shared/03080104.xhp      |   87 ++--
 source/text/sbasic/shared/03080201.xhp      |   69 ++-
 source/text/sbasic/shared/03080202.xhp      |   75 ++--
 source/text/sbasic/shared/03080301.xhp      |   73 ++--
 source/text/sbasic/shared/03080302.xhp      |   83 ++--
 source/text/sbasic/shared/03080401.xhp      |   67 +--
 source/text/sbasic/shared/03080501.xhp      |   65 +--
 source/text/sbasic/shared/03080502.xhp      |   62 +--
 source/text/sbasic/shared/03080601.xhp      |   71 ++-
 source/text/sbasic/shared/03080701.xhp      |  131 +++----
 source/text/sbasic/shared/03080801.xhp      |   93 ++---
 source/text/sbasic/shared/03080802.xhp      |   61 +--
 source/text/sbasic/shared/03090101.xhp      |   85 ++--
 source/text/sbasic/shared/03090102.xhp      |   83 ++--
 source/text/sbasic/shared/03090201.xhp      |  148 ++++----
 source/text/sbasic/shared/03090202.xhp      |  155 ++++----
 source/text/sbasic/shared/03090301.xhp      |  107 +++--
 source/text/sbasic/shared/03090303.xhp      |   97 ++---
 source/text/sbasic/shared/03090402.xhp      |   77 ++--
 source/text/sbasic/shared/03090403.xhp      |   84 ++--
 source/text/sbasic/shared/03090404.xhp      |   90 ++--
 source/text/sbasic/shared/03090405.xhp      |   66 +--
 source/text/sbasic/shared/03090406.xhp      |  116 +++---
 source/text/sbasic/shared/03090407.xhp      |   68 +--
 source/text/sbasic/shared/03090408.xhp      |   56 +--
 source/text/sbasic/shared/03090409.xhp      |   64 +--
 source/text/sbasic/shared/03090410.xhp      |   75 ++--
 source/text/sbasic/shared/03090412.xhp      |  121 +++---
 source/text/sbasic/shared/03100100.xhp      |   82 ++--
 source/text/sbasic/shared/03100300.xhp      |   65 +--
 source/text/sbasic/shared/03100400.xhp      |   63 +--
 source/text/sbasic/shared/03100500.xhp      |   67 +--
 source/text/sbasic/shared/03100600.xhp      |   67 +--
 source/text/sbasic/shared/03100700.xhp      |   68 +--
 source/text/sbasic/shared/03100900.xhp      |   67 +--
 source/text/sbasic/shared/03101000.xhp      |  159 ++++----
 source/text/sbasic/shared/03101100.xhp      |   81 ++--
 source/text/sbasic/shared/03101120.xhp      |   83 ++--
 source/text/sbasic/shared/03101130.xhp      |   83 ++--
 source/text/sbasic/shared/03101140.xhp      |   83 ++--
 source/text/sbasic/shared/03101300.xhp      |   81 ++--
 source/text/sbasic/shared/03101400.xhp      |   81 ++--
 source/text/sbasic/shared/03101500.xhp      |   81 ++--
 source/text/sbasic/shared/03101600.xhp      |   81 ++--
 source/text/sbasic/shared/03102000.xhp      |   83 ++--
 source/text/sbasic/shared/03102100.xhp      |  167 ++++-----
 source/text/sbasic/shared/03102101.xhp      |  128 +++----
 source/text/sbasic/shared/03102200.xhp      |   63 +--
 source/text/sbasic/shared/03102300.xhp      |   69 ++-
 source/text/sbasic/shared/03102400.xhp      |   65 +--
 source/text/sbasic/shared/03102600.xhp      |   63 +--
 source/text/sbasic/shared/03102700.xhp      |   69 ++-
 source/text/sbasic/shared/03102900.xhp      |   84 ++--
 source/text/sbasic/shared/03103000.xhp      |   84 ++--
 source/text/sbasic/shared/03103100.xhp      |   62 +--
 source/text/sbasic/shared/03103200.xhp      |   59 +--
 source/text/sbasic/shared/03103300.xhp      |   65 +--
 source/text/sbasic/shared/03103400.xhp      |   54 +-
 source/text/sbasic/shared/03103450.xhp      |   54 +-
 source/text/sbasic/shared/03103500.xhp      |   84 ++--
 source/text/sbasic/shared/03103600.xhp      |  351 +++++++++----------
 source/text/sbasic/shared/03103700.xhp      |   68 +--
 source/text/sbasic/shared/03104500.xhp      |   80 ++--
 source/text/sbasic/shared/03110100.xhp      |   94 ++---
 source/text/sbasic/shared/03120101.xhp      |   70 ++-
 source/text/sbasic/shared/03120102.xhp      |   70 ++-
 source/text/sbasic/shared/03120103.xhp      |   71 ++-
 source/text/sbasic/shared/03120104.xhp      |   65 +--
 source/text/sbasic/shared/03120201.xhp      |   75 ++--
 source/text/sbasic/shared/03120202.xhp      |   75 ++--
 source/text/sbasic/shared/03120301.xhp      |  140 +++----
 source/text/sbasic/shared/03120302.xhp      |   69 ++-
 source/text/sbasic/shared/03120303.xhp      |   82 ++--
 source/text/sbasic/shared/03120304.xhp      |  107 ++---
 source/text/sbasic/shared/03120305.xhp      |   81 ++--
 source/text/sbasic/shared/03120306.xhp      |   92 ++---
 source/text/sbasic/shared/03120307.xhp      |   84 ++--
 source/text/sbasic/shared/03120308.xhp      |  111 +++---
 source/text/sbasic/shared/03120309.xhp      |   81 ++--
 source/text/sbasic/shared/03120310.xhp      |   67 +--
 source/text/sbasic/shared/03120311.xhp      |   79 ++--
 source/text/sbasic/shared/03120314.xhp      |  140 +++----
 source/text/sbasic/shared/03120401.xhp      |   80 ++--
 source/text/sbasic/shared/03120403.xhp      |   98 ++---
 source/text/sbasic/shared/03130500.xhp      |  184 +++++-----
 source/text/sbasic/shared/03130700.xhp      |   63 +--
 source/text/sbasic/shared/03130800.xhp      |   64 +--
 source/text/sbasic/shared/03131000.xhp      |   59 +--
 source/text/sbasic/shared/03131300.xhp      |   55 +--
 source/text/sbasic/shared/03131400.xhp      |   55 +--
 source/text/sbasic/shared/03131600.xhp      |   78 ++--
 source/text/sbasic/shared/03132000.xhp      |  196 +++++-----
 source/text/sbasic/shared/03132200.xhp      |   62 +--
 source/text/sbasic/shared/03132400.xhp      |   59 +--
 source/text/scalc/01/02140700.xhp           |    2 
 source/text/scalc/01/func_averageif.xhp     |    2 
 source/text/scalc/01/func_averageifs.xhp    |    2 
 source/text/scalc/01/func_imcos.xhp         |   14 
 source/text/scalc/01/func_imcosh.xhp        |   10 
 source/text/scalc/01/func_imcot.xhp         |   10 
 source/text/scalc/01/func_imcsc.xhp         |   10 
 source/text/scalc/01/func_imcsch.xhp        |   10 
 source/text/scalc/01/func_imsec.xhp         |   10 
 source/text/scalc/01/func_imsech.xhp        |   10 
 source/text/scalc/01/func_imsin.xhp         |   10 
 source/text/scalc/01/func_imsinh.xhp        |   12 
 source/text/scalc/01/func_imtan.xhp         |   10 
 source/text/scalc/01/stat_data.xhp          |    4 
 source/text/scalc/01/statistics.xhp         |    2 
 source/text/scalc/guide/formulas.xhp        |    1 
 source/text/shared/01/01010100.xhp          |    7 
 source/text/shared/optionen/01040400.xhp    |    2 
 source/text/simpress/presenter.xhp          |    2 
 source/text/swriter/librelogo/LibreLogo.xhp |    2 
 184 files changed, 7757 insertions(+), 7163 deletions(-)

New commits:
commit 6eb5558b50b74b2ad51f05b8273c7e1bd72ba8f3
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Mon Jan 25 23:29:12 2016 +0100

    missing id attribute on table
    
    Change-Id: I0be7339ef7b905499bd58877e1278d052b6b5131

diff --git a/source/text/swriter/librelogo/LibreLogo.xhp b/source/text/swriter/librelogo/LibreLogo.xhp
index 5152642..e131f00 100644
--- a/source/text/swriter/librelogo/LibreLogo.xhp
+++ b/source/text/swriter/librelogo/LibreLogo.xhp
@@ -338,7 +338,7 @@
 <paragraph role="logocode" xml-lang="en-US" id="par_2700"> PRINT MAX [1, 2, 3] ; print 3, the greatest element of the list<br/></paragraph>
 <paragraph role="heading" level="2" xml-lang="en-US" id="hd_2710">Color constants</paragraph>
 <paragraph role="logocode" xml-lang="en-US" id="par_2720"> PENCOLOR “SILVER” ; set by name<br/> PENCOLOR [1] ; set by identifiers<br/> PENCOLOR “~SILVER” ; random silver color<br/> <br/></paragraph>
-<table><tablerow>
+<table id="tbl_colorconstants"><tablerow>
 <tablecell><paragraph role="tablecontent" xml-lang="en-US" id="par_2740">Identifier</paragraph></tablecell>
 <tablecell><paragraph role="tablecontent" xml-lang="en-US" id="par_2750">Name</paragraph></tablecell>
 </tablerow><tablerow>
commit 4382111cadc530f541979aa6e8c30a4a76aa46ff
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Mon Jan 25 23:16:46 2016 +0100

    embedvar is not a valid child of item
    
    furthermore the use of variables obfuscates the meaning, and it doesn't
    make it any easier for translators to see an out-of-context variable.
    Using the actual function name is easier.
    
    Change-Id: I9b059649618648b435a5e413da48f25a5e6f6a66

diff --git a/source/text/scalc/01/func_imcos.xhp b/source/text/scalc/01/func_imcos.xhp
index a5582ec..b9e74f0 100644
--- a/source/text/scalc/01/func_imcos.xhp
+++ b/source/text/scalc/01/func_imcos.xhp
@@ -38,30 +38,26 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id164021484116762" role="code" xml-lang="en-US">
-		<variable id="imcos">IMCOS</variable>(Complex_number)
+		IMCOS(Complex_number)
 	</paragraph>
 	<paragraph id="par_id2890729435632" role="paragraph" xml-lang="en-US">
 	        Complex_number is a complex number whose cosine is to be calculated.
 	</paragraph>
 	<paragraph id="par_id11756847629133" role="note" localize="false" xml-lang="en-US">
-		<embedvar href="text/scalc/01/ful_func.xhp#func_im_comp_numb"/><br />
+		<embedvar href="text/scalc/01/ful_func.xhp#func_im_comp_numb"/><br/>
 		<embedvar href="text/scalc/01/ful_func.xhp#func_im_real_numb"/>
 	</paragraph>
 	<paragraph id="par_id2823797012200" role="warning" localize="false" xml-lang="en-US">
-		<embedvar href="text/scalc/01/ful_func.xhp#func_im_return_text"/><br />
+		<embedvar href="text/scalc/01/ful_func.xhp#func_im_return_text"/><br/>
 		<embedvar href="text/scalc/01/ful_func.xhp#func_im_ignor_zero"/>
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id4581301219753" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcos.xhp#imcos"/>("4-3i")
-		</item><br />
+		<item type="input">=IMCOS("4-3i")</item><br/>
                 returns -6.58066304055116-7.58155274274654i.
 	</paragraph>
 	<paragraph id="par_id25412646522614" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcos.xhp#imcos"/>(2)
-		</item><br />
+		<item type="input">=IMCOS(2)</item><br/>
 		returns -0.416146836547142 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imcosh.xhp b/source/text/scalc/01/func_imcosh.xhp
index 80ec8a1..3492629 100644
--- a/source/text/scalc/01/func_imcosh.xhp
+++ b/source/text/scalc/01/func_imcosh.xhp
@@ -38,7 +38,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id16051131322110" role="code" xml-lang="en-US">
-		<variable id="imcosh">IMCOSH</variable>(Complex_number)
+		IMCOSH(Complex_number)
 	</paragraph>
 	<paragraph id="par_id766137661376613" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose hyperbolic cosine is to be calculated.
@@ -53,15 +53,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id55891471962" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcosh.xhp#imcosh"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMCOSH("4-3i")</item><br/>
 		returns -27.0349456030742-3.85115333481178i.
 	</paragraph>
 	<paragraph id="par_id152561887112896" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcosh.xhp#imcosh"/>(2)
-		</item><br/>
+		<item type="input">=IMCOSH(2)</item><br/>
 		returns 3.76219569108363 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imcot.xhp b/source/text/scalc/01/func_imcot.xhp
index 0c40ca5..5ead638 100644
--- a/source/text/scalc/01/func_imcot.xhp
+++ b/source/text/scalc/01/func_imcot.xhp
@@ -42,7 +42,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id16051131322110" role="code" xml-lang="en-US">
-		<variable id="imcot">IMCOT</variable>(Complex_number)
+		IMCOT(Complex_number)
 	</paragraph>
 	<paragraph id="par_id766137661376613" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose cotangent is to be calculated.
@@ -57,15 +57,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id21183436423819" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcot.xhp#imcot"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMCOT("4-3i")</item><br/>
 		returns 0.00490118239430447+0.999266927805902i.
 	</paragraph>
 	<paragraph id="par_id18472284929530" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcot.xhp#imcot"/>(2)
-		</item><br/>
+		<item type="input">=IMCOT(2)</item><br/>
 		returns -0.457657554360286 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imcsc.xhp b/source/text/scalc/01/func_imcsc.xhp
index b674eb8..e35b021 100644
--- a/source/text/scalc/01/func_imcsc.xhp
+++ b/source/text/scalc/01/func_imcsc.xhp
@@ -42,7 +42,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id30461169611909" role="code" xml-lang="en-US">
-		<variable id="imcsc">IMCSC</variable>(Complex_number)
+		IMCSC(Complex_number)
 	</paragraph>
 	<paragraph id="par_id1899971619670" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose cosecant needs to be calculated.
@@ -57,15 +57,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id25692477525537" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcsc.xhp#imcsc"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMCSC("4-3i")</item><br/>
 		returns -0.0754898329158637-0.0648774713706355i.
 	</paragraph>
 	<paragraph id="par_id32572967420710" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcsc.xhp#imcsc"/>(2)
-		</item><br/>
+		<item type="input">=IMCSC(2)</item><br/>
 		returns 1.09975017029462 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imcsch.xhp b/source/text/scalc/01/func_imcsch.xhp
index 5c67e04..0d40051 100644
--- a/source/text/scalc/01/func_imcsch.xhp
+++ b/source/text/scalc/01/func_imcsch.xhp
@@ -42,7 +42,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id30461169611909" role="code" xml-lang="en-US">
-		<variable id="imcsch">IMCSCH</variable>(Complex_number)
+		IMCSCH(Complex_number)
 	</paragraph>
 	<paragraph id="par_id1899971619670" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose hyperbolic cosecant needs to be calculated.
@@ -57,15 +57,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id16814232201137" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcsch.xhp#imcsch"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMCSCH("4-3i")</item><br/>
 		returns -0.036275889628626+0.0051744731840194i.
 	</paragraph>
 	<paragraph id="par_id2395211576789" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imcsch.xhp#imcsch"/>(2)
-		</item><br/>
+		<item type="input">=IMCSCH(2)</item><br/>
 		returns 0.275720564771783 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imsec.xhp b/source/text/scalc/01/func_imsec.xhp
index 34dd5a9..72b31ac 100644
--- a/source/text/scalc/01/func_imsec.xhp
+++ b/source/text/scalc/01/func_imsec.xhp
@@ -42,7 +42,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id66061624115094" role="code" xml-lang="en-US">
-		<variable id="imsec">IMSEC</variable>(Complex_number)
+		IMSEC(Complex_number)
 	</paragraph>
 	<paragraph id="par_id3186739645701" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose secant needs to be calculated.
@@ -57,15 +57,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id16814232201137" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imsec.xhp#imsec"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMSEC("4-3i")</item><br/>
 		returns -0.0652940278579471+0.0752249603027732i.
 	</paragraph>
 	<paragraph id="par_id2395211576789" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imsec.xhp#imsec"/>(2)
-		</item><br/>
+		<item type="input">=IMSEC(2)</item><br/>
 		returns -2.40299796172238 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imsech.xhp b/source/text/scalc/01/func_imsech.xhp
index f0744b3..7cb7195 100644
--- a/source/text/scalc/01/func_imsech.xhp
+++ b/source/text/scalc/01/func_imsech.xhp
@@ -42,7 +42,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id17253876723855" role="code" xml-lang="en-US">
-		<variable id="imsech">IMSECH</variable>(Complex_number)
+		IMSECH(Complex_number)
 	</paragraph>
 	<paragraph id="par_id31259109804356" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose hyperbolic secant needs to be calculated.
@@ -57,15 +57,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id1906826088444" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imsech.xhp#imsech"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMSECH("4-3i")</item><br/>
 		returns -0.0362534969158689+0.00516434460775318i.
 	</paragraph>
 	<paragraph id="par_id247492030016627" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imsech.xhp#imsech"/>(2)
-		</item><br/>
+		<item type="input">=IMSECH(2)</item><br/>
 		returns 0.26580222883408 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imsin.xhp b/source/text/scalc/01/func_imsin.xhp
index 81f679f..7728971 100644
--- a/source/text/scalc/01/func_imsin.xhp
+++ b/source/text/scalc/01/func_imsin.xhp
@@ -38,7 +38,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id284611113926520" role="code" xml-lang="en-US">
-		<variable id="imsin">IMSIN</variable>(Complex_number)
+		IMSIN(Complex_number)
 	</paragraph>
 	<paragraph id="par_id31206835928272" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose sine needs to be calculated.
@@ -53,15 +53,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id5063188419467" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imsin.xhp#imsin"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMSIN("4-3i")</item><br/>
 		returns -7.61923172032141+6.548120040911i.
 	</paragraph>
 	<paragraph id="par_id1527387141125" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imsin.xhp#imsin"/>(2)
-		</item><br/>
+		<item type="input">=IMSIN(2)</item><br/>
 		returns 0.909297426825682 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imsinh.xhp b/source/text/scalc/01/func_imsinh.xhp
index 7c50b2b..21f4516 100644
--- a/source/text/scalc/01/func_imsinh.xhp
+++ b/source/text/scalc/01/func_imsinh.xhp
@@ -38,7 +38,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id284611113926520" role="code" xml-lang="en-US">
-		<variable id="imsinh">IMSINH</variable>(Complex_number)
+		IMSINH(Complex_number)
 	</paragraph>
 	<paragraph id="par_id31206835928272" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose hyperbolic sine needs to be calculated.
@@ -53,15 +53,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id5063188419467" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imsinh.xhp#imsinh"/>("4-3i")
-		</item>
+		<item type="input">=IMSINH("4-3i")</item><br/>
 		returns -27.0168132580039-3.85373803791938i.
 	</paragraph>
 	<paragraph id="par_id1527387141125" role="paragraph" xml-lang="en-US">
-		<item type="input"><br/>
-			=<embedvar href="text/scalc/01/func_imsinh.xhp#imsinh"/>(2)
-		</item>
+		<item type="input">=IMSINH(2)</item><br/>
 		returns 3.62686040784702 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
diff --git a/source/text/scalc/01/func_imtan.xhp b/source/text/scalc/01/func_imtan.xhp
index 4d09ccc..6d5b63e 100644
--- a/source/text/scalc/01/func_imtan.xhp
+++ b/source/text/scalc/01/func_imtan.xhp
@@ -42,7 +42,7 @@
 	<embed href="text/scalc/01/ODFF.xhp#odff"/>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
 	<paragraph id="par_id23219159944377" role="code" xml-lang="en-US">
-		<variable id="imtan">IMTAN</variable>(Complex_number)
+		IMTAN(Complex_number)
 	</paragraph>
 	<paragraph id="par_id10242899132094" role="paragraph" xml-lang="en-US">
 		Complex_number is a complex number whose tangent is to be calculated.
@@ -57,15 +57,11 @@
 	</paragraph>
 	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
 	<paragraph id="par_id5063188419467" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imtan.xhp#imtan"/>("4-3i")
-		</item><br/>
+		<item type="input">=IMTAN("4-3i")</item><br/>
 		returns 0.00490825806749606-1.00070953606723i.
 	</paragraph>
 	<paragraph id="par_id1527387141125" role="paragraph" xml-lang="en-US">
-		<item type="input">
-			=<embedvar href="text/scalc/01/func_imtan.xhp#imtan"/>(2)
-		</item><br/>
+		<item type="input">=IMTAN(2)</item><br/>
 		returns -2.18503986326152 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
 	</paragraph>
 	<section id="relatedtopics">
commit 6614bedceadcc07ec082c5e926107f27903bda5c
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Mon Jan 25 20:07:10 2016 +0100

    fix validation errors by round-trip through helpauthoring extension
    
    lots of missing attributes "id" and "xml-lang"
    (extension patched to keep bascode tag)
    
    Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a

diff --git a/source/text/sbasic/shared/01020100.xhp b/source/text/sbasic/shared/01020100.xhp
index ab0ee8e..54f685d 100644
--- a/source/text/sbasic/shared/01020100.xhp
+++ b/source/text/sbasic/shared/01020100.xhp
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
-
+<helpdocument version="1.0">
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,317 +16,340 @@
  *   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 .
- -->
+-->
 
-
-		<helpdocument version="1.0">
 <meta>
-<topic id="textsbasicshared01020100xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Using Variables</title>
-<filename>/text/sbasic/shared/01020100.xhp</filename>
-</topic>
+  <topic id="textsbasicshared01020100xml" indexer="include" status="PUBLISH">
+    <title id="tit" xml-lang="en-US">Using Variables</title>
+    <filename>/text/sbasic/shared/01020100.xhp</filename>
+  </topic>
 </meta>
+
 <body>
+
+
 <section id="variable">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>names of variables</bookmark_value>
-<bookmark_value>variables; using</bookmark_value>
-<bookmark_value>types of variables</bookmark_value>
-<bookmark_value>declaring variables</bookmark_value>
-<bookmark_value>values;of variables</bookmark_value>
-<bookmark_value>constants</bookmark_value>
-<bookmark_value>arrays;declaring</bookmark_value>
-<bookmark_value>defining;constants</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149346">
+  <bookmark_value>names of variables</bookmark_value>
+  <bookmark_value>variables; using</bookmark_value>
+  <bookmark_value>types of variables</bookmark_value>
+  <bookmark_value>declaring variables</bookmark_value>
+  <bookmark_value>values;of variables</bookmark_value>
+  <bookmark_value>constants</bookmark_value>
+  <bookmark_value>arrays;declaring</bookmark_value>
+  <bookmark_value>defining;constants</bookmark_value>
 </bookmark>
-<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020100.xhp" name="Using Variables">Using Variables</link></paragraph>
-<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="3">The following describes the basic use of variables in $[officename] Basic.</paragraph>
+
+
+<paragraph id="hd_id3149346" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/01020100.xhp" name="Using Variables">Using Variables</link></paragraph>
+<paragraph id="par_id3154346" role="paragraph" xml-lang="en-US">The following describes the basic use of variables in $[officename] Basic.</paragraph>
 </section>
-<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="4">Naming Conventions for Variable Identifiers</paragraph>
-<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="5">A variable name can consist of a maximum of 255 characters. The first character of a variable name <emph>must</emph> be a letter A-Z or a-z. Numbers can also be used in a variable name, but punctuation symbols and special characters are not permitted, with exception of the underscore character ("_"). In $[officename] Basic variable identifiers are not case-sensitive. Variable names may contain spaces but must be enclosed in square brackets if they do.</paragraph>
-<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="6">Examples for variable identifiers:</paragraph>
+
+<paragraph id="hd_id3153361" role="heading" level="2" xml-lang="en-US">Naming Conventions for Variable Identifiers</paragraph>
+<paragraph id="par_id3148797" role="paragraph" xml-lang="en-US">A variable name can consist of a maximum of 255 characters. The first character of a variable name <emph>must</emph> be a letter A-Z or a-z. Numbers can also be used in a variable name, but punctuation symbols and special characters are not permitted, with exception of the underscore character ("_"). In $[officename] Basic variable identifiers are not case-sensitive. Variable names may contain spaces but must be enclosed in square brackets if they do.</paragraph>
+<paragraph id="par_id3156422" role="paragraph" xml-lang="en-US">Examples for variable identifiers:</paragraph>
+
 <table id="tbl_id3154685">
-<tablerow>
-<tablecell colspan="" rowspan="">
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">MyNumber=5</paragraph>
+      <paragraph id="par_idm1341272896" role="bascode" localize="false" xml-lang="en-US">MyNumber=5</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="126">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3156441" role="paragraph" xml-lang="en-US">Correct</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">MyNumber5=15</paragraph>
+      <paragraph id="par_idm1341267456" role="bascode" localize="false" xml-lang="en-US">MyNumber5=15</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="127">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3149664" role="paragraph" xml-lang="en-US">Correct</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">MyNumber_5=20</paragraph>
+      <paragraph id="par_idm1341262016" role="bascode" localize="false" xml-lang="en-US">MyNumber_5=20</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="128">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3146119" role="paragraph" xml-lang="en-US">Correct</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">My Number=20</paragraph>
+      <paragraph id="par_idm1341256576" role="bascode" localize="false" xml-lang="en-US">My Number=20</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3153876" xml-lang="en-US" l10n="U" oldref="11">Not valid, variable with space must be enclosed in square brackets</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3153876" role="paragraph" xml-lang="en-US">Not valid, variable with space must be enclosed in square brackets</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">[My Number]=12</paragraph>
+      <paragraph id="par_idm1341251088" role="bascode" localize="false" xml-lang="en-US">[My Number]=12</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="15">Correct</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3154510" role="paragraph" xml-lang="en-US">Correct</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">DéjàVu=25</paragraph>
+      <paragraph id="par_idm1341245648" role="bascode" localize="false" xml-lang="en-US">DéjàVu=25</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3150330" xml-lang="en-US" l10n="U" oldref="129">Not valid, special characters are not allowed</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3150330" role="paragraph" xml-lang="en-US">Not valid, special characters are not allowed</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">5MyNumber=12</paragraph>
+      <paragraph id="par_idm1341240176" role="bascode" localize="false" xml-lang="en-US">5MyNumber=12</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154254" xml-lang="en-US" l10n="U" oldref="130">Not valid, variable may not begin with a number</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3154254" role="paragraph" xml-lang="en-US">Not valid, variable may not begin with a number</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Number,Mine=12</paragraph>
+      <paragraph id="par_idm1341234704" role="bascode" localize="false" xml-lang="en-US">Number,Mine=12</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3149256" xml-lang="en-US" l10n="U" oldref="131">Not valid, punctuation marks are not allowed</paragraph>
-</tablecell>
-</tablerow>
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3149256" role="paragraph" xml-lang="en-US">Not valid, punctuation marks are not allowed</paragraph>
+    </tablecell>
+  </tablerow>
 </table>
-<paragraph role="heading" id="hd_id3146317" xml-lang="en-US" level="2" l10n="U" oldref="17">Declaring Variables</paragraph>
-<paragraph role="paragraph" id="par_id3150299" xml-lang="en-US" l10n="U" oldref="18">In $[officename] Basic you don't need to declare variables explicitly. A variable declaration can be performed with the <emph>Dim</emph> statement. You can declare more than one variable at a time by separating the names with a comma. To define the variable type, use either a type-declaration sign after the name, or the appropriate key word. </paragraph>
-<paragraph role="paragraph" id="par_id3154118" xml-lang="en-US" l10n="U" oldref="140">Examples for variable declarations:</paragraph>
+
+
+<paragraph id="hd_id3146317" role="heading" level="2" xml-lang="en-US">Declaring Variables</paragraph>
+<paragraph id="par_id3150299" role="paragraph" xml-lang="en-US">In $[officename] Basic you don't need to declare variables explicitly. A variable declaration can be performed with the <emph>Dim</emph> statement. You can declare more than one variable at a time by separating the names with a comma. To define the variable type, use either a type-declaration sign after the name, or the appropriate key word. </paragraph>
+<paragraph id="par_id3154118" role="paragraph" xml-lang="en-US">Examples for variable declarations:</paragraph>
+
 <table id="tbl_id3154658">
-<tablerow>
-<tablecell colspan="" rowspan="">
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
+      <paragraph id="par_idm1341222320" role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3150982" xml-lang="en-US" l10n="U" oldref="132">Declares the variable "a" as a String</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3150982" role="paragraph" xml-lang="en-US">Declares the variable "a" as a String</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a As String</paragraph>
+      <paragraph id="par_idm1341216864" role="bascode" localize="false" xml-lang="en-US">Dim a As String</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3150343" xml-lang="en-US" l10n="U" oldref="133">Declares the variable "a" as a String</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3150343" role="paragraph" xml-lang="en-US">Declares the variable "a" as a String</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a$, b As Integer</paragraph>
+      <paragraph id="par_idm1341211408" role="bascode" localize="false" xml-lang="en-US">Dim a$, b As Integer</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3155507" xml-lang="en-US" l10n="U" oldref="22">Declares one variable as a String and one as an Integer</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3155507" role="paragraph" xml-lang="en-US">Declares one variable as a String and one as an Integer</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim c As Boolean</paragraph>
+      <paragraph id="par_idm1341205936" role="bascode" localize="false" xml-lang="en-US">Dim c As Boolean</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_idN10859" xml-lang="en-US" l10n="NEW">Declares c as a Boolean variable that can be TRUE or FALSE</paragraph>
-</tablecell>
-</tablerow>
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_idN10859" role="paragraph" xml-lang="en-US">Declares c as a Boolean variable that can be TRUE or FALSE</paragraph>
+    </tablecell>
+  </tablerow>
 </table>
-<paragraph role="paragraph" id="par_id3150519" xml-lang="en-US" l10n="U" oldref="23">It is very important when declaring variables that you use the type-declaration character each time, even if it was used in the declaration instead of a keyword. Thus the following statements are invalid:</paragraph>
+
+<paragraph id="par_id3150519" role="paragraph" xml-lang="en-US">It is very important when declaring variables that you use the type-declaration character each time, even if it was used in the declaration instead of a keyword. Thus the following statements are invalid:</paragraph>
+
 <table id="tbl_id3155529">
-<tablerow>
-<tablecell colspan="" rowspan="">
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
+      <paragraph id="par_idm1341198080" role="bascode" localize="false" xml-lang="en-US">Dim a$</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154527" xml-lang="en-US" l10n="U" oldref="134">Declares "a" as a String</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3154527" role="paragraph" xml-lang="en-US">Declares "a" as a String</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">a="TestString"</paragraph>
+      <paragraph id="par_idm1341192624" role="bascode" localize="false" xml-lang="en-US">a="TestString"</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3153064" xml-lang="en-US" l10n="U" oldref="135">Type-declaration missing: "a$="</paragraph>
-</tablecell>
-</tablerow>
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3153064" role="paragraph" xml-lang="en-US">Type-declaration missing: "a$="</paragraph>
+    </tablecell>
+  </tablerow>
 </table>
-<paragraph role="warning" id="par_id3144770" xml-lang="en-US" l10n="U" oldref="26">Once you have declared a variable as a certain type, you cannot declare the variable under the same name again as a different type!</paragraph>
-<paragraph role="heading" id="hd_id3149331" xml-lang="en-US" level="3" l10n="U" oldref="27">Forcing Variable Declarations</paragraph>
-<paragraph role="paragraph" id="par_id3149443" xml-lang="en-US" l10n="U" oldref="28">To force declaration of variables, use the following command:</paragraph>
+
+<paragraph id="par_id3144770" role="warning" xml-lang="en-US">Once you have declared a variable as a certain type, you cannot declare the variable under the same name again as a different type!</paragraph>
+
+<paragraph id="hd_id3149331" role="heading" level="3" xml-lang="en-US">Forcing Variable Declarations</paragraph>
+<paragraph id="par_id3149443" role="paragraph" xml-lang="en-US">To force declaration of variables, use the following command:</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Option Explicit</paragraph>
+<paragraph id="par_idm1341182432" role="bascode" localize="false" xml-lang="en-US">Option Explicit</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3155072" xml-lang="en-US" l10n="U" oldref="30">The <emph>Option Explicit</emph> statement has to be the first line in the module, before the first SUB. Generally, only arrays need to be declared explicitly. All other variables are declared according to the type-declaration character, or - if omitted - as the default type <emph>Single</emph>.</paragraph>
-<paragraph role="heading" id="hd_id3154614" xml-lang="en-US" level="2" l10n="U" oldref="34">Variable Types</paragraph>
-<paragraph role="paragraph" id="par_id3155383" xml-lang="en-US" l10n="U" oldref="35">$[officename] Basic supports four variable classes:</paragraph>
+<paragraph id="par_id3155072" role="paragraph" xml-lang="en-US">The <emph>Option Explicit</emph> statement has to be the first line in the module, before the first SUB. Generally, only arrays need to be declared explicitly. All other variables are declared according to the type-declaration character, or - if omitted - as the default type <emph>Single</emph>.</paragraph>
+
+<paragraph id="hd_id3154614" role="heading" level="2" xml-lang="en-US">Variable Types</paragraph>
+<paragraph id="par_id3155383" role="paragraph" xml-lang="en-US">$[officename] Basic supports four variable classes:</paragraph>
+
 <list type="unordered">
-<listitem>
-<paragraph role="listitem" id="par_id3153972" xml-lang="en-US" l10n="U" oldref="36">
-<emph>Numeric</emph> variables can contain number values. Some variables are used to store large or small numbers, and others are used for floating-point or fractional numbers. </paragraph>
-</listitem>
-<listitem>
-<paragraph role="listitem" id="par_id3159226" xml-lang="en-US" l10n="U" oldref="37">
-<emph>String</emph> variables contain character strings.</paragraph>
-</listitem>
-<listitem>
-<paragraph role="listitem" id="par_id3145217" xml-lang="en-US" l10n="U" oldref="38">
-<emph>Boolean</emph> variables contain either the TRUE or the FALSE value.</paragraph>
-</listitem>
-<listitem>
-<paragraph role="listitem" id="par_id3154762" xml-lang="en-US" l10n="U" oldref="39">
-<emph>Object</emph> variables can store objects of various types, like tables and documents within a document.</paragraph>
-</listitem>
-</list>
-<paragraph role="heading" id="hd_id3153805" xml-lang="en-US" level="3" l10n="U" oldref="40">Integer Variables</paragraph>
-<paragraph role="paragraph" id="par_id3146966" xml-lang="en-US" l10n="U" oldref="41">Integer variables range from -32768 to 32767. If you assign a floating-point value to an integer variable, the decimal places are rounded to the next integer. Integer variables are rapidly calculated in procedures and are suitable for counter variables in loops. An integer variable only requires two bytes of memory. "%" is the type-declaration character.</paragraph>
+  <listitem>
+    <paragraph id="par_id3153972" role="listitem" xml-lang="en-US"> <emph>Numeric</emph> variables can contain number values. Some variables are used to store large or small numbers, and others are used for floating-point or fractional numbers. </paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id3159226" role="listitem" xml-lang="en-US"> <emph>String</emph> variables contain character strings.</paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id3145217" role="listitem" xml-lang="en-US"> <emph>Boolean</emph> variables contain either the TRUE or the FALSE value.</paragraph>
+  </listitem>
+  <listitem>
+    <paragraph id="par_id3154762" role="listitem" xml-lang="en-US"> <emph>Object</emph> variables can store objects of various types, like tables and documents within a document.</paragraph>
+  </listitem></list>
+
+<paragraph id="hd_id3153805" role="heading" level="3" xml-lang="en-US">Integer Variables</paragraph>
+<paragraph id="par_id3146966" role="paragraph" xml-lang="en-US">Integer variables range from -32768 to 32767. If you assign a floating-point value to an integer variable, the decimal places are rounded to the next integer. Integer variables are rapidly calculated in procedures and are suitable for counter variables in loops. An integer variable only requires two bytes of memory. "%" is the type-declaration character.</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable%</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Integer</paragraph>
+<paragraph id="par_idm1341159200" role="bascode" localize="false" xml-lang="en-US">Dim Variable%</paragraph>
+<paragraph id="par_idm1341157968" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Integer</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3147546" xml-lang="en-US" level="3" l10n="U" oldref="45">Long Integer Variables</paragraph>
-<paragraph role="paragraph" id="par_id3151193" xml-lang="en-US" l10n="U" oldref="46">Long integer variables range from -2147483648 to 2147483647. If you assign a floating-point value to a long integer variable, the decimal places are rounded to the next integer. Long integer variables are rapidly calculated in procedures and are suitable for counter variables in loops for large values. A long integer variable requires four bytes of memory. "&" is the type-declaration character.</paragraph>
+
+<paragraph id="hd_id3147546" role="heading" level="3" xml-lang="en-US">Long Integer Variables</paragraph>
+<paragraph id="par_id3151193" role="paragraph" xml-lang="en-US">Long integer variables range from -2147483648 to 2147483647. If you assign a floating-point value to a long integer variable, the decimal places are rounded to the next integer. Long integer variables are rapidly calculated in procedures and are suitable for counter variables in loops for large values. A long integer variable requires four bytes of memory. "&" is the type-declaration character.</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable&</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Long</paragraph>
+<paragraph id="par_idm1341151984" role="bascode" localize="false" xml-lang="en-US">Dim Variable&</paragraph>
+<paragraph id="par_idm1341150736" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Long</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id7596972" xml-lang="en-US" level="3" l10n="NEW">Decimal Variables<comment>see i64349</comment></paragraph>
-<paragraph role="paragraph" id="par_id2649311" xml-lang="en-US" l10n="NEW">Decimal variables can take positive or negative numbers or zero. Accuracy is up to 29 digits.</paragraph><comment>i85284</comment><paragraph role="paragraph" id="par_id7617114" xml-lang="en-US" l10n="NEW">You can use plus (+) or minus (-) signs as prefixes for decimal numbers (with or without spaces).</paragraph>
-<paragraph role="paragraph" id="par_id1593676" xml-lang="en-US" l10n="NEW">If a decimal number is assigned to an integer variable, %PRODUCTNAME Basic rounds the figure up or down.<comment>information from "Programming Guide for BASIC" about decimal variables</comment></paragraph>
-<paragraph role="heading" id="hd_id3147500" xml-lang="en-US" level="3" l10n="U" oldref="50">Single Variables</paragraph>
-<paragraph role="paragraph" id="par_id3153070" xml-lang="en-US" l10n="U" oldref="51">Single variables can take positive or negative values ranging from 3.402823 x 10E38 to 1.401298 x 10E-45. Single variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Single variables are suitable for mathematical calculations of average precision. Calculations require more time than for Integer variables, but are faster than calculations with Double variables. A Single variable requires 4 bytes of memory. The type-declaration character is "!".</paragraph>
+
+<paragraph id="hd_id7596972" role="heading" level="3" xml-lang="en-US">Decimal Variables<comment>see i64349</comment></paragraph>
+<paragraph id="par_id2649311" role="paragraph" xml-lang="en-US">Decimal variables can take positive or negative numbers or zero. Accuracy is up to 29 digits.</paragraph><comment>i85284</comment>
+<paragraph id="par_id7617114" role="paragraph" xml-lang="en-US">You can use plus (+) or minus (-) signs as prefixes for decimal numbers (with or without spaces).</paragraph>
+<paragraph id="par_id1593676" role="paragraph" xml-lang="en-US">If a decimal number is assigned to an integer variable, %PRODUCTNAME Basic rounds the figure up or down.<comment>information from "Programming Guide for BASIC" about decimal variables</comment></paragraph>
+
+<paragraph id="hd_id3147500" role="heading" level="3" xml-lang="en-US">Single Variables</paragraph>
+<paragraph id="par_id3153070" role="paragraph" xml-lang="en-US">Single variables can take positive or negative values ranging from 3.402823 x 10E38 to 1.401298 x 10E-45. Single variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Single variables are suitable for mathematical calculations of average precision. Calculations require more time than for Integer variables, but are faster than calculations with Double variables. A Single variable requires 4 bytes of memory. The type-declaration character is "!".</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable!</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Single</paragraph>
+<paragraph id="par_idm1341137456" role="bascode" localize="false" xml-lang="en-US">Dim Variable!</paragraph>
+<paragraph id="par_idm1341136224" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Single</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3155753" xml-lang="en-US" level="3" l10n="U" oldref="54">Double Variables</paragraph>
-<paragraph role="paragraph" id="par_id3150953" xml-lang="en-US" l10n="U" oldref="55">Double variables can take positive or negative values ranging from 1.79769313486232 x 10E308 to 4.94065645841247 x 10E-324. Double variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Double variables are suitable for precise calculations. Calculations require more time than for Single variables. A Double variable requires 8 bytes of memory. The type-declaration character is "#".</paragraph>
+
+<paragraph id="hd_id3155753" role="heading" level="3" xml-lang="en-US">Double Variables</paragraph>
+<paragraph id="par_id3150953" role="paragraph" xml-lang="en-US">Double variables can take positive or negative values ranging from 1.79769313486232 x 10E308 to 4.94065645841247 x 10E-324. Double variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Double variables are suitable for precise calculations. Calculations require more time than for Single variables. A Double variable requires 8 bytes of memory. The type-declaration character is "#".</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable#</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Double</paragraph>
+<paragraph id="par_idm1341130144" role="bascode" localize="false" xml-lang="en-US">Dim Variable#</paragraph>
+<paragraph id="par_idm1341128912" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Double</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3155747" xml-lang="en-US" level="3" l10n="U" oldref="95">Currency Variables</paragraph>
-<paragraph role="paragraph" id="par_id3153337" xml-lang="en-US" l10n="U" oldref="96">Currency variables are internally stored as 64-bit numbers (8 Bytes) and displayed as a fixed-decimal number with 15 non-decimal and 4 decimal places. The values range from -922337203685477.5808 to +922337203685477.5807. Currency variables are used to calculate currency values with a high precision. The type-declaration character is "@".</paragraph>
+
+<paragraph id="hd_id3155747" role="heading" level="3" xml-lang="en-US">Currency Variables</paragraph>
+<paragraph id="par_id3153337" role="paragraph" xml-lang="en-US">Currency variables are internally stored as 64-bit numbers (8 Bytes) and displayed as a fixed-decimal number with 15 non-decimal and 4 decimal places. The values range from -922337203685477.5808 to +922337203685477.5807. Currency variables are used to calculate currency values with a high precision. The type-declaration character is "@".</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable@</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Currency</paragraph>
+<paragraph id="par_idm1341123216" role="bascode" localize="false" xml-lang="en-US">Dim Variable@</paragraph>
+<paragraph id="par_idm1341121984" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Currency</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3148742" xml-lang="en-US" level="3" l10n="U" oldref="58">String Variables</paragraph>
-<paragraph role="paragraph" id="par_id3151393" xml-lang="en-US" l10n="U" oldref="59">String variables can hold character strings with up to 65,535 characters. Each character is stored as the corresponding Unicode value. String variables are suitable for word processing within programs and for temporary storage of any non-printable character up to a maximum length of 64 Kbytes. The memory required for storing string variables depends on the number of characters in the variable. The type-declaration character is "$".</paragraph>
+
+<paragraph id="hd_id3148742" role="heading" level="3" xml-lang="en-US">String Variables</paragraph>
+<paragraph id="par_id3151393" role="paragraph" xml-lang="en-US">String variables can hold character strings with up to 65,535 characters. Each character is stored as the corresponding Unicode value. String variables are suitable for word processing within programs and for temporary storage of any non-printable character up to a maximum length of 64 Kbytes. The memory required for storing string variables depends on the number of characters in the variable. The type-declaration character is "$".</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable$</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As String</paragraph>
+<paragraph id="par_idm1341116176" role="bascode" localize="false" xml-lang="en-US">Dim Variable$</paragraph>
+<paragraph id="par_idm1341114944" role="bascode" localize="false" xml-lang="en-US">Dim Variable As String</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3150534" xml-lang="en-US" level="3" l10n="U" oldref="62">Boolean Variables</paragraph>
-<paragraph role="paragraph" id="par_id3145632" xml-lang="en-US" l10n="CHG" oldref="63">Boolean variables store only one of two values: TRUE or FALSE. A number 0 evaluates to FALSE, every other value evaluates to TRUE.</paragraph>
+
+<paragraph id="hd_id3150534" role="heading" level="3" xml-lang="en-US">Boolean Variables</paragraph>
+<paragraph id="par_id3145632" role="paragraph" xml-lang="en-US">Boolean variables store only one of two values: TRUE or FALSE. A number 0 evaluates to FALSE, every other value evaluates to TRUE.</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Boolean</paragraph>
+<paragraph id="par_idm1341109456" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Boolean</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3149722" xml-lang="en-US" level="3" l10n="U" oldref="65">Date Variables</paragraph>
-<paragraph role="paragraph" id="par_id3159116" xml-lang="en-US" l10n="U" oldref="66">Date variables can only contain dates and time values stored in an internal format. Values assigned to Date variables with <link href="text/sbasic/shared/03030101.xhp" name="Dateserial"><emph>Dateserial</emph></link>, <link href="text/sbasic/shared/03030102.xhp" name="Datevalue"><emph>Datevalue</emph></link>, <link href="text/sbasic/shared/03030205.xhp" name="Timeserial"><emph>Timeserial</emph></link> or <link href="text/sbasic/shared/03030206.xhp" name="Timevalue"><emph>Timevalue</emph></link> are automatically converted to the internal format. Date-variables are converted to normal numbers by using the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" 
 name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function. The internal format enables a comparison of date/time values by calculating the difference between two numbers. These variables can only be declared with the key word <emph>Date</emph>.</paragraph>
+
+<paragraph id="hd_id3149722" role="heading" level="3" xml-lang="en-US">Date Variables</paragraph>
+<paragraph id="par_id3159116" role="paragraph" xml-lang="en-US">Date variables can only contain dates and time values stored in an internal format. Values assigned to Date variables with <link href="text/sbasic/shared/03030101.xhp" name="Dateserial"><emph>Dateserial</emph></link>, <link href="text/sbasic/shared/03030102.xhp" name="Datevalue"><emph>Datevalue</emph></link>, <link href="text/sbasic/shared/03030205.xhp" name="Timeserial"><emph>Timeserial</emph></link> or <link href="text/sbasic/shared/03030206.xhp" name="Timevalue"><emph>Timevalue</emph></link> are automatically converted to the internal format. Date-variables are converted to normal numbers by using the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hou
 r</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function. The internal format enables a comparison of date/time values by calculating the difference between two numbers. These variables can only be declared with the key word <emph>Date</emph>.</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Variable As Date</paragraph>
+<paragraph id="par_idm1341092144" role="bascode" localize="false" xml-lang="en-US">Dim Variable As Date</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3148732" xml-lang="en-US" level="2" l10n="U" oldref="68">Initial Variable Values</paragraph>
-<paragraph role="paragraph" id="par_id3154549" xml-lang="en-US" l10n="U" oldref="69">As soon as the variable has been declared, it is automatically set to the "Null" value. Note the following conventions:</paragraph>
-<paragraph role="paragraph" id="par_id3143222" xml-lang="en-US" l10n="U" oldref="70">
-<emph>Numeric</emph> variables are automatically assigned the value "0" as soon as they are declared.</paragraph>
-<paragraph role="paragraph" id="par_id3150693" xml-lang="en-US" l10n="U" oldref="71">
-<emph>Date variables</emph> are assigned the value 0 internally; equivalent to converting the value to "0" with the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function.</paragraph>
-<paragraph role="paragraph" id="par_id3154807" xml-lang="en-US" l10n="U" oldref="72">
-<emph>String variables</emph> are assigned an empty-string ("") when they are declared.</paragraph>
-<paragraph role="heading" id="hd_id3153936" xml-lang="en-US" level="2" l10n="U" oldref="83">Arrays</paragraph>
-<paragraph role="paragraph" id="par_id3148736" xml-lang="en-US" l10n="U" oldref="84">$[officename] Basic knows one- or multi-dimensional arrays, defined by a specified variable type. Arrays are suitable for editing lists and tables in programs. Individual elements of an array can be addressed through a numeric index.</paragraph>
-<paragraph role="paragraph" id="par_id3149546" xml-lang="en-US" l10n="U" oldref="85">Arrays <emph>must</emph> be declared with the <emph>Dim</emph> statement. There are several ways to define the index range of an array:</paragraph>
+
+<paragraph id="hd_id3148732" role="heading" level="2" xml-lang="en-US">Initial Variable Values</paragraph>
+<paragraph id="par_id3154549" role="paragraph" xml-lang="en-US">As soon as the variable has been declared, it is automatically set to the "Null" value. Note the following conventions:</paragraph>
+<paragraph id="par_id3143222" role="paragraph" xml-lang="en-US"> <emph>Numeric</emph> variables are automatically assigned the value "0" as soon as they are declared.</paragraph>
+<paragraph id="par_id3150693" role="paragraph" xml-lang="en-US"> <emph>Date variables</emph> are assigned the value 0 internally; equivalent to converting the value to "0" with the <link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph></link>, <link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph></link>, <link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph></link> or the <link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph></link>, <link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph></link>, <link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph></link> function.</paragraph>
+<paragraph id="par_id3154807" role="paragraph" xml-lang="en-US"> <emph>String variables</emph> are assigned an empty-string ("") when they are declared.</paragraph>
+
+<paragraph id="hd_id3153936" role="heading" level="2" xml-lang="en-US">Arrays</paragraph>
+<paragraph id="par_id3148736" role="paragraph" xml-lang="en-US">$[officename] Basic knows one- or multi-dimensional arrays, defined by a specified variable type. Arrays are suitable for editing lists and tables in programs. Individual elements of an array can be addressed through a numeric index.</paragraph>
+<paragraph id="par_id3149546" role="paragraph" xml-lang="en-US">Arrays <emph>must</emph> be declared with the <emph>Dim</emph> statement. There are several ways to define the index range of an array:</paragraph>
+
 <table id="tbl_id3155829">
-<tablerow>
-<tablecell colspan="" rowspan="">
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(20)</paragraph>
+      <paragraph id="par_idm1341065280" role="bascode" localize="false" xml-lang="en-US">Dim Text$(20)</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154567" xml-lang="en-US" l10n="U" oldref="136">21 elements numbered from 0 to 20</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3154567" role="paragraph" xml-lang="en-US">21 elements numbered from 0 to 20</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(5,4)</paragraph>
+      <paragraph id="par_idm1341059776" role="bascode" localize="false" xml-lang="en-US">Dim Text$(5,4)</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3154397" xml-lang="en-US" l10n="U" oldref="137">30 elements (a matrix of 6 x 5 elements)</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3154397" role="paragraph" xml-lang="en-US">30 elements (a matrix of 6 x 5 elements)</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(5 To 25)</paragraph>
+      <paragraph id="par_idm1341054256" role="bascode" localize="false" xml-lang="en-US">Dim Text$(5 To 25)</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3149690" xml-lang="en-US" l10n="U" oldref="138">21 elements numbered from 5 to 25</paragraph>
-</tablecell>
-</tablerow>
-<tablerow>
-<tablecell colspan="" rowspan="">
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3149690" role="paragraph" xml-lang="en-US">21 elements numbered from 5 to 25</paragraph>
+    </tablecell>
+  </tablerow>
+  <tablerow>
+    <tablecell>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Text$(-15 To 5)</paragraph>
+      <paragraph id="par_idm1341048752" role="bascode" localize="false" xml-lang="en-US">Dim Text$(-15 To 5)</paragraph>
 </bascode>
-</tablecell>
-<tablecell colspan="" rowspan="">
-<paragraph role="paragraph" id="par_id3153113" xml-lang="en-US" l10n="U" oldref="89">21 elements (including 0), numbered from -15 to 5</paragraph>
-</tablecell>
-</tablerow>
+    </tablecell>
+    <tablecell>
+      <paragraph id="par_id3153113" role="paragraph" xml-lang="en-US">21 elements (including 0), numbered from -15 to 5</paragraph>
+    </tablecell>
+  </tablerow>
 </table>
-<paragraph role="paragraph" id="par_id3153005" xml-lang="en-US" l10n="CHG" oldref="90">The index range can include positive as well as negative numbers. <comment>i36558</comment></paragraph>
-<paragraph role="heading" id="hd_id3154507" xml-lang="en-US" level="2" l10n="U" oldref="91">Constants</paragraph>
-<paragraph role="paragraph" id="par_id3156357" xml-lang="en-US" l10n="U" oldref="92">Constants have a fixed value. They are only defined once in the program and cannot be redefined later:</paragraph>
+
+<paragraph id="par_id3153005" role="paragraph" xml-lang="en-US">The index range can include positive as well as negative numbers. <comment>i36558</comment></paragraph>
+
+<paragraph id="hd_id3154507" role="heading" level="2" xml-lang="en-US">Constants</paragraph>
+<paragraph id="par_id3156357" role="paragraph" xml-lang="en-US">Constants have a fixed value. They are only defined once in the program and cannot be redefined later:</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Const ConstName=Expression</paragraph>
+<paragraph id="par_idm1341038256" role="bascode" localize="false" xml-lang="en-US">Const ConstName=Expression</paragraph>
 </bascode>
 </body>
-</helpdocument>
+
+</helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/01020300.xhp b/source/text/sbasic/shared/01020300.xhp
index 26c174f..70d2b08 100644
--- a/source/text/sbasic/shared/01020300.xhp
+++ b/source/text/sbasic/shared/01020300.xhp
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
-
+<helpdocument version="1.0">
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -18,123 +16,129 @@
  *   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 .
- -->
+-->
 
-
-		<helpdocument version="1.0">
 <meta>
-<topic id="textsbasicshared01020300xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Using Procedures and Functions</title>
-<filename>/text/sbasic/shared/01020300.xhp</filename>
-</topic>
+  <topic id="textsbasicshared01020300xml" indexer="include" status="PUBLISH">
+    <title id="tit" xml-lang="en-US">Using Procedures and Functions</title>
+    <filename>/text/sbasic/shared/01020300.xhp</filename>
+  </topic>
 </meta>
+
 <body>
+
+
 <section id="prozedur">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3149456"><bookmark_value>procedures</bookmark_value>
-<bookmark_value>functions;using</bookmark_value>
-<bookmark_value>variables;passing to procedures and functions</bookmark_value>
-<bookmark_value>parameters;for procedures and functions</bookmark_value>
-<bookmark_value>parameters;passing by reference or value</bookmark_value>
-<bookmark_value>variables;scope</bookmark_value>
-<bookmark_value>scope of variables</bookmark_value>
-<bookmark_value>GLOBAL variables</bookmark_value>
-<bookmark_value>PUBLIC variables</bookmark_value>
-<bookmark_value>PRIVATE variables</bookmark_value>
-<bookmark_value>functions;return value type</bookmark_value>
-<bookmark_value>return value type of functions</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149456">
+  <bookmark_value>procedures</bookmark_value>
+  <bookmark_value>functions;using</bookmark_value>
+  <bookmark_value>variables;passing to procedures and functions</bookmark_value>
+  <bookmark_value>parameters;for procedures and functions</bookmark_value>
+  <bookmark_value>parameters;passing by reference or value</bookmark_value>
+  <bookmark_value>variables;scope</bookmark_value>
+  <bookmark_value>scope of variables</bookmark_value>
+  <bookmark_value>GLOBAL variables</bookmark_value>
+  <bookmark_value>PUBLIC variables</bookmark_value>
+  <bookmark_value>PRIVATE variables</bookmark_value>
+  <bookmark_value>functions;return value type</bookmark_value>
+  <bookmark_value>return value type of functions</bookmark_value>
 </bookmark>
-<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020300.xhp">Using Procedures and Functions</link></paragraph>
-<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="2">The following describes the basic use of procedures and functions in $[officename] Basic.</paragraph>
-</section>
-<paragraph role="note" id="par_id3151215" xml-lang="en-US" l10n="U" oldref="56">When you create a new module, $[officename] Basic automatically inserts a SUB called "Main". This default name has nothing to do with the order or the starting point of a $[officename] Basic project. You can also safely rename this SUB.</paragraph>
 
-<paragraph role="note" id="par_id314756320" xml-lang="en-US" l10n="NEW">Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library.</paragraph>
 
-<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="3">Procedures (SUBS) and functions (FUNCTIONS) help you maintaining a structured overview by separating a program into logical pieces.</paragraph>
-<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="CHG" oldref="4">One benefit of procedures and functions is that, once you have developed a program code containing task components, you can use this code in another project.</paragraph>
-<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="26">Passing Variables to Procedures (SUB) and Functions (FUNCTION)</paragraph>
-<paragraph role="paragraph" id="par_id3155414" xml-lang="en-US" l10n="U" oldref="27">Variables can be passed to both procedures and functions. The SUB or FUNCTION must be declared to expect parameters:</paragraph>
+<paragraph id="hd_id3149456" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/01020300.xhp">Using Procedures and Functions</link></paragraph>
+<paragraph id="par_id3150767" role="paragraph" xml-lang="en-US">The following describes the basic use of procedures and functions in $[officename] Basic.</paragraph>
+</section>
+<paragraph id="par_id3151215" role="note" xml-lang="en-US">When you create a new module, $[officename] Basic automatically inserts a SUB called "Main". This default name has nothing to do with the order or the starting point of a $[officename] Basic project. You can also safely rename this SUB.</paragraph>
+<paragraph id="par_id314756320" role="note" xml-lang="en-US">Some restrictions apply for the names of your public variables, subs, and functions. You must not use the same name as one of the modules of the same library.</paragraph>
+<paragraph id="par_id3154124" role="paragraph" xml-lang="en-US">Procedures (SUBS) and functions (FUNCTIONS) help you maintaining a structured overview by separating a program into logical pieces.</paragraph>
+<paragraph id="par_id3153193" role="paragraph" xml-lang="en-US">One benefit of procedures and functions is that, once you have developed a program code containing task components, you can use this code in another project.</paragraph>
+
+<paragraph id="hd_id3153770" role="heading" level="2" xml-lang="en-US">Passing Variables to Procedures (SUB) and Functions (FUNCTION)</paragraph>
+<paragraph id="par_id3155414" role="paragraph" xml-lang="en-US">Variables can be passed to both procedures and functions. The SUB or FUNCTION must be declared to expect parameters:</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub SubName(Parameter1 As Type, Parameter2 As Type,...)</paragraph>
-<paragraph role="bascode" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="29">Program code</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340846688" role="bascode" localize="false" xml-lang="en-US">Sub SubName(Parameter1 As Type, Parameter2 As Type,...)</paragraph>
+<paragraph id="par_id3151114" role="bascode" xml-lang="en-US">Program code</paragraph>
+<paragraph id="par_idm1340843712" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3152577" xml-lang="en-US" l10n="U" oldref="31">The SUB is called using the following syntax:</paragraph>
+<paragraph id="par_id3152577" role="paragraph" xml-lang="en-US">The SUB is called using the following syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">SubName(Value1, Value2,...)</paragraph>
+<paragraph id="par_idm1341029952" role="bascode" localize="false" xml-lang="en-US">SubName(Value1, Value2,...)</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="33">The parameters passed to a SUB must fit to those specified in the SUB declaration.</paragraph>
-<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="34">The same process applies to FUNCTIONS. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:</paragraph>
+<paragraph id="par_id3147124" role="paragraph" xml-lang="en-US">The parameters passed to a SUB must fit to those specified in the SUB declaration.</paragraph>
+<paragraph id="par_id3147397" role="paragraph" xml-lang="en-US">The same process applies to FUNCTIONS. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Function FunctionName(Parameter1 As Type, Parameter2 As Type,...) As Type</paragraph>
-<paragraph role="bascode" id="par_id3156284" xml-lang="en-US" l10n="U" oldref="36">Program code</paragraph>
-<paragraph role="bascode" id="par_id3145799" xml-lang="en-US" l10n="U" oldref="37">FunctionName=Result</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Function</paragraph>
+<paragraph id="par_idm1341024672" role="bascode" localize="false" xml-lang="en-US">Function FunctionName(Parameter1 As Type, Parameter2 As Type,...) As Type</paragraph>
+<paragraph id="par_id3156284" role="bascode" xml-lang="en-US">Program code</paragraph>
+<paragraph id="par_id3145799" role="bascode" xml-lang="en-US">FunctionName=Result</paragraph>
+<paragraph id="par_idm1341019952" role="bascode" localize="false" xml-lang="en-US">End Function</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3153839" xml-lang="en-US" l10n="U" oldref="39">The FUNCTION is called using the following syntax:</paragraph>
+<paragraph id="par_id3153839" role="paragraph" xml-lang="en-US">The FUNCTION is called using the following syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="40">Variable=FunctionName(Parameter1, Parameter2,...)</paragraph>
+<paragraph id="par_id3146914" role="bascode" xml-lang="en-US">Variable=FunctionName(Parameter1, Parameter2,...)</paragraph>
 </bascode>
-<paragraph role="tip" id="par_idN107B3" xml-lang="en-US">You can also use the fully qualified name to call a procedure or function:<br/>
-<item type="literal">Library.Module.Macro()</item>
-<br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/>
-<item type="literal">Gimmicks.AutoText.Main()</item>
-</paragraph>
-<paragraph role="heading" id="hd_id3156276" xml-lang="en-US" level="2" l10n="U" oldref="45">Passing Variables by Value or Reference</paragraph>
-<paragraph role="paragraph" id="par_id3155765" xml-lang="en-US" l10n="U" oldref="47">Parameters can be passed to a SUB or a FUNCTION either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a SUB or a FUNCTION gets the parameter and can read and modify its value.</paragraph>
-<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="53">If you want to pass a parameter by value insert the key word "ByVal" in front of the parameter when you call a SUB or FUNCTION, for example:</paragraph>
+<paragraph id="par_idN107B3" role="tip" xml-lang="en-US">You can also use the fully qualified name to call a procedure or function:<br/> <item type="literal">Library.Module.Macro()</item> <br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/> <item type="literal">Gimmicks.AutoText.Main()</item> </paragraph>
+
+<paragraph id="hd_id3156276" role="heading" level="2" xml-lang="en-US">Passing Variables by Value or Reference</paragraph>
+<paragraph id="par_id3155765" role="paragraph" xml-lang="en-US">Parameters can be passed to a SUB or a FUNCTION either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a SUB or a FUNCTION gets the parameter and can read and modify its value.</paragraph>
+<paragraph id="par_id3145640" role="paragraph" xml-lang="en-US">If you want to pass a parameter by value insert the key word "ByVal" in front of the parameter when you call a SUB or FUNCTION, for example:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="54">Result = Function(ByVal Parameter)</paragraph>
+<paragraph id="par_id3150042" role="bascode" xml-lang="en-US">Result = Function(ByVal Parameter)</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3149258" xml-lang="en-US" l10n="U" oldref="55">In this case, the original content of the parameter will not be modified by the FUNCTION since it only gets the value and not the parameter itself.</paragraph>
-<paragraph role="heading" id="hd_id3150982" xml-lang="en-US" level="2" l10n="U" oldref="57">Scope of Variables</paragraph>
-<paragraph role="paragraph" id="par_id3149814" xml-lang="en-US" l10n="CHG" oldref="58">A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a "local" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited.</paragraph>
-<paragraph role="heading" id="hd_id3154186" xml-lang="en-US" level="3" l10n="U" oldref="59">Declaring Variables Outside a SUB or FUNCTION</paragraph>
+<paragraph id="par_id3149258" role="paragraph" xml-lang="en-US">In this case, the original content of the parameter will not be modified by the FUNCTION since it only gets the value and not the parameter itself.</paragraph>
+
+<paragraph id="hd_id3150982" role="heading" level="2" xml-lang="en-US">Scope of Variables</paragraph>
+<paragraph id="par_id3149814" role="paragraph" xml-lang="en-US">A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a "local" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited.</paragraph>
+
+<paragraph id="hd_id3154186" role="heading" level="3" xml-lang="en-US">Declaring Variables Outside a SUB or FUNCTION</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3150208" xml-lang="en-US" l10n="CHG" oldref="111">Global VarName As TYPENAME</paragraph>
+<paragraph id="par_id3150208" role="bascode" xml-lang="en-US">Global VarName As TYPENAME</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3145258" xml-lang="en-US" l10n="U" oldref="112">The variable is valid as long as the $[officename] session lasts.</paragraph>
+<paragraph id="par_id3145258" role="paragraph" xml-lang="en-US">The variable is valid as long as the $[officename] session lasts.</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3153198" xml-lang="en-US" l10n="CHG" oldref="60">Public VarName As TYPENAME</paragraph>
+<paragraph id="par_id3153198" role="bascode" xml-lang="en-US">Public VarName As TYPENAME</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3150088" xml-lang="en-US" l10n="U" oldref="61">The variable is valid in all modules.</paragraph>
+<paragraph id="par_id3150088" role="paragraph" xml-lang="en-US">The variable is valid in all modules.</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3158212" xml-lang="en-US" l10n="CHG" oldref="62">Private VarName As TYPENAME</paragraph>
+<paragraph id="par_id3158212" role="bascode" xml-lang="en-US">Private VarName As TYPENAME</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3152994" xml-lang="en-US" l10n="U" oldref="63">The variable is only valid in this module.</paragraph>
+<paragraph id="par_id3152994" role="paragraph" xml-lang="en-US">The variable is only valid in this module.</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3150886" xml-lang="en-US" l10n="U" oldref="64">Dim VarName As TYPENAME</paragraph>
+<paragraph id="par_id3150886" role="bascode" xml-lang="en-US">Dim VarName As TYPENAME</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3150368" xml-lang="en-US" l10n="U" oldref="65">The variable is only valid in this module.</paragraph>
-<paragraph role="heading" id="hd_id5097506" xml-lang="en-US" level="3" l10n="NEW">Example for private variables</paragraph>
-<paragraph role="paragraph" id="par_id8738975" xml-lang="en-US">Enforce private variables to be private across modules by setting CompatibilityMode(true).</paragraph><comment>from i17948, see i54894</comment>
+<paragraph id="par_id3150368" role="paragraph" xml-lang="en-US">The variable is only valid in this module.</paragraph>
+
+<paragraph id="hd_id5097506" role="heading" level="3" xml-lang="en-US">Example for private variables</paragraph>
+<paragraph id="par_id8738975" role="paragraph" xml-lang="en-US">Enforce private variables to be private across modules by setting CompatibilityMode(true).</paragraph><comment>from i17948, see i54894</comment>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">' ***** Module1 *****</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Private myText As String</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub initMyText</paragraph>
-<paragraph role="bascode" id="par_id9475997" xml-lang="en-US">    myText = "Hello"</paragraph>
-<paragraph role="bascode" id="par_id6933500" xml-lang="en-US">    Print "In module1 : ", myText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US"> </paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">' ***** Module2 *****</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">'Option Explicit</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub demoBug</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">    CompatibilityMode( true )</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">    initMyText</paragraph>
-<paragraph role="bascode" id="par_id4104129" xml-lang="en-US">    ' Now returns empty string</paragraph>
-<paragraph role="bascode" id="par_id7906125" xml-lang="en-US">    ' (or rises error for Option Explicit)</paragraph>
-<paragraph role="bascode" id="par_id8055970" xml-lang="en-US">    Print "Now in module2 : ", myText</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340976400" role="bascode" localize="false" xml-lang="en-US">' ***** Module1 *****</paragraph>
+<paragraph id="par_idm1340975168" role="bascode" localize="false" xml-lang="en-US">Private myText As String</paragraph>
+<paragraph id="par_idm1340973920" role="bascode" localize="false" xml-lang="en-US">Sub initMyText</paragraph>
+<paragraph id="par_id9475997" role="bascode" xml-lang="en-US"> myText = "Hello"</paragraph>
+<paragraph id="par_id6933500" role="bascode" xml-lang="en-US"> Print "In module1 : ", myText</paragraph>
+<paragraph id="par_idm1340970208" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340968976" role="bascode" localize="false" xml-lang="en-US"> </paragraph>
+<paragraph id="par_idm1340967728" role="bascode" localize="false" xml-lang="en-US">' ***** Module2 *****</paragraph>
+<paragraph id="par_idm1340966496" role="bascode" localize="false" xml-lang="en-US">'Option Explicit</paragraph>
+<paragraph id="par_idm1340965264" role="bascode" localize="false" xml-lang="en-US">Sub demoBug</paragraph>
+<paragraph id="par_idm1340964032" role="bascode" localize="false" xml-lang="en-US"> CompatibilityMode( true )</paragraph>
+<paragraph id="par_idm1340962784" role="bascode" localize="false" xml-lang="en-US"> initMyText</paragraph>
+<paragraph id="par_id4104129" role="bascode" xml-lang="en-US"> ' Now returns empty string</paragraph>
+<paragraph id="par_id7906125" role="bascode" xml-lang="en-US"> ' (or rises error for Option Explicit)</paragraph>
+<paragraph id="par_id8055970" role="bascode" xml-lang="en-US"> Print "Now in module2 : ", myText</paragraph>
+<paragraph id="par_idm1340957792" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3154368" xml-lang="en-US" level="3" l10n="U" oldref="66">Saving Variable Content after Exiting a SUB or FUNCTION</paragraph>
+
+<paragraph id="hd_id3154368" role="heading" level="3" xml-lang="en-US">Saving Variable Content after Exiting a SUB or FUNCTION</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3156288" xml-lang="en-US" l10n="CHG" oldref="67">Static VarName As TYPENAME</paragraph>
+<paragraph id="par_id3156288" role="bascode" xml-lang="en-US">Static VarName As TYPENAME</paragraph>
 </bascode>
-<paragraph role="paragraph" id="par_id3154486" xml-lang="en-US" l10n="U" oldref="68">The variable retains its value until the next time the FUNCTION or SUB is entered. The declaration must exist inside a SUB or a FUNCTION.</paragraph>
-<paragraph role="heading" id="hd_id3155809" xml-lang="en-US" level="2" l10n="U" oldref="41">Specifying the Return Value Type of a FUNCTION</paragraph>
-<paragraph role="paragraph" id="par_id3149404" xml-lang="en-US" l10n="U" oldref="42">As with variables, include a type-declaration character after the function name, or the type indicated by "As" and the corresponding key word at the end of the parameter list to define the type of the function's return value, for example:</paragraph>
+<paragraph id="par_id3154486" role="paragraph" xml-lang="en-US">The variable retains its value until the next time the FUNCTION or SUB is entered. The declaration must exist inside a SUB or a FUNCTION.</paragraph>
+
+<paragraph id="hd_id3155809" role="heading" level="2" xml-lang="en-US">Specifying the Return Value Type of a FUNCTION</paragraph>
+<paragraph id="par_id3149404" role="paragraph" xml-lang="en-US">As with variables, include a type-declaration character after the function name, or the type indicated by "As" and the corresponding key word at the end of the parameter list to define the type of the function's return value, for example:</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Function WordCount(WordText As String) As Integer</paragraph>
+<paragraph id="par_idm1340946176" role="bascode" localize="false" xml-lang="en-US">Function WordCount(WordText As String) As Integer</paragraph>
 </bascode>
 </body>
-</helpdocument>
+
+</helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/03010101.xhp b/source/text/sbasic/shared/03010101.xhp
index 4abe46d..b4aa9f9 100644
--- a/source/text/sbasic/shared/03010101.xhp
+++ b/source/text/sbasic/shared/03010101.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
+<helpdocument version="1.0">
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -17,59 +16,62 @@
  *   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 .
- -->
-	
-<helpdocument version="1.0">
+-->
+
 <meta>
-<topic id="textsbasicshared03010101xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">MsgBox Statement [Runtime]</title>
-<filename>/text/sbasic/shared/03010101.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+  <topic id="textsbasicshared03010101xml" indexer="include" status="PUBLISH">
+    <title id="tit" xml-lang="en-US">MsgBox Statement [Runtime]</title>
+    <filename>/text/sbasic/shared/03010101.xhp</filename>
+  </topic>
 </meta>
+
 <body>
+
+
 <section id="msgbox">
-<bookmark xml-lang="en-US" branch="index" id="bm_id1807916"><bookmark_value>MsgBox statement</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id1807916">
+  <bookmark_value>MsgBox statement</bookmark_value>
 </bookmark>
-<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010101.xhp">MsgBox Statement [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="2">Displays a dialog box containing a message.</paragraph>
+
+
+<paragraph id="hd_id3154927" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010101.xhp">MsgBox Statement [Runtime]</link></paragraph>
+<paragraph id="par_id3148947" role="paragraph" xml-lang="en-US">Displays a dialog box containing a message.</paragraph>
 </section>
-<paragraph role="heading" id="hd_id3153897" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3153897" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="4">MsgBox Text As String [,Type As Integer [,Dialogtitle As String]] (As Statement) or MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]]) (As Function)</paragraph>
+<paragraph id="par_id3148664" role="bascode" xml-lang="en-US">MsgBox Text As String [,Type As Integer [,Dialogtitle As String]] (As Statement) or MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]]) (As Function)</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="6">
-<emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
-<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="7">
-<emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the title bar displays the name of the respective application.</paragraph>
-<paragraph role="paragraph" id="par_id3147228" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Type</emph>: Any integer expression that specifies the dialog type, as well as the number and type of buttons to display, and the icon type. <emph>Type</emph> represents a combination of bit patterns, that is, a combination of elements can be defined by adding their respective values:</paragraph>
-<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="9">0 : Display OK button only.</paragraph>
-<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="10">1 : Display OK and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="CHG" oldref="11">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="12">3 : Display Yes, No and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U" oldref="13">4 : Display Yes and No buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="14">5 : Display Retry and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15">16 : Add the Stop icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="16">32 : Add the Question icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3147350" xml-lang="en-US" l10n="U" oldref="17">48 : Add the Exclamation icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3149960" xml-lang="en-US" l10n="U" oldref="18">64 : Add the Information icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="19">128 : First button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3155417" xml-lang="en-US" l10n="U" oldref="20">256 : Second button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="21">512 : Third button in the dialog as default button.</paragraph>
+
+<paragraph id="hd_id3153361" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph>
+<paragraph id="par_id3148798" role="paragraph" xml-lang="en-US"> <emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
+<paragraph id="par_id3150769" role="paragraph" xml-lang="en-US"> <emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the title bar displays the name of the respective application.</paragraph>
+<paragraph id="par_id3147228" role="paragraph" xml-lang="en-US"> <emph>Type</emph>: Any integer expression that specifies the dialog type, as well as the number and type of buttons to display, and the icon type. <emph>Type</emph> represents a combination of bit patterns, that is, a combination of elements can be defined by adding their respective values:</paragraph>
+<paragraph id="par_id3161832" role="paragraph" xml-lang="en-US">0 : Display OK button only.</paragraph>
+<paragraph id="par_id3153726" role="paragraph" xml-lang="en-US">1 : Display OK and Cancel buttons.</paragraph>
+<paragraph id="par_id3149665" role="paragraph" xml-lang="en-US">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
+<paragraph id="par_id3147318" role="paragraph" xml-lang="en-US">3 : Display Yes, No and Cancel buttons.</paragraph>
+<paragraph id="par_id3155412" role="paragraph" xml-lang="en-US">4 : Display Yes and No buttons.</paragraph>
+<paragraph id="par_id3146119" role="paragraph" xml-lang="en-US">5 : Display Retry and Cancel buttons.</paragraph>
+<paragraph id="par_id3159155" role="paragraph" xml-lang="en-US">16 : Add the Stop icon to the dialog.</paragraph>
+<paragraph id="par_id3145366" role="paragraph" xml-lang="en-US">32 : Add the Question icon to the dialog.</paragraph>
+<paragraph id="par_id3147350" role="paragraph" xml-lang="en-US">48 : Add the Exclamation icon to the dialog.</paragraph>
+<paragraph id="par_id3149960" role="paragraph" xml-lang="en-US">64 : Add the Information icon to the dialog.</paragraph>
+<paragraph id="par_id3154944" role="paragraph" xml-lang="en-US">128 : First button in the dialog as default button.</paragraph>
+<paragraph id="par_id3155417" role="paragraph" xml-lang="en-US">256 : Second button in the dialog as default button.</paragraph>
+<paragraph id="par_id3153878" role="paragraph" xml-lang="en-US">512 : Third button in the dialog as default button.</paragraph>
 <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
 <embed href="text/sbasic/shared/00000003.xhp#err5"/>
-<paragraph role="heading" id="hd_id3150715" xml-lang="en-US" level="2" l10n="U" oldref="22">Example:</paragraph>
+
+<paragraph id="hd_id3150715" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
 <bascode>
-<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleMsgBox</paragraph>
-<paragraph role="bascode" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="24">    Const sText1 = "An unexpected error occurred."</paragraph>
-<paragraph role="bascode" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="25">    Const sText2 = "The program execution will continue, however."</paragraph>
-<paragraph role="bascode" id="par_id3154757" xml-lang="en-US" l10n="U" oldref="26">    Const sText3 = "Error"</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">    MsgBox(sText1 + Chr(13) + sText2,16,sText3)</paragraph>
-<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+<paragraph id="par_idm1340869408" role="bascode" localize="false" xml-lang="en-US">Sub ExampleMsgBox</paragraph>
+<paragraph id="par_id3150327" role="bascode" xml-lang="en-US"> Const sText1 = "An unexpected error occurred."</paragraph>
+<paragraph id="par_id3146912" role="bascode" xml-lang="en-US"> Const sText2 = "The program execution will continue, however."</paragraph>
+<paragraph id="par_id3154757" role="bascode" xml-lang="en-US"> Const sText3 = "Error"</paragraph>
+<paragraph id="par_idm1340862944" role="bascode" localize="false" xml-lang="en-US"> MsgBox(sText1 + Chr(13) + sText2,16,sText3)</paragraph>
+<paragraph id="par_idm1340861680" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
 </bascode>
 </body>
-</helpdocument>
+
+</helpdocument>
\ No newline at end of file
diff --git a/source/text/sbasic/shared/03010102.xhp b/source/text/sbasic/shared/03010102.xhp
index 9bfa303..731a744 100644
--- a/source/text/sbasic/shared/03010102.xhp
+++ b/source/text/sbasic/shared/03010102.xhp
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
-
+<helpdocument version="1.0">
 <!--
  * This file is part of the LibreOffice project.
  *
@@ -17,74 +16,74 @@
  *   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 .
- -->
-	
-<helpdocument version="1.0">
+-->
+
 <meta>
-<topic id="textsbasicshared03010102xml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">MsgBox Function [Runtime]</title>
-<filename>/text/sbasic/shared/03010102.xhp</filename>
-</topic>
-<history>
-<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-</history>
+  <topic id="textsbasicshared03010102xml" indexer="include" status="PUBLISH">
+    <title id="tit" xml-lang="en-US">MsgBox Function [Runtime]</title>
+    <filename>/text/sbasic/shared/03010102.xhp</filename>
+  </topic>
 </meta>
+
 <body>
+
+
 <section id="msgbox">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153379"><bookmark_value>MsgBox function</bookmark_value>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153379">
+  <bookmark_value>MsgBox function</bookmark_value>
 </bookmark>
-<paragraph role="heading" id="hd_id3153379" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010102.xhp" name="MsgBox Function [Runtime]">MsgBox Function [Runtime]</link></paragraph>
-<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US" l10n="U" oldref="2">Displays a dialog box containing a message and returns a value.</paragraph>
+
+
+<paragraph id="hd_id3153379" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03010102.xhp" name="MsgBox Function [Runtime]">MsgBox Function [Runtime]</link></paragraph>
+<paragraph id="par_id3145171" role="paragraph" xml-lang="en-US">Displays a dialog box containing a message and returns a value.</paragraph>
 </section>
-<paragraph role="heading" id="hd_id3156281" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+
+<paragraph id="hd_id3156281" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
 <bascode>
-<paragraph role="bascode" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="4">MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]])</paragraph>
+<paragraph id="par_id3154685" role="bascode" xml-lang="en-US">MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]])</paragraph>
 </bascode>
-<paragraph role="heading" id="hd_id3153771" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
-<paragraph role="heading" id="hd_id3153363" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameter:</paragraph>
-<paragraph role="paragraph" id="par_id3153727" xml-lang="en-US" l10n="U" oldref="8">
-<emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
-<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="9">
-<emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the name of the respective application is displayed.</paragraph>
-<paragraph role="paragraph" id="par_id3153954" xml-lang="en-US" l10n="U" oldref="10">
-<emph>Type</emph>: Any integer expression that specifies the dialog type and defines the number and type of buttons or icons displayed. <emph>Type</emph> represents a combination of bit patterns (dialog elements defined by adding the respective values):</paragraph>
-<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="11">
-<emph>Values</emph>
-</paragraph>
-<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="12">0 : Display OK button only.</paragraph>
-<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="13">1 : Display OK and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3149410" xml-lang="en-US" l10n="CHG" oldref="14">2 : Display Abort, Retry, and Ignore buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3151075" xml-lang="en-US" l10n="U" oldref="15">3 : Display Yes, No, and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="16">4 : Display Yes and No buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="17">5 : Display Retry and Cancel buttons.</paragraph>
-<paragraph role="paragraph" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="18">16 : Add the Stop icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3153837" xml-lang="en-US" l10n="U" oldref="19">32 : Add the Question icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3150751" xml-lang="en-US" l10n="U" oldref="20">48 : Add the Exclamation Point icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3146915" xml-lang="en-US" l10n="U" oldref="21">64 : Add the Information icon to the dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="22">128 : First button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3153765" xml-lang="en-US" l10n="U" oldref="23">256 : Second button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3153715" xml-lang="en-US" l10n="U" oldref="24">512 : Third button in the dialog as default button.</paragraph>
-<paragraph role="paragraph" id="par_id3159267" xml-lang="en-US" l10n="U" oldref="25">
-<emph>Return value:</emph>
-</paragraph>
-<paragraph role="paragraph" id="par_id3145230" xml-lang="en-US" l10n="U" oldref="26">1 : OK</paragraph>
-<paragraph role="paragraph" id="par_id3149567" xml-lang="en-US" l10n="U" oldref="27">2 : Cancel</paragraph>
-<paragraph role="paragraph" id="par_id4056825" xml-lang="en-US" l10n="NEW">3 : Abort</paragraph>

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list