Related: tdf#126573 Add Excel2021 array function FILTER to Calc
Add ocFilter to matrix (array) functions.
Some follow-up cosmetic clean.
Follow up commit of b0791dd921
Change-Id: I4c3c786fe14ab870be8c43211ca6a76c5ff6ac6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164847
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
This commit is contained in:
parent
f3f3ea4cc9
commit
e5361d0ef0
2 changed files with 3 additions and 2 deletions
|
@ -1230,6 +1230,7 @@ bool FormulaCompiler::IsMatrixFunction( OpCode eOpCode )
|
|||
case ocMatrixUnit :
|
||||
case ocModalValue_Multi :
|
||||
case ocFourier :
|
||||
case ocFilter :
|
||||
return true;
|
||||
default:
|
||||
{
|
||||
|
|
|
@ -4187,12 +4187,12 @@ const TranslateId SC_OPCODE_RANDBETWEEN_NV_ARY[] =
|
|||
const TranslateId SC_OPCODE_FILTER_ARY[] =
|
||||
{
|
||||
NC_("SC_OPCODE_FILTER", "Filters an array based on a Boolean (True/False) array."),
|
||||
NC_("SC_OPCODE_FILTER", "Range "),
|
||||
NC_("SC_OPCODE_FILTER", "Range"),
|
||||
NC_("SC_OPCODE_FILTER", "The array, or range to filter."),
|
||||
NC_("SC_OPCODE_FILTER", "Include"),
|
||||
NC_("SC_OPCODE_FILTER", "A Boolean array whose height or width is the same as the array."),
|
||||
NC_("SC_OPCODE_FILTER", "Result if empty"),
|
||||
NC_("SC_OPCODE_FILTER", "The value to return if all values in the included array are empty (filter returns nothing)")
|
||||
NC_("SC_OPCODE_FILTER", "The value to return if all values in the included array are empty (filter returns nothing).")
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
Loading…
Reference in a new issue