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

Mike Kaganski mike.kaganski at collabora.com
Fri Nov 3 07:50:50 UTC 2017


 source/text/scalc/01/04060109.xhp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d25e28bb1ef1f0c07c263c48167135f4116eb730
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date:   Thu Nov 2 11:11:55 2017 +0200

    Correct the explanation for STYLE spreadsheet function
    
    Change-Id: Ia0fedd0bc673f3090cf065ac578ef193d1d3b6b7
    Reviewed-on: https://gerrit.libreoffice.org/44196
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/source/text/scalc/01/04060109.xhp b/source/text/scalc/01/04060109.xhp
index ef61a9632..ef8d5bd5e 100644
--- a/source/text/scalc/01/04060109.xhp
+++ b/source/text/scalc/01/04060109.xhp
@@ -409,7 +409,7 @@
 </bookmark>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_VORLAGE" id="bm_id3154342" localize="false"/>
 <paragraph xml-lang="en-US" id="hd_id3149425" role="heading" level="2">STYLE</paragraph>
-         <paragraph xml-lang="en-US" id="par_id3150826" role="paragraph"><ahelp hid="HID_FUNC_VORLAGE">Applies a style to the cell containing the formula.</ahelp> After a set amount of time, another style can be applied. This function always returns the value 0, allowing you to add it to another function without changing the value. Together with the CURRENT function you can apply a color to a cell regardless of the value. For example: =...+STYLE(IF(CURRENT()>3;"red";"green")) applies the style "red" to the cell if the value is greater than 3, otherwise the style "green" is applied. Both cell formats have to be defined beforehand.</paragraph>
+         <paragraph xml-lang="en-US" id="par_id3150826" role="paragraph"><ahelp hid="HID_FUNC_VORLAGE">Applies a style to the cell containing the formula.</ahelp> After a set amount of time, another style can be applied. This function always returns the value 0, allowing you to add it to another function without changing the value. Together with the CURRENT function you can apply a color to a cell depending on the value. For example: =...+STYLE(IF(CURRENT()>3;"red";"green")) applies the style "red" to the cell if the value is greater than 3, otherwise the style "green" is applied. Both cell formats have to be defined beforehand.</paragraph>
          <paragraph xml-lang="en-US" id="hd_id3145373" role="heading" level="3">Syntax</paragraph>
          <paragraph xml-lang="en-US" id="par_id3149302" role="code">STYLE("Style"; Time; "Style2")</paragraph>
          <paragraph xml-lang="en-US" id="par_id3150596" role="paragraph">


More information about the Libreoffice-commits mailing list