25#include <compiler.hxx>
26#include <compiler.hrc>
33#include <rtl/ustring.hxx>
34#include <rtl/ustrbuf.hxx>
37#include <osl/diagnose.h>
69 sal_uInt16 nFunctionFlags;
95 sal_uInt16 nVarArgsLimit;
103 pDefArgFlags (nullptr),
164 aSig.append(sep +
" " );
169 if (nLastSuppressed <
nArgCount && nLastAdded < nLastSuppressed &&
170 aSig.getLength() >= 2)
171 aSig.setLength(aSig.getLength() - 2);
205 +
"2" + sep +
" ... " );
209 return aSig.makeStringAndClear();
221 if( !aParamList.isEmpty() )
223 aSig.append(
"( " + aParamList
230 return aSig.makeStringAndClear();
237 OUStringBuffer aFormula;
242 if (
nArgCount > 0 && !_aArguments.empty() && !_aArguments[0].isEmpty())
244 ::std::vector< OUString >::const_iterator aIter = _aArguments.begin();
245 ::std::vector< OUString >::const_iterator aEnd = _aArguments.end();
247 aFormula.append( *aIter );
249 while( aIter != aEnd && !aIter->isEmpty() )
251 aFormula.append( sep + *aIter );
256 aFormula.append(
")" );
258 return aFormula.makeStringAndClear();
295 sal_uInt16
value = 0;
304 for (sal_uInt16
i=0;
i < nArgs; ++
i)
306 _rArguments.push_back(
i);
321 if ( !aIntName.isEmpty() )
331 OSL_FAIL(
"couldn't initialize add-in function" );
381#define ENTRY(CODE) CODE, SAL_N_ELEMENTS(CODE)
384 : mbEnglishFunctionNames( bEnglishFunctionNames )
386 sal_Int32 nMaxFuncNameLen = 0;
391 static const ScFuncDescCore aDescs[] =
393 {
SC_OPCODE_IF,
ENTRY(SC_OPCODE_IF_ARY), 0,
ID_FUNCTION_GRP_LOGIC,
HID_FUNC_WENN, 3, { 0, 1, 1 }, 0 },
497 {
SC_OPCODE_CEIL,
ENTRY(SC_OPCODE_CEIL_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_OBERGRENZE, 3, { 0, 1, 1 }, 0 },
498 {
SC_OPCODE_FLOOR,
ENTRY(SC_OPCODE_FLOOR_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_UNTERGRENZE, 3, { 0, 1, 1 }, 0 },
513 {
SC_OPCODE_GET_DATE,
ENTRY(SC_OPCODE_GET_DATE_ARY), 0,
ID_FUNCTION_GRP_DATETIME,
HID_FUNC_DATUM, 3, { 0, 0, 0 }, 0 },
514 {
SC_OPCODE_GET_TIME,
ENTRY(SC_OPCODE_GET_TIME_ARY), 0,
ID_FUNCTION_GRP_DATETIME,
HID_FUNC_ZEIT, 3, { 0, 0, 0 }, 0 },
516 {
SC_OPCODE_GET_DIFF_DATE_360,
ENTRY(SC_OPCODE_GET_DIFF_DATE_360_ARY), 0,
ID_FUNCTION_GRP_DATETIME,
HID_FUNC_TAGE360, 3, { 0, 0, 1 }, 0 },
530 {
SC_OPCODE_B,
ENTRY(SC_OPCODE_B_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_B, 4, { 0, 0, 0, 1 }, 0 },
531 {
SC_OPCODE_NORM_DIST,
ENTRY(SC_OPCODE_NORM_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_NORMVERT, 4, { 0, 0, 0, 1 }, 0 },
532 {
SC_OPCODE_EXP_DIST,
ENTRY(SC_OPCODE_EXP_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_EXPONVERT, 3, { 0, 0, 0 }, 0 },
533 {
SC_OPCODE_BINOM_DIST,
ENTRY(SC_OPCODE_BINOM_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_BINOMVERT, 4, { 0, 0, 0, 0 }, 0 },
534 {
SC_OPCODE_POISSON_DIST,
ENTRY(SC_OPCODE_POISSON_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_POISSON, 3, { 0, 0, 1 }, 0 },
539 {
SC_OPCODE_PV,
ENTRY(SC_OPCODE_PV_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_BW, 5, { 0, 0, 0, 1, 1 }, 0 },
540 {
SC_OPCODE_SYD,
ENTRY(SC_OPCODE_SYD_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_DIA, 4, { 0, 0, 0, 0 }, 0 },
541 {
SC_OPCODE_DDB,
ENTRY(SC_OPCODE_DDB_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_GDA, 5, { 0, 0, 0, 0, 1 }, 0 },
542 {
SC_OPCODE_DB,
ENTRY(SC_OPCODE_DB_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_GDA2, 5, { 0, 0, 0, 0, 1 }, 0 },
543 {
SC_OPCODE_VBD ,
ENTRY(SC_OPCODE_VBD_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_VDB, 7, { 0, 0, 0, 0, 0, 1, 1 }, 0 },
544 {
SC_OPCODE_PDURATION,
ENTRY(SC_OPCODE_PDURATION_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_LAUFZEIT, 3, { 0, 0, 0 }, 0 },
545 {
SC_OPCODE_SLN,
ENTRY(SC_OPCODE_SLN_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_LIA, 3, { 0, 0, 0 }, 0 },
546 {
SC_OPCODE_PMT,
ENTRY(SC_OPCODE_PMT_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_RMZ, 5, { 0, 0, 0, 1, 1 }, 0 },
551 {
SC_OPCODE_RRI,
ENTRY(SC_OPCODE_RRI_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_ZGZ, 3, { 0, 0, 0 }, 0 },
552 {
SC_OPCODE_FV,
ENTRY(SC_OPCODE_FV_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_ZW, 5, { 0, 0, 0, 1, 1 }, 0 },
553 {
SC_OPCODE_NPER,
ENTRY(SC_OPCODE_NPER_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_ZZR, 5, { 0, 0, 0, 1, 1 }, 0 },
554 {
SC_OPCODE_RATE,
ENTRY(SC_OPCODE_RATE_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_ZINS, 6, { 0, 0, 0, 1, 1, 1 }, 0 },
555 {
SC_OPCODE_IPMT,
ENTRY(SC_OPCODE_IPMT_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_ZINSZ, 6, { 0, 0, 0, 0, 1, 1 }, 0 },
556 {
SC_OPCODE_PPMT,
ENTRY(SC_OPCODE_PPMT_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_KAPZ, 6, { 0, 0, 0, 0, 1, 1 }, 0 },
557 {
SC_OPCODE_CUM_IPMT,
ENTRY(SC_OPCODE_CUM_IPMT_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_KUMZINSZ, 6, { 0, 0, 0, 0, 0, 0 }, 0 },
558 {
SC_OPCODE_CUM_PRINC,
ENTRY(SC_OPCODE_CUM_PRINC_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_KUMKAPITAL, 6, { 0, 0, 0, 0, 0, 0 }, 0 },
562 {
SC_OPCODE_DB_SUM,
ENTRY(SC_OPCODE_DB_SUM_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBSUMME, 3, { 0, 0, 0 }, 0 },
563 {
SC_OPCODE_DB_COUNT,
ENTRY(SC_OPCODE_DB_COUNT_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBANZAHL, 3, { 0, 1, 0 }, 0 },
564 {
SC_OPCODE_DB_COUNT_2,
ENTRY(SC_OPCODE_DB_COUNT_2_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBANZAHL2, 3, { 0, 1, 0 }, 0 },
565 {
SC_OPCODE_DB_AVERAGE,
ENTRY(SC_OPCODE_DB_AVERAGE_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBMITTELWERT, 3, { 0, 0, 0 }, 0 },
566 {
SC_OPCODE_DB_GET,
ENTRY(SC_OPCODE_DB_GET_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBAUSZUG, 3, { 0, 0, 0 }, 0 },
567 {
SC_OPCODE_DB_MAX,
ENTRY(SC_OPCODE_DB_MAX_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBMAX, 3, { 0, 0, 0 }, 0 },
568 {
SC_OPCODE_DB_MIN,
ENTRY(SC_OPCODE_DB_MIN_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBMIN, 3, { 0, 0, 0 }, 0 },
569 {
SC_OPCODE_DB_PRODUCT,
ENTRY(SC_OPCODE_DB_PRODUCT_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBPRODUKT, 3, { 0, 0, 0 }, 0 },
570 {
SC_OPCODE_DB_STD_DEV,
ENTRY(SC_OPCODE_DB_STD_DEV_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBSTDABW, 3, { 0, 0, 0 }, 0 },
571 {
SC_OPCODE_DB_STD_DEV_P,
ENTRY(SC_OPCODE_DB_STD_DEV_P_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBSTDABWN, 3, { 0, 0, 0 }, 0 },
572 {
SC_OPCODE_DB_VAR,
ENTRY(SC_OPCODE_DB_VAR_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBVARIANZ, 3, { 0, 0, 0 }, 0 },
573 {
SC_OPCODE_DB_VAR_P,
ENTRY(SC_OPCODE_DB_VAR_P_ARY), 0,
ID_FUNCTION_GRP_DATABASE,
HID_FUNC_DBVARIANZEN, 3, { 0, 0, 0 }, 0 },
575 {
SC_OPCODE_ADDRESS,
ENTRY(SC_OPCODE_ADDRESS_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_ADRESSE, 5, { 0, 0, 1, 1, 1 }, 0 },
576 {
SC_OPCODE_MATCH,
ENTRY(SC_OPCODE_MATCH_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_VERGLEICH, 3, { 0, 0, 1 }, 0 },
579 {
SC_OPCODE_SUM_IF,
ENTRY(SC_OPCODE_SUM_IF_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_SUMMEWENN, 3, { 0, 0, 1 }, 0 },
580 {
SC_OPCODE_LOOKUP,
ENTRY(SC_OPCODE_LOOKUP_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_VERWEIS, 3, { 0, 0, 1 }, 0 },
581 {
SC_OPCODE_V_LOOKUP,
ENTRY(SC_OPCODE_V_LOOKUP_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_SVERWEIS, 4, { 0, 0, 0, 1 }, 0 },
582 {
SC_OPCODE_H_LOOKUP,
ENTRY(SC_OPCODE_H_LOOKUP_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_WVERWEIS, 4, { 0, 0, 0, 1 }, 0 },
583 {
SC_OPCODE_OFFSET,
ENTRY(SC_OPCODE_OFFSET_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_VERSCHIEBUNG, 5, { 0, 0, 0, 1, 1 }, 0 },
584 {
SC_OPCODE_INDEX,
ENTRY(SC_OPCODE_INDEX_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_INDEX, 4, { 0, 1, 1, 1 }, 0 },
587 {
SC_OPCODE_REPLACE,
ENTRY(SC_OPCODE_REPLACE_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_ERSETZEN, 4, { 0, 0, 0, 0 }, 0 },
588 {
SC_OPCODE_FIXED,
ENTRY(SC_OPCODE_FIXED_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_FEST, 3, { 0, 1, 1 }, 0 },
589 {
SC_OPCODE_FIND,
ENTRY(SC_OPCODE_FIND_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_FINDEN, 3, { 0, 0, 1 }, 0 },
593 {
SC_OPCODE_SEARCH,
ENTRY(SC_OPCODE_SEARCH_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_SUCHEN, 3, { 0, 0, 1 }, 0 },
594 {
SC_OPCODE_MID,
ENTRY(SC_OPCODE_MID_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_TEIL, 3, { 0, 0, 0 }, 0 },
596 {
SC_OPCODE_SUBSTITUTE,
ENTRY(SC_OPCODE_SUBSTITUTE_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_WECHSELN, 4, { 0, 0, 0, 1 }, 0 },
604 {
SC_OPCODE_HYP_GEOM_DIST,
ENTRY(SC_OPCODE_HYP_GEOM_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_HYPGEOMVERT, 5, { 0, 0, 0, 0, 1 }, 0 },
605 {
SC_OPCODE_LOG_NORM_DIST,
ENTRY(SC_OPCODE_LOG_NORM_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_LOGNORMVERT, 4, { 0, 1, 1, 1 }, 0 },
606 {
SC_OPCODE_T_DIST,
ENTRY(SC_OPCODE_T_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_TVERT, 3, { 0, 0, 0 }, 0 },
607 {
SC_OPCODE_F_DIST,
ENTRY(SC_OPCODE_F_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FVERT, 3, { 0, 0, 0 }, 0 },
609 {
SC_OPCODE_WEIBULL,
ENTRY(SC_OPCODE_WEIBULL_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_WEIBULL, 4, { 0, 0, 0, 0 }, 0 },
610 {
SC_OPCODE_NEG_BINOM_VERT,
ENTRY(SC_OPCODE_NEG_BINOM_VERT_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_NEGBINOMVERT, 3, { 0, 0, 0 }, 0 },
611 {
SC_OPCODE_CRIT_BINOM,
ENTRY(SC_OPCODE_CRIT_BINOM_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_KRITBINOM, 3, { 0, 0, 0 }, 0 },
615 {
SC_OPCODE_STANDARD,
ENTRY(SC_OPCODE_STANDARD_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_STANDARDISIERUNG, 3, { 0, 0, 0 }, 0 },
621 {
SC_OPCODE_Z_TEST,
ENTRY(SC_OPCODE_Z_TEST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_GTEST, 3, { 0, 0, 1 }, 0 },
622 {
SC_OPCODE_T_TEST,
ENTRY(SC_OPCODE_T_TEST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_TTEST, 4, { 0, 0, 0, 0 }, 0 },
623 {
SC_OPCODE_RANK,
ENTRY(SC_OPCODE_RANK_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_RANG, 3, { 0, 0, 1 }, 0 },
625 {
SC_OPCODE_PERCENT_RANK,
ENTRY(SC_OPCODE_PERCENT_RANK_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_QUANTILSRANG, 3, { 0, 0, 1 }, 0 },
630 {
SC_OPCODE_NORM_INV,
ENTRY(SC_OPCODE_NORM_INV_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_NORMINV, 3, { 0, 0, 0 }, 0 },
631 {
SC_OPCODE_CONFIDENCE,
ENTRY(SC_OPCODE_CONFIDENCE_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_KONFIDENZ, 3, { 0, 0, 0 }, 0 },
634 {
SC_OPCODE_PROB,
ENTRY(SC_OPCODE_PROB_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_WAHRSCHBEREICH, 4, { 0, 0, 0, 1 }, 0 },
642 {
SC_OPCODE_TREND,
ENTRY(SC_OPCODE_TREND_ARY), 0,
ID_FUNCTION_GRP_MATRIX,
HID_FUNC_TREND, 4, { 0, 1, 1, 1 }, 0 },
643 {
SC_OPCODE_GROWTH,
ENTRY(SC_OPCODE_GROWTH_ARY), 0,
ID_FUNCTION_GRP_MATRIX,
HID_FUNC_VARIATION, 4, { 0, 1, 1, 1 }, 0 },
644 {
SC_OPCODE_LINEST,
ENTRY(SC_OPCODE_LINEST_ARY), 0,
ID_FUNCTION_GRP_MATRIX,
HID_FUNC_RGP, 4, { 0, 1, 1, 1 }, 0 },
645 {
SC_OPCODE_LOGEST,
ENTRY(SC_OPCODE_LOGEST_ARY), 0,
ID_FUNCTION_GRP_MATRIX,
HID_FUNC_RKP, 4, { 0, 1, 1, 1 }, 0 },
646 {
SC_OPCODE_FORECAST,
ENTRY(SC_OPCODE_FORECAST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_SCHAETZER, 3, { 0, 0, 0 }, 0 },
648 {
SC_OPCODE_GAMMA_DIST,
ENTRY(SC_OPCODE_GAMMA_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_GAMMAVERT, 4, { 0, 0, 0, 1 }, 0 },
649 {
SC_OPCODE_GAMMA_INV,
ENTRY(SC_OPCODE_GAMMA_INV_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_GAMMAINV, 3, { 0, 0, 0 }, 0 },
651 {
SC_OPCODE_F_INV,
ENTRY(SC_OPCODE_F_INV_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FINV, 3, { 0, 0, 0 }, 0 },
653 {
SC_OPCODE_LOG_INV,
ENTRY(SC_OPCODE_LOG_INV_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_LOGINV, 3, { 0, 1, 1 }, 0 },
654 {
SC_OPCODE_BETA_DIST,
ENTRY(SC_OPCODE_BETA_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_BETAVERT, 6, { 0, 0, 0, 1, 1, 1 }, 0 },
655 {
SC_OPCODE_BETA_INV,
ENTRY(SC_OPCODE_BETA_INV_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_BETAINV, 5, { 0, 0, 0, 1, 1 }, 0 },
658 {
SC_OPCODE_STYLE,
ENTRY(SC_OPCODE_STYLE_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_VORLAGE, 3, { 0, 1, 1 }, 0 },
659 {
SC_OPCODE_DDE,
ENTRY(SC_OPCODE_DDE_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_DDE, 4, { 0, 0, 0, 1 }, 0 },
660 {
SC_OPCODE_BASE,
ENTRY(SC_OPCODE_BASE_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_BASIS, 3, { 0, 0, 1 }, 0 },
672 {
SC_OPCODE_CONVERT_OOO,
ENTRY(SC_OPCODE_CONVERT_OOO_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_UMRECHNEN, 3, { 0, 0, 0 }, 0 },
674 {
SC_OPCODE_MIRR,
ENTRY(SC_OPCODE_MIRR_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_QIKV, 3, { 0, 0, 0 }, 0 },
676 {
SC_OPCODE_ISPMT,
ENTRY(SC_OPCODE_ISPMT_ARY), 0,
ID_FUNCTION_GRP_FINANCIAL,
HID_FUNC_ISPMT, 4, { 0, 0, 0, 0 }, 0 },
678 {
SC_OPCODE_GET_PIVOT_DATA,
ENTRY(SC_OPCODE_GET_PIVOT_DATA_ARY), 0,
ID_FUNCTION_GRP_TABLE,
HID_FUNC_GETPIVOTDATA,
VAR_ARGS+2, { 0, 0, 1 }, 0 },
679 {
SC_OPCODE_EUROCONVERT,
ENTRY(SC_OPCODE_EUROCONVERT_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_EUROCONVERT, 5, { 0, 0, 0, 1, 1 }, 0 },
680 {
SC_OPCODE_NUMBERVALUE,
ENTRY(SC_OPCODE_NUMBERVALUE_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_NUMBERVALUE, 3, { 0, 1, 1 }, 0 },
681 {
SC_OPCODE_CHISQ_DIST,
ENTRY(SC_OPCODE_CHISQ_DIST_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_CHISQDIST, 3, { 0, 0, 1 }, 0 },
688 {
SC_OPCODE_GET_DATEDIF,
ENTRY(SC_OPCODE_GET_DATEDIF_ARY), 0,
ID_FUNCTION_GRP_DATETIME,
HID_FUNC_DATEDIF, 3, { 0, 0, 0 }, 0 },
690 {
SC_OPCODE_AVERAGE_IF,
ENTRY(SC_OPCODE_AVERAGE_IF_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_AVERAGEIF, 3, { 0, 0, 1 }, 0 },
691 {
SC_OPCODE_SUM_IFS,
ENTRY(SC_OPCODE_SUM_IFS_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_SUMIFS,
PAIRED_VAR_ARGS+1, { 0, 0, 0 }, 0 },
692 {
SC_OPCODE_AVERAGE_IFS,
ENTRY(SC_OPCODE_AVERAGE_IFS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_AVERAGEIFS,
PAIRED_VAR_ARGS+1, { 0, 0, 0 }, 0 },
698 {
SC_OPCODE_MIDB,
ENTRY(SC_OPCODE_MIDB_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_MIDB, 3, { 0, 0, 0 }, 0 },
707 {
SC_OPCODE_BETA_DIST_MS,
ENTRY(SC_OPCODE_BETA_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_BETADIST_MS, 6, { 0, 0, 0, 0, 1, 1 }, 0 },
708 {
SC_OPCODE_BETA_INV_MS,
ENTRY(SC_OPCODE_BETA_INV_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_BETAINV_MS, 5, { 0, 0, 0, 1, 1 }, 0 },
709 {
SC_OPCODE_BINOM_DIST_MS,
ENTRY(SC_OPCODE_BINOM_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_BINOM_DIST_MS, 4, { 0, 0, 0, 0 }, 0 },
710 {
SC_OPCODE_BINOM_INV,
ENTRY(SC_OPCODE_BINOM_INV_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_BINOM_INV_MS, 3, { 0, 0, 0 }, 0 },
714 {
SC_OPCODE_CHISQ_DIST_MS,
ENTRY(SC_OPCODE_CHISQ_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_CHISQDIST_MS, 3, { 0, 0, 0 }, 0 },
716 {
SC_OPCODE_CONFIDENCE_N,
ENTRY(SC_OPCODE_CONFIDENCE_N_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_CONFIDENCE_N, 3, { 0, 0, 0 }, 0 },
717 {
SC_OPCODE_CONFIDENCE_T,
ENTRY(SC_OPCODE_CONFIDENCE_T_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_CONFIDENCE_T, 3, { 0, 0, 0 }, 0 },
718 {
SC_OPCODE_F_DIST_LT,
ENTRY(SC_OPCODE_F_DIST_LT_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_F_DIST_LT, 4, { 0, 0, 0, 1 }, 0 },
719 {
SC_OPCODE_F_DIST_RT,
ENTRY(SC_OPCODE_F_DIST_RT_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_F_DIST_RT, 3, { 0, 0, 0 }, 0 },
720 {
SC_OPCODE_F_INV_LT,
ENTRY(SC_OPCODE_F_INV_LT_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_F_INV_LT, 3, { 0, 0, 0 }, 0 },
721 {
SC_OPCODE_F_INV_RT,
ENTRY(SC_OPCODE_F_INV_RT_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_F_INV_RT, 3, { 0, 0, 0 }, 0 },
723 {
SC_OPCODE_EXP_DIST_MS,
ENTRY(SC_OPCODE_EXP_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_EXP_DIST_MS, 3, { 0, 0, 0 }, 0 },
724 {
SC_OPCODE_HYP_GEOM_DIST_MS,
ENTRY(SC_OPCODE_HYP_GEOM_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_HYP_GEOM_DIST_MS, 5, { 0, 0, 0, 0, 0 }, 0 },
725 {
SC_OPCODE_POISSON_DIST_MS,
ENTRY(SC_OPCODE_POISSON_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_POISSON_DIST_MS, 3, { 0, 0, 0 }, 0 },
726 {
SC_OPCODE_WEIBULL_MS,
ENTRY(SC_OPCODE_WEIBULL_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_WEIBULL_DIST_MS, 4, { 0, 0, 0, 0 }, 0 },
727 {
SC_OPCODE_GAMMA_DIST_MS,
ENTRY(SC_OPCODE_GAMMA_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_GAMMADIST_MS, 4, { 0, 0, 0, 0 }, 0 },
728 {
SC_OPCODE_GAMMA_INV_MS,
ENTRY(SC_OPCODE_GAMMA_INV_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_GAMMAINV_MS, 3, { 0, 0, 0 }, 0 },
729 {
SC_OPCODE_LOG_NORM_DIST_MS,
ENTRY(SC_OPCODE_LOG_NORM_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_LOGNORMDIST_MS, 4, { 0, 0, 0, 0 }, 0 },
730 {
SC_OPCODE_LOG_INV_MS,
ENTRY(SC_OPCODE_LOG_INV_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_LOGINV, 3, { 0, 0, 0 }, 0 },
731 {
SC_OPCODE_NORM_DIST_MS,
ENTRY(SC_OPCODE_NORM_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_NORMDIST_MS, 4, { 0, 0, 0, 0 }, 0 },
732 {
SC_OPCODE_NORM_INV_MS,
ENTRY(SC_OPCODE_NORM_INV_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_NORMINV_MS, 3, { 0, 0, 0 }, 0 },
735 {
SC_OPCODE_T_DIST_MS,
ENTRY(SC_OPCODE_T_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_TDIST_MS, 3, { 0, 0, 0 }, 0 },
740 {
SC_OPCODE_T_TEST_MS,
ENTRY(SC_OPCODE_T_TEST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_TTEST_MS, 4, { 0, 0, 0, 0 }, 0 },
742 {
SC_OPCODE_PERCENT_RANK_INC,
ENTRY(SC_OPCODE_PERCENT_RANK_INC_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_PERCENTRANK_INC, 3, { 0, 0, 1 }, 0 },
744 {
SC_OPCODE_RANK_EQ,
ENTRY(SC_OPCODE_RANK_EQ_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_RANK_EQ, 3, { 0, 0, 1 }, 0 },
746 {
SC_OPCODE_PERCENT_RANK_EXC,
ENTRY(SC_OPCODE_PERCENT_RANK_EXC_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_PERCENTRANK_EXC, 3, { 0, 0, 1 }, 0 },
748 {
SC_OPCODE_RANK_AVG,
ENTRY(SC_OPCODE_RANK_AVG_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_RANK_AVG, 3, { 0, 0, 1 }, 0 },
751 {
SC_OPCODE_NEG_BINOM_DIST_MS,
ENTRY(SC_OPCODE_NEG_BINOM_DIST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_NEGBINOMDIST_MS, 4, { 0, 0, 0, 0 }, 0 },
752 {
SC_OPCODE_Z_TEST_MS,
ENTRY(SC_OPCODE_Z_TEST_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_Z_TEST_MS, 3, { 0, 0, 1 }, 0 },
756 {
SC_OPCODE_NETWORKDAYS_MS,
ENTRY(SC_OPCODE_NETWORKDAYS_MS_ARY), 0,
ID_FUNCTION_GRP_DATETIME,
HID_FUNC_NETWORKDAYS_MS, 4, { 0, 0, 1, 1 }, 0 },
757 {
SC_OPCODE_WORKDAY_MS,
ENTRY(SC_OPCODE_WORKDAY_MS_ARY), 0,
ID_FUNCTION_GRP_DATETIME,
HID_FUNC_WORKDAY_MS, 4, { 0, 0, 1, 1 }, 0 },
758 {
SC_OPCODE_AGGREGATE,
ENTRY(SC_OPCODE_AGGREGATE_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_AGGREGATE,
VAR_ARGS+3, { 0, 0, 0, 1 }, 0 },
759 {
SC_OPCODE_COLOR,
ENTRY(SC_OPCODE_COLOR_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_COLOR, 4, { 0, 0, 0, 1 }, 0 },
760 {
SC_OPCODE_CEIL_MATH,
ENTRY(SC_OPCODE_CEIL_MATH_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_CEIL_MATH, 3, { 0, 1, 1 }, 0 },
762 {
SC_OPCODE_NETWORKDAYS,
ENTRY(SC_OPCODE_NETWORKDAYS_ARY), 0,
ID_FUNCTION_GRP_DATETIME,
HID_FUNC_NETWORKDAYS, 4, { 0, 0, 1, 1 }, 0 },
763 {
SC_OPCODE_FLOOR_MATH,
ENTRY(SC_OPCODE_FLOOR_MATH_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_FLOOR_MATH, 3, { 0, 1, 1 }, 0 },
765 {
SC_OPCODE_RAWSUBTRACT,
ENTRY(SC_OPCODE_RAWSUBTRACT_ARY), 0,
ID_FUNCTION_GRP_MATH,
HID_FUNC_RAWSUBTRACT,
VAR_ARGS+2, { 0, 0, 1 }, 0 },
767 {
SC_OPCODE_FORECAST_ETS_ADD,
ENTRY(SC_OPCODE_FORECAST_ETS_ADD_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_ETS_ADD, 6, { 0, 0, 0, 1, 1, 1 }, 0 },
768 {
SC_OPCODE_FORECAST_ETS_SEA,
ENTRY(SC_OPCODE_FORECAST_ETS_SEA_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_ETS_SEA, 4, { 0, 0, 1, 1 }, 0 },
769 {
SC_OPCODE_FORECAST_ETS_MUL,
ENTRY(SC_OPCODE_FORECAST_ETS_MUL_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_ETS_MUL, 6, { 0, 0, 0, 1, 1, 1 }, 0 },
770 {
SC_OPCODE_FORECAST_ETS_PIA,
ENTRY(SC_OPCODE_FORECAST_ETS_PIA_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_ETS_PIA, 7, { 0, 0, 0, 1, 1, 1, 1 }, 0 },
771 {
SC_OPCODE_FORECAST_ETS_PIM,
ENTRY(SC_OPCODE_FORECAST_ETS_PIM_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_ETS_PIM, 7, { 0, 0, 0, 1, 1, 1, 1 }, 0 },
772 {
SC_OPCODE_FORECAST_ETS_STA,
ENTRY(SC_OPCODE_FORECAST_ETS_STA_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_ETS_STA, 6, { 0, 0, 0, 1, 1, 1 }, 0 },
773 {
SC_OPCODE_FORECAST_ETS_STM,
ENTRY(SC_OPCODE_FORECAST_ETS_STM_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_ETS_STM, 6, { 0, 0, 0, 1, 1, 1 }, 0 },
774 {
SC_OPCODE_FORECAST_LIN,
ENTRY(SC_OPCODE_FORECAST_LIN_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_FORECAST_LIN, 3, { 0, 0, 0 }, 0 },
776 {
SC_OPCODE_TEXTJOIN_MS,
ENTRY(SC_OPCODE_TEXTJOIN_MS_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_TEXTJOIN_MS,
VAR_ARGS + 2, { 0, 0, 0 }, 0 },
778 {
SC_OPCODE_SWITCH_MS,
ENTRY(SC_OPCODE_SWITCH_MS_ARY), 0,
ID_FUNCTION_GRP_LOGIC,
HID_FUNC_SWITCH_MS,
PAIRED_VAR_ARGS + 1, { 0, 0, 0 }, 0 },
779 {
SC_OPCODE_MINIFS_MS,
ENTRY(SC_OPCODE_MINIFS_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_MINIFS_MS,
PAIRED_VAR_ARGS + 1, { 0, 0, 0 }, 0 },
780 {
SC_OPCODE_MAXIFS_MS,
ENTRY(SC_OPCODE_MAXIFS_MS_ARY), 0,
ID_FUNCTION_GRP_STATISTIC,
HID_FUNC_MAXIFS_MS,
PAIRED_VAR_ARGS + 1, { 0, 0, 0 }, 0 },
782 {
SC_OPCODE_REPLACEB,
ENTRY(SC_OPCODE_REPLACEB_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_REPLACEB, 4, { 0, 0, 0, 0 }, 0 },
783 {
SC_OPCODE_FINDB,
ENTRY(SC_OPCODE_FINDB_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_FINDB, 3, { 0, 0, 1 }, 0 },
784 {
SC_OPCODE_SEARCHB,
ENTRY(SC_OPCODE_SEARCHB_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_SEARCHB, 3, { 0, 0, 1 }, 0 },
785 {
SC_OPCODE_REGEX,
ENTRY(SC_OPCODE_REGEX_ARY), 0,
ID_FUNCTION_GRP_TEXT,
HID_FUNC_REGEX, 4, { 0, 0, 1, 1 }, 0 },
786 {
SC_OPCODE_FOURIER,
ENTRY(SC_OPCODE_FOURIER_ARY), 0,
ID_FUNCTION_GRP_MATRIX,
HID_FUNC_FOURIER, 5, { 0, 0, 1, 1, 1 }, 0 },
791 sal_Int32 nStrLen = 0;
792 ::std::vector<const ScFuncDesc*> tmpFuncVector;
798 ScFuncDescCore
const * pDescsEnd = aDescs +
SAL_N_ELEMENTS(aDescs);
801 const ScFuncDescCore *pEntry = std::lower_bound(aDescs, pDescsEnd,
i,
802 [](
const ScFuncDescCore &rItem, sal_uInt16 key)
804 return rItem.nOpCode < key;
809 if (pEntry != pDescsEnd && pEntry->nOpCode ==
i && pEntry->pResource)
812 bool bSuppressed =
false;
823 tmpFuncVector.push_back(pDesc);
826 if (nStrLen > nMaxFuncNameLen)
827 nMaxFuncNameLen = nStrLen;
837 OUString aDefArgNameValue =
"value";
838 OUString aDefArgNameString =
"string";
839 OUString aDefArgNameValues =
"values";
840 OUString aDefArgNameStrings =
"strings";
841 OUString aDefArgNameCells =
"cells";
842 OUString aDefArgNameNone =
"none";
843 OUString aDefArgDescValue =
"a value";
844 OUString aDefArgDescString =
"a string";
845 OUString aDefArgDescValues =
"array of values";
846 OUString aDefArgDescStrings =
"array of strings";
847 OUString aDefArgDescCells =
"range of cells";
848 OUString aDefArgDescNone =
"none";
850 OUString aArgName, aArgDesc;
852 for (
auto const& legacyFunc : rLegacyFuncColl)
854 const LegacyFuncData *
const pLegacyFuncData = legacyFunc.second.get();
871 for (sal_uInt16 j = 0; j < nArgs; ++j)
874 pLegacyFuncData->
getParamDesc( aArgName, aArgDesc, j+1 );
875 if ( !aArgName.isEmpty() )
901 if ( !aArgDesc.isEmpty() )
930 tmpFuncVector.push_back(pDesc);
932 if ( nStrLen > nMaxFuncNameLen)
933 nMaxFuncNameLen = nStrLen;
940 for (
tools::Long nFunc=0; nFunc<nUnoCount; nFunc++)
947 tmpFuncVector.push_back(pDesc);
949 if (nStrLen > nMaxFuncNameLen)
950 nMaxFuncNameLen = nStrLen;
1034 OSL_ENSURE( pFuncList,
"Functionlist not found." );
1043 OSL_ENSURE((pDesc->nCategory) <
MAX_FUNCCAT,
"Unknown category");
1045 ++catCount[pDesc->nCategory];
1059 for (
auto const& elemList :
aCatLists[0])
1062 aCatLists[elemList->nCategory].push_back(elemList);
1078 for (pDesc =
First(); pDesc; pDesc =
Next())
1079 if (pDesc->
nFIndex == nFIndex)
1086 OSL_ENSURE( nCategory <
MAX_FUNCCAT,
"Unknown category" );
1136 _rLastRUFunctions.clear();
1140 for (sal_uInt16
i = 0;
i < nLRUFuncCount; ++
i)
1142 _rLastRUFunctions.push_back(
Get( pLRUListIds[
i] ) );
1151 OSL_FAIL(
"Invalid category number!");
1155 return ScResId(RID_FUNCTION_CATEGORIES[_nCategoryNumber]);
1178 const sal_uInt16 nOpCode = rEntry.nOpCode;
1179 sal_uInt16 nFunctionFlags = rEntry.nFunctionFlags;
1182 rbSuppressed = ((nFunctionFlags & 1) != 0);
1183 pDesc->
mbHidden = ((nFunctionFlags & 2) != 0);
1185 pDesc->
sHelpId = rEntry.pHelpId;
1188 sal_uInt16 nVarArgsSet = 0;
1205 for (sal_uInt16
i = 0;
i < nArgs; ++
i)
1221 for (sal_uInt16
i = 0;
i < nArgs; ++
i)
1224 if (
nIndex < rEntry.nResourceLen)
1226 if (
nIndex + 1 < rEntry.nResourceLen)
1232 nVarArgsSet > 0 &&
i > nVarArgsSet && (
i == nArgs-1 ||
i == nArgs-2) &&
1235 sal_uInt16 nPrev =
i - nVarArgsSet;
::boost::spirit::classic::rule< ScannerT > argument
void getParamDesc(OUString &aName, OUString &aDesc, sal_uInt16 nParam) const
name and description of parameter nParam.
ParamType GetParamType(sal_uInt16 nIndex) const
sal_uInt16 GetParamCount() const
const OUString & GetInternalName() const
const OUString & GetModuleName() const
sal_uInt16 GetLRUFuncListCount() const
sal_uInt16 * GetLRUFuncList() const
Stores and generates human readable descriptions for spreadsheet-functions, e.g. functions used in fo...
std::vector< OUString > maDefArgDescs
Description(s) of parameter(s)
sal_uInt16 nArgCount
All parameter count, suppressed and unsuppressed.
virtual sal_uInt32 getParameterCount() const override
Returns number of arguments.
virtual void initArgumentInfo() const override
Requests function data from AddInCollection.
bool mbHidden
Whether function is hidden.
virtual void fillVisibleArgumentMapping(::std::vector< sal_uInt16 > &_rArguments) const override
Fills a mapping with indexes for non-suppressed arguments.
std::vector< OUString > maDefArgNames
Parameter name(s)
virtual OUString getParameterDescription(sal_uInt32 _nPos) const override
Returns description of parameter at given position.
OUString sHelpId
HelpId of function.
virtual OUString getFunctionName() const override
Returns the name of the function.
virtual OUString getDescription() const override
Returns the description of the function.
virtual OUString getHelpId() const override
Returns the help id of the function.
void Clear()
Clears the object.
sal_uInt16 nCategory
Function category.
virtual bool isParameterOptional(sal_uInt32 _nPos) const override
Returns true if parameter at given position is optional.
static bool compareByName(const ScFuncDesc *a, const ScFuncDesc *b)
Compares functions by name, respecting special characters.
sal_uInt16 GetSuppressedArgCount() const
Returns the number of non-suppressed arguments.
std::optional< OUString > mxFuncDesc
Description of function.
ParameterFlags * pDefArgFlags
Flags for each parameter.
virtual sal_Int32 getSuppressedArgumentCount() const override
virtual sal_uInt32 getVarArgsLimit() const override
Returns maximum number of (variable) arguments.
sal_uInt16 nFIndex
Unique function index.
virtual OUString getFormula(const ::std::vector< OUString > &_aArguments) const override
Returns the function signature with parameters from the passed string array.
virtual bool isHidden() const override
Returns whether function is hidden and not offered in the Function Wizard unless used in an expressio...
std::optional< OUString > mxFuncName
Function name.
virtual sal_uInt32 getVarArgsStart() const override
Returns start of variable arguments.
sal_uInt16 nVarArgsStart
Start of variable arguments, for numbering.
OUString GetParamList() const
Returns list of all parameter names.
virtual OUString getSignature() const override
Returns the full function signature.
virtual const formula::IFunctionCategory * getCategory() const override
Returns the category of the function.
bool bIncomplete
Incomplete argument info (set for add-in info from configuration)
sal_uInt16 nVarArgsLimit
Limit maximum of (variable) arguments, for numbering.
virtual OUString getParameterName(sal_uInt32 _nPos) const override
Returns name of parameter at given position.
virtual sal_uInt32 getCount() const override
virtual const formula::IFunctionDescription * getFunction(sal_uInt32 _nPos) const override
Gives the _nPos'th function in this category.
OUString m_sName
name of this category
const ::std::vector< const ScFuncDesc * > & m_rCategory
list of functions in this category
virtual sal_uInt32 getNumber() const override
virtual OUString getName() const override
sal_uInt32 m_nCategory
index number of this category
List of spreadsheet functions.
const ScFuncDesc * GetFunction(sal_uInt32 nIndex) const
const ScFuncDesc * First()
ScFunctionList(bool bEnglishFunctionNames)
sal_uInt32 GetCount() const
::std::vector< constScFuncDesc * >::iterator aFunctionListIter
position in function list
const ScFuncDesc * Next()
::std::vector< const ScFuncDesc * > aFunctionList
List of functions.
bool mbEnglishFunctionNames
std::vector< constScFuncDesc * >::const_iterator pCurCatListIter
position in current category
ScFunctionMgr()
Retrieves all calc functions, generates cumulative ('All') category, and the categories.
std::vector< const ScFuncDesc * > aCatLists[MAX_FUNCCAT]
array of all categories, 0 is the cumulative ('All') category
const ScFuncDesc * Next() const
Returns the next function of the current category.
virtual sal_uInt32 getCount() const override
virtual sal_Unicode getSingleToken(const formula::IFunctionManager::EToken _eToken) const override
Maps Etoken to character.
std::map< sal_uInt32, std::shared_ptr< ScFunctionCategory > > m_aCategories
map of category pos to IFunctionCategory
static OUString GetCategoryName(sal_uInt32 _nCategoryNumber)
Returns name of category.
std::vector< constScFuncDesc * >::const_iterator pCurCatListEnd
end of current category
const ScFuncDesc * Get(sal_uInt16 nFIndex) const
Returns function by index.
virtual const formula::IFunctionCategory * getCategory(sal_uInt32 nPos) const override
Returns a category.
const ScFuncDesc * First(sal_uInt16 nCategory=0) const
Returns the first function in category nCategory.
virtual void fillLastRecentlyUsedFunctions(::std::vector< const formula::IFunctionDescription * > &_rLastRUFunctions) const override
Appends the last recently used functions.
static LegacyFuncCollection * GetLegacyFuncCollection()
static SC_DLLPUBLIC ScUnoAddInCollection * GetAddInCollection()
static ScFunctionList * GetStarCalcFunctionList()
static CollatorWrapper & GetCaseCollator()
case-sensitive collator
static ScFunctionMgr * GetStarCalcFunctionMgr()
bool FillFunctionDesc(tools::Long nFunc, ScFuncDesc &rDesc, bool bEnglishFunctionNames)
const ScUnoAddInFuncData * GetFuncData(const OUString &rName, bool bComplete=false)
Only if bComplete is set, the function reference and argument types are initialized (component may ha...
tools::Long GetFuncCount()
OUString FindFunction(const OUString &rUpperName, bool bLocalFirst)
User entered name. rUpperName MUST already be upper case!
#define SC_OPCODE_NO_VALUE
#define SC_OPCODE_REPLACE
#define SC_OPCODE_CONFIDENCE_N
#define SC_OPCODE_RANK_EQ
#define SC_OPCODE_ST_DEV_P_MS
#define SC_OPCODE_CURRENT
#define SC_OPCODE_NOMINAL
#define SC_OPCODE_BAHTTEXT
#define SC_OPCODE_ST_DEV_S
#define SC_OPCODE_SUM_PRODUCT
#define SC_OPCODE_EXP_DIST_MS
#define SC_OPCODE_GET_TIME_VALUE
#define SC_OPCODE_PERCENTILE_INC
#define SC_OPCODE_F_DIST_LT
#define SC_OPCODE_FILTERXML
#define SC_OPCODE_NEG_BINOM_VERT
#define SC_OPCODE_CHI_TEST_MS
#define SC_OPCODE_IS_EVEN
#define SC_OPCODE_GET_DATE
#define SC_OPCODE_RANDOM_NV
#define SC_OPCODE_QUARTILE_EXC
#define SC_OPCODE_ADDRESS
#define SC_OPCODE_RANK_AVG
#define SC_OPCODE_DB_STD_DEV_P
#define SC_OPCODE_FORECAST_ETS_PIA
#define SC_OPCODE_FOURIER
#define SC_OPCODE_QUARTILE
#define SC_OPCODE_SUM_XMY2
#define SC_OPCODE_LOG_INV
#define SC_OPCODE_LOG_NORM_DIST
#define SC_OPCODE_AGGREGATE
#define SC_OPCODE_PRODUCT
#define SC_OPCODE_TAN_HYP
#define SC_OPCODE_LOG_NORM_DIST_MS
#define SC_OPCODE_GET_YEAR
#define SC_OPCODE_ARC_COT_HYP
#define SC_OPCODE_PEARSON
#define SC_OPCODE_T_DIST_MS
#define SC_OPCODE_MAT_TRANS
#define SC_OPCODE_GAMMA_INV_MS
#define SC_OPCODE_REPLACEB
#define SC_OPCODE_MODAL_VALUE_MS
#define SC_OPCODE_STANDARD
#define SC_OPCODE_SEARCHB
#define SC_OPCODE_MAT_INV
#define SC_OPCODE_T_TEST_MS
#define SC_OPCODE_GET_DIFF_DATE
#define SC_OPCODE_COUNT_IFS
#define SC_OPCODE_FISHER_INV
#define SC_OPCODE_DB_COUNT
#define SC_OPCODE_ST_DEV_A
#define SC_OPCODE_ERFC_MS
#define SC_OPCODE_POISSON_DIST
#define SC_OPCODE_NEG_BINOM_DIST_MS
#define SC_OPCODE_COVARIANCE_P
#define SC_OPCODE_GEO_MEAN
#define SC_OPCODE_PERCENTILE_EXC
#define SC_OPCODE_MAT_DET
#define SC_OPCODE_HYPERLINK
#define SC_OPCODE_IS_ERROR
#define SC_OPCODE_COSECANT_HYP
#define SC_OPCODE_QUARTILE_INC
#define SC_OPCODE_PERCENT_RANK_INC
#define SC_OPCODE_BINOM_DIST
#define SC_OPCODE_CURRENCY
#define SC_OPCODE_GET_HOUR
#define SC_OPCODE_ROUND_DOWN
#define SC_OPCODE_CEIL_PRECISE
#define SC_OPCODE_GET_MONTH
#define SC_OPCODE_SUM_X2MY2
#define SC_OPCODE_GET_TIME
#define SC_OPCODE_COLUMNS
#define SC_OPCODE_MINIFS_MS
#define SC_OPCODE_AVERAGE_IFS
#define SC_OPCODE_NORM_DIST_MS
#define SC_OPCODE_S_NORM_INV_MS
#define SC_OPCODE_HAR_MEAN
#define SC_OPCODE_PERMUTATION_A
#define SC_OPCODE_ARC_COT
#define SC_OPCODE_COT_HYP
#define SC_OPCODE_TRIM_MEAN
#define SC_OPCODE_IS_VALUE
#define SC_OPCODE_IS_NON_STRING
#define SC_OPCODE_COUNT_2
#define SC_OPCODE_CEIL_MS
#define SC_OPCODE_STD_NORM_DIST_MS
#define SC_OPCODE_PERCENTILE
#define SC_OPCODE_F_TEST_MS
#define SC_OPCODE_ISOWEEKNUM
#define SC_OPCODE_STD_NORM_DIST
#define SC_OPCODE_FREQUENCY
#define SC_OPCODE_ARC_TAN
#define SC_OPCODE_S_NORM_INV
#define SC_OPCODE_IS_LOGICAL
#define SC_OPCODE_ARC_COS_HYP
#define SC_OPCODE_T_DIST_2T
#define SC_OPCODE_F_INV_LT
#define SC_OPCODE_BETA_DIST_MS
#define SC_OPCODE_F_DIST_RT
#define SC_OPCODE_Z_TEST_MS
#define SC_OPCODE_MODAL_VALUE_MULTI
#define SC_OPCODE_WEEKNUM_OOO
#define SC_OPCODE_SUBSTITUTE
#define SC_OPCODE_FORECAST_ETS_STM
#define SC_OPCODE_CUM_PRINC
#define SC_OPCODE_IS_FORMULA
#define SC_OPCODE_BITRSHIFT
#define SC_OPCODE_AVERAGE
#define SC_OPCODE_ARC_SIN_HYP
#define SC_OPCODE_UNICHAR
#define SC_OPCODE_GAMMA_DIST_MS
#define SC_OPCODE_CUM_IPMT
#define SC_OPCODE_CHISQ_DIST_MS
#define SC_OPCODE_ENCODEURL
#define SC_OPCODE_SUB_TOTAL
#define SC_OPCODE_LOG_INV_MS
#define SC_OPCODE_WEBSERVICE
#define SC_OPCODE_COMBIN_A
#define SC_OPCODE_GET_DIFF_DATE_360
#define SC_OPCODE_BETA_DIST
#define SC_OPCODE_GAMMA_LN_MS
#define SC_OPCODE_GET_MIN
#define SC_OPCODE_GAMMA_LN
#define SC_OPCODE_GET_DAY_OF_WEEK
#define SC_OPCODE_NORM_DIST
#define SC_OPCODE_FORECAST_ETS_STA
#define SC_OPCODE_T_DIST_RT
#define SC_OPCODE_PDURATION
#define SC_OPCODE_WEIBULL
#define SC_OPCODE_UNICODE
#define SC_OPCODE_CHI_INV_MS
#define SC_OPCODE_FORECAST_ETS_ADD
#define SC_OPCODE_ARC_COS
#define SC_OPCODE_HYP_GEOM_DIST
#define SC_OPCODE_FLOOR_MS
#define SC_OPCODE_MAXIFS_MS
#define SC_OPCODE_ROUND_UP
#define SC_OPCODE_CHI_DIST_MS
#define SC_OPCODE_VAR_P_MS
#define SC_OPCODE_SECANT_HYP
#define SC_OPCODE_BINOM_DIST_MS
#define SC_OPCODE_BETA_INV
#define SC_OPCODE_TEXTJOIN_MS
#define SC_OPCODE_EUROCONVERT
#define SC_OPCODE_COSECANT
#define SC_OPCODE_PLUS_MINUS
#define SC_OPCODE_NETWORKDAYS
#define SC_OPCODE_GAMMA_INV
#define SC_OPCODE_BETA_INV_MS
#define SC_OPCODE_SUM_X2DY2
#define SC_OPCODE_ST_DEV_P
#define SC_OPCODE_BINOM_INV
#define SC_OPCODE_CONVERT_OOO
#define SC_OPCODE_AVERAGE_IF
#define SC_OPCODE_PERCENT_RANK_EXC
#define SC_OPCODE_RANDBETWEEN_NV
#define SC_OPCODE_ARC_TAN_2
#define SC_OPCODE_ST_DEV_P_A
#define SC_OPCODE_T_INV_2T
#define SC_OPCODE_IS_STRING
#define SC_OPCODE_CHI_TEST
#define SC_OPCODE_WEIBULL_MS
#define SC_OPCODE_CHI_DIST
#define SC_OPCODE_NETWORKDAYS_MS
#define SC_OPCODE_MODAL_VALUE
#define SC_OPCODE_GET_ACT_DATE
#define SC_OPCODE_CONFIDENCE_T
#define SC_OPCODE_CRIT_BINOM
#define SC_OPCODE_GAMMA_DIST
#define SC_OPCODE_WORKDAY_MS
#define SC_OPCODE_GET_PIVOT_DATA
#define SC_OPCODE_SIN_HYP
#define SC_OPCODE_ARC_SIN
#define SC_OPCODE_EASTERSUNDAY
#define SC_OPCODE_GET_ACT_TIME
#define SC_OPCODE_ERROR_TYPE
#define SC_OPCODE_BITLSHIFT
#define SC_OPCODE_FORECAST_LIN
#define SC_OPCODE_CONCAT_MS
#define SC_OPCODE_NORM_INV
#define SC_OPCODE_DB_COUNT_2
#define SC_OPCODE_AVERAGE_A
#define SC_OPCODE_POISSON_DIST_MS
#define SC_OPCODE_COS_HYP
#define SC_OPCODE_DECIMAL
#define SC_OPCODE_FORMULA
#define SC_OPCODE_DB_AVERAGE
#define SC_OPCODE_SWITCH_MS
#define SC_OPCODE_VAR_P_A
#define SC_OPCODE_GET_DATEDIF
#define SC_OPCODE_DB_VAR_P
#define SC_OPCODE_CHISQ_INV_MS
#define SC_OPCODE_MATRIX_UNIT
#define SC_OPCODE_FORECAST_ETS_SEA
#define SC_OPCODE_FLOOR_PRECISE
#define SC_OPCODE_GET_DATE_VALUE
#define SC_OPCODE_T_INV_MS
#define SC_OPCODE_CEIL_MATH
#define SC_OPCODE_CHI_INV
#define SC_OPCODE_COVARIANCE_S
#define SC_OPCODE_EXP_DIST
#define SC_OPCODE_AVE_DEV
#define SC_OPCODE_RAWSUBTRACT
#define SC_OPCODE_ROUNDSIG
#define SC_OPCODE_NUMBERVALUE
#define SC_OPCODE_FORECAST_ETS_MUL
#define SC_OPCODE_NORM_INV_MS
#define SC_OPCODE_CEIL_ISO
#define SC_OPCODE_COUNT_IF
#define SC_OPCODE_H_LOOKUP
#define SC_OPCODE_FORECAST_ETS_PIM
#define SC_OPCODE_ERROR_TYPE_ODF
#define SC_OPCODE_CHISQ_DIST
#define SC_OPCODE_COUNT_EMPTY_CELLS
#define SC_OPCODE_GET_SEC
#define SC_OPCODE_HYP_GEOM_DIST_MS
#define SC_OPCODE_GET_DAY
#define SC_OPCODE_MAT_MULT
#define SC_OPCODE_LAST_OPCODE_ID
#define SC_OPCODE_ARC_TAN_HYP
#define SC_OPCODE_DB_STD_DEV
#define SC_OPCODE_INTERCEPT
#define SC_OPCODE_FORECAST
#define SC_OPCODE_F_INV_RT
#define SC_OPCODE_V_LOOKUP
#define SC_OPCODE_IS_EMPTY
#define SC_OPCODE_PERCENT_RANK
#define SC_OPCODE_CONFIDENCE
#define SC_OPCODE_FLOOR_MATH
#define SC_OPCODE_SUM_IFS
#define SC_OPCODE_CHISQ_INV
#define SC_OPCODE_DB_PRODUCT
#define SC_OPCODE_INDIRECT
#define SC_OPCODE_IF_ERROR
static void ScFuncRes(const ScFuncDescCore &rEntry, ScFuncDesc *, bool &rbSuppressed)
#define SC_FUNCGROUP_COUNT
constexpr OUStringLiteral HID_FUNC_NEGBINOMDIST_MS
constexpr OUStringLiteral HID_FUNC_VARIANZA
constexpr OUStringLiteral HID_FUNC_KOMBINATIONEN
constexpr OUStringLiteral HID_FUNC_NORMVERT
constexpr OUStringLiteral HID_FUNC_LOGINV
constexpr OUStringLiteral HID_FUNC_F_DIST_LT
constexpr OUStringLiteral HID_FUNC_F_INV_LT
constexpr OUStringLiteral HID_FUNC_TTEST
constexpr OUStringLiteral HID_FUNC_ANZAHL
constexpr OUStringLiteral HID_FUNC_DEG
constexpr OUStringLiteral HID_FUNC_FALSCH
constexpr OUStringLiteral HID_FUNC_ISTLOG
constexpr OUStringLiteral HID_FUNC_KOMBINATIONEN2
constexpr OUStringLiteral HID_FUNC_FLOOR_MATH
constexpr OUStringLiteral HID_FUNC_SUMME
constexpr OUStringLiteral HID_FUNC_SUMMEXMY2
constexpr OUStringLiteral HID_FUNC_LOG
constexpr OUStringLiteral HID_FUNC_ZEIT
constexpr OUStringLiteral HID_FUNC_FLOOR_MS
constexpr OUStringLiteral HID_FUNC_XOR
constexpr OUStringLiteral HID_FUNC_NORMINV
constexpr OUStringLiteral HID_FUNC_ST_DEV_S
constexpr OUStringLiteral HID_FUNC_ERF_MS
constexpr OUStringLiteral HID_FUNC_TYP
constexpr OUStringLiteral HID_FUNC_ERSETZEN
constexpr OUStringLiteral HID_FUNC_RANG
constexpr OUStringLiteral HID_FUNC_CHIVERT_MS
constexpr OUStringLiteral HID_FUNC_INDIREKT
constexpr OUStringLiteral HID_FUNC_RANDBETWEEN_NV
constexpr OUStringLiteral HID_FUNC_LINKS
constexpr OUStringLiteral HID_FUNC_QIKV
constexpr OUStringLiteral HID_FUNC_ARABISCH
constexpr OUStringLiteral HID_FUNC_WAHRSCHBEREICH
constexpr OUStringLiteral HID_FUNC_NETWORKDAYS_MS
constexpr OUStringLiteral HID_FUNC_GANZZAHL
constexpr OUStringLiteral HID_FUNC_ISPMT
constexpr OUStringLiteral HID_FUNC_F_TEST_MS
constexpr OUStringLiteral HID_FUNC_VARIANZEN
constexpr OUStringLiteral HID_FUNC_CHIINV
constexpr OUStringLiteral HID_FUNC_TAGE
constexpr OUStringLiteral HID_FUNC_SUMMEX2PY2
constexpr OUStringLiteral HID_FUNC_PEARSON
constexpr OUStringLiteral HID_FUNC_BINOM_DIST_MS
constexpr OUStringLiteral HID_FUNC_ANZAHLLEEREZELLEN
constexpr OUStringLiteral HID_FUNC_KLEIN
constexpr OUStringLiteral HID_FUNC_RUNDEN
constexpr OUStringLiteral HID_FUNC_BINOM_INV_MS
constexpr OUStringLiteral HID_FUNC_SUMQUADABW
constexpr OUStringLiteral HID_FUNC_VARIATION
constexpr OUStringLiteral HID_FUNC_DDE
constexpr OUStringLiteral HID_FUNC_HAEUFIGKEIT
constexpr OUStringLiteral HID_FUNC_STABWN
constexpr OUStringLiteral HID_FUNC_TREND
constexpr OUStringLiteral HID_FUNC_ASC
constexpr OUStringLiteral HID_FUNC_VARIANZ
constexpr OUStringLiteral HID_FUNC_JETZT
constexpr OUStringLiteral HID_FUNC_ZELLE
constexpr OUStringLiteral HID_FUNC_PI
constexpr OUStringLiteral HID_FUNC_BITLSHIFT
constexpr OUStringLiteral HID_FUNC_CHIINV_MS
constexpr OUStringLiteral HID_FUNC_TABELLEN
constexpr OUStringLiteral HID_FUNC_SKEWP
constexpr OUStringLiteral HID_FUNC_NBW
constexpr OUStringLiteral HID_FUNC_MONAT
constexpr OUStringLiteral HID_FUNC_FISHERINV
constexpr OUStringLiteral HID_FUNC_GAMMAINV_MS
constexpr OUStringLiteral HID_FUNC_WVERWEIS
constexpr OUStringLiteral HID_FUNC_MODAL_VALUE_MULTI
constexpr OUStringLiteral HID_FUNC_ZINS
constexpr OUStringLiteral HID_FUNC_KUERZEN
constexpr OUStringLiteral HID_FUNC_VAR_S
constexpr OUStringLiteral HID_FUNC_VERSCHIEBUNG
constexpr OUStringLiteral HID_FUNC_BITOR
constexpr OUStringLiteral HID_FUNC_ARSINHYP
constexpr OUStringLiteral HID_FUNC_AUFRUNDEN
constexpr OUStringLiteral HID_FUNC_WOCHENTAG
constexpr OUStringLiteral HID_FUNC_RANK_EQ
constexpr OUStringLiteral HID_FUNC_WERT
constexpr OUStringLiteral HID_FUNC_DATUM
constexpr OUStringLiteral HID_FUNC_GAMMADIST_MS
constexpr OUStringLiteral HID_FUNC_POISSON_DIST_MS
constexpr OUStringLiteral HID_FUNC_SPALTEN
constexpr OUStringLiteral HID_FUNC_QUADRATESUMME
constexpr OUStringLiteral HID_FUNC_TINV
constexpr OUStringLiteral HID_FUNC_STANDNORMINV
constexpr OUStringLiteral HID_FUNC_PHI
constexpr OUStringLiteral HID_FUNC_GETPIVOTDATA
constexpr OUStringLiteral HID_FUNC_CODE
constexpr OUStringLiteral HID_FUNC_QUANTIL
constexpr OUStringLiteral HID_FUNC_VERWEIS
constexpr OUStringLiteral HID_FUNC_FORECAST_ETS_STM
constexpr OUStringLiteral HID_FUNC_UNICHAR
constexpr OUStringLiteral HID_FUNC_BEREICHE
constexpr OUStringLiteral HID_FUNC_TAGE360
constexpr OUStringLiteral HID_FUNC_MINA
constexpr OUStringLiteral HID_FUNC_FVERT
constexpr OUStringLiteral HID_FUNC_SUMIFS
constexpr OUStringLiteral HID_FUNC_COT
constexpr OUStringLiteral HID_FUNC_ST_DEV_P_MS
constexpr OUStringLiteral HID_FUNC_B
constexpr OUStringLiteral HID_FUNC_ARCTAN
constexpr OUStringLiteral HID_FUNC_REPLACEB
constexpr OUStringLiteral HID_FUNC_DBPRODUKT
constexpr OUStringLiteral HID_FUNC_SPALTE
constexpr OUStringLiteral HID_FUNC_LOGNORMVERT
constexpr OUStringLiteral HID_FUNC_UMRECHNEN
constexpr OUStringLiteral HID_FUNC_VORLAGE
constexpr OUStringLiteral HID_FUNC_ZEICHEN
constexpr OUStringLiteral HID_FUNC_TEXT
constexpr OUStringLiteral HID_FUNC_CHISQDIST
constexpr OUStringLiteral HID_FUNC_ZUFALLSZAHL
constexpr OUStringLiteral HID_FUNC_CEIL_PRECISE
constexpr OUStringLiteral HID_FUNC_COUNTIFS
constexpr OUStringLiteral HID_FUNC_HYP_GEOM_DIST_MS
constexpr OUStringLiteral HID_FUNC_EINHEITSMATRIX
constexpr OUStringLiteral HID_FUNC_GAMMA
constexpr OUStringLiteral HID_FUNC_TDIST_RT
constexpr OUStringLiteral HID_FUNC_JAHR
constexpr OUStringLiteral HID_FUNC_ISTNV
constexpr OUStringLiteral HID_FUNC_NORMINV_MS
constexpr OUStringLiteral HID_FUNC_TABELLE
constexpr OUStringLiteral HID_FUNC_GAMMAINV
constexpr OUStringLiteral HID_FUNC_PERCENTILE_EXC
constexpr OUStringLiteral HID_FUNC_BAHTTEXT
constexpr OUStringLiteral HID_FUNC_DIA
constexpr OUStringLiteral HID_FUNC_INDEX
constexpr OUStringLiteral HID_FUNC_FISHER
constexpr OUStringLiteral HID_FUNC_FORECAST_ETS_PIM
constexpr OUStringLiteral HID_FUNC_LOG10
constexpr OUStringLiteral HID_FUNC_STD_NORMINV_MS
constexpr OUStringLiteral HID_FUNC_MAX
constexpr OUStringLiteral HID_FUNC_WIEDERHOLEN
constexpr OUStringLiteral HID_FUNC_RAND_NV
constexpr OUStringLiteral HID_FUNC_RGP
constexpr OUStringLiteral HID_FUNC_LEFTB
constexpr OUStringLiteral HID_FUNC_IDENTISCH
constexpr OUStringLiteral HID_FUNC_TEIL
constexpr OUStringLiteral HID_FUNC_LN
constexpr OUStringLiteral HID_FUNC_MIDB
constexpr OUStringLiteral HID_FUNC_FORECAST_ETS_PIA
constexpr OUStringLiteral HID_FUNC_ANZAHL2
constexpr OUStringLiteral HID_FUNC_ACHSENABSCHNITT
constexpr OUStringLiteral HID_FUNC_CONFIDENCE_N
constexpr OUStringLiteral HID_FUNC_TEXTJOIN_MS
constexpr OUStringLiteral HID_FUNC_STABWNA
constexpr OUStringLiteral HID_FUNC_IFERROR
constexpr OUStringLiteral HID_FUNC_SWITCH_MS
constexpr OUStringLiteral HID_FUNC_WEIBULL_DIST_MS
constexpr OUStringLiteral HID_FUNC_ARCTAN2
constexpr OUStringLiteral HID_FUNC_VARIATIONEN
constexpr OUStringLiteral HID_FUNC_NOMINAL
constexpr OUStringLiteral HID_FUNC_AGGREGATE
constexpr OUStringLiteral HID_FUNC_NV
constexpr OUStringLiteral HID_FUNC_MAXA
constexpr OUStringLiteral HID_FUNC_ISTFORMEL
constexpr OUStringLiteral HID_FUNC_RMZ
constexpr OUStringLiteral HID_FUNC_MIN
constexpr OUStringLiteral HID_FUNC_ENCODEURL
constexpr OUStringLiteral HID_FUNC_COVARIANCE_S
constexpr OUStringLiteral HID_FUNC_GAMMALN_MS
constexpr OUStringLiteral HID_FUNC_ISTKTEXT
constexpr OUStringLiteral HID_FUNC_WEIBULL
constexpr OUStringLiteral HID_FUNC_WENN
constexpr OUStringLiteral HID_FUNC_SUCHEN
constexpr OUStringLiteral HID_FUNC_GLAETTEN
constexpr OUStringLiteral HID_FUNC_FLOOR_PRECISE
constexpr OUStringLiteral HID_FUNC_WEBSERVICE
constexpr OUStringLiteral HID_FUNC_NUMBERVALUE
constexpr OUStringLiteral HID_FUNC_BASIS
constexpr OUStringLiteral HID_FUNC_GTEST
constexpr OUStringLiteral HID_FUNC_BETAINV
constexpr OUStringLiteral HID_FUNC_IFNA
constexpr OUStringLiteral HID_FUNC_ZEILE
constexpr OUStringLiteral HID_FUNC_CEIL_MS
constexpr OUStringLiteral HID_FUNC_RANK_AVG
constexpr OUStringLiteral HID_FUNC_FTEST
constexpr OUStringLiteral HID_FUNC_WEEKNUM_OOO
constexpr OUStringLiteral HID_FUNC_TDIST_2T
constexpr OUStringLiteral HID_FUNC_ARCCOS
constexpr OUStringLiteral HID_FUNC_ARCOSHYP
constexpr OUStringLiteral HID_FUNC_ISOWEEKNUM
constexpr OUStringLiteral HID_FUNC_DBVARIANZ
constexpr OUStringLiteral HID_FUNC_SIN
constexpr OUStringLiteral HID_FUNC_STANDNORMVERT
constexpr OUStringLiteral HID_FUNC_IKV
constexpr OUStringLiteral HID_FUNC_RIGHTB
constexpr OUStringLiteral HID_FUNC_LAENGE
constexpr OUStringLiteral HID_FUNC_QUARTILE
constexpr OUStringLiteral HID_FUNC_FORECAST_ETS_MUL
constexpr OUStringLiteral HID_FUNC_DM
constexpr OUStringLiteral HID_FUNC_FINDEN
constexpr OUStringLiteral HID_FUNC_ISTBEZUG
constexpr OUStringLiteral HID_FUNC_DBSUMME
constexpr OUStringLiteral HID_FUNC_ISTLEER
constexpr OUStringLiteral HID_FUNC_UNICODE
constexpr OUStringLiteral HID_FUNC_AVERAGEIF
constexpr OUStringLiteral HID_FUNC_GAMMALN
constexpr OUStringLiteral HID_FUNC_SUMMEWENN
constexpr OUStringLiteral HID_FUNC_DBSTDABW
constexpr OUStringLiteral HID_FUNC_TINV_2T
constexpr OUStringLiteral HID_FUNC_VERKETTEN
constexpr OUStringLiteral HID_FUNC_TANHYP
constexpr OUStringLiteral HID_FUNC_EUROCONVERT
constexpr OUStringLiteral HID_FUNC_GEOMITTEL
constexpr OUStringLiteral HID_FUNC_MDET
constexpr OUStringLiteral HID_FUNC_DEZIMAL
constexpr OUStringLiteral HID_FUNC_AKTUELL
constexpr OUStringLiteral HID_FUNC_PERCENTRANK_INC
constexpr OUStringLiteral HID_FUNC_CHISQINV_MS
constexpr OUStringLiteral HID_FUNC_SCHIEFE
constexpr OUStringLiteral HID_FUNC_HEUTE
constexpr OUStringLiteral HID_FUNC_ROEMISCH
constexpr OUStringLiteral HID_FUNC_PERCENTILE_INC
constexpr OUStringLiteral HID_FUNC_COLOR
constexpr OUStringLiteral HID_FUNC_ZAEHLENWENN
constexpr OUStringLiteral HID_FUNC_AVERAGEIFS
constexpr OUStringLiteral HID_FUNC_POISSON
constexpr OUStringLiteral HID_FUNC_MINV
constexpr OUStringLiteral HID_FUNC_GAMMAVERT
constexpr OUStringLiteral HID_FUNC_HYPGEOMVERT
constexpr OUStringLiteral HID_FUNC_DATWERT
constexpr OUStringLiteral HID_FUNC_UNGERADE
constexpr OUStringLiteral HID_FUNC_GGT
constexpr OUStringLiteral HID_FUNC_BITRSHIFT
constexpr OUStringLiteral HID_FUNC_SVERWEIS
constexpr OUStringLiteral HID_FUNC_FORECAST_ETS_SEA
constexpr OUStringLiteral HID_FUNC_BITXOR
constexpr OUStringLiteral HID_FUNC_VDB
constexpr OUStringLiteral HID_FUNC_STEIGUNG
constexpr OUStringLiteral HID_FUNC_CHISQDIST_MS
constexpr OUStringLiteral HID_FUNC_COSHYP
constexpr OUStringLiteral HID_FUNC_ISTTEXT
constexpr OUStringLiteral HID_FUNC_ZGZ
constexpr OUStringLiteral HID_FUNC_INFO
constexpr OUStringLiteral HID_FUNC_POTENZ
constexpr OUStringLiteral HID_FUNC_STUNDE
constexpr OUStringLiteral HID_FUNC_STD_NORMDIST_MS
constexpr OUStringLiteral HID_FUNC_ABRUNDEN
constexpr OUStringLiteral HID_FUNC_BETAVERT
constexpr OUStringLiteral HID_FUNC_QUARTILE_EXC
constexpr OUStringLiteral HID_FUNC_UNTERGRENZE
constexpr OUStringLiteral HID_FUNC_UND
constexpr OUStringLiteral HID_FUNC_ISTGERADE
constexpr OUStringLiteral HID_FUNC_KKLEINSTE
constexpr OUStringLiteral HID_FUNC_BETADIST_MS
constexpr OUStringLiteral HID_FUNC_ISTFEHL
constexpr OUStringLiteral HID_FUNC_ARTANHYP
constexpr OUStringLiteral HID_FUNC_VARIANZENA
constexpr OUStringLiteral HID_FUNC_ZW
constexpr OUStringLiteral HID_FUNC_CEIL_ISO
constexpr OUStringLiteral HID_FUNC_DBMIN
constexpr OUStringLiteral HID_FUNC_KUMKAPITAL
constexpr OUStringLiteral HID_FUNC_QUANTILSRANG
constexpr OUStringLiteral HID_FUNC_NORMDIST_MS
constexpr OUStringLiteral HID_FUNC_PRODUKT
constexpr OUStringLiteral HID_FUNC_GDA
constexpr OUStringLiteral HID_FUNC_QUARTILE_INC
constexpr OUStringLiteral HID_FUNC_ZINSZ
constexpr OUStringLiteral HID_FUNC_KGROESSTE
constexpr OUStringLiteral HID_FUNC_SECANTHYP
constexpr OUStringLiteral HID_FUNC_KURT
constexpr OUStringLiteral HID_FUNC_FINV
constexpr OUStringLiteral HID_FUNC_VAR_P_MS
constexpr OUStringLiteral HID_FUNC_PERCENTRANK_EXC
constexpr OUStringLiteral HID_FUNC_GDA2
constexpr OUStringLiteral HID_FUNC_JIS
constexpr OUStringLiteral HID_FUNC_STFEHLERYX
constexpr OUStringLiteral HID_FUNC_HYPERLINK
constexpr OUStringLiteral HID_FUNC_FORECAST_ETS_ADD
constexpr OUStringLiteral HID_FUNC_MINUTE
constexpr OUStringLiteral HID_FUNC_FEST
constexpr OUStringLiteral HID_FUNC_VERGLEICH
constexpr OUStringLiteral HID_FUNC_NETWORKDAYS
constexpr OUStringLiteral HID_FUNC_ABS
constexpr OUStringLiteral HID_FUNC_DBANZAHL
constexpr OUStringLiteral HID_FUNC_CEIL_MATH
constexpr OUStringLiteral HID_FUNC_WECHSELN
constexpr OUStringLiteral HID_FUNC_TINV_MS
constexpr OUStringLiteral HID_FUNC_RECHTS
constexpr OUStringLiteral HID_FUNC_MITTELWERTA
constexpr OUStringLiteral HID_FUNC_ZEITWERT
constexpr OUStringLiteral HID_FUNC_ARCOTHYP
constexpr OUStringLiteral HID_FUNC_DATEDIF
constexpr OUStringLiteral HID_FUNC_STABWA
constexpr OUStringLiteral HID_FUNC_WORKDAY_MS
constexpr OUStringLiteral HID_FUNC_ERROR_TYPE_ODF
constexpr OUStringLiteral HID_FUNC_BITAND
constexpr OUStringLiteral HID_FUNC_TAN
constexpr OUStringLiteral HID_FUNC_GERADE
constexpr OUStringLiteral HID_FUNC_ARCSIN
constexpr OUStringLiteral HID_FUNC_VORZEICHEN
constexpr OUStringLiteral HID_FUNC_ODER
constexpr OUStringLiteral HID_FUNC_EXPONVERT
constexpr OUStringLiteral HID_FUNC_FORMEL
constexpr OUStringLiteral HID_FUNC_LIA
constexpr OUStringLiteral HID_FUNC_WAHR
constexpr OUStringLiteral HID_FUNC_EFFEKTIV
constexpr OUStringLiteral HID_FUNC_SEKUNDE
constexpr OUStringLiteral HID_FUNC_RKP
constexpr OUStringLiteral HID_FUNC_STABW
constexpr OUStringLiteral HID_FUNC_MTRANS
constexpr OUStringLiteral HID_FUNC_CHITEST_MS
constexpr OUStringLiteral HID_FUNC_DBMAX
constexpr OUStringLiteral HID_FUNC_WAHL
constexpr OUStringLiteral HID_FUNC_FAKULTAET
constexpr OUStringLiteral HID_FUNC_MITTELABW
constexpr OUStringLiteral HID_FUNC_MMULT
constexpr OUStringLiteral HID_FUNC_TDIST_MS
constexpr OUStringLiteral HID_FUNC_N
constexpr OUStringLiteral HID_FUNC_KONFIDENZ
constexpr OUStringLiteral HID_FUNC_STANDARDISIERUNG
constexpr OUStringLiteral HID_FUNC_Z_TEST_MS
constexpr OUStringLiteral HID_FUNC_COSECANTHYP
constexpr OUStringLiteral HID_FUNC_COTHYP
constexpr OUStringLiteral HID_FUNC_SEARCHB
constexpr OUStringLiteral HID_FUNC_DBVARIANZEN
constexpr OUStringLiteral HID_FUNC_SAEUBERN
constexpr OUStringLiteral HID_FUNC_SINHYP
constexpr OUStringLiteral HID_FUNC_KRITBINOM
constexpr OUStringLiteral HID_FUNC_CHITEST
constexpr OUStringLiteral HID_FUNC_NEGBINOMVERT
constexpr OUStringLiteral HID_FUNC_SUMMEX2MY2
constexpr OUStringLiteral HID_FUNC_FORECAST_LIN
constexpr OUStringLiteral HID_FUNC_BW
constexpr OUStringLiteral HID_FUNC_BETAINV_MS
constexpr OUStringLiteral HID_FUNC_ERFC_MS
constexpr OUStringLiteral HID_FUNC_ISTFEHLER
constexpr OUStringLiteral HID_FUNC_FILTERXML
constexpr OUStringLiteral HID_FUNC_TTEST_MS
constexpr OUStringLiteral HID_FUNC_ZZR
constexpr OUStringLiteral HID_FUNC_RAD
constexpr OUStringLiteral HID_FUNC_SCHAETZER
constexpr OUStringLiteral HID_FUNC_F_INV_RT
constexpr OUStringLiteral HID_FUNC_GAUSS
constexpr OUStringLiteral HID_FUNC_SECANT
constexpr OUStringLiteral HID_FUNC_GROSS
constexpr OUStringLiteral HID_FUNC_TVERT
constexpr OUStringLiteral HID_FUNC_DBSTDABWN
constexpr OUStringLiteral HID_FUNC_CONFIDENCE_T
constexpr OUStringLiteral HID_FUNC_REST
constexpr OUStringLiteral HID_FUNC_ARCCOT
constexpr OUStringLiteral HID_FUNC_COVARIANCE_P
constexpr OUStringLiteral HID_FUNC_GROSS2
constexpr OUStringLiteral HID_FUNC_DBAUSZUG
constexpr OUStringLiteral HID_FUNC_EXP
constexpr OUStringLiteral HID_FUNC_RAWSUBTRACT
constexpr OUStringLiteral HID_FUNC_TEILERGEBNIS
constexpr OUStringLiteral HID_FUNC_KALENDERWOCHE
constexpr OUStringLiteral HID_FUNC_ISTUNGERADE
constexpr OUStringLiteral HID_FUNC_WURZEL
constexpr OUStringLiteral HID_FUNC_KGV
constexpr OUStringLiteral HID_FUNC_MODAL_VALUE_MS
constexpr OUStringLiteral HID_FUNC_MITTELWERT
constexpr OUStringLiteral HID_FUNC_KORREL
constexpr OUStringLiteral HID_FUNC_VARIATIONEN2
constexpr OUStringLiteral HID_FUNC_MODALWERT
constexpr OUStringLiteral HID_FUNC_DBMITTELWERT
constexpr OUStringLiteral HID_FUNC_SUMMENPRODUKT
constexpr OUStringLiteral HID_FUNC_FINDB
constexpr OUStringLiteral HID_FUNC_KUMZINSZ
constexpr OUStringLiteral HID_FUNC_COS
constexpr OUStringLiteral HID_FUNC_LAUFZEIT
constexpr OUStringLiteral HID_FUNC_OBERGRENZE
constexpr OUStringLiteral HID_FUNC_CHISQINV
constexpr OUStringLiteral HID_FUNC_FEHLERTYP
constexpr OUStringLiteral HID_FUNC_MEDIAN
constexpr OUStringLiteral HID_FUNC_T
constexpr OUStringLiteral HID_FUNC_CHIVERT
constexpr OUStringLiteral HID_FUNC_DBANZAHL2
constexpr OUStringLiteral HID_FUNC_ADRESSE
constexpr OUStringLiteral HID_FUNC_IFS_MS
constexpr OUStringLiteral HID_FUNC_FOURIER
constexpr OUStringLiteral HID_FUNC_MINIFS_MS
constexpr OUStringLiteral HID_FUNC_REGEX
constexpr OUStringLiteral HID_FUNC_LOGNORMDIST_MS
constexpr OUStringLiteral HID_FUNC_LENB
constexpr OUStringLiteral HID_FUNC_GESTUTZTMITTEL
constexpr OUStringLiteral HID_FUNC_FORECAST_ETS_STA
constexpr OUStringLiteral HID_FUNC_CONCAT_MS
constexpr OUStringLiteral HID_FUNC_COSECANT
constexpr OUStringLiteral HID_FUNC_EXP_DIST_MS
constexpr OUStringLiteral HID_FUNC_ISTZAHL
constexpr OUStringLiteral HID_FUNC_HARMITTEL
constexpr OUStringLiteral HID_FUNC_ROUNDSIG
constexpr OUStringLiteral HID_FUNC_ZEILEN
constexpr OUStringLiteral HID_FUNC_KOVAR
constexpr OUStringLiteral HID_FUNC_TAG
constexpr OUStringLiteral HID_FUNC_NICHT
constexpr OUStringLiteral HID_FUNC_MAXIFS_MS
constexpr OUStringLiteral HID_FUNC_BESTIMMTHEITSMASS
constexpr OUStringLiteral HID_FUNC_F_DIST_RT
constexpr OUStringLiteral HID_FUNC_OSTERSONNTAG
constexpr OUStringLiteral HID_FUNC_KAPZ
constexpr OUStringLiteral HID_FUNC_BINOMVERT
#define SAL_N_ELEMENTS(arr)
enumrange< T >::Iterator begin(enumrange< T >)
OUString ScResId(TranslateId aId)
#define ID_FUNCTION_GRP_ADDINS
#define ID_FUNCTION_GRP_STATISTIC
#define ID_FUNCTION_GRP_INFO
#define ID_FUNCTION_GRP_DATABASE
#define ID_FUNCTION_GRP_MATH
#define ID_FUNCTION_GRP_LOGIC
#define ID_FUNCTION_GRP_DATETIME
#define ID_FUNCTION_GRP_FINANCIAL
#define ID_FUNCTION_GRP_TEXT
#define ID_FUNCTION_GRP_TABLE
#define ID_FUNCTION_GRP_MATRIX
Stores whether a parameter is optional or suppressed.
bool bOptional
Parameter is optional.