Skip to content

Commit 0a2e153

Browse files
committed
helpcontent2: fix the help for the functions added after #523, add F.DIST and F.INV
The new topics were missing from util/scalc/makefile.mk, so their help IDs did not resolve. Ugg.
1 parent 8715e21 commit 0a2e153

10 files changed

Lines changed: 83 additions & 90 deletions

File tree

‎main/helpcontent2/source/text/scalc/01/04060102.xhp‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,6 @@
157157
<embedvar href="text/scalc/01/func_eomonth.xhp#eomonth"/>
158158
</paragraph>
159159
</section>
160-
<section id="errortype">
161-
<paragraph role="paragraph" id="par_id3155541" xml-lang="en-US" l10n="NEW">
162-
<embedvar href="text/scalc/01/func_errortype.xhp#errortype"/>
163-
</paragraph>
164-
</section>
165160
<section id="networkdays">
166161
<paragraph role="paragraph" id="par_id8951384" xml-lang="en-US" l10n="NEW">
167162
<embedvar href="text/scalc/01/func_networkdays.xhp#networkdays"/>

‎main/helpcontent2/source/text/scalc/01/04060109.xhp‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@
156156
<paragraph xml-lang="en-US" id="hd_id3145248" role="heading" level="3" l10n="U">Example</paragraph>
157157
<paragraph xml-lang="en-US" id="par_id3146904" role="paragraph" l10n="U">If cell A1 displays Err:518, the function <item type="input">=ERRORTYPE(A1)</item> returns the number 518.</paragraph>
158158
</section>
159+
<section id="errortype_odf">
160+
<paragraph role="paragraph" id="par_id3180051" xml-lang="en-US" l10n="NEW">
161+
<embedvar href="text/scalc/01/func_errortype.xhp#errortype"/>
162+
</paragraph>
163+
</section>
159164
<section id="Section5">
160165
<bookmark xml-lang="en-US" branch="index" id="bm_id3151221">
161166
<bookmark_value>INDEX function</bookmark_value>

‎main/helpcontent2/source/text/scalc/01/04060110.xhp‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,6 @@
259259
<item type="input">=FIND(76;998877665544)</item> returns 6.</paragraph>
260260
</section>
261261
<section id="findb">
262-
<bookmark xml-lang="en-US" branch="index" id="bm_id3155611">
263-
<bookmark_value>FINDB function</bookmark_value>
264-
</bookmark>
265-
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FINDB" id="bm_id3155612" localize="false"/>
266262
<paragraph role="paragraph" id="par_id3155613" xml-lang="en-US" l10n="NEW">
267263
<embedvar href="text/scalc/01/func_findb.xhp#findb"/>
268264
</paragraph>
@@ -371,10 +367,6 @@
371367
<item type="input">=MID("office";2;2)</item> returns ff.</paragraph>
372368
</section>
373369
<section id="numbervalue">
374-
<bookmark xml-lang="en-US" branch="index" id="bm_id3155591">
375-
<bookmark_value>NUMBERVALUE function</bookmark_value>
376-
</bookmark>
377-
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NUMBERVALUE" id="bm_id3155592" localize="false"/>
378370
<paragraph role="paragraph" id="par_id3155593" xml-lang="en-US" l10n="NEW">
379371
<embedvar href="text/scalc/01/func_numbervalue.xhp#numbervalue"/>
380372
</paragraph>
@@ -417,10 +409,6 @@
417409
<item type="input">=REPLACE("1234567";1;1;"444")</item> returns "444234567". One character at position 1 is replaced by the complete <item type="literal">NewText</item>.</paragraph>
418410
</section>
419411
<section id="replaceb">
420-
<bookmark xml-lang="en-US" branch="index" id="bm_id3155651">
421-
<bookmark_value>REPLACEB function</bookmark_value>
422-
</bookmark>
423-
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_REPLACEB" id="bm_id3155652" localize="false"/>
424412
<paragraph role="paragraph" id="par_id3155653" xml-lang="en-US" l10n="NEW">
425413
<embedvar href="text/scalc/01/func_replaceb.xhp#replaceb"/>
426414
</paragraph>
@@ -508,10 +496,6 @@
508496
<item type="input">=SEARCH(54;998877665544)</item> returns 10.</paragraph>
509497
</section>
510498
<section id="searchb">
511-
<bookmark xml-lang="en-US" branch="index" id="bm_id3155631">
512-
<bookmark_value>SEARCHB function</bookmark_value>
513-
</bookmark>
514-
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_SEARCHB" id="bm_id3155632" localize="false"/>
515499
<paragraph role="paragraph" id="par_id3155633" xml-lang="en-US" l10n="NEW">
516500
<embedvar href="text/scalc/01/func_searchb.xhp#searchb"/>
517501
</paragraph>

‎main/helpcontent2/source/text/scalc/01/04060118.xhp‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,16 +260,16 @@
260260
</bookmark>
261261
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZGZ" id="bm_id3146996" localize="false"/>
262262
<paragraph role="heading" id="hd_id3148822" xml-lang="en-US" level="2">RRI</paragraph>
263-
<paragraph role="paragraph" id="par_id3154293" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ZGZ">Calculates the equivalent interest rate for the growth of an investment.</ahelp></paragraph>
263+
<paragraph role="paragraph" id="par_id3154293" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ZGZ">Calculates the interest rate resulting from the profit (return) of an investment.</ahelp></paragraph>
264264
<paragraph role="heading" id="hd_id3148444" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph>
265265
<paragraph role="code" id="par_id3148804" xml-lang="en-US" l10n="U">RRI(P; PV; FV)</paragraph>
266-
<paragraph role="paragraph" id="par_id3154901" xml-lang="en-US" l10n="U"><emph>P</emph> is the number of periods.</paragraph>
267-
<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U"><emph>PV</emph> is the present value of the investment. Must be greater than 0.</paragraph>
268-
<paragraph role="paragraph" id="par_id3149771" xml-lang="en-US" l10n="U"><emph>FV</emph> is the future value of the investment.</paragraph>
266+
<paragraph role="paragraph" id="par_id3154901" xml-lang="en-US" l10n="U"><emph>P</emph> is the number of periods needed for calculating the interest rate.</paragraph>
267+
<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U"><emph>PV</emph> is the present (current) value. The cash value is the deposit of cash or the current cash value of an allowance in kind. As a deposit value a positive value must be entered; the deposit must not be 0 or &lt;0.</paragraph>
268+
<paragraph role="paragraph" id="par_id3149771" xml-lang="en-US" l10n="U"><emph>FV</emph> determines what is desired as the cash value of the deposit.</paragraph>
269269
<paragraph role="heading" id="hd_id3148941" xml-lang="en-US" level="3" l10n="U">Example</paragraph>
270-
<paragraph role="paragraph" id="par_id3154212" xml-lang="en-US" l10n="U">For four periods and a present value of 7,500 currency units, the interest rate is calculated for a future value of 10,000 currency units.</paragraph>
270+
<paragraph role="paragraph" id="par_id3154212" xml-lang="en-US" l10n="U">For four periods (years) and a cash value of 7,500 currency units, the interest rate of the return is to be calculated if the future value is 10,000 currency units.</paragraph>
271271
<paragraph role="paragraph" id="par_id3150775" xml-lang="en-US" l10n="U"><item type="input">=RRI(4;7500;10000)</item> = 7.46%</paragraph>
272-
<paragraph role="paragraph" id="par_id3145413" xml-lang="en-US" l10n="U">The interest rate must be 7.46% for 7,500 currency units to grow to 10,000 currency units in four periods.</paragraph>
272+
<paragraph role="paragraph" id="par_id3145413" xml-lang="en-US" l10n="U">The interest rate must be 7.46% so that 7,500 currency units will become 10,000 currency units.</paragraph>
273273
</section>
274274
<section id="rate">
275275
<bookmark xml-lang="en-US" branch="index" id="bm_id3154267">

0 commit comments

Comments
 (0)