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

Seth Chaiklin (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 10 14:50:09 UTC 2020


 source/text/scalc/01/12120100.xhp |   17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

New commits:
commit 9512494c315aee4af46fa9a9eca0e4be0210e3cd
Author:     Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Tue Dec 8 00:42:25 2020 +0100
Commit:     Seth Chaiklin <sdc.blanco at youmail.dk>
CommitDate: Thu Dec 10 15:49:47 2020 +0100

    tdf#138301,tdf#130738 add "Custom" condition in Data>Validity-Criteria help
    
        + add Custom and explanation to list of Allow conditions
        * correction to condition:  "Whole Number" --> "Whole Numbers"
        * update two <h2>, one <h3>
    
    Change-Id: I1a6034af51c8dc5afe5a44a0043e26556cf94f8f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/107374
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Reviewed-by: Seth Chaiklin <sdc.blanco at youmail.dk>
    Tested-by: Jenkins

diff --git a/source/text/scalc/01/12120100.xhp b/source/text/scalc/01/12120100.xhp
index d1a00e600..c08a97563 100644
--- a/source/text/scalc/01/12120100.xhp
+++ b/source/text/scalc/01/12120100.xhp
@@ -63,7 +63,7 @@
 </tablerow>
 <tablerow>
 <tablecell>
-<paragraph role="tablecontent" id="par_id3147434" xml-lang="en-US">Whole number</paragraph>
+<paragraph role="tablecontent" id="par_id3147434" xml-lang="en-US">Whole numbers</paragraph>
 </tablecell>
 <tablecell>
 <paragraph role="tablecontent" id="par_id3154319" xml-lang="en-US">Only whole numbers corresponding to the condition.</paragraph>
@@ -117,18 +117,27 @@
 <paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US">Entries whose length corresponds to the condition.</paragraph>
 </tablecell>
 </tablerow>
+<tablerow>
+<tablecell>
+<paragraph id="par_id551607384650484" role="tablecontent">Custom</paragraph>
+</tablecell>
+<tablecell>
+<paragraph id="par_id101607384677959" role="tablecontent">Only allow values that result in the formula entered in the <emph>Formula</emph> box to return <literal>TRUE</literal>, when the formula is calculated with the entered value. The formula can be any expression that evaluates to a boolean value of <literal>TRUE</literal> or <literal>FALSE</literal>, or returns a numerical value, where a nonzero value is interpreted as <literal>TRUE</literal> and <literal>0</literal> is interpreted as <literal>FALSE</literal>.</paragraph>
+<paragraph role="tablecontent" id="par_id461607565255803">Formulas can use relative referencing. For example, if cells <literal>A1:A4</literal> were selected and <input>ISODD(A1)</input> is entered into the <emph>Formula</emph> box, then only odd numbers could be entered into cells <literal>A1</literal> through <literal>A4</literal>.</paragraph>
+</tablecell>
+</tablerow>
 </table>
 
 <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/validationcriteriapage/allowempty" id="bm_id263985" localize="false"/>
 <h2 id="hd_id3154704" xml-lang="en-US">Allow blank cells</h2>
 <paragraph role="paragraph" id="par_id3153967" xml-lang="en-US"><ahelp hid="modules/scalc/ui/validationcriteriapage/allowempty">In conjunction with <emph>Tools - Detective - Mark invalid Data</emph>, this defines that blank cells are shown as invalid data (disabled) or not (enabled).</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/validationcriteriapage/showlist" id="bm_id5339518" localize="false"/>
-<paragraph role="heading" id="par_idN10709" xml-lang="en-US" level="2">Show selection list</paragraph>
+<h2 id="par_idN10709" xml-lang="en-US">Show selection list</h2>
 <paragraph role="paragraph" id="par_idN1070D" xml-lang="en-US"><ahelp hid="modules/scalc/ui/validationcriteriapage/showlist">Shows a list of all valid strings or values to select from. The list can also be opened by selecting the cell and pressing <switchinline select="sys"><caseinline select="MAC"><keycode>Command+D</keycode></caseinline><defaultinline><keycode>Ctrl+D</keycode></defaultinline></switchinline>.</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/validationcriteriapage/sortascend" id="bm_id6317331" localize="false"/>
-<paragraph role="heading" id="par_idN10724" xml-lang="en-US" level="3">Sort entries ascending</paragraph>
+<h3 id="par_idN10724" xml-lang="en-US">Sort entries ascending</h3>
 <paragraph role="paragraph" id="par_idN10728" xml-lang="en-US"><ahelp hid="modules/scalc/ui/validationcriteriapage/sortascend">Sorts the selection list in ascending order and filters duplicates from the list. If not checked, the order from the data source is taken.</ahelp></paragraph>
-<paragraph role="heading" id="par_idN1073F" xml-lang="en-US" level="2">Source</paragraph>
+<h2 id="par_idN1073F" xml-lang="en-US">Source</h2>
 <paragraph role="paragraph" id="par_idN10743" xml-lang="en-US"><ahelp hid="modules/scalc/ui/validationcriteriapage/min">Enter the cell range that contains the valid values or text.</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/validationcriteriapage/minlist" id="bm_id5921506" localize="false"/>
 <paragraph role="heading" id="par_idN1075A" xml-lang="en-US" level="2">Entries</paragraph>


More information about the Libreoffice-commits mailing list