summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-01-25 23:16:46 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-01-25 23:16:46 +0100
commit4382111cadc530f541979aa6e8c30a4a76aa46ff (patch)
treefe60aec682191afe12cf3b8d393007f10aaeefde
parent6614bedceadcc07ec082c5e926107f27903bda5c (diff)
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
-rw-r--r--source/text/scalc/01/func_imcos.xhp14
-rw-r--r--source/text/scalc/01/func_imcosh.xhp10
-rw-r--r--source/text/scalc/01/func_imcot.xhp10
-rw-r--r--source/text/scalc/01/func_imcsc.xhp10
-rw-r--r--source/text/scalc/01/func_imcsch.xhp10
-rw-r--r--source/text/scalc/01/func_imsec.xhp10
-rw-r--r--source/text/scalc/01/func_imsech.xhp10
-rw-r--r--source/text/scalc/01/func_imsin.xhp10
-rw-r--r--source/text/scalc/01/func_imsinh.xhp10
-rw-r--r--source/text/scalc/01/func_imtan.xhp10
10 files changed, 32 insertions, 72 deletions
diff --git a/source/text/scalc/01/func_imcos.xhp b/source/text/scalc/01/func_imcos.xhp
index a5582ec58e..b9e74f0f93 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 80ec8a1f38..34926293f0 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 0c40ca5d36..5ead638b02 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 b674eb845c..e35b0212d7 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 5c67e04192..0d40051570 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 34dd5a9dd8..72b31ac123 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 f0744b39be..7cb71953e1 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 81f679f575..7728971e1c 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 7c50b2beda..21f4516008 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 4d09ccc93c..6d5b63ebac 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">