1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include <formula/compiler.hxx>
25 #define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String))
27 /** These English names are used to store/load ODFF as of ODF v1.2. */
28 // NAMES CAN ONLY BE CHANGED WHEN PROVIDING BACKWARD AND FORWARD COMPATIBILITY
29 // such that at least two releases can already read the new name to be
30 // introduced by a later release.
31 // If there is a reason for another name for some function then add an
32 // *additional* name to be recognized to sc/source/core/tool/compiler.cxx
33 // ScCompiler::IsOpCode() in the if (mxSymbols->isODFF()) block.
34 const std::pair<const char *, int> RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF[] =
36 { "IF" , SC_OPCODE_IF },
37 { "IFERROR" , SC_OPCODE_IF_ERROR },
38 { "IFNA" , SC_OPCODE_IF_NA },
39 { "CHOOSE" , SC_OPCODE_CHOOSE },
40 { "(" , SC_OPCODE_OPEN },
41 { ")" , SC_OPCODE_CLOSE },
42 // SC_OPCODE_TABLE_REF_... not supported in ODFF
43 { "{" , SC_OPCODE_ARRAY_OPEN },
44 { "}" , SC_OPCODE_ARRAY_CLOSE },
45 { "|" , SC_OPCODE_ARRAY_ROW_SEP },
46 { ";" , SC_OPCODE_ARRAY_COL_SEP },
47 { ";" , SC_OPCODE_SEP },
48 { "%" , SC_OPCODE_PERCENT_SIGN },
49 { "+" , SC_OPCODE_ADD },
50 { "-" , SC_OPCODE_SUB },
51 { "*" , SC_OPCODE_MUL },
52 { "/" , SC_OPCODE_DIV },
53 { "&" , SC_OPCODE_AMPERSAND },
54 { "^" , SC_OPCODE_POW },
55 { "=" , SC_OPCODE_EQUAL },
56 { "<>" , SC_OPCODE_NOT_EQUAL },
57 { "<" , SC_OPCODE_LESS },
58 { ">" , SC_OPCODE_GREATER },
59 { "<=" , SC_OPCODE_LESS_EQUAL },
60 { ">=" , SC_OPCODE_GREATER_EQUAL },
61 { "AND" , SC_OPCODE_AND },
62 { "OR" , SC_OPCODE_OR },
63 { "XOR" , SC_OPCODE_XOR },
64 { "!" , SC_OPCODE_INTERSECT },
65 { "~" , SC_OPCODE_UNION },
66 { ":" , SC_OPCODE_RANGE },
67 { "NOT" , SC_OPCODE_NOT },
68 { "NEG" , SC_OPCODE_NEG },
69 { "-" , SC_OPCODE_NEG_SUB },
70 { "PI" , SC_OPCODE_PI },
71 { "RAND" , SC_OPCODE_RANDOM },
72 { "TRUE" , SC_OPCODE_TRUE },
73 { "FALSE" , SC_OPCODE_FALSE },
74 { "TODAY" , SC_OPCODE_GET_ACT_DATE },
75 { "NOW" , SC_OPCODE_GET_ACT_TIME },
76 { "NA" , SC_OPCODE_NO_VALUE },
77 { "ORG.OPENOFFICE.CURRENT" , SC_OPCODE_CURRENT },
78 { "DEGREES" , SC_OPCODE_DEG },
79 { "RADIANS" , SC_OPCODE_RAD },
80 { "SIN" , SC_OPCODE_SIN },
81 { "COS" , SC_OPCODE_COS },
82 { "TAN" , SC_OPCODE_TAN },
83 { "COT" , SC_OPCODE_COT },
84 { "ASIN" , SC_OPCODE_ARC_SIN },
85 { "ACOS" , SC_OPCODE_ARC_COS },
86 { "ATAN" , SC_OPCODE_ARC_TAN },
87 { "ACOT" , SC_OPCODE_ARC_COT },
88 { "SINH" , SC_OPCODE_SIN_HYP },
89 { "COSH" , SC_OPCODE_COS_HYP },
90 { "TANH" , SC_OPCODE_TAN_HYP },
91 { "COTH" , SC_OPCODE_COT_HYP },
92 { "ASINH" , SC_OPCODE_ARC_SIN_HYP },
93 { "ACOSH" , SC_OPCODE_ARC_COS_HYP },
94 { "ATANH" , SC_OPCODE_ARC_TAN_HYP },
95 { "ACOTH" , SC_OPCODE_ARC_COT_HYP },
96 { "CSC" , SC_OPCODE_COSECANT },
97 { "SEC" , SC_OPCODE_SECANT },
98 { "CSCH" , SC_OPCODE_COSECANT_HYP },
99 { "SECH" , SC_OPCODE_SECANT_HYP },
100 { "EXP" , SC_OPCODE_EXP },
101 { "LN" , SC_OPCODE_LN },
102 { "SQRT" , SC_OPCODE_SQRT },
103 { "FACT" , SC_OPCODE_FACT },
104 { "YEAR" , SC_OPCODE_GET_YEAR },
105 { "MONTH" , SC_OPCODE_GET_MONTH },
106 { "DAY" , SC_OPCODE_GET_DAY },
107 { "HOUR" , SC_OPCODE_GET_HOUR },
108 { "MINUTE" , SC_OPCODE_GET_MIN },
109 { "SECOND" , SC_OPCODE_GET_SEC },
110 { "SIGN" , SC_OPCODE_PLUS_MINUS },
111 { "ABS" , SC_OPCODE_ABS },
112 { "INT" , SC_OPCODE_INT },
113 { "PHI" , SC_OPCODE_PHI },
114 { "GAUSS" , SC_OPCODE_GAUSS },
115 { "ISBLANK" , SC_OPCODE_IS_EMPTY },
116 { "ISTEXT" , SC_OPCODE_IS_STRING },
117 { "ISNONTEXT" , SC_OPCODE_IS_NON_STRING },
118 { "ISLOGICAL" , SC_OPCODE_IS_LOGICAL },
119 { "TYPE" , SC_OPCODE_TYPE },
120 { "CELL" , SC_OPCODE_CELL },
121 { "ISREF" , SC_OPCODE_IS_REF },
122 { "ISNUMBER" , SC_OPCODE_IS_VALUE },
123 { "ISFORMULA" , SC_OPCODE_IS_FORMULA },
124 { "ISNA" , SC_OPCODE_IS_NV },
125 { "ISERR" , SC_OPCODE_IS_ERR },
126 { "ISERROR" , SC_OPCODE_IS_ERROR },
127 { "ISEVEN" , SC_OPCODE_IS_EVEN },
128 { "ISODD" , SC_OPCODE_IS_ODD },
129 { "N" , SC_OPCODE_N },
130 { "DATEVALUE" , SC_OPCODE_GET_DATE_VALUE },
131 { "TIMEVALUE" , SC_OPCODE_GET_TIME_VALUE },
132 { "CODE" , SC_OPCODE_CODE },
133 { "TRIM" , SC_OPCODE_TRIM },
134 { "UPPER" , SC_OPCODE_UPPER },
135 { "PROPER" , SC_OPCODE_PROPER },
136 { "LOWER" , SC_OPCODE_LOWER },
137 { "LEN" , SC_OPCODE_LEN },
138 { "T" , SC_OPCODE_T },
139 { "VALUE" , SC_OPCODE_VALUE },
140 { "CLEAN" , SC_OPCODE_CLEAN },
141 { "CHAR" , SC_OPCODE_CHAR },
142 { "JIS" , SC_OPCODE_JIS },
143 { "ASC" , SC_OPCODE_ASC },
144 { "UNICODE" , SC_OPCODE_UNICODE },
145 { "UNICHAR" , SC_OPCODE_UNICHAR },
146 { "LOG10" , SC_OPCODE_LOG10 },
147 { "EVEN" , SC_OPCODE_EVEN },
148 { "ODD" , SC_OPCODE_ODD },
149 { "LEGACY.NORMSDIST" , SC_OPCODE_STD_NORM_DIST },
150 { "COM.MICROSOFT.NORM.S.DIST" , SC_OPCODE_STD_NORM_DIST_MS },
151 { "FISHER" , SC_OPCODE_FISHER },
152 { "FISHERINV" , SC_OPCODE_FISHER_INV },
153 { "LEGACY.NORMSINV" , SC_OPCODE_S_NORM_INV },
154 { "COM.MICROSOFT.NORM.S.INV" , SC_OPCODE_S_NORM_INV_MS },
155 { "GAMMALN" , SC_OPCODE_GAMMA_LN },
156 { "COM.MICROSOFT.GAMMALN.PRECISE" , SC_OPCODE_GAMMA_LN_MS },
157 { "ORG.OPENOFFICE.ERRORTYPE" , SC_OPCODE_ERROR_TYPE },
158 { "ERROR.TYPE" , SC_OPCODE_ERROR_TYPE_ODF },
159 { "FORMULA" , SC_OPCODE_FORMULA },
160 { "ATAN2" , SC_OPCODE_ARC_TAN_2 },
161 { "COM.MICROSOFT.CEILING.MATH" , SC_OPCODE_CEIL_MATH },
162 { "CEILING" , SC_OPCODE_CEIL },
163 { "COM.MICROSOFT.CEILING" , SC_OPCODE_CEIL_MS },
164 { "COM.MICROSOFT.CEILING.PRECISE" , SC_OPCODE_CEIL_PRECISE },
165 { "COM.MICROSOFT.ISO.CEILING" , SC_OPCODE_CEIL_ISO },
166 { "FLOOR" , SC_OPCODE_FLOOR },
167 { "COM.MICROSOFT.FLOOR" , SC_OPCODE_FLOOR_MS },
168 { "COM.MICROSOFT.FLOOR.MATH" , SC_OPCODE_FLOOR_MATH },
169 { "COM.MICROSOFT.FLOOR.PRECISE" , SC_OPCODE_FLOOR_PRECISE },
170 { "ROUND" , SC_OPCODE_ROUND },
171 { "ROUNDUP" , SC_OPCODE_ROUND_UP },
172 { "ROUNDDOWN" , SC_OPCODE_ROUND_DOWN },
173 { "TRUNC" , SC_OPCODE_TRUNC },
174 { "LOG" , SC_OPCODE_LOG },
175 { "POWER" , SC_OPCODE_POWER },
176 { "GCD" , SC_OPCODE_GCD },
177 { "LCM" , SC_OPCODE_LCM },
178 { "MOD" , SC_OPCODE_MOD },
179 { "SUMPRODUCT" , SC_OPCODE_SUM_PRODUCT },
180 { "SUMSQ" , SC_OPCODE_SUM_SQ },
181 { "SUMX2MY2" , SC_OPCODE_SUM_X2MY2 },
182 { "SUMX2PY2" , SC_OPCODE_SUM_X2DY2 },
183 { "SUMXMY2" , SC_OPCODE_SUM_XMY2 },
184 { "DATE" , SC_OPCODE_GET_DATE },
185 { "TIME" , SC_OPCODE_GET_TIME },
186 { "DAYS" , SC_OPCODE_GET_DIFF_DATE },
187 { "DAYS360" , SC_OPCODE_GET_DIFF_DATE_360 },
188 { "DATEDIF" , SC_OPCODE_GET_DATEDIF },
189 { "MIN" , SC_OPCODE_MIN },
190 { "MINA" , SC_OPCODE_MIN_A },
191 { "MAX" , SC_OPCODE_MAX },
192 { "MAXA" , SC_OPCODE_MAX_A },
193 { "SUM" , SC_OPCODE_SUM },
194 { "PRODUCT" , SC_OPCODE_PRODUCT },
195 { "AVERAGE" , SC_OPCODE_AVERAGE },
196 { "AVERAGEA" , SC_OPCODE_AVERAGE_A },
197 { "COUNT" , SC_OPCODE_COUNT },
198 { "COUNTA" , SC_OPCODE_COUNT_2 },
199 { "NPV" , SC_OPCODE_NPV },
200 { "IRR" , SC_OPCODE_IRR },
201 { "MIRR" , SC_OPCODE_MIRR },
202 { "ISPMT" , SC_OPCODE_ISPMT },
203 { "VAR" , SC_OPCODE_VAR },
204 { "VARA" , SC_OPCODE_VAR_A },
205 { "VARP" , SC_OPCODE_VAR_P },
206 { "VARPA" , SC_OPCODE_VAR_P_A },
207 { "COM.MICROSOFT.VAR.P" , SC_OPCODE_VAR_P_MS },
208 { "COM.MICROSOFT.VAR.S" , SC_OPCODE_VAR_S },
209 { "STDEV" , SC_OPCODE_ST_DEV },
210 { "STDEVA" , SC_OPCODE_ST_DEV_A },
211 { "STDEVP" , SC_OPCODE_ST_DEV_P },
212 { "STDEVPA" , SC_OPCODE_ST_DEV_P_A },
213 { "COM.MICROSOFT.STDEV.P" , SC_OPCODE_ST_DEV_P_MS },
214 { "COM.MICROSOFT.STDEV.S" , SC_OPCODE_ST_DEV_S },
215 { "BINOM.DIST.RANGE" , SC_OPCODE_B },
216 { "NORMDIST" , SC_OPCODE_NORM_DIST },
217 { "COM.MICROSOFT.NORM.DIST" , SC_OPCODE_NORM_DIST_MS },
218 { "EXPONDIST" , SC_OPCODE_EXP_DIST },
219 { "COM.MICROSOFT.EXPON.DIST" , SC_OPCODE_EXP_DIST_MS },
220 { "BINOMDIST" , SC_OPCODE_BINOM_DIST },
221 { "COM.MICROSOFT.BINOM.DIST" , SC_OPCODE_BINOM_DIST_MS },
222 { "POISSON" , SC_OPCODE_POISSON_DIST },
223 { "COM.MICROSOFT.POISSON.DIST" , SC_OPCODE_POISSON_DIST_MS },
224 { "COMBIN" , SC_OPCODE_COMBIN },
225 { "COMBINA" , SC_OPCODE_COMBIN_A },
226 { "PERMUT" , SC_OPCODE_PERMUT },
227 { "PERMUTATIONA" , SC_OPCODE_PERMUTATION_A },
228 { "PV" , SC_OPCODE_PV },
229 { "SYD" , SC_OPCODE_SYD },
230 { "DDB" , SC_OPCODE_DDB },
231 { "DB" , SC_OPCODE_DB },
232 { "VDB" , SC_OPCODE_VBD },
233 { "PDURATION" , SC_OPCODE_PDURATION },
234 { "SLN" , SC_OPCODE_SLN },
235 { "PMT" , SC_OPCODE_PMT },
236 { "COLUMNS" , SC_OPCODE_COLUMNS },
237 { "ROWS" , SC_OPCODE_ROWS },
238 { "SHEETS" , SC_OPCODE_SHEETS },
239 { "COLUMN" , SC_OPCODE_COLUMN },
240 { "ROW" , SC_OPCODE_ROW },
241 { "SHEET" , SC_OPCODE_SHEET },
242 { "RRI" , SC_OPCODE_RRI },
243 { "FV" , SC_OPCODE_FV },
244 { "NPER" , SC_OPCODE_NPER },
245 { "RATE" , SC_OPCODE_RATE },
246 { "IPMT" , SC_OPCODE_IPMT },
247 { "PPMT" , SC_OPCODE_PPMT },
248 { "CUMIPMT" , SC_OPCODE_CUM_IPMT },
249 { "CUMPRINC" , SC_OPCODE_CUM_PRINC },
250 { "EFFECT" , SC_OPCODE_EFFECT },
251 { "NOMINAL" , SC_OPCODE_NOMINAL },
252 { "SUBTOTAL" , SC_OPCODE_SUB_TOTAL },
253 { "DSUM" , SC_OPCODE_DB_SUM },
254 { "DCOUNT" , SC_OPCODE_DB_COUNT },
255 { "DCOUNTA" , SC_OPCODE_DB_COUNT_2 },
256 { "DAVERAGE" , SC_OPCODE_DB_AVERAGE },
257 { "DGET" , SC_OPCODE_DB_GET },
258 { "DMAX" , SC_OPCODE_DB_MAX },
259 { "DMIN" , SC_OPCODE_DB_MIN },
260 { "DPRODUCT" , SC_OPCODE_DB_PRODUCT },
261 { "DSTDEV" , SC_OPCODE_DB_STD_DEV },
262 { "DSTDEVP" , SC_OPCODE_DB_STD_DEV_P },
263 { "DVAR" , SC_OPCODE_DB_VAR },
264 { "DVARP" , SC_OPCODE_DB_VAR_P },
265 { "INDIRECT" , SC_OPCODE_INDIRECT },
266 { "ADDRESS" , SC_OPCODE_ADDRESS },
267 { "MATCH" , SC_OPCODE_MATCH },
268 { "COUNTBLANK" , SC_OPCODE_COUNT_EMPTY_CELLS },
269 { "COUNTIF" , SC_OPCODE_COUNT_IF },
270 { "SUMIF" , SC_OPCODE_SUM_IF },
271 { "AVERAGEIF" , SC_OPCODE_AVERAGE_IF },
272 { "SUMIFS" , SC_OPCODE_SUM_IFS },
273 { "AVERAGEIFS" , SC_OPCODE_AVERAGE_IFS },
274 { "COUNTIFS" , SC_OPCODE_COUNT_IFS },
275 { "LOOKUP" , SC_OPCODE_LOOKUP },
276 { "VLOOKUP" , SC_OPCODE_V_LOOKUP },
277 { "HLOOKUP" , SC_OPCODE_H_LOOKUP },
278 { "ORG.OPENOFFICE.MULTIRANGE" , SC_OPCODE_MULTI_AREA }, // legacy for range list (union)
279 { "OFFSET" , SC_OPCODE_OFFSET },
280 { "INDEX" , SC_OPCODE_INDEX },
281 { "AREAS" , SC_OPCODE_AREAS },
282 { "DOLLAR" , SC_OPCODE_CURRENCY },
283 { "REPLACE" , SC_OPCODE_REPLACE },
284 { "FIXED" , SC_OPCODE_FIXED },
285 { "FIND" , SC_OPCODE_FIND },
286 { "EXACT" , SC_OPCODE_EXACT },
287 { "LEFT" , SC_OPCODE_LEFT },
288 { "RIGHT" , SC_OPCODE_RIGHT },
289 { "SEARCH" , SC_OPCODE_SEARCH },
290 { "MID" , SC_OPCODE_MID },
291 { "LENB" , SC_OPCODE_LENB },
292 { "RIGHTB" , SC_OPCODE_RIGHTB },
293 { "LEFTB" , SC_OPCODE_LEFTB },
294 { "REPLACEB" , SC_OPCODE_REPLACEB },
295 { "FINDB" , SC_OPCODE_FINDB },
296 { "SEARCHB" , SC_OPCODE_SEARCHB },
297 { "MIDB" , SC_OPCODE_MIDB },
298 { "TEXT" , SC_OPCODE_TEXT },
299 { "SUBSTITUTE" , SC_OPCODE_SUBSTITUTE },
300 { "REPT" , SC_OPCODE_REPT },
301 { "CONCATENATE" , SC_OPCODE_CONCAT },
302 { "COM.MICROSOFT.CONCAT" , SC_OPCODE_CONCAT_MS },
303 { "COM.MICROSOFT.TEXTJOIN" , SC_OPCODE_TEXTJOIN_MS },
304 { "COM.MICROSOFT.IFS" , SC_OPCODE_IFS_MS },
305 { "COM.MICROSOFT.SWITCH" , SC_OPCODE_SWITCH_MS },
306 { "COM.MICROSOFT.MINIFS" , SC_OPCODE_MINIFS_MS },
307 { "COM.MICROSOFT.MAXIFS" , SC_OPCODE_MAXIFS_MS },
308 { "MVALUE" , SC_OPCODE_MAT_VALUE },
309 { "MDETERM" , SC_OPCODE_MAT_DET },
310 { "MINVERSE" , SC_OPCODE_MAT_INV },
311 { "MMULT" , SC_OPCODE_MAT_MULT },
312 { "TRANSPOSE" , SC_OPCODE_MAT_TRANS },
313 { "MUNIT" , SC_OPCODE_MATRIX_UNIT },
314 { "ORG.OPENOFFICE.GOALSEEK" , SC_OPCODE_BACK_SOLVER },
315 { "HYPGEOMDIST" , SC_OPCODE_HYP_GEOM_DIST },
316 { "COM.MICROSOFT.HYPGEOM.DIST" , SC_OPCODE_HYP_GEOM_DIST_MS },
317 { "LOGNORMDIST" , SC_OPCODE_LOG_NORM_DIST },
318 { "COM.MICROSOFT.LOGNORM.DIST" , SC_OPCODE_LOG_NORM_DIST_MS },
319 { "LEGACY.TDIST" , SC_OPCODE_T_DIST },
320 { "COM.MICROSOFT.T.DIST.2T" , SC_OPCODE_T_DIST_2T },
321 { "COM.MICROSOFT.T.DIST" , SC_OPCODE_T_DIST_MS },
322 { "COM.MICROSOFT.T.DIST.RT" , SC_OPCODE_T_DIST_RT },
323 { "LEGACY.FDIST" , SC_OPCODE_F_DIST },
324 { "FDIST" , SC_OPCODE_F_DIST_LT },
325 { "COM.MICROSOFT.F.DIST.RT" , SC_OPCODE_F_DIST_RT },
326 { "LEGACY.CHIDIST" , SC_OPCODE_CHI_DIST },
327 { "COM.MICROSOFT.CHISQ.DIST.RT" , SC_OPCODE_CHI_DIST_MS },
328 { "WEIBULL" , SC_OPCODE_WEIBULL },
329 { "COM.MICROSOFT.WEIBULL.DIST" , SC_OPCODE_WEIBULL_MS },
330 { "NEGBINOMDIST" , SC_OPCODE_NEG_BINOM_VERT },
331 { "COM.MICROSOFT.NEGBINOM.DIST" , SC_OPCODE_NEG_BINOM_DIST_MS },
332 { "CRITBINOM" , SC_OPCODE_CRIT_BINOM },
333 { "COM.MICROSOFT.BINOM.INV" , SC_OPCODE_BINOM_INV },
334 { "KURT" , SC_OPCODE_KURT },
335 { "HARMEAN" , SC_OPCODE_HAR_MEAN },
336 { "GEOMEAN" , SC_OPCODE_GEO_MEAN },
337 { "STANDARDIZE" , SC_OPCODE_STANDARD },
338 { "AVEDEV" , SC_OPCODE_AVE_DEV },
339 { "SKEW" , SC_OPCODE_SKEW },
340 { "SKEWP" , SC_OPCODE_SKEWP },
341 { "DEVSQ" , SC_OPCODE_DEV_SQ },
342 { "MEDIAN" , SC_OPCODE_MEDIAN },
343 { "MODE" , SC_OPCODE_MODAL_VALUE },
344 { "COM.MICROSOFT.MODE.SNGL" , SC_OPCODE_MODAL_VALUE_MS },
345 { "COM.MICROSOFT.MODE.MULT" , SC_OPCODE_MODAL_VALUE_MULTI },
346 { "ZTEST" , SC_OPCODE_Z_TEST },
347 { "COM.MICROSOFT.Z.TEST" , SC_OPCODE_Z_TEST_MS },
348 { "COM.MICROSOFT.AGGREGATE" , SC_OPCODE_AGGREGATE },
349 { "TTEST" , SC_OPCODE_T_TEST },
350 { "COM.MICROSOFT.T.TEST" , SC_OPCODE_T_TEST_MS },
351 { "RANK" , SC_OPCODE_RANK },
352 { "PERCENTILE" , SC_OPCODE_PERCENTILE },
353 { "PERCENTRANK" , SC_OPCODE_PERCENT_RANK },
354 { "COM.MICROSOFT.PERCENTILE.INC" , SC_OPCODE_PERCENTILE_INC },
355 { "COM.MICROSOFT.PERCENTRANK.INC" , SC_OPCODE_PERCENT_RANK_INC },
356 { "COM.MICROSOFT.QUARTILE.INC" , SC_OPCODE_QUARTILE_INC },
357 { "COM.MICROSOFT.RANK.EQ" , SC_OPCODE_RANK_EQ },
358 { "COM.MICROSOFT.PERCENTILE.EXC" , SC_OPCODE_PERCENTILE_EXC },
359 { "COM.MICROSOFT.PERCENTRANK.EXC" , SC_OPCODE_PERCENT_RANK_EXC },
360 { "COM.MICROSOFT.QUARTILE.EXC" , SC_OPCODE_QUARTILE_EXC },
361 { "COM.MICROSOFT.RANK.AVG" , SC_OPCODE_RANK_AVG },
362 { "LARGE" , SC_OPCODE_LARGE },
363 { "SMALL" , SC_OPCODE_SMALL },
364 { "FREQUENCY" , SC_OPCODE_FREQUENCY },
365 { "QUARTILE" , SC_OPCODE_QUARTILE },
366 { "NORMINV" , SC_OPCODE_NORM_INV },
367 { "COM.MICROSOFT.NORM.INV" , SC_OPCODE_NORM_INV_MS },
368 { "CONFIDENCE" , SC_OPCODE_CONFIDENCE },
369 { "COM.MICROSOFT.CONFIDENCE.NORM" , SC_OPCODE_CONFIDENCE_N },
370 { "COM.MICROSOFT.CONFIDENCE.T" , SC_OPCODE_CONFIDENCE_T },
371 { "FTEST" , SC_OPCODE_F_TEST },
372 { "COM.MICROSOFT.F.TEST" , SC_OPCODE_F_TEST_MS },
373 { "TRIMMEAN" , SC_OPCODE_TRIM_MEAN },
374 { "PROB" , SC_OPCODE_PROB },
375 { "CORREL" , SC_OPCODE_CORREL },
376 { "COVAR" , SC_OPCODE_COVAR },
377 { "COM.MICROSOFT.COVARIANCE.P" , SC_OPCODE_COVARIANCE_P },
378 { "COM.MICROSOFT.COVARIANCE.S" , SC_OPCODE_COVARIANCE_S },
379 { "PEARSON" , SC_OPCODE_PEARSON },
380 { "RSQ" , SC_OPCODE_RSQ },
381 { "STEYX" , SC_OPCODE_STEYX },
382 { "SLOPE" , SC_OPCODE_SLOPE },
383 { "INTERCEPT" , SC_OPCODE_INTERCEPT },
384 { "TREND" , SC_OPCODE_TREND },
385 { "GROWTH" , SC_OPCODE_GROWTH },
386 { "LINEST" , SC_OPCODE_LINEST },
387 { "LOGEST" , SC_OPCODE_LOGEST },
388 { "FORECAST" , SC_OPCODE_FORECAST },
389 { "COM.MICROSOFT.FORECAST.ETS" , SC_OPCODE_FORECAST_ETS_ADD },
390 { "COM.MICROSOFT.FORECAST.ETS.SEASONALITY" , SC_OPCODE_FORECAST_ETS_SEA },
391 { "ORG.LIBREOFFICE.FORECAST.ETS.MULT" , SC_OPCODE_FORECAST_ETS_MUL },
392 { "COM.MICROSOFT.FORECAST.ETS.CONFINT" , SC_OPCODE_FORECAST_ETS_PIA },
393 { "ORG.LIBREOFFICE.FORECAST.ETS.PI.MULT" , SC_OPCODE_FORECAST_ETS_PIM },
394 { "COM.MICROSOFT.FORECAST.ETS.STAT" , SC_OPCODE_FORECAST_ETS_STA },
395 { "ORG.LIBREOFFICE.FORECAST.ETS.STAT.MULT" , SC_OPCODE_FORECAST_ETS_STM },
396 { "COM.MICROSOFT.FORECAST.LINEAR" , SC_OPCODE_FORECAST_LIN },
397 { "LEGACY.CHIINV" , SC_OPCODE_CHI_INV },
398 { "COM.MICROSOFT.CHISQ.INV.RT" , SC_OPCODE_CHI_INV_MS },
399 { "GAMMADIST" , SC_OPCODE_GAMMA_DIST },
400 { "COM.MICROSOFT.GAMMA.DIST" , SC_OPCODE_GAMMA_DIST_MS },
401 { "GAMMAINV" , SC_OPCODE_GAMMA_INV },
402 { "COM.MICROSOFT.GAMMA.INV" , SC_OPCODE_GAMMA_INV_MS },
403 { "TINV" , SC_OPCODE_T_INV },
404 { "COM.MICROSOFT.T.INV.2T" , SC_OPCODE_T_INV_2T },
405 { "COM.MICROSOFT.T.INV" , SC_OPCODE_T_INV_MS },
406 { "LEGACY.FINV" , SC_OPCODE_F_INV },
407 { "FINV" , SC_OPCODE_F_INV_LT },
408 { "COM.MICROSOFT.F.INV.RT" , SC_OPCODE_F_INV_RT },
409 { "LEGACY.CHITEST" , SC_OPCODE_CHI_TEST },
410 { "COM.MICROSOFT.CHISQ.TEST" , SC_OPCODE_CHI_TEST_MS },
411 { "LOGINV" , SC_OPCODE_LOG_INV },
412 { "COM.MICROSOFT.LOGNORM.INV" , SC_OPCODE_LOG_INV_MS },
413 { "MULTIPLE.OPERATIONS" , SC_OPCODE_TABLE_OP },
414 { "BETADIST" , SC_OPCODE_BETA_DIST },
415 { "BETAINV" , SC_OPCODE_BETA_INV },
416 { "COM.MICROSOFT.BETA.DIST" , SC_OPCODE_BETA_DIST_MS },
417 { "COM.MICROSOFT.BETA.INV" , SC_OPCODE_BETA_INV_MS },
418 { "WEEKNUM" , SC_OPCODE_WEEK },
419 { "ISOWEEKNUM" , SC_OPCODE_ISOWEEKNUM },
420 { "ORG.LIBREOFFICE.WEEKNUM_OOO" , SC_OPCODE_WEEKNUM_OOO },
421 { "ORG.OPENOFFICE.EASTERSUNDAY" , SC_OPCODE_EASTERSUNDAY },
422 { "WEEKDAY" , SC_OPCODE_GET_DAY_OF_WEEK },
423 { "NETWORKDAYS" , SC_OPCODE_NETWORKDAYS },
424 { "COM.MICROSOFT.NETWORKDAYS.INTL" , SC_OPCODE_NETWORKDAYS_MS },
425 { "COM.MICROSOFT.WORKDAY.INTL" , SC_OPCODE_WORKDAY_MS },
426 { "#NAME!" , SC_OPCODE_NO_NAME },
427 { "ORG.OPENOFFICE.STYLE" , SC_OPCODE_STYLE },
428 { "DDE" , SC_OPCODE_DDE },
429 { "BASE" , SC_OPCODE_BASE },
430 { "DECIMAL" , SC_OPCODE_DECIMAL },
431 { "ORG.OPENOFFICE.CONVERT" , SC_OPCODE_CONVERT_OOO },
432 { "ROMAN" , SC_OPCODE_ROMAN },
433 { "ARABIC" , SC_OPCODE_ARABIC },
434 { "HYPERLINK" , SC_OPCODE_HYPERLINK },
435 { "INFO" , SC_OPCODE_INFO },
436 { "COM.MICROSOFT.BAHTTEXT" , SC_OPCODE_BAHTTEXT },
437 { "GETPIVOTDATA" , SC_OPCODE_GET_PIVOT_DATA },
438 { "EUROCONVERT" , SC_OPCODE_EUROCONVERT },
439 { "NUMBERVALUE" , SC_OPCODE_NUMBERVALUE },
440 { "GAMMA" , SC_OPCODE_GAMMA },
441 { "CHISQDIST" , SC_OPCODE_CHISQ_DIST },
442 { "COM.MICROSOFT.CHISQ.DIST" , SC_OPCODE_CHISQ_DIST_MS },
443 { "CHISQINV" , SC_OPCODE_CHISQ_INV },
444 { "COM.MICROSOFT.CHISQ.INV" , SC_OPCODE_CHISQ_INV_MS },
445 { "BITAND" , SC_OPCODE_BITAND },
446 { "BITOR" , SC_OPCODE_BITOR },
447 { "BITXOR" , SC_OPCODE_BITXOR },
448 { "BITRSHIFT" , SC_OPCODE_BITRSHIFT },
449 { "BITLSHIFT" , SC_OPCODE_BITLSHIFT },
450 /* BEGIN defined ERROR.TYPE() values. */
451 { "#NULL!" , SC_OPCODE_ERROR_NULL },
452 { "#DIV/0!" , SC_OPCODE_ERROR_DIVZERO },
453 { "#VALUE!" , SC_OPCODE_ERROR_VALUE },
454 { "#REF!" , SC_OPCODE_ERROR_REF },
455 { "#NAME?" , SC_OPCODE_ERROR_NAME },
456 { "#NUM!" , SC_OPCODE_ERROR_NUM },
457 { "#N/A" , SC_OPCODE_ERROR_NA },
458 /* END defined ERROR.TYPE() values. */
459 { "COM.MICROSOFT.FILTERXML" , SC_OPCODE_FILTERXML },
460 { "COM.MICROSOFT.WEBSERVICE" , SC_OPCODE_WEBSERVICE },
461 { "ORG.LIBREOFFICE.COLOR" , SC_OPCODE_COLOR },
462 { "COM.MICROSOFT.ERF.PRECISE" , SC_OPCODE_ERF_MS },
463 { "COM.MICROSOFT.ERFC.PRECISE" , SC_OPCODE_ERFC_MS },
464 { "COM.MICROSOFT.ENCODEURL" , SC_OPCODE_ENCODEURL },
465 { "ORG.LIBREOFFICE.RAWSUBTRACT" , SC_OPCODE_RAWSUBTRACT },
466 { "ORG.LIBREOFFICE.ROUNDSIG" , SC_OPCODE_ROUNDSIG },
467 { "ORG.LIBREOFFICE.REGEX" , SC_OPCODE_REGEX },
468 { "ORG.LIBREOFFICE.FOURIER", SC_OPCODE_FOURIER },
469 { "ORG.LIBREOFFICE.RAND.NV" , SC_OPCODE_RANDOM_NV },
470 { "ORG.LIBREOFFICE.RANDBETWEEN.NV" , SC_OPCODE_RANDBETWEEN_NV },
474 /** These function names are used in the OOXML XLSX import/export. */
475 const std::pair<const char *, int> RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML[] =
477 { "IF" , SC_OPCODE_IF },
478 { "IFERROR" , SC_OPCODE_IF_ERROR },
479 { "_xlfn.IFNA" , SC_OPCODE_IF_NA },
480 { "CHOOSE" , SC_OPCODE_CHOOSE },
481 { "(" , SC_OPCODE_OPEN },
482 { ")" , SC_OPCODE_CLOSE },
483 { "[" , SC_OPCODE_TABLE_REF_OPEN },
484 { "]" , SC_OPCODE_TABLE_REF_CLOSE },
485 { "#All" , SC_OPCODE_TABLE_REF_ITEM_ALL },
486 { "#Headers" , SC_OPCODE_TABLE_REF_ITEM_HEADERS },
487 { "#Data" , SC_OPCODE_TABLE_REF_ITEM_DATA },
488 { "#Totals" , SC_OPCODE_TABLE_REF_ITEM_TOTALS },
489 { "#This Row" , SC_OPCODE_TABLE_REF_ITEM_THIS_ROW },
490 { "{" , SC_OPCODE_ARRAY_OPEN },
491 { "}" , SC_OPCODE_ARRAY_CLOSE },
492 { ";" , SC_OPCODE_ARRAY_ROW_SEP },
493 { "," , SC_OPCODE_ARRAY_COL_SEP },
494 { "," , SC_OPCODE_SEP },
495 { "%" , SC_OPCODE_PERCENT_SIGN },
496 { "+" , SC_OPCODE_ADD },
497 { "-" , SC_OPCODE_SUB },
498 { "*" , SC_OPCODE_MUL },
499 { "/" , SC_OPCODE_DIV },
500 { "&" , SC_OPCODE_AMPERSAND },
501 { "^" , SC_OPCODE_POW },
502 { "=" , SC_OPCODE_EQUAL },
503 { "<>" , SC_OPCODE_NOT_EQUAL },
504 { "<" , SC_OPCODE_LESS },
505 { ">" , SC_OPCODE_GREATER },
506 { "<=" , SC_OPCODE_LESS_EQUAL },
507 { ">=" , SC_OPCODE_GREATER_EQUAL },
508 { "AND" , SC_OPCODE_AND },
509 { "OR" , SC_OPCODE_OR },
510 { "_xlfn.XOR" , SC_OPCODE_XOR },
511 { " " , SC_OPCODE_INTERSECT },
512 { "~" , SC_OPCODE_UNION },
513 { ":" , SC_OPCODE_RANGE },
514 { "NOT" , SC_OPCODE_NOT },
515 { "NEG" , SC_OPCODE_NEG },
516 { "-" , SC_OPCODE_NEG_SUB },
517 { "PI" , SC_OPCODE_PI },
518 { "RAND" , SC_OPCODE_RANDOM },
519 { "TRUE" , SC_OPCODE_TRUE },
520 { "FALSE" , SC_OPCODE_FALSE },
521 { "TODAY" , SC_OPCODE_GET_ACT_DATE },
522 { "NOW" , SC_OPCODE_GET_ACT_TIME },
523 { "NA" , SC_OPCODE_NO_VALUE },
524 { "_xlfn.ORG.OPENOFFICE.CURRENT" , SC_OPCODE_CURRENT },
525 { "DEGREES" , SC_OPCODE_DEG },
526 { "RADIANS" , SC_OPCODE_RAD },
527 { "SIN" , SC_OPCODE_SIN },
528 { "COS" , SC_OPCODE_COS },
529 { "TAN" , SC_OPCODE_TAN },
530 { "_xlfn.COT" , SC_OPCODE_COT },
531 { "ASIN" , SC_OPCODE_ARC_SIN },
532 { "ACOS" , SC_OPCODE_ARC_COS },
533 { "ATAN" , SC_OPCODE_ARC_TAN },
534 { "_xlfn.ACOT" , SC_OPCODE_ARC_COT },
535 { "SINH" , SC_OPCODE_SIN_HYP },
536 { "COSH" , SC_OPCODE_COS_HYP },
537 { "TANH" , SC_OPCODE_TAN_HYP },
538 { "_xlfn.COTH" , SC_OPCODE_COT_HYP },
539 { "ASINH" , SC_OPCODE_ARC_SIN_HYP },
540 { "ACOSH" , SC_OPCODE_ARC_COS_HYP },
541 { "ATANH" , SC_OPCODE_ARC_TAN_HYP },
542 { "_xlfn.ACOTH" , SC_OPCODE_ARC_COT_HYP },
543 { "_xlfn.CSC" , SC_OPCODE_COSECANT },
544 { "_xlfn.SEC" , SC_OPCODE_SECANT },
545 { "_xlfn.CSCH" , SC_OPCODE_COSECANT_HYP },
546 { "_xlfn.SECH" , SC_OPCODE_SECANT_HYP },
547 { "EXP" , SC_OPCODE_EXP },
548 { "LN" , SC_OPCODE_LN },
549 { "SQRT" , SC_OPCODE_SQRT },
550 { "FACT" , SC_OPCODE_FACT },
551 { "YEAR" , SC_OPCODE_GET_YEAR },
552 { "MONTH" , SC_OPCODE_GET_MONTH },
553 { "DAY" , SC_OPCODE_GET_DAY },
554 { "HOUR" , SC_OPCODE_GET_HOUR },
555 { "MINUTE" , SC_OPCODE_GET_MIN },
556 { "SECOND" , SC_OPCODE_GET_SEC },
557 { "SIGN" , SC_OPCODE_PLUS_MINUS },
558 { "ABS" , SC_OPCODE_ABS },
559 { "INT" , SC_OPCODE_INT },
560 { "_xlfn.PHI" , SC_OPCODE_PHI },
561 { "_xlfn.GAUSS" , SC_OPCODE_GAUSS },
562 { "ISBLANK" , SC_OPCODE_IS_EMPTY },
563 { "ISTEXT" , SC_OPCODE_IS_STRING },
564 { "ISNONTEXT" , SC_OPCODE_IS_NON_STRING },
565 { "ISLOGICAL" , SC_OPCODE_IS_LOGICAL },
566 { "TYPE" , SC_OPCODE_TYPE },
567 { "CELL" , SC_OPCODE_CELL },
568 { "ISREF" , SC_OPCODE_IS_REF },
569 { "ISNUMBER" , SC_OPCODE_IS_VALUE },
570 { "_xlfn.ISFORMULA" , SC_OPCODE_IS_FORMULA },
571 { "ISNA" , SC_OPCODE_IS_NV },
572 { "ISERR" , SC_OPCODE_IS_ERR },
573 { "ISERROR" , SC_OPCODE_IS_ERROR },
574 { "ISEVEN" , SC_OPCODE_IS_EVEN },
575 { "ISODD" , SC_OPCODE_IS_ODD },
576 { "N" , SC_OPCODE_N },
577 { "DATEVALUE" , SC_OPCODE_GET_DATE_VALUE },
578 { "TIMEVALUE" , SC_OPCODE_GET_TIME_VALUE },
579 { "CODE" , SC_OPCODE_CODE },
580 { "TRIM" , SC_OPCODE_TRIM },
581 { "UPPER" , SC_OPCODE_UPPER },
582 { "PROPER" , SC_OPCODE_PROPER },
583 { "LOWER" , SC_OPCODE_LOWER },
584 { "LEN" , SC_OPCODE_LEN },
585 { "T" , SC_OPCODE_T },
586 { "VALUE" , SC_OPCODE_VALUE },
587 { "CLEAN" , SC_OPCODE_CLEAN },
588 { "CHAR" , SC_OPCODE_CHAR },
589 { "JIS" , SC_OPCODE_JIS },
590 { "ASC" , SC_OPCODE_ASC },
591 { "_xlfn.UNICODE" , SC_OPCODE_UNICODE },
592 { "_xlfn.UNICHAR" , SC_OPCODE_UNICHAR },
593 { "LOG10" , SC_OPCODE_LOG10 },
594 { "EVEN" , SC_OPCODE_EVEN },
595 { "ODD" , SC_OPCODE_ODD },
596 { "NORMSDIST" , SC_OPCODE_STD_NORM_DIST },
597 { "_xlfn.NORM.S.DIST" , SC_OPCODE_STD_NORM_DIST_MS },
598 { "FISHER" , SC_OPCODE_FISHER },
599 { "FISHERINV" , SC_OPCODE_FISHER_INV },
600 { "NORMSINV" , SC_OPCODE_S_NORM_INV },
601 { "_xlfn.NORM.S.INV" , SC_OPCODE_S_NORM_INV_MS },
602 { "GAMMALN" , SC_OPCODE_GAMMA_LN },
603 { "_xlfn.GAMMALN.PRECISE" , SC_OPCODE_GAMMA_LN_MS },
604 { "_xlfn.ORG.OPENOFFICE.ERRORTYPE" , SC_OPCODE_ERROR_TYPE },
605 { "ERROR.TYPE" , SC_OPCODE_ERROR_TYPE_ODF },
606 { "_xlfn.FORMULATEXT" , SC_OPCODE_FORMULA },
607 { "ATAN2" , SC_OPCODE_ARC_TAN_2 },
608 { "_xlfn.CEILING.MATH" , SC_OPCODE_CEIL_MATH },
609 { "_xlfn.CEILING.MATH" , SC_OPCODE_CEIL },
610 { "CEILING" , SC_OPCODE_CEIL_MS },
611 { "_xlfn.CEILING.PRECISE" , SC_OPCODE_CEIL_PRECISE },
612 { "ISO.CEILING" , SC_OPCODE_CEIL_ISO },
613 { "FLOOR" , SC_OPCODE_FLOOR_MS },
614 { "_xlfn.FLOOR.MATH" , SC_OPCODE_FLOOR_MATH },
615 { "_xlfn.FLOOR.MATH" , SC_OPCODE_FLOOR },
616 { "_xlfn.FLOOR.PRECISE" , SC_OPCODE_FLOOR_PRECISE },
617 { "ROUND" , SC_OPCODE_ROUND },
618 { "ROUNDUP" , SC_OPCODE_ROUND_UP },
619 { "ROUNDDOWN" , SC_OPCODE_ROUND_DOWN },
620 { "TRUNC" , SC_OPCODE_TRUNC },
621 { "LOG" , SC_OPCODE_LOG },
622 { "POWER" , SC_OPCODE_POWER },
623 { "GCD" , SC_OPCODE_GCD },
624 { "LCM" , SC_OPCODE_LCM },
625 { "MOD" , SC_OPCODE_MOD },
626 { "SUMPRODUCT" , SC_OPCODE_SUM_PRODUCT },
627 { "SUMSQ" , SC_OPCODE_SUM_SQ },
628 { "SUMX2MY2" , SC_OPCODE_SUM_X2MY2 },
629 { "SUMX2PY2" , SC_OPCODE_SUM_X2DY2 },
630 { "SUMXMY2" , SC_OPCODE_SUM_XMY2 },
631 { "DATE" , SC_OPCODE_GET_DATE },
632 { "TIME" , SC_OPCODE_GET_TIME },
633 { "_xlfn.DAYS" , SC_OPCODE_GET_DIFF_DATE },
634 { "DAYS360" , SC_OPCODE_GET_DIFF_DATE_360 },
635 { "DATEDIF" , SC_OPCODE_GET_DATEDIF },
636 { "MIN" , SC_OPCODE_MIN },
637 { "MINA" , SC_OPCODE_MIN_A },
638 { "MAX" , SC_OPCODE_MAX },
639 { "MAXA" , SC_OPCODE_MAX_A },
640 { "SUM" , SC_OPCODE_SUM },
641 { "PRODUCT" , SC_OPCODE_PRODUCT },
642 { "AVERAGE" , SC_OPCODE_AVERAGE },
643 { "AVERAGEA" , SC_OPCODE_AVERAGE_A },
644 { "COUNT" , SC_OPCODE_COUNT },
645 { "COUNTA" , SC_OPCODE_COUNT_2 },
646 { "NPV" , SC_OPCODE_NPV },
647 { "IRR" , SC_OPCODE_IRR },
648 { "MIRR" , SC_OPCODE_MIRR },
649 { "ISPMT" , SC_OPCODE_ISPMT },
650 { "VAR" , SC_OPCODE_VAR },
651 { "VARA" , SC_OPCODE_VAR_A },
652 { "VARP" , SC_OPCODE_VAR_P },
653 { "VARPA" , SC_OPCODE_VAR_P_A },
654 { "_xlfn.VAR.P" , SC_OPCODE_VAR_P_MS },
655 { "_xlfn.VAR.S" , SC_OPCODE_VAR_S },
656 { "STDEV" , SC_OPCODE_ST_DEV },
657 { "STDEVA" , SC_OPCODE_ST_DEV_A },
658 { "STDEVP" , SC_OPCODE_ST_DEV_P },
659 { "STDEVPA" , SC_OPCODE_ST_DEV_P_A },
660 { "_xlfn.STDEV.P" , SC_OPCODE_ST_DEV_P_MS },
661 { "_xlfn.STDEV.S" , SC_OPCODE_ST_DEV_S },
662 { "B" , SC_OPCODE_B },
663 { "NORMDIST" , SC_OPCODE_NORM_DIST },
664 { "_xlfn.NORM.DIST" , SC_OPCODE_NORM_DIST_MS },
665 { "EXPONDIST" , SC_OPCODE_EXP_DIST },
666 { "_xlfn.EXPON.DIST" , SC_OPCODE_EXP_DIST_MS },
667 { "BINOMDIST" , SC_OPCODE_BINOM_DIST },
668 { "_xlfn.BINOM.DIST" , SC_OPCODE_BINOM_DIST_MS },
669 { "POISSON" , SC_OPCODE_POISSON_DIST },
670 { "_xlfn.POISSON.DIST" , SC_OPCODE_POISSON_DIST_MS },
671 { "COMBIN" , SC_OPCODE_COMBIN },
672 { "_xlfn.COMBINA" , SC_OPCODE_COMBIN_A },
673 { "PERMUT" , SC_OPCODE_PERMUT },
674 { "_xlfn.PERMUTATIONA" , SC_OPCODE_PERMUTATION_A },
675 { "PV" , SC_OPCODE_PV },
676 { "SYD" , SC_OPCODE_SYD },
677 { "DDB" , SC_OPCODE_DDB },
678 { "DB" , SC_OPCODE_DB },
679 { "VDB" , SC_OPCODE_VBD },
680 { "_xlfn.PDURATION" , SC_OPCODE_PDURATION },
681 { "SLN" , SC_OPCODE_SLN },
682 { "PMT" , SC_OPCODE_PMT },
683 { "COLUMNS" , SC_OPCODE_COLUMNS },
684 { "ROWS" , SC_OPCODE_ROWS },
685 { "_xlfn.SHEETS" , SC_OPCODE_SHEETS },
686 { "COLUMN" , SC_OPCODE_COLUMN },
687 { "ROW" , SC_OPCODE_ROW },
688 { "_xlfn.SHEET" , SC_OPCODE_SHEET },
689 { "_xlfn.RRI" , SC_OPCODE_RRI },
690 { "FV" , SC_OPCODE_FV },
691 { "NPER" , SC_OPCODE_NPER },
692 { "RATE" , SC_OPCODE_RATE },
693 { "IPMT" , SC_OPCODE_IPMT },
694 { "PPMT" , SC_OPCODE_PPMT },
695 { "CUMIPMT" , SC_OPCODE_CUM_IPMT },
696 { "CUMPRINC" , SC_OPCODE_CUM_PRINC },
697 { "EFFECT" , SC_OPCODE_EFFECT },
698 { "NOMINAL" , SC_OPCODE_NOMINAL },
699 { "SUBTOTAL" , SC_OPCODE_SUB_TOTAL },
700 { "DSUM" , SC_OPCODE_DB_SUM },
701 { "DCOUNT" , SC_OPCODE_DB_COUNT },
702 { "DCOUNTA" , SC_OPCODE_DB_COUNT_2 },
703 { "DAVERAGE" , SC_OPCODE_DB_AVERAGE },
704 { "DGET" , SC_OPCODE_DB_GET },
705 { "DMAX" , SC_OPCODE_DB_MAX },
706 { "DMIN" , SC_OPCODE_DB_MIN },
707 { "DPRODUCT" , SC_OPCODE_DB_PRODUCT },
708 { "DSTDEV" , SC_OPCODE_DB_STD_DEV },
709 { "DSTDEVP" , SC_OPCODE_DB_STD_DEV_P },
710 { "DVAR" , SC_OPCODE_DB_VAR },
711 { "DVARP" , SC_OPCODE_DB_VAR_P },
712 { "INDIRECT" , SC_OPCODE_INDIRECT },
713 { "ADDRESS" , SC_OPCODE_ADDRESS },
714 { "MATCH" , SC_OPCODE_MATCH },
715 { "COUNTBLANK" , SC_OPCODE_COUNT_EMPTY_CELLS },
716 { "COUNTIF" , SC_OPCODE_COUNT_IF },
717 { "SUMIF" , SC_OPCODE_SUM_IF },
718 { "AVERAGEIF" , SC_OPCODE_AVERAGE_IF },
719 { "SUMIFS" , SC_OPCODE_SUM_IFS },
720 { "AVERAGEIFS" , SC_OPCODE_AVERAGE_IFS },
721 { "COUNTIFS" , SC_OPCODE_COUNT_IFS },
722 { "LOOKUP" , SC_OPCODE_LOOKUP },
723 { "VLOOKUP" , SC_OPCODE_V_LOOKUP },
724 { "HLOOKUP" , SC_OPCODE_H_LOOKUP },
725 { "_xlfn.ORG.OPENOFFICE.MULTIRANGE" , SC_OPCODE_MULTI_AREA }, // legacy for range list (union)
726 { "OFFSET" , SC_OPCODE_OFFSET },
727 { "INDEX" , SC_OPCODE_INDEX },
728 { "AREAS" , SC_OPCODE_AREAS },
729 { "DOLLAR" , SC_OPCODE_CURRENCY },
730 { "REPLACE" , SC_OPCODE_REPLACE },
731 { "FIXED" , SC_OPCODE_FIXED },
732 { "FIND" , SC_OPCODE_FIND },
733 { "EXACT" , SC_OPCODE_EXACT },
734 { "LEFT" , SC_OPCODE_LEFT },
735 { "RIGHT" , SC_OPCODE_RIGHT },
736 { "SEARCH" , SC_OPCODE_SEARCH },
737 { "MID" , SC_OPCODE_MID },
738 { "LENB" , SC_OPCODE_LENB },
739 { "RIGHTB" , SC_OPCODE_RIGHTB },
740 { "LEFTB" , SC_OPCODE_LEFTB },
741 { "REPLACEB" , SC_OPCODE_REPLACEB },
742 { "FINDB" , SC_OPCODE_FINDB },
743 { "SEARCHB" , SC_OPCODE_SEARCHB },
744 { "MIDB" , SC_OPCODE_MIDB },
745 { "TEXT" , SC_OPCODE_TEXT },
746 { "SUBSTITUTE" , SC_OPCODE_SUBSTITUTE },
747 { "REPT" , SC_OPCODE_REPT },
748 { "CONCATENATE" , SC_OPCODE_CONCAT },
749 { "_xlfn.CONCAT" , SC_OPCODE_CONCAT_MS },
750 { "_xlfn.TEXTJOIN" , SC_OPCODE_TEXTJOIN_MS },
751 { "_xlfn.IFS" , SC_OPCODE_IFS_MS },
752 { "_xlfn.SWITCH" , SC_OPCODE_SWITCH_MS },
753 { "_xlfn.MINIFS" , SC_OPCODE_MINIFS_MS },
754 { "_xlfn.MAXIFS" , SC_OPCODE_MAXIFS_MS },
755 { "MVALUE" , SC_OPCODE_MAT_VALUE },
756 { "MDETERM" , SC_OPCODE_MAT_DET },
757 { "MINVERSE" , SC_OPCODE_MAT_INV },
758 { "MMULT" , SC_OPCODE_MAT_MULT },
759 { "TRANSPOSE" , SC_OPCODE_MAT_TRANS },
760 { "_xlfn.MUNIT" , SC_OPCODE_MATRIX_UNIT },
761 { "_xlfn.ORG.OPENOFFICE.GOALSEEK" , SC_OPCODE_BACK_SOLVER },
762 { "HYPGEOMDIST" , SC_OPCODE_HYP_GEOM_DIST },
763 { "_xlfn.HYPGEOM.DIST" , SC_OPCODE_HYP_GEOM_DIST_MS },
764 { "LOGNORMDIST" , SC_OPCODE_LOG_NORM_DIST },
765 { "_xlfn.LOGNORM.DIST" , SC_OPCODE_LOG_NORM_DIST_MS },
766 { "TDIST" , SC_OPCODE_T_DIST },
767 { "_xlfn.T.DIST.2T" , SC_OPCODE_T_DIST_2T },
768 { "_xlfn.T.DIST" , SC_OPCODE_T_DIST_MS },
769 { "_xlfn.T.DIST.RT" , SC_OPCODE_T_DIST_RT },
770 { "FDIST" , SC_OPCODE_F_DIST },
771 { "_xlfn.F.DIST" , SC_OPCODE_F_DIST_LT },
772 { "_xlfn.F.DIST.RT" , SC_OPCODE_F_DIST_RT },
773 { "CHIDIST" , SC_OPCODE_CHI_DIST },
774 { "_xlfn.CHISQ.DIST.RT" , SC_OPCODE_CHI_DIST_MS },
775 { "WEIBULL" , SC_OPCODE_WEIBULL },
776 { "_xlfn.WEIBULL.DIST" , SC_OPCODE_WEIBULL_MS },
777 { "NEGBINOMDIST" , SC_OPCODE_NEG_BINOM_VERT },
778 { "_xlfn.NEGBINOM.DIST" , SC_OPCODE_NEG_BINOM_DIST_MS },
779 { "CRITBINOM" , SC_OPCODE_CRIT_BINOM },
780 { "_xlfn.BINOM.INV" , SC_OPCODE_BINOM_INV },
781 { "KURT" , SC_OPCODE_KURT },
782 { "HARMEAN" , SC_OPCODE_HAR_MEAN },
783 { "GEOMEAN" , SC_OPCODE_GEO_MEAN },
784 { "STANDARDIZE" , SC_OPCODE_STANDARD },
785 { "AVEDEV" , SC_OPCODE_AVE_DEV },
786 { "SKEW" , SC_OPCODE_SKEW },
787 { "_xlfn.SKEW.P" , SC_OPCODE_SKEWP },
788 { "DEVSQ" , SC_OPCODE_DEV_SQ },
789 { "MEDIAN" , SC_OPCODE_MEDIAN },
790 { "MODE" , SC_OPCODE_MODAL_VALUE },
791 { "_xlfn.MODE.SNGL" , SC_OPCODE_MODAL_VALUE_MS },
792 { "_xlfn.MODE.MULT" , SC_OPCODE_MODAL_VALUE_MULTI },
793 { "ZTEST" , SC_OPCODE_Z_TEST },
794 { "_xlfn.Z.TEST" , SC_OPCODE_Z_TEST_MS },
795 { "_xlfn.AGGREGATE" , SC_OPCODE_AGGREGATE },
796 { "TTEST" , SC_OPCODE_T_TEST },
797 { "_xlfn.T.TEST" , SC_OPCODE_T_TEST_MS },
798 { "RANK" , SC_OPCODE_RANK },
799 { "PERCENTILE" , SC_OPCODE_PERCENTILE },
800 { "PERCENTRANK" , SC_OPCODE_PERCENT_RANK },
801 { "_xlfn.PERCENTILE.INC" , SC_OPCODE_PERCENTILE_INC },
802 { "_xlfn.PERCENTRANK.INC" , SC_OPCODE_PERCENT_RANK_INC },
803 { "_xlfn.QUARTILE.INC" , SC_OPCODE_QUARTILE_INC },
804 { "_xlfn.RANK.EQ" , SC_OPCODE_RANK_EQ },
805 { "_xlfn.PERCENTILE.EXC" , SC_OPCODE_PERCENTILE_EXC },
806 { "_xlfn.PERCENTRANK.EXC" , SC_OPCODE_PERCENT_RANK_EXC },
807 { "_xlfn.QUARTILE.EXC" , SC_OPCODE_QUARTILE_EXC },
808 { "_xlfn.RANK.AVG" , SC_OPCODE_RANK_AVG },
809 { "LARGE" , SC_OPCODE_LARGE },
810 { "SMALL" , SC_OPCODE_SMALL },
811 { "FREQUENCY" , SC_OPCODE_FREQUENCY },
812 { "QUARTILE" , SC_OPCODE_QUARTILE },
813 { "NORMINV" , SC_OPCODE_NORM_INV },
814 { "_xlfn.NORM.INV" , SC_OPCODE_NORM_INV_MS },
815 { "CONFIDENCE" , SC_OPCODE_CONFIDENCE },
816 { "_xlfn.CONFIDENCE.NORM" , SC_OPCODE_CONFIDENCE_N },
817 { "_xlfn.CONFIDENCE.T" , SC_OPCODE_CONFIDENCE_T },
818 { "FTEST" , SC_OPCODE_F_TEST },
819 { "_xlfn.F.TEST" , SC_OPCODE_F_TEST_MS },
820 { "TRIMMEAN" , SC_OPCODE_TRIM_MEAN },
821 { "PROB" , SC_OPCODE_PROB },
822 { "CORREL" , SC_OPCODE_CORREL },
823 { "COVAR" , SC_OPCODE_COVAR },
824 { "_xlfn.COVARIANCE.P" , SC_OPCODE_COVARIANCE_P },
825 { "_xlfn.COVARIANCE.S" , SC_OPCODE_COVARIANCE_S },
826 { "PEARSON" , SC_OPCODE_PEARSON },
827 { "RSQ" , SC_OPCODE_RSQ },
828 { "STEYX" , SC_OPCODE_STEYX },
829 { "SLOPE" , SC_OPCODE_SLOPE },
830 { "INTERCEPT" , SC_OPCODE_INTERCEPT },
831 { "TREND" , SC_OPCODE_TREND },
832 { "GROWTH" , SC_OPCODE_GROWTH },
833 { "LINEST" , SC_OPCODE_LINEST },
834 { "LOGEST" , SC_OPCODE_LOGEST },
835 { "FORECAST" , SC_OPCODE_FORECAST },
836 { "_xlfn.FORECAST.ETS" , SC_OPCODE_FORECAST_ETS_ADD },
837 { "_xlfn.FORECAST.ETS.SEASONALITY" , SC_OPCODE_FORECAST_ETS_SEA },
838 { "_xlfn.ORG.LIBREOFFICE.FORECAST.ETS.MULT" , SC_OPCODE_FORECAST_ETS_MUL },
839 { "_xlfn.FORECAST.ETS.CONFINT" , SC_OPCODE_FORECAST_ETS_PIA },
840 { "_xlfn.ORG.LIBREOFFICE.FORECAST.ETS.PI.MULT" , SC_OPCODE_FORECAST_ETS_PIM },
841 { "_xlfn.FORECAST.ETS.STAT" , SC_OPCODE_FORECAST_ETS_STA },
842 { "_xlfn.ORG.LIBREOFFICE.FORECAST.ETS.STAT.MULT" , SC_OPCODE_FORECAST_ETS_STM },
843 { "_xlfn.FORECAST.LINEAR" , SC_OPCODE_FORECAST_LIN },
844 { "CHIINV" , SC_OPCODE_CHI_INV },
845 { "_xlfn.CHISQ.INV.RT" , SC_OPCODE_CHI_INV_MS },
846 { "GAMMADIST" , SC_OPCODE_GAMMA_DIST },
847 { "_xlfn.GAMMA.DIST" , SC_OPCODE_GAMMA_DIST_MS },
848 { "GAMMAINV" , SC_OPCODE_GAMMA_INV },
849 { "_xlfn.GAMMA.INV" , SC_OPCODE_GAMMA_INV_MS },
850 { "TINV" , SC_OPCODE_T_INV },
851 { "_xlfn.T.INV.2T" , SC_OPCODE_T_INV_2T },
852 { "_xlfn.T.INV" , SC_OPCODE_T_INV_MS },
853 { "FINV" , SC_OPCODE_F_INV },
854 { "_xlfn.F.INV" , SC_OPCODE_F_INV_LT },
855 { "_xlfn.F.INV.RT" , SC_OPCODE_F_INV_RT },
856 { "CHITEST" , SC_OPCODE_CHI_TEST },
857 { "_xlfn.CHISQ.TEST" , SC_OPCODE_CHI_TEST_MS },
858 { "LOGINV" , SC_OPCODE_LOG_INV },
859 { "_xlfn.LOGNORM.INV" , SC_OPCODE_LOG_INV_MS },
860 { "TABLE" , SC_OPCODE_TABLE_OP },
861 { "BETADIST" , SC_OPCODE_BETA_DIST },
862 { "BETAINV" , SC_OPCODE_BETA_INV },
863 { "_xlfn.BETA.DIST" , SC_OPCODE_BETA_DIST_MS },
864 { "_xlfn.BETA.INV" , SC_OPCODE_BETA_INV_MS },
865 { "WEEKNUM" , SC_OPCODE_WEEK },
866 { "_xlfn.ISOWEEKNUM" , SC_OPCODE_ISOWEEKNUM },
867 { "_xlfn.ORG.LIBREOFFICE.WEEKNUM_OOO" , SC_OPCODE_WEEKNUM_OOO },
868 { "_xlfn.ORG.OPENOFFICE.EASTERSUNDAY" , SC_OPCODE_EASTERSUNDAY },
869 { "WEEKDAY" , SC_OPCODE_GET_DAY_OF_WEEK },
870 { "NETWORKDAYS" , SC_OPCODE_NETWORKDAYS },
871 { "NETWORKDAYS.INTL" , SC_OPCODE_NETWORKDAYS_MS },
872 { "WORKDAY.INTL" , SC_OPCODE_WORKDAY_MS },
873 { "#NAME!" , SC_OPCODE_NO_NAME },
874 { "_xlfn.ORG.OPENOFFICE.STYLE" , SC_OPCODE_STYLE },
875 { "DDE" , SC_OPCODE_DDE },
876 { "_xlfn.BASE" , SC_OPCODE_BASE },
877 { "_xlfn.DECIMAL" , SC_OPCODE_DECIMAL },
878 { "_xlfn.ORG.OPENOFFICE.CONVERT" , SC_OPCODE_CONVERT_OOO },
879 { "ROMAN" , SC_OPCODE_ROMAN },
880 { "_xlfn.ARABIC" , SC_OPCODE_ARABIC },
881 { "HYPERLINK" , SC_OPCODE_HYPERLINK },
882 { "INFO" , SC_OPCODE_INFO },
883 { "_xlfn.BAHTTEXT" , SC_OPCODE_BAHTTEXT },
884 { "GETPIVOTDATA" , SC_OPCODE_GET_PIVOT_DATA },
885 { "EUROCONVERT" , SC_OPCODE_EUROCONVERT },
886 { "_xlfn.NUMBERVALUE" , SC_OPCODE_NUMBERVALUE },
887 { "_xlfn.GAMMA" , SC_OPCODE_GAMMA },
888 { "CHISQDIST" , SC_OPCODE_CHISQ_DIST },
889 { "_xlfn.CHISQ.DIST" , SC_OPCODE_CHISQ_DIST_MS },
890 { "CHISQINV" , SC_OPCODE_CHISQ_INV },
891 { "_xlfn.CHISQ.INV" , SC_OPCODE_CHISQ_INV_MS },
892 { "_xlfn.BITAND" , SC_OPCODE_BITAND },
893 { "_xlfn.BITOR" , SC_OPCODE_BITOR },
894 { "_xlfn.BITXOR" , SC_OPCODE_BITXOR },
895 { "_xlfn.BITRSHIFT" , SC_OPCODE_BITRSHIFT },
896 { "_xlfn.BITLSHIFT" , SC_OPCODE_BITLSHIFT },
897 { "#NULL!" , SC_OPCODE_ERROR_NULL },
898 { "#DIV/0!" , SC_OPCODE_ERROR_DIVZERO },
899 { "#VALUE!" , SC_OPCODE_ERROR_VALUE },
900 { "#REF!" , SC_OPCODE_ERROR_REF },
901 { "#NAME?" , SC_OPCODE_ERROR_NAME },
902 { "#NUM!" , SC_OPCODE_ERROR_NUM },
903 { "#N/A" , SC_OPCODE_ERROR_NA },
904 /* END defined ERROR.TYPE() values. */
905 { "_xlfn.FILTERXML" , SC_OPCODE_FILTERXML },
906 { "_xlfn.WEBSERVICE" , SC_OPCODE_WEBSERVICE },
907 { "_xlfn.ORG.LIBREOFFICE.COLOR" , SC_OPCODE_COLOR },
908 { "_xlfn.ERF.PRECISE" , SC_OPCODE_ERF_MS },
909 { "_xlfn.ERFC.PRECISE" , SC_OPCODE_ERFC_MS },
910 { "_xlfn.ENCODEURL" , SC_OPCODE_ENCODEURL },
911 { "_xlfn.ORG.LIBREOFFICE.RAWSUBTRACT" , SC_OPCODE_RAWSUBTRACT },
912 { "_xlfn.ORG.LIBREOFFICE.ROUNDSIG" , SC_OPCODE_ROUNDSIG },
913 { "_xlfn.ORG.LIBREOFFICE.REGEX" , SC_OPCODE_REGEX },
914 { "_xlfn.ORG.LIBREOFFICE.FOURIER", SC_OPCODE_FOURIER },
915 { "_xlfn.ORG.LIBREOFFICE.RAND.NV" , SC_OPCODE_RANDOM_NV },
916 { "_xlfn.ORG.LIBREOFFICE.RANDBETWEEN.NV" , SC_OPCODE_RANDBETWEEN_NV },
920 /** These English names are used to store/load ODF v1.0/v1.1. */
921 // DO NOT CHANGE NAMES! Only add functions.
922 // If there is a reason for another name for some function then add an
923 // *additional* name to be recognized to sc/source/core/tool/compiler.cxx
924 // ScCompiler::IsOpCode() in the else if (mxSymbols->isPODF()) block.
925 const std::pair<const char *, int> RID_STRLIST_FUNCTION_NAMES_ENGLISH_PODF[] =
927 { "IF" , SC_OPCODE_IF },
928 { "IFERROR" , SC_OPCODE_IF_ERROR },
929 { "IFNA" , SC_OPCODE_IF_NA },
930 { "CHOOSE" , SC_OPCODE_CHOOSE },
931 { "(" , SC_OPCODE_OPEN },
932 { ")" , SC_OPCODE_CLOSE },
933 { "[" , SC_OPCODE_TABLE_REF_OPEN },
934 { "]" , SC_OPCODE_TABLE_REF_CLOSE },
935 { "#All" , SC_OPCODE_TABLE_REF_ITEM_ALL },
936 { "#Headers" , SC_OPCODE_TABLE_REF_ITEM_HEADERS },
937 { "#Data" , SC_OPCODE_TABLE_REF_ITEM_DATA },
938 { "#Totals" , SC_OPCODE_TABLE_REF_ITEM_TOTALS },
939 { "#This Row" , SC_OPCODE_TABLE_REF_ITEM_THIS_ROW },
940 { "{" , SC_OPCODE_ARRAY_OPEN },
941 { "}" , SC_OPCODE_ARRAY_CLOSE },
942 { "|" , SC_OPCODE_ARRAY_ROW_SEP },
943 { ";" , SC_OPCODE_ARRAY_COL_SEP },
944 { ";" , SC_OPCODE_SEP },
945 { "%" , SC_OPCODE_PERCENT_SIGN },
946 { "+" , SC_OPCODE_ADD },
947 { "-" , SC_OPCODE_SUB },
948 { "*" , SC_OPCODE_MUL },
949 { "/" , SC_OPCODE_DIV },
950 { "&" , SC_OPCODE_AMPERSAND },
951 { "^" , SC_OPCODE_POW },
952 { "=" , SC_OPCODE_EQUAL },
953 { "<>" , SC_OPCODE_NOT_EQUAL },
954 { "<" , SC_OPCODE_LESS },
955 { ">" , SC_OPCODE_GREATER },
956 { "<=" , SC_OPCODE_LESS_EQUAL },
957 { ">=" , SC_OPCODE_GREATER_EQUAL },
958 { "AND" , SC_OPCODE_AND },
959 { "OR" , SC_OPCODE_OR },
960 { "XOR" , SC_OPCODE_XOR },
961 { "!" , SC_OPCODE_INTERSECT },
962 { "~" , SC_OPCODE_UNION },
963 { ":" , SC_OPCODE_RANGE },
964 { "NOT" , SC_OPCODE_NOT },
965 { "NEG" , SC_OPCODE_NEG },
966 { "-" , SC_OPCODE_NEG_SUB },
967 { "PI" , SC_OPCODE_PI },
968 { "RAND" , SC_OPCODE_RANDOM },
969 { "TRUE" , SC_OPCODE_TRUE },
970 { "FALSE" , SC_OPCODE_FALSE },
971 { "TODAY" , SC_OPCODE_GET_ACT_DATE },
972 { "NOW" , SC_OPCODE_GET_ACT_TIME },
973 { "NA" , SC_OPCODE_NO_VALUE },
974 { "CURRENT" , SC_OPCODE_CURRENT },
975 { "DEGREES" , SC_OPCODE_DEG },
976 { "RADIANS" , SC_OPCODE_RAD },
977 { "SIN" , SC_OPCODE_SIN },
978 { "COS" , SC_OPCODE_COS },
979 { "TAN" , SC_OPCODE_TAN },
980 { "COT" , SC_OPCODE_COT },
981 { "ASIN" , SC_OPCODE_ARC_SIN },
982 { "ACOS" , SC_OPCODE_ARC_COS },
983 { "ATAN" , SC_OPCODE_ARC_TAN },
984 { "ACOT" , SC_OPCODE_ARC_COT },
985 { "SINH" , SC_OPCODE_SIN_HYP },
986 { "COSH" , SC_OPCODE_COS_HYP },
987 { "TANH" , SC_OPCODE_TAN_HYP },
988 { "COTH" , SC_OPCODE_COT_HYP },
989 { "ASINH" , SC_OPCODE_ARC_SIN_HYP },
990 { "ACOSH" , SC_OPCODE_ARC_COS_HYP },
991 { "ATANH" , SC_OPCODE_ARC_TAN_HYP },
992 { "ACOTH" , SC_OPCODE_ARC_COT_HYP },
993 { "CSC" , SC_OPCODE_COSECANT },
994 { "SEC" , SC_OPCODE_SECANT },
995 { "CSCH" , SC_OPCODE_COSECANT_HYP },
996 { "SECH" , SC_OPCODE_SECANT_HYP },
997 { "EXP" , SC_OPCODE_EXP },
998 { "LN" , SC_OPCODE_LN },
999 { "SQRT" , SC_OPCODE_SQRT },
1000 { "FACT" , SC_OPCODE_FACT },
1001 { "YEAR" , SC_OPCODE_GET_YEAR },
1002 { "MONTH" , SC_OPCODE_GET_MONTH },
1003 { "DAY" , SC_OPCODE_GET_DAY },
1004 { "HOUR" , SC_OPCODE_GET_HOUR },
1005 { "MINUTE" , SC_OPCODE_GET_MIN },
1006 { "SECOND" , SC_OPCODE_GET_SEC },
1007 { "SIGN" , SC_OPCODE_PLUS_MINUS },
1008 { "ABS" , SC_OPCODE_ABS },
1009 { "INT" , SC_OPCODE_INT },
1010 { "PHI" , SC_OPCODE_PHI },
1011 { "GAUSS" , SC_OPCODE_GAUSS },
1012 { "ISBLANK" , SC_OPCODE_IS_EMPTY },
1013 { "ISTEXT" , SC_OPCODE_IS_STRING },
1014 { "ISNONTEXT" , SC_OPCODE_IS_NON_STRING },
1015 { "ISLOGICAL" , SC_OPCODE_IS_LOGICAL },
1016 { "TYPE" , SC_OPCODE_TYPE },
1017 { "CELL" , SC_OPCODE_CELL },
1018 { "ISREF" , SC_OPCODE_IS_REF },
1019 { "ISNUMBER" , SC_OPCODE_IS_VALUE },
1020 { "ISFORMULA" , SC_OPCODE_IS_FORMULA },
1021 { "ISNA" , SC_OPCODE_IS_NV },
1022 { "ISERR" , SC_OPCODE_IS_ERR },
1023 { "ISERROR" , SC_OPCODE_IS_ERROR },
1024 { "ISEVEN" , SC_OPCODE_IS_EVEN },
1025 { "ISODD" , SC_OPCODE_IS_ODD },
1026 { "N" , SC_OPCODE_N },
1027 { "DATEVALUE" , SC_OPCODE_GET_DATE_VALUE },
1028 { "TIMEVALUE" , SC_OPCODE_GET_TIME_VALUE },
1029 { "CODE" , SC_OPCODE_CODE },
1030 { "TRIM" , SC_OPCODE_TRIM },
1031 { "UPPER" , SC_OPCODE_UPPER },
1032 { "PROPER" , SC_OPCODE_PROPER },
1033 { "LOWER" , SC_OPCODE_LOWER },
1034 { "LEN" , SC_OPCODE_LEN },
1035 { "T" , SC_OPCODE_T },
1036 { "VALUE" , SC_OPCODE_VALUE },
1037 { "CLEAN" , SC_OPCODE_CLEAN },
1038 { "CHAR" , SC_OPCODE_CHAR },
1039 { "JIS" , SC_OPCODE_JIS },
1040 { "ASC" , SC_OPCODE_ASC },
1041 { "UNICODE" , SC_OPCODE_UNICODE },
1042 { "UNICHAR" , SC_OPCODE_UNICHAR },
1043 { "LOG10" , SC_OPCODE_LOG10 },
1044 { "EVEN" , SC_OPCODE_EVEN },
1045 { "ODD" , SC_OPCODE_ODD },
1046 { "NORMSDIST" , SC_OPCODE_STD_NORM_DIST },
1047 { "NORM.S.DIST" , SC_OPCODE_STD_NORM_DIST_MS },
1048 { "FISHER" , SC_OPCODE_FISHER },
1049 { "FISHERINV" , SC_OPCODE_FISHER_INV },
1050 { "NORMSINV" , SC_OPCODE_S_NORM_INV },
1051 { "NORM.S.INV" , SC_OPCODE_S_NORM_INV_MS },
1052 { "GAMMALN" , SC_OPCODE_GAMMA_LN },
1053 { "GAMMALN.PRECISE" , SC_OPCODE_GAMMA_LN_MS },
1054 { "ERRORTYPE" , SC_OPCODE_ERROR_TYPE },
1055 { "ERROR.TYPE" , SC_OPCODE_ERROR_TYPE_ODF },
1056 { "FORMULA" , SC_OPCODE_FORMULA },
1057 { "ATAN2" , SC_OPCODE_ARC_TAN_2 },
1058 { "CEILING.MATH" , SC_OPCODE_CEIL_MATH },
1059 { "CEILING" , SC_OPCODE_CEIL },
1060 { "CEILING.XCL" , SC_OPCODE_CEIL_MS },
1061 { "CEILING.PRECISE" , SC_OPCODE_CEIL_PRECISE },
1062 { "ISO.CEILING" , SC_OPCODE_CEIL_ISO },
1063 { "FLOOR" , SC_OPCODE_FLOOR },
1064 { "FLOOR.XCL" , SC_OPCODE_FLOOR_MS },
1065 { "FLOOR.MATH" , SC_OPCODE_FLOOR_MATH },
1066 { "FLOOR.PRECISE" , SC_OPCODE_FLOOR_PRECISE },
1067 { "ROUND" , SC_OPCODE_ROUND },
1068 { "ROUNDUP" , SC_OPCODE_ROUND_UP },
1069 { "ROUNDDOWN" , SC_OPCODE_ROUND_DOWN },
1070 { "TRUNC" , SC_OPCODE_TRUNC },
1071 { "LOG" , SC_OPCODE_LOG },
1072 { "POWER" , SC_OPCODE_POWER },
1073 { "GCD" , SC_OPCODE_GCD },
1074 { "LCM" , SC_OPCODE_LCM },
1075 { "MOD" , SC_OPCODE_MOD },
1076 { "SUMPRODUCT" , SC_OPCODE_SUM_PRODUCT },
1077 { "SUMSQ" , SC_OPCODE_SUM_SQ },
1078 { "SUMX2MY2" , SC_OPCODE_SUM_X2MY2 },
1079 { "SUMX2PY2" , SC_OPCODE_SUM_X2DY2 },
1080 { "SUMXMY2" , SC_OPCODE_SUM_XMY2 },
1081 { "DATE" , SC_OPCODE_GET_DATE },
1082 { "TIME" , SC_OPCODE_GET_TIME },
1083 { "DAYS" , SC_OPCODE_GET_DIFF_DATE },
1084 { "DAYS360" , SC_OPCODE_GET_DIFF_DATE_360 },
1085 { "DATEDIF" , SC_OPCODE_GET_DATEDIF },
1086 { "MIN" , SC_OPCODE_MIN },
1087 { "MINA" , SC_OPCODE_MIN_A },
1088 { "MAX" , SC_OPCODE_MAX },
1089 { "MAXA" , SC_OPCODE_MAX_A },
1090 { "SUM" , SC_OPCODE_SUM },
1091 { "PRODUCT" , SC_OPCODE_PRODUCT },
1092 { "AVERAGE" , SC_OPCODE_AVERAGE },
1093 { "AVERAGEA" , SC_OPCODE_AVERAGE_A },
1094 { "COUNT" , SC_OPCODE_COUNT },
1095 { "COUNTA" , SC_OPCODE_COUNT_2 },
1096 { "NPV" , SC_OPCODE_NPV },
1097 { "IRR" , SC_OPCODE_IRR },
1098 { "MIRR" , SC_OPCODE_MIRR },
1099 { "ISPMT" , SC_OPCODE_ISPMT },
1100 { "VAR" , SC_OPCODE_VAR },
1101 { "VARA" , SC_OPCODE_VAR_A },
1102 { "VARP" , SC_OPCODE_VAR_P },
1103 { "VARPA" , SC_OPCODE_VAR_P_A },
1104 { "VAR.P" , SC_OPCODE_VAR_P_MS },
1105 { "VAR.S" , SC_OPCODE_VAR_S },
1106 { "STDEV" , SC_OPCODE_ST_DEV },
1107 { "STDEVA" , SC_OPCODE_ST_DEV_A },
1108 { "STDEVP" , SC_OPCODE_ST_DEV_P },
1109 { "STDEVPA" , SC_OPCODE_ST_DEV_P_A },
1110 { "STDEV.P" , SC_OPCODE_ST_DEV_P_MS },
1111 { "STDEV.S" , SC_OPCODE_ST_DEV_S },
1112 { "B" , SC_OPCODE_B },
1113 { "NORMDIST" , SC_OPCODE_NORM_DIST },
1114 { "NORM.DIST" , SC_OPCODE_NORM_DIST_MS },
1115 { "EXPONDIST" , SC_OPCODE_EXP_DIST },
1116 { "EXPON.DIST" , SC_OPCODE_EXP_DIST_MS },
1117 { "BINOMDIST" , SC_OPCODE_BINOM_DIST },
1118 { "BINOM.DIST" , SC_OPCODE_BINOM_DIST_MS },
1119 { "POISSON" , SC_OPCODE_POISSON_DIST },
1120 { "POISSON.DIST" , SC_OPCODE_POISSON_DIST_MS },
1121 { "COMBIN" , SC_OPCODE_COMBIN },
1122 { "COMBINA" , SC_OPCODE_COMBIN_A },
1123 { "PERMUT" , SC_OPCODE_PERMUT },
1124 { "PERMUTATIONA" , SC_OPCODE_PERMUTATION_A },
1125 { "PV" , SC_OPCODE_PV },
1126 { "SYD" , SC_OPCODE_SYD },
1127 { "DDB" , SC_OPCODE_DDB },
1128 { "DB" , SC_OPCODE_DB },
1129 { "VDB" , SC_OPCODE_VBD },
1130 { "DURATION" , SC_OPCODE_PDURATION }, // wrong but ODF1.1, keep it.
1131 { "SLN" , SC_OPCODE_SLN },
1132 { "PMT" , SC_OPCODE_PMT },
1133 { "COLUMNS" , SC_OPCODE_COLUMNS },
1134 { "ROWS" , SC_OPCODE_ROWS },
1135 { "SHEETS" , SC_OPCODE_SHEETS },
1136 { "COLUMN" , SC_OPCODE_COLUMN },
1137 { "ROW" , SC_OPCODE_ROW },
1138 { "SHEET" , SC_OPCODE_SHEET },
1139 { "ZGZ" , SC_OPCODE_RRI },
1140 { "FV" , SC_OPCODE_FV },
1141 { "NPER" , SC_OPCODE_NPER },
1142 { "RATE" , SC_OPCODE_RATE },
1143 { "IPMT" , SC_OPCODE_IPMT },
1144 { "PPMT" , SC_OPCODE_PPMT },
1145 { "CUMIPMT" , SC_OPCODE_CUM_IPMT },
1146 { "CUMPRINC" , SC_OPCODE_CUM_PRINC },
1147 { "EFFECTIVE" , SC_OPCODE_EFFECT },
1148 { "NOMINAL" , SC_OPCODE_NOMINAL },
1149 { "SUBTOTAL" , SC_OPCODE_SUB_TOTAL },
1150 { "DSUM" , SC_OPCODE_DB_SUM },
1151 { "DCOUNT" , SC_OPCODE_DB_COUNT },
1152 { "DCOUNTA" , SC_OPCODE_DB_COUNT_2 },
1153 { "DAVERAGE" , SC_OPCODE_DB_AVERAGE },
1154 { "DGET" , SC_OPCODE_DB_GET },
1155 { "DMAX" , SC_OPCODE_DB_MAX },
1156 { "DMIN" , SC_OPCODE_DB_MIN },
1157 { "DPRODUCT" , SC_OPCODE_DB_PRODUCT },
1158 { "DSTDEV" , SC_OPCODE_DB_STD_DEV },
1159 { "DSTDEVP" , SC_OPCODE_DB_STD_DEV_P },
1160 { "DVAR" , SC_OPCODE_DB_VAR },
1161 { "DVARP" , SC_OPCODE_DB_VAR_P },
1162 { "INDIRECT" , SC_OPCODE_INDIRECT },
1163 { "ADDRESS" , SC_OPCODE_ADDRESS },
1164 { "MATCH" , SC_OPCODE_MATCH },
1165 { "COUNTBLANK" , SC_OPCODE_COUNT_EMPTY_CELLS },
1166 { "COUNTIF" , SC_OPCODE_COUNT_IF },
1167 { "SUMIF" , SC_OPCODE_SUM_IF },
1168 { "AVERAGEIF" , SC_OPCODE_AVERAGE_IF },
1169 { "SUMIFS" , SC_OPCODE_SUM_IFS },
1170 { "AVERAGEIFS" , SC_OPCODE_AVERAGE_IFS },
1171 { "COUNTIFS" , SC_OPCODE_COUNT_IFS },
1172 { "LOOKUP" , SC_OPCODE_LOOKUP },
1173 { "VLOOKUP" , SC_OPCODE_V_LOOKUP },
1174 { "HLOOKUP" , SC_OPCODE_H_LOOKUP },
1175 { "MULTIRANGE" , SC_OPCODE_MULTI_AREA }, // legacy for range list (union)
1176 { "OFFSET" , SC_OPCODE_OFFSET },
1177 { "INDEX" , SC_OPCODE_INDEX },
1178 { "AREAS" , SC_OPCODE_AREAS },
1179 { "DOLLAR" , SC_OPCODE_CURRENCY },
1180 { "REPLACE" , SC_OPCODE_REPLACE },
1181 { "FIXED" , SC_OPCODE_FIXED },
1182 { "FIND" , SC_OPCODE_FIND },
1183 { "EXACT" , SC_OPCODE_EXACT },
1184 { "LEFT" , SC_OPCODE_LEFT },
1185 { "RIGHT" , SC_OPCODE_RIGHT },
1186 { "SEARCH" , SC_OPCODE_SEARCH },
1187 { "MID" , SC_OPCODE_MID },
1188 { "LENB" , SC_OPCODE_LENB },
1189 { "RIGHTB" , SC_OPCODE_RIGHTB },
1190 { "LEFTB" , SC_OPCODE_LEFTB },
1191 { "REPLACEB" , SC_OPCODE_REPLACEB },
1192 { "FINDB" , SC_OPCODE_FINDB },
1193 { "SEARCHB" , SC_OPCODE_SEARCHB },
1194 { "MIDB" , SC_OPCODE_MIDB },
1195 { "TEXT" , SC_OPCODE_TEXT },
1196 { "SUBSTITUTE" , SC_OPCODE_SUBSTITUTE },
1197 { "REPT" , SC_OPCODE_REPT },
1198 { "CONCATENATE" , SC_OPCODE_CONCAT },
1199 { "CONCAT" , SC_OPCODE_CONCAT_MS },
1200 { "TEXTJOIN" , SC_OPCODE_TEXTJOIN_MS },
1201 { "IFS" , SC_OPCODE_IFS_MS },
1202 { "SWITCH" , SC_OPCODE_SWITCH_MS },
1203 { "MINIFS" , SC_OPCODE_MINIFS_MS },
1204 { "MAXIFS" , SC_OPCODE_MAXIFS_MS },
1205 { "MVALUE" , SC_OPCODE_MAT_VALUE },
1206 { "MDETERM" , SC_OPCODE_MAT_DET },
1207 { "MINVERSE" , SC_OPCODE_MAT_INV },
1208 { "MMULT" , SC_OPCODE_MAT_MULT },
1209 { "TRANSPOSE" , SC_OPCODE_MAT_TRANS },
1210 { "MUNIT" , SC_OPCODE_MATRIX_UNIT },
1211 { "GOALSEEK" , SC_OPCODE_BACK_SOLVER },
1212 { "HYPGEOMDIST" , SC_OPCODE_HYP_GEOM_DIST },
1213 { "HYPGEOM.DIST" , SC_OPCODE_HYP_GEOM_DIST_MS },
1214 { "LOGNORMDIST" , SC_OPCODE_LOG_NORM_DIST },
1215 { "LOGNORM.DIST" , SC_OPCODE_LOG_NORM_DIST_MS },
1216 { "TDIST" , SC_OPCODE_T_DIST },
1217 { "T.DIST.2T" , SC_OPCODE_T_DIST_2T },
1218 { "T.DIST" , SC_OPCODE_T_DIST_MS },
1219 { "T.DIST.RT" , SC_OPCODE_T_DIST_RT },
1220 { "FDIST" , SC_OPCODE_F_DIST },
1221 { "F.DIST" , SC_OPCODE_F_DIST_LT },
1222 { "F.DIST.RT" , SC_OPCODE_F_DIST_RT },
1223 { "CHIDIST" , SC_OPCODE_CHI_DIST },
1224 { "CHISQ.DIST.RT" , SC_OPCODE_CHI_DIST_MS },
1225 { "WEIBULL" , SC_OPCODE_WEIBULL },
1226 { "WEIBULL.DIST" , SC_OPCODE_WEIBULL_MS },
1227 { "NEGBINOMDIST" , SC_OPCODE_NEG_BINOM_VERT },
1228 { "NEGBINOM.DIST" , SC_OPCODE_NEG_BINOM_DIST_MS },
1229 { "CRITBINOM" , SC_OPCODE_CRIT_BINOM },
1230 { "BINOM.INV" , SC_OPCODE_BINOM_INV },
1231 { "KURT" , SC_OPCODE_KURT },
1232 { "HARMEAN" , SC_OPCODE_HAR_MEAN },
1233 { "GEOMEAN" , SC_OPCODE_GEO_MEAN },
1234 { "STANDARDIZE" , SC_OPCODE_STANDARD },
1235 { "AVEDEV" , SC_OPCODE_AVE_DEV },
1236 { "SKEW" , SC_OPCODE_SKEW },
1237 { "SKEWP" , SC_OPCODE_SKEWP },
1238 { "DEVSQ" , SC_OPCODE_DEV_SQ },
1239 { "MEDIAN" , SC_OPCODE_MEDIAN },
1240 { "MODE" , SC_OPCODE_MODAL_VALUE },
1241 { "MODE.SNGL" , SC_OPCODE_MODAL_VALUE_MS },
1242 { "MODE.MULT" , SC_OPCODE_MODAL_VALUE_MULTI },
1243 { "ZTEST" , SC_OPCODE_Z_TEST },
1244 { "Z.TEST" , SC_OPCODE_Z_TEST_MS },
1245 { "AGGREGATE" , SC_OPCODE_AGGREGATE },
1246 { "TTEST" , SC_OPCODE_T_TEST },
1247 { "T.TEST" , SC_OPCODE_T_TEST_MS },
1248 { "RANK" , SC_OPCODE_RANK },
1249 { "PERCENTILE" , SC_OPCODE_PERCENTILE },
1250 { "PERCENTRANK" , SC_OPCODE_PERCENT_RANK },
1251 { "PERCENTILE.INC" , SC_OPCODE_PERCENTILE_INC },
1252 { "PERCENTRANK.INC" , SC_OPCODE_PERCENT_RANK_INC },
1253 { "QUARTILE.INC" , SC_OPCODE_QUARTILE_INC },
1254 { "RANK.EQ" , SC_OPCODE_RANK_EQ },
1255 { "PERCENTILE.EXC" , SC_OPCODE_PERCENTILE_EXC },
1256 { "PERCENTRANK.EXC" , SC_OPCODE_PERCENT_RANK_EXC },
1257 { "QUARTILE.EXC" , SC_OPCODE_QUARTILE_EXC },
1258 { "RANK.AVG" , SC_OPCODE_RANK_AVG },
1259 { "LARGE" , SC_OPCODE_LARGE },
1260 { "SMALL" , SC_OPCODE_SMALL },
1261 { "FREQUENCY" , SC_OPCODE_FREQUENCY },
1262 { "QUARTILE" , SC_OPCODE_QUARTILE },
1263 { "NORMINV" , SC_OPCODE_NORM_INV },
1264 { "NORM.INV" , SC_OPCODE_NORM_INV_MS },
1265 { "CONFIDENCE" , SC_OPCODE_CONFIDENCE },
1266 { "CONFIDENCE.NORM" , SC_OPCODE_CONFIDENCE_N },
1267 { "CONFIDENCE.T" , SC_OPCODE_CONFIDENCE_T },
1268 { "FTEST" , SC_OPCODE_F_TEST },
1269 { "F.TEST" , SC_OPCODE_F_TEST_MS },
1270 { "TRIMMEAN" , SC_OPCODE_TRIM_MEAN },
1271 { "PROB" , SC_OPCODE_PROB },
1272 { "CORREL" , SC_OPCODE_CORREL },
1273 { "COVAR" , SC_OPCODE_COVAR },
1274 { "COVARIANCE.P" , SC_OPCODE_COVARIANCE_P },
1275 { "COVARIANCE.S" , SC_OPCODE_COVARIANCE_S },
1276 { "PEARSON" , SC_OPCODE_PEARSON },
1277 { "RSQ" , SC_OPCODE_RSQ },
1278 { "STEYX" , SC_OPCODE_STEYX },
1279 { "SLOPE" , SC_OPCODE_SLOPE },
1280 { "INTERCEPT" , SC_OPCODE_INTERCEPT },
1281 { "TREND" , SC_OPCODE_TREND },
1282 { "GROWTH" , SC_OPCODE_GROWTH },
1283 { "LINEST" , SC_OPCODE_LINEST },
1284 { "LOGEST" , SC_OPCODE_LOGEST },
1285 { "FORECAST" , SC_OPCODE_FORECAST },
1286 { "FORECAST.ETS.ADD" , SC_OPCODE_FORECAST_ETS_ADD },
1287 { "FORECAST.ETS.SEASONALITY" , SC_OPCODE_FORECAST_ETS_SEA },
1288 { "FORECAST.ETS.MULT" , SC_OPCODE_FORECAST_ETS_MUL },
1289 { "FORECAST.ETS.PI.ADD" , SC_OPCODE_FORECAST_ETS_PIA },
1290 { "FORECAST.ETS.PI.MULT" , SC_OPCODE_FORECAST_ETS_PIM },
1291 { "FORECAST.ETS.STAT.ADD" , SC_OPCODE_FORECAST_ETS_STA },
1292 { "FORECAST.ETS.STAT.MULT" , SC_OPCODE_FORECAST_ETS_STM },
1293 { "FORECAST.LINEAR" , SC_OPCODE_FORECAST_LIN },
1294 { "CHIINV" , SC_OPCODE_CHI_INV },
1295 { "CHISQ.INV.RT" , SC_OPCODE_CHI_INV_MS },
1296 { "GAMMADIST" , SC_OPCODE_GAMMA_DIST },
1297 { "GAMMA.DIST" , SC_OPCODE_GAMMA_DIST_MS },
1298 { "GAMMAINV" , SC_OPCODE_GAMMA_INV },
1299 { "GAMMA.INV" , SC_OPCODE_GAMMA_INV_MS },
1300 { "TINV" , SC_OPCODE_T_INV },
1301 { "T.INV.2T" , SC_OPCODE_T_INV_2T },
1302 { "T.INV" , SC_OPCODE_T_INV_MS },
1303 { "FINV" , SC_OPCODE_F_INV },
1304 { "F.INV" , SC_OPCODE_F_INV_LT },
1305 { "F.INV.RT" , SC_OPCODE_F_INV_RT },
1306 { "CHITEST" , SC_OPCODE_CHI_TEST },
1307 { "CHISQ.TEST" , SC_OPCODE_CHI_TEST_MS },
1308 { "LOGINV" , SC_OPCODE_LOG_INV },
1309 { "LOGNORM.INV" , SC_OPCODE_LOG_INV_MS },
1310 { "TABLE" , SC_OPCODE_TABLE_OP },
1311 { "BETADIST" , SC_OPCODE_BETA_DIST },
1312 { "BETAINV" , SC_OPCODE_BETA_INV },
1313 { "BETA.DIST" , SC_OPCODE_BETA_DIST_MS },
1314 { "BETA.INV" , SC_OPCODE_BETA_INV_MS },
1315 { "WEEKNUM" , SC_OPCODE_WEEK },
1316 { "ISOWEEKNUM" , SC_OPCODE_ISOWEEKNUM },
1317 { "WEEKNUM_OOO" , SC_OPCODE_WEEKNUM_OOO },
1318 { "EASTERSUNDAY" , SC_OPCODE_EASTERSUNDAY },
1319 { "WEEKDAY" , SC_OPCODE_GET_DAY_OF_WEEK },
1320 { "NETWORKDAYS" , SC_OPCODE_NETWORKDAYS },
1321 { "NETWORKDAYS.INTL" , SC_OPCODE_NETWORKDAYS_MS },
1322 { "WORKDAY.INTL" , SC_OPCODE_WORKDAY_MS },
1323 { "#NAME!" , SC_OPCODE_NO_NAME },
1324 { "STYLE" , SC_OPCODE_STYLE },
1325 { "DDE" , SC_OPCODE_DDE },
1326 { "BASE" , SC_OPCODE_BASE },
1327 { "DECIMAL" , SC_OPCODE_DECIMAL },
1328 { "CONVERT" , SC_OPCODE_CONVERT_OOO }, // wrong but ODF1.1, keep it
1329 { "ROMAN" , SC_OPCODE_ROMAN },
1330 { "ARABIC" , SC_OPCODE_ARABIC },
1331 { "HYPERLINK" , SC_OPCODE_HYPERLINK },
1332 { "INFO" , SC_OPCODE_INFO },
1333 { "BAHTTEXT" , SC_OPCODE_BAHTTEXT },
1334 { "GETPIVOTDATA" , SC_OPCODE_GET_PIVOT_DATA },
1335 { "EUROCONVERT" , SC_OPCODE_EUROCONVERT },
1336 { "NUMBERVALUE" , SC_OPCODE_NUMBERVALUE },
1337 { "GAMMA" , SC_OPCODE_GAMMA },
1338 { "CHISQDIST" , SC_OPCODE_CHISQ_DIST },
1339 { "CHISQ.DIST" , SC_OPCODE_CHISQ_DIST_MS },
1340 { "CHISQ.INV" , SC_OPCODE_CHISQ_INV_MS },
1341 { "CHISQINV" , SC_OPCODE_CHISQ_INV },
1342 { "BITAND" , SC_OPCODE_BITAND },
1343 { "BITOR" , SC_OPCODE_BITOR },
1344 { "BITXOR" , SC_OPCODE_BITXOR },
1345 { "BITRSHIFT" , SC_OPCODE_BITRSHIFT },
1346 { "BITLSHIFT" , SC_OPCODE_BITLSHIFT },
1347 /* BEGIN defined ERROR.TYPE() values. */
1348 { "#NULL!" , SC_OPCODE_ERROR_NULL },
1349 { "#DIV/0!" , SC_OPCODE_ERROR_DIVZERO },
1350 { "#VALUE!" , SC_OPCODE_ERROR_VALUE },
1351 { "#REF!" , SC_OPCODE_ERROR_REF },
1352 { "#NAME?" , SC_OPCODE_ERROR_NAME },
1353 { "#NUM!" , SC_OPCODE_ERROR_NUM },
1354 { "#N/A" , SC_OPCODE_ERROR_NA },
1355 /* END defined ERROR.TYPE() values. */
1356 { "FILTERXML" , SC_OPCODE_FILTERXML },
1357 { "WEBSERVICE" , SC_OPCODE_WEBSERVICE },
1358 { "COLOR" , SC_OPCODE_COLOR },
1359 { "ERF.PRECISE" , SC_OPCODE_ERF_MS },
1360 { "ERFC.PRECISE" , SC_OPCODE_ERFC_MS },
1361 { "ENCODEURL" , SC_OPCODE_ENCODEURL },
1362 { "RAWSUBTRACT" , SC_OPCODE_RAWSUBTRACT },
1363 { "ROUNDSIG" , SC_OPCODE_ROUNDSIG },
1364 { "REGEX" , SC_OPCODE_REGEX },
1365 { "FOURIER", SC_OPCODE_FOURIER },
1366 { "RAND.NV" , SC_OPCODE_RANDOM_NV },
1367 { "RANDBETWEEN.NV" , SC_OPCODE_RANDBETWEEN_NV },
1371 /** These English names are used for XFunctionAccess API. */
1372 // DO NOT CHANGE NAMES! Only add functions.
1373 // If there is a reason for another name for some function then add an
1374 // *additional* name to be recognized to sc/source/core/tool/compiler.cxx
1375 // ScCompiler::IsOpCode().
1376 const std::pair<const char *, int> RID_STRLIST_FUNCTION_NAMES_ENGLISH_API[] =
1378 { "IF" , SC_OPCODE_IF },
1379 { "IFERROR" , SC_OPCODE_IF_ERROR },
1380 { "IFNA" , SC_OPCODE_IF_NA },
1381 { "CHOOSE" , SC_OPCODE_CHOOSE },
1382 { "(" , SC_OPCODE_OPEN },
1383 { ")" , SC_OPCODE_CLOSE },
1384 { "[" , SC_OPCODE_TABLE_REF_OPEN },
1385 { "]" , SC_OPCODE_TABLE_REF_CLOSE },
1386 { "#All" , SC_OPCODE_TABLE_REF_ITEM_ALL },
1387 { "#Headers" , SC_OPCODE_TABLE_REF_ITEM_HEADERS },
1388 { "#Data" , SC_OPCODE_TABLE_REF_ITEM_DATA },
1389 { "#Totals" , SC_OPCODE_TABLE_REF_ITEM_TOTALS },
1390 { "#This Row" , SC_OPCODE_TABLE_REF_ITEM_THIS_ROW },
1391 { "{" , SC_OPCODE_ARRAY_OPEN },
1392 { "}" , SC_OPCODE_ARRAY_CLOSE },
1393 { "|" , SC_OPCODE_ARRAY_ROW_SEP },
1394 { ";" , SC_OPCODE_ARRAY_COL_SEP },
1395 { ";" , SC_OPCODE_SEP },
1396 { "%" , SC_OPCODE_PERCENT_SIGN },
1397 { "+" , SC_OPCODE_ADD },
1398 { "-" , SC_OPCODE_SUB },
1399 { "*" , SC_OPCODE_MUL },
1400 { "/" , SC_OPCODE_DIV },
1401 { "&" , SC_OPCODE_AMPERSAND },
1402 { "^" , SC_OPCODE_POW },
1403 { "=" , SC_OPCODE_EQUAL },
1404 { "<>" , SC_OPCODE_NOT_EQUAL },
1405 { "<" , SC_OPCODE_LESS },
1406 { ">" , SC_OPCODE_GREATER },
1407 { "<=" , SC_OPCODE_LESS_EQUAL },
1408 { ">=" , SC_OPCODE_GREATER_EQUAL },
1409 { "AND" , SC_OPCODE_AND },
1410 { "OR" , SC_OPCODE_OR },
1411 { "XOR" , SC_OPCODE_XOR },
1412 { "!" , SC_OPCODE_INTERSECT },
1413 { "~" , SC_OPCODE_UNION },
1414 { ":" , SC_OPCODE_RANGE },
1415 { "NOT" , SC_OPCODE_NOT },
1416 { "NEG" , SC_OPCODE_NEG },
1417 { "-" , SC_OPCODE_NEG_SUB },
1418 { "PI" , SC_OPCODE_PI },
1419 { "RAND" , SC_OPCODE_RANDOM },
1420 { "TRUE" , SC_OPCODE_TRUE },
1421 { "FALSE" , SC_OPCODE_FALSE },
1422 { "TODAY" , SC_OPCODE_GET_ACT_DATE },
1423 { "NOW" , SC_OPCODE_GET_ACT_TIME },
1424 { "NA" , SC_OPCODE_NO_VALUE },
1425 { "CURRENT" , SC_OPCODE_CURRENT },
1426 { "DEGREES" , SC_OPCODE_DEG },
1427 { "RADIANS" , SC_OPCODE_RAD },
1428 { "SIN" , SC_OPCODE_SIN },
1429 { "COS" , SC_OPCODE_COS },
1430 { "TAN" , SC_OPCODE_TAN },
1431 { "COT" , SC_OPCODE_COT },
1432 { "ASIN" , SC_OPCODE_ARC_SIN },
1433 { "ACOS" , SC_OPCODE_ARC_COS },
1434 { "ATAN" , SC_OPCODE_ARC_TAN },
1435 { "ACOT" , SC_OPCODE_ARC_COT },
1436 { "SINH" , SC_OPCODE_SIN_HYP },
1437 { "COSH" , SC_OPCODE_COS_HYP },
1438 { "TANH" , SC_OPCODE_TAN_HYP },
1439 { "COTH" , SC_OPCODE_COT_HYP },
1440 { "ASINH" , SC_OPCODE_ARC_SIN_HYP },
1441 { "ACOSH" , SC_OPCODE_ARC_COS_HYP },
1442 { "ATANH" , SC_OPCODE_ARC_TAN_HYP },
1443 { "ACOTH" , SC_OPCODE_ARC_COT_HYP },
1444 { "CSC" , SC_OPCODE_COSECANT },
1445 { "SEC" , SC_OPCODE_SECANT },
1446 { "CSCH" , SC_OPCODE_COSECANT_HYP },
1447 { "SECH" , SC_OPCODE_SECANT_HYP },
1448 { "EXP" , SC_OPCODE_EXP },
1449 { "LN" , SC_OPCODE_LN },
1450 { "SQRT" , SC_OPCODE_SQRT },
1451 { "FACT" , SC_OPCODE_FACT },
1452 { "YEAR" , SC_OPCODE_GET_YEAR },
1453 { "MONTH" , SC_OPCODE_GET_MONTH },
1454 { "DAY" , SC_OPCODE_GET_DAY },
1455 { "HOUR" , SC_OPCODE_GET_HOUR },
1456 { "MINUTE" , SC_OPCODE_GET_MIN },
1457 { "SECOND" , SC_OPCODE_GET_SEC },
1458 { "SIGN" , SC_OPCODE_PLUS_MINUS },
1459 { "ABS" , SC_OPCODE_ABS },
1460 { "INT" , SC_OPCODE_INT },
1461 { "PHI" , SC_OPCODE_PHI },
1462 { "GAUSS" , SC_OPCODE_GAUSS },
1463 { "ISBLANK" , SC_OPCODE_IS_EMPTY },
1464 { "ISTEXT" , SC_OPCODE_IS_STRING },
1465 { "ISNONTEXT" , SC_OPCODE_IS_NON_STRING },
1466 { "ISLOGICAL" , SC_OPCODE_IS_LOGICAL },
1467 { "TYPE" , SC_OPCODE_TYPE },
1468 { "CELL" , SC_OPCODE_CELL },
1469 { "ISREF" , SC_OPCODE_IS_REF },
1470 { "ISNUMBER" , SC_OPCODE_IS_VALUE },
1471 { "ISFORMULA" , SC_OPCODE_IS_FORMULA },
1472 { "ISNA" , SC_OPCODE_IS_NV },
1473 { "ISERR" , SC_OPCODE_IS_ERR },
1474 { "ISERROR" , SC_OPCODE_IS_ERROR },
1475 { "ISEVEN" , SC_OPCODE_IS_EVEN },
1476 { "ISODD" , SC_OPCODE_IS_ODD },
1477 { "N" , SC_OPCODE_N },
1478 { "DATEVALUE" , SC_OPCODE_GET_DATE_VALUE },
1479 { "TIMEVALUE" , SC_OPCODE_GET_TIME_VALUE },
1480 { "CODE" , SC_OPCODE_CODE },
1481 { "TRIM" , SC_OPCODE_TRIM },
1482 { "UPPER" , SC_OPCODE_UPPER },
1483 { "PROPER" , SC_OPCODE_PROPER },
1484 { "LOWER" , SC_OPCODE_LOWER },
1485 { "LEN" , SC_OPCODE_LEN },
1486 { "T" , SC_OPCODE_T },
1487 { "VALUE" , SC_OPCODE_VALUE },
1488 { "CLEAN" , SC_OPCODE_CLEAN },
1489 { "CHAR" , SC_OPCODE_CHAR },
1490 { "JIS" , SC_OPCODE_JIS },
1491 { "ASC" , SC_OPCODE_ASC },
1492 { "UNICODE" , SC_OPCODE_UNICODE },
1493 { "UNICHAR" , SC_OPCODE_UNICHAR },
1494 { "LOG10" , SC_OPCODE_LOG10 },
1495 { "EVEN" , SC_OPCODE_EVEN },
1496 { "ODD" , SC_OPCODE_ODD },
1497 { "NORMSDIST" , SC_OPCODE_STD_NORM_DIST },
1498 { "NORM.S.DIST" , SC_OPCODE_STD_NORM_DIST_MS },
1499 { "FISHER" , SC_OPCODE_FISHER },
1500 { "FISHERINV" , SC_OPCODE_FISHER_INV },
1501 { "NORMSINV" , SC_OPCODE_S_NORM_INV },
1502 { "NORM.S.INV" , SC_OPCODE_S_NORM_INV_MS },
1503 { "GAMMALN" , SC_OPCODE_GAMMA_LN },
1504 { "GAMMALN.PRECISE" , SC_OPCODE_GAMMA_LN_MS },
1505 { "ERRORTYPE" , SC_OPCODE_ERROR_TYPE },
1506 { "ERROR.TYPE" , SC_OPCODE_ERROR_TYPE_ODF },
1507 { "FORMULA" , SC_OPCODE_FORMULA },
1508 { "ATAN2" , SC_OPCODE_ARC_TAN_2 },
1509 { "CEILING.MATH" , SC_OPCODE_CEIL_MATH },
1510 { "CEILING" , SC_OPCODE_CEIL },
1511 { "CEILING.XCL" , SC_OPCODE_CEIL_MS },
1512 { "CEILING.PRECISE" , SC_OPCODE_CEIL_PRECISE },
1513 { "ISO.CEILING" , SC_OPCODE_CEIL_ISO },
1514 { "FLOOR" , SC_OPCODE_FLOOR },
1515 { "FLOOR.XCL" , SC_OPCODE_FLOOR_MS },
1516 { "FLOOR.MATH" , SC_OPCODE_FLOOR_MATH },
1517 { "FLOOR.PRECISE" , SC_OPCODE_FLOOR_PRECISE },
1518 { "ROUND" , SC_OPCODE_ROUND },
1519 { "ROUNDUP" , SC_OPCODE_ROUND_UP },
1520 { "ROUNDDOWN" , SC_OPCODE_ROUND_DOWN },
1521 { "TRUNC" , SC_OPCODE_TRUNC },
1522 { "LOG" , SC_OPCODE_LOG },
1523 { "POWER" , SC_OPCODE_POWER },
1524 { "GCD" , SC_OPCODE_GCD },
1525 { "LCM" , SC_OPCODE_LCM },
1526 { "MOD" , SC_OPCODE_MOD },
1527 { "SUMPRODUCT" , SC_OPCODE_SUM_PRODUCT },
1528 { "SUMSQ" , SC_OPCODE_SUM_SQ },
1529 { "SUMX2MY2" , SC_OPCODE_SUM_X2MY2 },
1530 { "SUMX2PY2" , SC_OPCODE_SUM_X2DY2 },
1531 { "SUMXMY2" , SC_OPCODE_SUM_XMY2 },
1532 { "DATE" , SC_OPCODE_GET_DATE },
1533 { "TIME" , SC_OPCODE_GET_TIME },
1534 { "DAYS" , SC_OPCODE_GET_DIFF_DATE },
1535 { "DAYS360" , SC_OPCODE_GET_DIFF_DATE_360 },
1536 { "DATEDIF" , SC_OPCODE_GET_DATEDIF },
1537 { "MIN" , SC_OPCODE_MIN },
1538 { "MINA" , SC_OPCODE_MIN_A },
1539 { "MAX" , SC_OPCODE_MAX },
1540 { "MAXA" , SC_OPCODE_MAX_A },
1541 { "SUM" , SC_OPCODE_SUM },
1542 { "PRODUCT" , SC_OPCODE_PRODUCT },
1543 { "AVERAGE" , SC_OPCODE_AVERAGE },
1544 { "AVERAGEA" , SC_OPCODE_AVERAGE_A },
1545 { "COUNT" , SC_OPCODE_COUNT },
1546 { "COUNTA" , SC_OPCODE_COUNT_2 },
1547 { "NPV" , SC_OPCODE_NPV },
1548 { "IRR" , SC_OPCODE_IRR },
1549 { "MIRR" , SC_OPCODE_MIRR },
1550 { "ISPMT" , SC_OPCODE_ISPMT },
1551 { "VAR" , SC_OPCODE_VAR },
1552 { "VARA" , SC_OPCODE_VAR_A },
1553 { "VARP" , SC_OPCODE_VAR_P },
1554 { "VARPA" , SC_OPCODE_VAR_P_A },
1555 { "VAR.P" , SC_OPCODE_VAR_P_MS },
1556 { "VAR.S" , SC_OPCODE_VAR_S },
1557 { "STDEV" , SC_OPCODE_ST_DEV },
1558 { "STDEVA" , SC_OPCODE_ST_DEV_A },
1559 { "STDEVP" , SC_OPCODE_ST_DEV_P },
1560 { "STDEVPA" , SC_OPCODE_ST_DEV_P_A },
1561 { "STDEV.P" , SC_OPCODE_ST_DEV_P_MS },
1562 { "STDEV.S" , SC_OPCODE_ST_DEV_S },
1563 { "B" , SC_OPCODE_B },
1564 { "NORMDIST" , SC_OPCODE_NORM_DIST },
1565 { "NORM.DIST" , SC_OPCODE_NORM_DIST_MS },
1566 { "EXPONDIST" , SC_OPCODE_EXP_DIST },
1567 { "EXPON.DIST" , SC_OPCODE_EXP_DIST_MS },
1568 { "BINOMDIST" , SC_OPCODE_BINOM_DIST },
1569 { "BINOM.DIST" , SC_OPCODE_BINOM_DIST_MS },
1570 { "POISSON" , SC_OPCODE_POISSON_DIST },
1571 { "POISSON.DIST" , SC_OPCODE_POISSON_DIST_MS },
1572 { "COMBIN" , SC_OPCODE_COMBIN },
1573 { "COMBINA" , SC_OPCODE_COMBIN_A },
1574 { "PERMUT" , SC_OPCODE_PERMUT },
1575 { "PERMUTATIONA" , SC_OPCODE_PERMUTATION_A },
1576 { "PV" , SC_OPCODE_PV },
1577 { "SYD" , SC_OPCODE_SYD },
1578 { "DDB" , SC_OPCODE_DDB },
1579 { "DB" , SC_OPCODE_DB },
1580 { "VDB" , SC_OPCODE_VBD },
1581 { "DURATION" , SC_OPCODE_PDURATION },
1582 { "SLN" , SC_OPCODE_SLN },
1583 { "PMT" , SC_OPCODE_PMT },
1584 { "COLUMNS" , SC_OPCODE_COLUMNS },
1585 { "ROWS" , SC_OPCODE_ROWS },
1586 { "SHEETS" , SC_OPCODE_SHEETS },
1587 { "COLUMN" , SC_OPCODE_COLUMN },
1588 { "ROW" , SC_OPCODE_ROW },
1589 { "SHEET" , SC_OPCODE_SHEET },
1590 { "ZGZ" , SC_OPCODE_RRI },
1591 { "FV" , SC_OPCODE_FV },
1592 { "NPER" , SC_OPCODE_NPER },
1593 { "RATE" , SC_OPCODE_RATE },
1594 { "IPMT" , SC_OPCODE_IPMT },
1595 { "PPMT" , SC_OPCODE_PPMT },
1596 { "CUMIPMT" , SC_OPCODE_CUM_IPMT },
1597 { "CUMPRINC" , SC_OPCODE_CUM_PRINC },
1598 { "EFFECTIVE" , SC_OPCODE_EFFECT },
1599 { "NOMINAL" , SC_OPCODE_NOMINAL },
1600 { "SUBTOTAL" , SC_OPCODE_SUB_TOTAL },
1601 { "DSUM" , SC_OPCODE_DB_SUM },
1602 { "DCOUNT" , SC_OPCODE_DB_COUNT },
1603 { "DCOUNTA" , SC_OPCODE_DB_COUNT_2 },
1604 { "DAVERAGE" , SC_OPCODE_DB_AVERAGE },
1605 { "DGET" , SC_OPCODE_DB_GET },
1606 { "DMAX" , SC_OPCODE_DB_MAX },
1607 { "DMIN" , SC_OPCODE_DB_MIN },
1608 { "DPRODUCT" , SC_OPCODE_DB_PRODUCT },
1609 { "DSTDEV" , SC_OPCODE_DB_STD_DEV },
1610 { "DSTDEVP" , SC_OPCODE_DB_STD_DEV_P },
1611 { "DVAR" , SC_OPCODE_DB_VAR },
1612 { "DVARP" , SC_OPCODE_DB_VAR_P },
1613 { "INDIRECT" , SC_OPCODE_INDIRECT },
1614 { "ADDRESS" , SC_OPCODE_ADDRESS },
1615 { "MATCH" , SC_OPCODE_MATCH },
1616 { "COUNTBLANK" , SC_OPCODE_COUNT_EMPTY_CELLS },
1617 { "COUNTIF" , SC_OPCODE_COUNT_IF },
1618 { "SUMIF" , SC_OPCODE_SUM_IF },
1619 { "AVERAGEIF" , SC_OPCODE_AVERAGE_IF },
1620 { "SUMIFS" , SC_OPCODE_SUM_IFS },
1621 { "AVERAGEIFS" , SC_OPCODE_AVERAGE_IFS },
1622 { "COUNTIFS" , SC_OPCODE_COUNT_IFS },
1623 { "LOOKUP" , SC_OPCODE_LOOKUP },
1624 { "VLOOKUP" , SC_OPCODE_V_LOOKUP },
1625 { "HLOOKUP" , SC_OPCODE_H_LOOKUP },
1626 { "MULTIRANGE" , SC_OPCODE_MULTI_AREA }, // legacy for range list (union)
1627 { "OFFSET" , SC_OPCODE_OFFSET },
1628 { "INDEX" , SC_OPCODE_INDEX }, // ?? first character = I ??
1629 { "AREAS" , SC_OPCODE_AREAS },
1630 { "DOLLAR" , SC_OPCODE_CURRENCY },
1631 { "REPLACE" , SC_OPCODE_REPLACE },
1632 { "FIXED" , SC_OPCODE_FIXED },
1633 { "FIND" , SC_OPCODE_FIND },
1634 { "EXACT" , SC_OPCODE_EXACT },
1635 { "LEFT" , SC_OPCODE_LEFT },
1636 { "RIGHT" , SC_OPCODE_RIGHT },
1637 { "SEARCH" , SC_OPCODE_SEARCH },
1638 { "MID" , SC_OPCODE_MID },
1639 { "LENB" , SC_OPCODE_LENB },
1640 { "RIGHTB" , SC_OPCODE_RIGHTB },
1641 { "LEFTB" , SC_OPCODE_LEFTB },
1642 { "REPLACEB" , SC_OPCODE_REPLACEB },
1643 { "FINDB" , SC_OPCODE_FINDB },
1644 { "SEARCHB" , SC_OPCODE_SEARCHB },
1645 { "MIDB" , SC_OPCODE_MIDB },
1646 { "TEXT" , SC_OPCODE_TEXT },
1647 { "SUBSTITUTE" , SC_OPCODE_SUBSTITUTE },
1648 { "REPT" , SC_OPCODE_REPT },
1649 { "CONCATENATE" , SC_OPCODE_CONCAT },
1650 { "CONCAT" , SC_OPCODE_CONCAT_MS },
1651 { "TEXTJOIN" , SC_OPCODE_TEXTJOIN_MS },
1652 { "IFS" , SC_OPCODE_IFS_MS },
1653 { "SWITCH" , SC_OPCODE_SWITCH_MS },
1654 { "MINIFS" , SC_OPCODE_MINIFS_MS },
1655 { "MAXIFS" , SC_OPCODE_MAXIFS_MS },
1656 { "MVALUE" , SC_OPCODE_MAT_VALUE },
1657 { "MDETERM" , SC_OPCODE_MAT_DET },
1658 { "MINVERSE" , SC_OPCODE_MAT_INV },
1659 { "MMULT" , SC_OPCODE_MAT_MULT },
1660 { "TRANSPOSE" , SC_OPCODE_MAT_TRANS },
1661 { "MUNIT" , SC_OPCODE_MATRIX_UNIT },
1662 { "GOALSEEK" , SC_OPCODE_BACK_SOLVER },
1663 { "HYPGEOMDIST" , SC_OPCODE_HYP_GEOM_DIST },
1664 { "HYPGEOM.DIST" , SC_OPCODE_HYP_GEOM_DIST_MS },
1665 { "LOGNORMDIST" , SC_OPCODE_LOG_NORM_DIST },
1666 { "LOGNORM.DIST" , SC_OPCODE_LOG_NORM_DIST_MS },
1667 { "TDIST" , SC_OPCODE_T_DIST },
1668 { "T.DIST.2T" , SC_OPCODE_T_DIST_2T },
1669 { "T.DIST" , SC_OPCODE_T_DIST_MS },
1670 { "T.DIST.RT" , SC_OPCODE_T_DIST_RT },
1671 { "FDIST" , SC_OPCODE_F_DIST },
1672 { "F.DIST" , SC_OPCODE_F_DIST_LT },
1673 { "F.DIST.RT" , SC_OPCODE_F_DIST_RT },
1674 { "CHIDIST" , SC_OPCODE_CHI_DIST },
1675 { "CHISQ.DIST.RT" , SC_OPCODE_CHI_DIST_MS },
1676 { "WEIBULL" , SC_OPCODE_WEIBULL },
1677 { "WEIBULL.DIST" , SC_OPCODE_WEIBULL_MS },
1678 { "NEGBINOMDIST" , SC_OPCODE_NEG_BINOM_VERT },
1679 { "NEGBINOM.DIST" , SC_OPCODE_NEG_BINOM_DIST_MS },
1680 { "CRITBINOM" , SC_OPCODE_CRIT_BINOM },
1681 { "BINOM.INV" , SC_OPCODE_BINOM_INV },
1682 { "KURT" , SC_OPCODE_KURT },
1683 { "HARMEAN" , SC_OPCODE_HAR_MEAN },
1684 { "GEOMEAN" , SC_OPCODE_GEO_MEAN },
1685 { "STANDARDIZE" , SC_OPCODE_STANDARD },
1686 { "AVEDEV" , SC_OPCODE_AVE_DEV },
1687 { "SKEW" , SC_OPCODE_SKEW },
1688 { "SKEWP" , SC_OPCODE_SKEWP },
1689 { "DEVSQ" , SC_OPCODE_DEV_SQ },
1690 { "MEDIAN" , SC_OPCODE_MEDIAN },
1691 { "MODE" , SC_OPCODE_MODAL_VALUE },
1692 { "MODE.SNGL" , SC_OPCODE_MODAL_VALUE_MS },
1693 { "MODE.MULT" , SC_OPCODE_MODAL_VALUE_MULTI },
1694 { "ZTEST" , SC_OPCODE_Z_TEST },
1695 { "Z.TEST" , SC_OPCODE_Z_TEST_MS },
1696 { "AGGREGATE" , SC_OPCODE_AGGREGATE },
1697 { "TTEST" , SC_OPCODE_T_TEST },
1698 { "T.TEST" , SC_OPCODE_T_TEST_MS },
1699 { "RANK" , SC_OPCODE_RANK },
1700 { "PERCENTILE" , SC_OPCODE_PERCENTILE },
1701 { "PERCENTRANK" , SC_OPCODE_PERCENT_RANK },
1702 { "PERCENTILE.INC" , SC_OPCODE_PERCENTILE_INC },
1703 { "PERCENTRANK.INC" , SC_OPCODE_PERCENT_RANK_INC },
1704 { "QUARTILE.INC" , SC_OPCODE_QUARTILE_INC },
1705 { "RANK.EQ" , SC_OPCODE_RANK_EQ },
1706 { "PERCENTILE.EXC" , SC_OPCODE_PERCENTILE_EXC },
1707 { "PERCENTRANK.EXC" , SC_OPCODE_PERCENT_RANK_EXC },
1708 { "QUARTILE.EXC" , SC_OPCODE_QUARTILE_EXC },
1709 { "RANK.AVG" , SC_OPCODE_RANK_AVG },
1710 { "LARGE" , SC_OPCODE_LARGE },
1711 { "SMALL" , SC_OPCODE_SMALL },
1712 { "FREQUENCY" , SC_OPCODE_FREQUENCY },
1713 { "QUARTILE" , SC_OPCODE_QUARTILE },
1714 { "NORMINV" , SC_OPCODE_NORM_INV },
1715 { "NORM.INV" , SC_OPCODE_NORM_INV_MS },
1716 { "CONFIDENCE" , SC_OPCODE_CONFIDENCE },
1717 { "CONFIDENCE.NORM" , SC_OPCODE_CONFIDENCE_N },
1718 { "CONFIDENCE.T" , SC_OPCODE_CONFIDENCE_T },
1719 { "FTEST" , SC_OPCODE_F_TEST },
1720 { "F.TEST" , SC_OPCODE_F_TEST_MS },
1721 { "TRIMMEAN" , SC_OPCODE_TRIM_MEAN },
1722 { "PROB" , SC_OPCODE_PROB },
1723 { "CORREL" , SC_OPCODE_CORREL },
1724 { "COVAR" , SC_OPCODE_COVAR },
1725 { "COVARIANCE.P" , SC_OPCODE_COVARIANCE_P },
1726 { "COVARIANCE.S" , SC_OPCODE_COVARIANCE_S },
1727 { "PEARSON" , SC_OPCODE_PEARSON },
1728 { "RSQ" , SC_OPCODE_RSQ },
1729 { "STEYX" , SC_OPCODE_STEYX },
1730 { "SLOPE" , SC_OPCODE_SLOPE },
1731 { "INTERCEPT" , SC_OPCODE_INTERCEPT },
1732 { "TREND" , SC_OPCODE_TREND },
1733 { "GROWTH" , SC_OPCODE_GROWTH },
1734 { "LINEST" , SC_OPCODE_LINEST },
1735 { "LOGEST" , SC_OPCODE_LOGEST },
1736 { "FORECAST" , SC_OPCODE_FORECAST },
1737 { "FORECAST.ETS.ADD" , SC_OPCODE_FORECAST_ETS_ADD },
1738 { "FORECAST.ETS.SEASONALITY" , SC_OPCODE_FORECAST_ETS_SEA },
1739 { "FORECAST.ETS.MULT" , SC_OPCODE_FORECAST_ETS_MUL },
1740 { "FORECAST.ETS.PI.ADD" , SC_OPCODE_FORECAST_ETS_PIA },
1741 { "FORECAST.ETS.PI.MULT" , SC_OPCODE_FORECAST_ETS_PIM },
1742 { "FORECAST.ETS.STAT.ADD" , SC_OPCODE_FORECAST_ETS_STA },
1743 { "FORECAST.ETS.STAT.MULT" , SC_OPCODE_FORECAST_ETS_STM },
1744 { "FORECAST.LINEAR" , SC_OPCODE_FORECAST_LIN },
1745 { "CHIINV" , SC_OPCODE_CHI_INV },
1746 { "CHISQ.INV.RT" , SC_OPCODE_CHI_INV_MS },
1747 { "GAMMADIST" , SC_OPCODE_GAMMA_DIST },
1748 { "GAMMA.DIST" , SC_OPCODE_GAMMA_DIST_MS },
1749 { "GAMMAINV" , SC_OPCODE_GAMMA_INV },
1750 { "GAMMA.INV" , SC_OPCODE_GAMMA_INV_MS },
1751 { "TINV" , SC_OPCODE_T_INV },
1752 { "T.INV.2T" , SC_OPCODE_T_INV_2T },
1753 { "T.INV" , SC_OPCODE_T_INV_MS },
1754 { "FINV" , SC_OPCODE_F_INV },
1755 { "F.INV" , SC_OPCODE_F_INV_LT },
1756 { "F.INV.RT" , SC_OPCODE_F_INV_RT },
1757 { "CHITEST" , SC_OPCODE_CHI_TEST },
1758 { "CHISQ.TEST" , SC_OPCODE_CHI_TEST_MS },
1759 { "LOGINV" , SC_OPCODE_LOG_INV },
1760 { "LOGNORM.INV" , SC_OPCODE_LOG_INV_MS },
1761 { "TABLE" , SC_OPCODE_TABLE_OP },
1762 { "BETADIST" , SC_OPCODE_BETA_DIST },
1763 { "BETAINV" , SC_OPCODE_BETA_INV },
1764 { "BETA.DIST" , SC_OPCODE_BETA_DIST_MS },
1765 { "BETA.INV" , SC_OPCODE_BETA_INV_MS },
1766 { "WEEKNUM" , SC_OPCODE_WEEK },
1767 { "ISOWEEKNUM" , SC_OPCODE_ISOWEEKNUM },
1768 { "WEEKNUM_OOO" , SC_OPCODE_WEEKNUM_OOO },
1769 { "EASTERSUNDAY" , SC_OPCODE_EASTERSUNDAY },
1770 { "WEEKDAY" , SC_OPCODE_GET_DAY_OF_WEEK },
1771 { "NETWORKDAYS" , SC_OPCODE_NETWORKDAYS },
1772 { "NETWORKDAYS.INTL" , SC_OPCODE_NETWORKDAYS_MS },
1773 { "WORKDAY.INTL" , SC_OPCODE_WORKDAY_MS },
1774 { "#NAME!" , SC_OPCODE_NO_NAME },
1775 { "STYLE" , SC_OPCODE_STYLE },
1776 { "DDE" , SC_OPCODE_DDE },
1777 { "BASE" , SC_OPCODE_BASE },
1778 { "DECIMAL" , SC_OPCODE_DECIMAL },
1779 { "CONVERT" , SC_OPCODE_CONVERT_OOO },
1780 { "ROMAN" , SC_OPCODE_ROMAN },
1781 { "ARABIC" , SC_OPCODE_ARABIC },
1782 { "HYPERLINK" , SC_OPCODE_HYPERLINK },
1783 { "INFO" , SC_OPCODE_INFO },
1784 { "BAHTTEXT" , SC_OPCODE_BAHTTEXT },
1785 { "GETPIVOTDATA" , SC_OPCODE_GET_PIVOT_DATA },
1786 { "EUROCONVERT" , SC_OPCODE_EUROCONVERT },
1787 { "NUMBERVALUE" , SC_OPCODE_NUMBERVALUE },
1788 { "GAMMA" , SC_OPCODE_GAMMA },
1789 { "CHISQDIST" , SC_OPCODE_CHISQ_DIST },
1790 { "CHISQ.DIST" , SC_OPCODE_CHISQ_DIST_MS },
1791 { "CHISQ.INV" , SC_OPCODE_CHISQ_INV_MS },
1792 { "CHISQINV" , SC_OPCODE_CHISQ_INV },
1793 { "BITAND" , SC_OPCODE_BITAND },
1794 { "BITOR" , SC_OPCODE_BITOR },
1795 { "BITXOR" , SC_OPCODE_BITXOR },
1796 { "BITRSHIFT" , SC_OPCODE_BITRSHIFT },
1797 { "BITLSHIFT" , SC_OPCODE_BITLSHIFT },
1798 { "#NULL!" , SC_OPCODE_ERROR_NULL },
1799 { "#DIV/0!" , SC_OPCODE_ERROR_DIVZERO },
1800 { "#VALUE!" , SC_OPCODE_ERROR_VALUE },
1801 { "#REF!" , SC_OPCODE_ERROR_REF },
1802 { "#NAME?" , SC_OPCODE_ERROR_NAME },
1803 { "#NUM!" , SC_OPCODE_ERROR_NUM },
1804 { "#N/A" , SC_OPCODE_ERROR_NA },
1805 /* END defined ERROR.TYPE() values. */
1806 { "FILTERXML" , SC_OPCODE_FILTERXML },
1807 { "WEBSERVICE" , SC_OPCODE_WEBSERVICE },
1808 { "COLOR" , SC_OPCODE_COLOR },
1809 { "ERF.PRECISE" , SC_OPCODE_ERF_MS },
1810 { "ERFC.PRECISE" , SC_OPCODE_ERFC_MS },
1811 { "ENCODEURL" , SC_OPCODE_ENCODEURL },
1812 { "RAWSUBTRACT" , SC_OPCODE_RAWSUBTRACT },
1813 { "ROUNDSIG" , SC_OPCODE_ROUNDSIG },
1814 { "REGEX" , SC_OPCODE_REGEX },
1815 { "FOURIER", SC_OPCODE_FOURIER },
1816 { "RAND.NV" , SC_OPCODE_RANDOM_NV },
1817 { "RANDBETWEEN.NV" , SC_OPCODE_RANDBETWEEN_NV },
1821 /** These English names can be chosen in the UI and can be changed. They
1822 should match the [en-US] names of RID_STRLIST_FUNCTION_NAMES below. */
1823 // As such they are a duplicate, but we can not have two string localizations
1824 // at the same time.
1825 const std::pair<const char *, int> RID_STRLIST_FUNCTION_NAMES_ENGLISH[] =
1827 { "IF" , SC_OPCODE_IF },
1828 { "IFERROR" , SC_OPCODE_IF_ERROR },
1829 { "IFNA" , SC_OPCODE_IF_NA },
1830 { "CHOOSE" , SC_OPCODE_CHOOSE },
1831 { "(" , SC_OPCODE_OPEN },
1832 { ")" , SC_OPCODE_CLOSE },
1833 { "[" , SC_OPCODE_TABLE_REF_OPEN },
1834 { "]" , SC_OPCODE_TABLE_REF_CLOSE },
1835 { "#All" , SC_OPCODE_TABLE_REF_ITEM_ALL },
1836 { "#Headers" , SC_OPCODE_TABLE_REF_ITEM_HEADERS },
1837 { "#Data" , SC_OPCODE_TABLE_REF_ITEM_DATA },
1838 { "#Totals" , SC_OPCODE_TABLE_REF_ITEM_TOTALS },
1839 { "#This Row" , SC_OPCODE_TABLE_REF_ITEM_THIS_ROW },
1840 { "{" , SC_OPCODE_ARRAY_OPEN },
1841 { "}" , SC_OPCODE_ARRAY_CLOSE },
1842 { "|" , SC_OPCODE_ARRAY_ROW_SEP },
1843 { ";" , SC_OPCODE_ARRAY_COL_SEP },
1844 { ";" , SC_OPCODE_SEP },
1845 { "%" , SC_OPCODE_PERCENT_SIGN },
1846 { "+" , SC_OPCODE_ADD },
1847 { "-" , SC_OPCODE_SUB },
1848 { "*" , SC_OPCODE_MUL },
1849 { "/" , SC_OPCODE_DIV },
1850 { "&" , SC_OPCODE_AMPERSAND },
1851 { "^" , SC_OPCODE_POW },
1852 { "=" , SC_OPCODE_EQUAL },
1853 { "<>" , SC_OPCODE_NOT_EQUAL },
1854 { "<" , SC_OPCODE_LESS },
1855 { ">" , SC_OPCODE_GREATER },
1856 { "<=" , SC_OPCODE_LESS_EQUAL },
1857 { ">=" , SC_OPCODE_GREATER_EQUAL },
1858 { "AND" , SC_OPCODE_AND },
1859 { "OR" , SC_OPCODE_OR },
1860 { "XOR" , SC_OPCODE_XOR },
1861 { "!" , SC_OPCODE_INTERSECT },
1862 { "~" , SC_OPCODE_UNION },
1863 { ":" , SC_OPCODE_RANGE },
1864 { "NOT" , SC_OPCODE_NOT },
1865 { "NEG" , SC_OPCODE_NEG },
1866 { "-" , SC_OPCODE_NEG_SUB },
1867 { "PI" , SC_OPCODE_PI },
1868 { "RAND" , SC_OPCODE_RANDOM },
1869 { "TRUE" , SC_OPCODE_TRUE },
1870 { "FALSE" , SC_OPCODE_FALSE },
1871 { "TODAY" , SC_OPCODE_GET_ACT_DATE },
1872 { "NOW" , SC_OPCODE_GET_ACT_TIME },
1873 { "NA" , SC_OPCODE_NO_VALUE },
1874 { "CURRENT" , SC_OPCODE_CURRENT },
1875 { "DEGREES" , SC_OPCODE_DEG },
1876 { "RADIANS" , SC_OPCODE_RAD },
1877 { "SIN" , SC_OPCODE_SIN },
1878 { "COS" , SC_OPCODE_COS },
1879 { "TAN" , SC_OPCODE_TAN },
1880 { "COT" , SC_OPCODE_COT },
1881 { "ASIN" , SC_OPCODE_ARC_SIN },
1882 { "ACOS" , SC_OPCODE_ARC_COS },
1883 { "ATAN" , SC_OPCODE_ARC_TAN },
1884 { "ACOT" , SC_OPCODE_ARC_COT },
1885 { "SINH" , SC_OPCODE_SIN_HYP },
1886 { "COSH" , SC_OPCODE_COS_HYP },
1887 { "TANH" , SC_OPCODE_TAN_HYP },
1888 { "COTH" , SC_OPCODE_COT_HYP },
1889 { "ASINH" , SC_OPCODE_ARC_SIN_HYP },
1890 { "ACOSH" , SC_OPCODE_ARC_COS_HYP },
1891 { "ATANH" , SC_OPCODE_ARC_TAN_HYP },
1892 { "ACOTH" , SC_OPCODE_ARC_COT_HYP },
1893 { "CSC" , SC_OPCODE_COSECANT },
1894 { "SEC" , SC_OPCODE_SECANT },
1895 { "CSCH" , SC_OPCODE_COSECANT_HYP },
1896 { "SECH" , SC_OPCODE_SECANT_HYP },
1897 { "EXP" , SC_OPCODE_EXP },
1898 { "LN" , SC_OPCODE_LN },
1899 { "SQRT" , SC_OPCODE_SQRT },
1900 { "FACT" , SC_OPCODE_FACT },
1901 { "YEAR" , SC_OPCODE_GET_YEAR },
1902 { "MONTH" , SC_OPCODE_GET_MONTH },
1903 { "DAY" , SC_OPCODE_GET_DAY },
1904 { "HOUR" , SC_OPCODE_GET_HOUR },
1905 { "MINUTE" , SC_OPCODE_GET_MIN },
1906 { "SECOND" , SC_OPCODE_GET_SEC },
1907 { "SIGN" , SC_OPCODE_PLUS_MINUS },
1908 { "ABS" , SC_OPCODE_ABS },
1909 { "INT" , SC_OPCODE_INT },
1910 { "PHI" , SC_OPCODE_PHI },
1911 { "GAUSS" , SC_OPCODE_GAUSS },
1912 { "ISBLANK" , SC_OPCODE_IS_EMPTY },
1913 { "ISTEXT" , SC_OPCODE_IS_STRING },
1914 { "ISNONTEXT" , SC_OPCODE_IS_NON_STRING },
1915 { "ISLOGICAL" , SC_OPCODE_IS_LOGICAL },
1916 { "TYPE" , SC_OPCODE_TYPE },
1917 { "CELL" , SC_OPCODE_CELL },
1918 { "ISREF" , SC_OPCODE_IS_REF },
1919 { "ISNUMBER" , SC_OPCODE_IS_VALUE },
1920 { "ISFORMULA" , SC_OPCODE_IS_FORMULA },
1921 { "ISNA" , SC_OPCODE_IS_NV },
1922 { "ISERR" , SC_OPCODE_IS_ERR },
1923 { "ISERROR" , SC_OPCODE_IS_ERROR },
1924 { "ISEVEN" , SC_OPCODE_IS_EVEN },
1925 { "ISODD" , SC_OPCODE_IS_ODD },
1926 { "N" , SC_OPCODE_N },
1927 { "DATEVALUE" , SC_OPCODE_GET_DATE_VALUE },
1928 { "TIMEVALUE" , SC_OPCODE_GET_TIME_VALUE },
1929 { "CODE" , SC_OPCODE_CODE },
1930 { "TRIM" , SC_OPCODE_TRIM },
1931 { "UPPER" , SC_OPCODE_UPPER },
1932 { "PROPER" , SC_OPCODE_PROPER },
1933 { "LOWER" , SC_OPCODE_LOWER },
1934 { "LEN" , SC_OPCODE_LEN },
1935 { "T" , SC_OPCODE_T },
1936 { "VALUE" , SC_OPCODE_VALUE },
1937 { "CLEAN" , SC_OPCODE_CLEAN },
1938 { "CHAR" , SC_OPCODE_CHAR },
1939 { "JIS" , SC_OPCODE_JIS },
1940 { "ASC" , SC_OPCODE_ASC },
1941 { "UNICODE" , SC_OPCODE_UNICODE },
1942 { "UNICHAR" , SC_OPCODE_UNICHAR },
1943 { "LOG10" , SC_OPCODE_LOG10 },
1944 { "EVEN" , SC_OPCODE_EVEN },
1945 { "ODD" , SC_OPCODE_ODD },
1946 { "NORMSDIST" , SC_OPCODE_STD_NORM_DIST },
1947 { "NORM.S.DIST" , SC_OPCODE_STD_NORM_DIST_MS },
1948 { "FISHER" , SC_OPCODE_FISHER },
1949 { "FISHERINV" , SC_OPCODE_FISHER_INV },
1950 { "NORMSINV" , SC_OPCODE_S_NORM_INV },
1951 { "NORM.S.INV" , SC_OPCODE_S_NORM_INV_MS },
1952 { "GAMMALN" , SC_OPCODE_GAMMA_LN },
1953 { "GAMMALN.PRECISE" , SC_OPCODE_GAMMA_LN_MS },
1954 { "ERRORTYPE" , SC_OPCODE_ERROR_TYPE },
1955 { "ERROR.TYPE" , SC_OPCODE_ERROR_TYPE_ODF },
1956 { "FORMULA" , SC_OPCODE_FORMULA },
1957 { "ATAN2" , SC_OPCODE_ARC_TAN_2 },
1958 { "CEILING.MATH" , SC_OPCODE_CEIL_MATH },
1959 { "CEILING" , SC_OPCODE_CEIL },
1960 { "CEILING.XCL" , SC_OPCODE_CEIL_MS },
1961 { "CEILING.PRECISE" , SC_OPCODE_CEIL_PRECISE },
1962 { "ISO.CEILING" , SC_OPCODE_CEIL_ISO },
1963 { "FLOOR" , SC_OPCODE_FLOOR },
1964 { "FLOOR.XCL" , SC_OPCODE_FLOOR_MS },
1965 { "FLOOR.MATH" , SC_OPCODE_FLOOR_MATH },
1966 { "FLOOR.PRECISE" , SC_OPCODE_FLOOR_PRECISE },
1967 { "ROUND" , SC_OPCODE_ROUND },
1968 { "ROUNDUP" , SC_OPCODE_ROUND_UP },
1969 { "ROUNDDOWN" , SC_OPCODE_ROUND_DOWN },
1970 { "TRUNC" , SC_OPCODE_TRUNC },
1971 { "LOG" , SC_OPCODE_LOG },
1972 { "POWER" , SC_OPCODE_POWER },
1973 { "GCD" , SC_OPCODE_GCD },
1974 { "LCM" , SC_OPCODE_LCM },
1975 { "MOD" , SC_OPCODE_MOD },
1976 { "SUMPRODUCT" , SC_OPCODE_SUM_PRODUCT },
1977 { "SUMSQ" , SC_OPCODE_SUM_SQ },
1978 { "SUMX2MY2" , SC_OPCODE_SUM_X2MY2 },
1979 { "SUMX2PY2" , SC_OPCODE_SUM_X2DY2 },
1980 { "SUMXMY2" , SC_OPCODE_SUM_XMY2 },
1981 { "DATE" , SC_OPCODE_GET_DATE },
1982 { "TIME" , SC_OPCODE_GET_TIME },
1983 { "DAYS" , SC_OPCODE_GET_DIFF_DATE },
1984 { "DAYS360" , SC_OPCODE_GET_DIFF_DATE_360 },
1985 { "DATEDIF" , SC_OPCODE_GET_DATEDIF },
1986 { "MIN" , SC_OPCODE_MIN },
1987 { "MINA" , SC_OPCODE_MIN_A },
1988 { "MAX" , SC_OPCODE_MAX },
1989 { "MAXA" , SC_OPCODE_MAX_A },
1990 { "SUM" , SC_OPCODE_SUM },
1991 { "PRODUCT" , SC_OPCODE_PRODUCT },
1992 { "AVERAGE" , SC_OPCODE_AVERAGE },
1993 { "AVERAGEA" , SC_OPCODE_AVERAGE_A },
1994 { "COUNT" , SC_OPCODE_COUNT },
1995 { "COUNTA" , SC_OPCODE_COUNT_2 },
1996 { "NPV" , SC_OPCODE_NPV },
1997 { "IRR" , SC_OPCODE_IRR },
1998 { "MIRR" , SC_OPCODE_MIRR },
1999 { "ISPMT" , SC_OPCODE_ISPMT },
2000 { "VAR" , SC_OPCODE_VAR },
2001 { "VARA" , SC_OPCODE_VAR_A },
2002 { "VARP" , SC_OPCODE_VAR_P },
2003 { "VARPA" , SC_OPCODE_VAR_P_A },
2004 { "VAR.P" , SC_OPCODE_VAR_P_MS },
2005 { "VAR.S" , SC_OPCODE_VAR_S },
2006 { "STDEV" , SC_OPCODE_ST_DEV },
2007 { "STDEVA" , SC_OPCODE_ST_DEV_A },
2008 { "STDEVP" , SC_OPCODE_ST_DEV_P },
2009 { "STDEVPA" , SC_OPCODE_ST_DEV_P_A },
2010 { "STDEV.P" , SC_OPCODE_ST_DEV_P_MS },
2011 { "STDEV.S" , SC_OPCODE_ST_DEV_S },
2012 { "B" , SC_OPCODE_B },
2013 { "NORMDIST" , SC_OPCODE_NORM_DIST },
2014 { "NORM.DIST" , SC_OPCODE_NORM_DIST_MS },
2015 { "EXPONDIST" , SC_OPCODE_EXP_DIST },
2016 { "EXPON.DIST" , SC_OPCODE_EXP_DIST_MS },
2017 { "BINOMDIST" , SC_OPCODE_BINOM_DIST },
2018 { "BINOM.DIST" , SC_OPCODE_BINOM_DIST_MS },
2019 { "POISSON" , SC_OPCODE_POISSON_DIST },
2020 { "POISSON.DIST" , SC_OPCODE_POISSON_DIST_MS },
2021 { "COMBIN" , SC_OPCODE_COMBIN },
2022 { "COMBINA" , SC_OPCODE_COMBIN_A },
2023 { "PERMUT" , SC_OPCODE_PERMUT },
2024 { "PERMUTATIONA" , SC_OPCODE_PERMUTATION_A },
2025 { "PV" , SC_OPCODE_PV },
2026 { "SYD" , SC_OPCODE_SYD },
2027 { "DDB" , SC_OPCODE_DDB },
2028 { "DB" , SC_OPCODE_DB },
2029 { "VDB" , SC_OPCODE_VBD },
2030 { "PDURATION" , SC_OPCODE_PDURATION },
2031 { "SLN" , SC_OPCODE_SLN },
2032 { "PMT" , SC_OPCODE_PMT },
2033 { "COLUMNS" , SC_OPCODE_COLUMNS },
2034 { "ROWS" , SC_OPCODE_ROWS },
2035 { "SHEETS" , SC_OPCODE_SHEETS },
2036 { "COLUMN" , SC_OPCODE_COLUMN },
2037 { "ROW" , SC_OPCODE_ROW },
2038 { "SHEET" , SC_OPCODE_SHEET },
2039 { "ZGZ" , SC_OPCODE_RRI },
2040 { "FV" , SC_OPCODE_FV },
2041 { "NPER" , SC_OPCODE_NPER },
2042 { "RATE" , SC_OPCODE_RATE },
2043 { "IPMT" , SC_OPCODE_IPMT },
2044 { "PPMT" , SC_OPCODE_PPMT },
2045 { "CUMIPMT" , SC_OPCODE_CUM_IPMT },
2046 { "CUMPRINC" , SC_OPCODE_CUM_PRINC },
2047 { "EFFECTIVE" , SC_OPCODE_EFFECT },
2048 { "NOMINAL" , SC_OPCODE_NOMINAL },
2049 { "SUBTOTAL" , SC_OPCODE_SUB_TOTAL },
2050 { "DSUM" , SC_OPCODE_DB_SUM },
2051 { "DCOUNT" , SC_OPCODE_DB_COUNT },
2052 { "DCOUNTA" , SC_OPCODE_DB_COUNT_2 },
2053 { "DAVERAGE" , SC_OPCODE_DB_AVERAGE },
2054 { "DGET" , SC_OPCODE_DB_GET },
2055 { "DMAX" , SC_OPCODE_DB_MAX },
2056 { "DMIN" , SC_OPCODE_DB_MIN },
2057 { "DPRODUCT" , SC_OPCODE_DB_PRODUCT },
2058 { "DSTDEV" , SC_OPCODE_DB_STD_DEV },
2059 { "DSTDEVP" , SC_OPCODE_DB_STD_DEV_P },
2060 { "DVAR" , SC_OPCODE_DB_VAR },
2061 { "DVARP" , SC_OPCODE_DB_VAR_P },
2062 { "INDIRECT" , SC_OPCODE_INDIRECT },
2063 { "ADDRESS" , SC_OPCODE_ADDRESS },
2064 { "MATCH" , SC_OPCODE_MATCH },
2065 { "COUNTBLANK" , SC_OPCODE_COUNT_EMPTY_CELLS },
2066 { "COUNTIF" , SC_OPCODE_COUNT_IF },
2067 { "SUMIF" , SC_OPCODE_SUM_IF },
2068 { "AVERAGEIF" , SC_OPCODE_AVERAGE_IF },
2069 { "SUMIFS" , SC_OPCODE_SUM_IFS },
2070 { "AVERAGEIFS" , SC_OPCODE_AVERAGE_IFS },
2071 { "COUNTIFS" , SC_OPCODE_COUNT_IFS },
2072 { "LOOKUP" , SC_OPCODE_LOOKUP },
2073 { "VLOOKUP" , SC_OPCODE_V_LOOKUP },
2074 { "HLOOKUP" , SC_OPCODE_H_LOOKUP },
2075 { "MULTIRANGE" , SC_OPCODE_MULTI_AREA },
2076 { "OFFSET" , SC_OPCODE_OFFSET },
2077 { "INDEX" , SC_OPCODE_INDEX },
2078 { "AREAS" , SC_OPCODE_AREAS },
2079 { "DOLLAR" , SC_OPCODE_CURRENCY },
2080 { "REPLACE" , SC_OPCODE_REPLACE },
2081 { "FIXED" , SC_OPCODE_FIXED },
2082 { "FIND" , SC_OPCODE_FIND },
2083 { "EXACT" , SC_OPCODE_EXACT },
2084 { "LEFT" , SC_OPCODE_LEFT },
2085 { "RIGHT" , SC_OPCODE_RIGHT },
2086 { "SEARCH" , SC_OPCODE_SEARCH },
2087 { "MID" , SC_OPCODE_MID },
2088 { "LENB" , SC_OPCODE_LENB },
2089 { "RIGHTB" , SC_OPCODE_RIGHTB },
2090 { "LEFTB" , SC_OPCODE_LEFTB },
2091 { "REPLACEB" , SC_OPCODE_REPLACEB },
2092 { "FINDB" , SC_OPCODE_FINDB },
2093 { "SEARCHB" , SC_OPCODE_SEARCHB },
2094 { "MIDB" , SC_OPCODE_MIDB },
2095 { "TEXT" , SC_OPCODE_TEXT },
2096 { "SUBSTITUTE" , SC_OPCODE_SUBSTITUTE },
2097 { "REPT" , SC_OPCODE_REPT },
2098 { "CONCATENATE" , SC_OPCODE_CONCAT },
2099 { "CONCAT" , SC_OPCODE_CONCAT_MS },
2100 { "TEXTJOIN" , SC_OPCODE_TEXTJOIN_MS },
2101 { "IFS" , SC_OPCODE_IFS_MS },
2102 { "SWITCH" , SC_OPCODE_SWITCH_MS },
2103 { "MINIFS" , SC_OPCODE_MINIFS_MS },
2104 { "MAXIFS" , SC_OPCODE_MAXIFS_MS },
2105 { "MVALUE" , SC_OPCODE_MAT_VALUE },
2106 { "MDETERM" , SC_OPCODE_MAT_DET },
2107 { "MINVERSE" , SC_OPCODE_MAT_INV },
2108 { "MMULT" , SC_OPCODE_MAT_MULT },
2109 { "TRANSPOSE" , SC_OPCODE_MAT_TRANS },
2110 { "MUNIT" , SC_OPCODE_MATRIX_UNIT },
2111 { "GOALSEEK" , SC_OPCODE_BACK_SOLVER },
2112 { "HYPGEOMDIST" , SC_OPCODE_HYP_GEOM_DIST },
2113 { "HYPGEOM.DIST" , SC_OPCODE_HYP_GEOM_DIST_MS },
2114 { "LOGNORMDIST" , SC_OPCODE_LOG_NORM_DIST },
2115 { "LOGNORM.DIST" , SC_OPCODE_LOG_NORM_DIST_MS },
2116 { "TDIST" , SC_OPCODE_T_DIST },
2117 { "T.DIST.2T" , SC_OPCODE_T_DIST_2T },
2118 { "T.DIST" , SC_OPCODE_T_DIST_MS },
2119 { "T.DIST.RT" , SC_OPCODE_T_DIST_RT },
2120 { "FDIST" , SC_OPCODE_F_DIST },
2121 { "F.DIST" , SC_OPCODE_F_DIST_LT },
2122 { "F.DIST.RT" , SC_OPCODE_F_DIST_RT },
2123 { "CHIDIST" , SC_OPCODE_CHI_DIST },
2124 { "CHISQ.DIST.RT" , SC_OPCODE_CHI_DIST_MS },
2125 { "WEIBULL" , SC_OPCODE_WEIBULL },
2126 { "WEIBULL.DIST" , SC_OPCODE_WEIBULL_MS },
2127 { "NEGBINOMDIST" , SC_OPCODE_NEG_BINOM_VERT },
2128 { "NEGBINOM.DIST" , SC_OPCODE_NEG_BINOM_DIST_MS },
2129 { "CRITBINOM" , SC_OPCODE_CRIT_BINOM },
2130 { "BINOM.INV" , SC_OPCODE_BINOM_INV },
2131 { "KURT" , SC_OPCODE_KURT },
2132 { "HARMEAN" , SC_OPCODE_HAR_MEAN },
2133 { "GEOMEAN" , SC_OPCODE_GEO_MEAN },
2134 { "STANDARDIZE" , SC_OPCODE_STANDARD },
2135 { "AVEDEV" , SC_OPCODE_AVE_DEV },
2136 { "SKEW" , SC_OPCODE_SKEW },
2137 { "SKEWP" , SC_OPCODE_SKEWP },
2138 { "DEVSQ" , SC_OPCODE_DEV_SQ },
2139 { "MEDIAN" , SC_OPCODE_MEDIAN },
2140 { "MODE" , SC_OPCODE_MODAL_VALUE },
2141 { "MODE.SNGL" , SC_OPCODE_MODAL_VALUE_MS },
2142 { "MODE.MULT" , SC_OPCODE_MODAL_VALUE_MULTI },
2143 { "ZTEST" , SC_OPCODE_Z_TEST },
2144 { "Z.TEST" , SC_OPCODE_Z_TEST_MS },
2145 { "AGGREGATE" , SC_OPCODE_AGGREGATE },
2146 { "TTEST" , SC_OPCODE_T_TEST },
2147 { "T.TEST" , SC_OPCODE_T_TEST_MS },
2148 { "RANK" , SC_OPCODE_RANK },
2149 { "PERCENTILE" , SC_OPCODE_PERCENTILE },
2150 { "PERCENTRANK" , SC_OPCODE_PERCENT_RANK },
2151 { "PERCENTILE.INC" , SC_OPCODE_PERCENTILE_INC },
2152 { "PERCENTRANK.INC" , SC_OPCODE_PERCENT_RANK_INC },
2153 { "QUARTILE.INC" , SC_OPCODE_QUARTILE_INC },
2154 { "RANK.EQ" , SC_OPCODE_RANK_EQ },
2155 { "PERCENTILE.EXC" , SC_OPCODE_PERCENTILE_EXC },
2156 { "PERCENTRANK.EXC" , SC_OPCODE_PERCENT_RANK_EXC },
2157 { "QUARTILE.EXC" , SC_OPCODE_QUARTILE_EXC },
2158 { "RANK.AVG" , SC_OPCODE_RANK_AVG },
2159 { "LARGE" , SC_OPCODE_LARGE },
2160 { "SMALL" , SC_OPCODE_SMALL },
2161 { "FREQUENCY" , SC_OPCODE_FREQUENCY },
2162 { "QUARTILE" , SC_OPCODE_QUARTILE },
2163 { "NORMINV" , SC_OPCODE_NORM_INV },
2164 { "NORM.INV" , SC_OPCODE_NORM_INV_MS },
2165 { "CONFIDENCE" , SC_OPCODE_CONFIDENCE },
2166 { "CONFIDENCE.NORM" , SC_OPCODE_CONFIDENCE_N },
2167 { "CONFIDENCE.T" , SC_OPCODE_CONFIDENCE_T },
2168 { "FTEST" , SC_OPCODE_F_TEST },
2169 { "F.TEST" , SC_OPCODE_F_TEST_MS },
2170 { "TRIMMEAN" , SC_OPCODE_TRIM_MEAN },
2171 { "PROB" , SC_OPCODE_PROB },
2172 { "CORREL" , SC_OPCODE_CORREL },
2173 { "COVAR" , SC_OPCODE_COVAR },
2174 { "COVARIANCE.P" , SC_OPCODE_COVARIANCE_P },
2175 { "COVARIANCE.S" , SC_OPCODE_COVARIANCE_S },
2176 { "PEARSON" , SC_OPCODE_PEARSON },
2177 { "RSQ" , SC_OPCODE_RSQ },
2178 { "STEYX" , SC_OPCODE_STEYX },
2179 { "SLOPE" , SC_OPCODE_SLOPE },
2180 { "INTERCEPT" , SC_OPCODE_INTERCEPT },
2181 { "TREND" , SC_OPCODE_TREND },
2182 { "GROWTH" , SC_OPCODE_GROWTH },
2183 { "LINEST" , SC_OPCODE_LINEST },
2184 { "LOGEST" , SC_OPCODE_LOGEST },
2185 { "FORECAST" , SC_OPCODE_FORECAST },
2186 { "FORECAST.ETS.ADD" , SC_OPCODE_FORECAST_ETS_ADD },
2187 { "FORECAST.ETS.SEASONALITY" , SC_OPCODE_FORECAST_ETS_SEA },
2188 { "FORECAST.ETS.MULT" , SC_OPCODE_FORECAST_ETS_MUL },
2189 { "FORECAST.ETS.PI.ADD" , SC_OPCODE_FORECAST_ETS_PIA },
2190 { "FORECAST.ETS.PI.MULT" , SC_OPCODE_FORECAST_ETS_PIM },
2191 { "FORECAST.ETS.STAT.ADD" , SC_OPCODE_FORECAST_ETS_STA },
2192 { "FORECAST.ETS.STAT.MULT" , SC_OPCODE_FORECAST_ETS_STM },
2193 { "FORECAST.LINEAR" , SC_OPCODE_FORECAST_LIN },
2194 { "CHIINV" , SC_OPCODE_CHI_INV },
2195 { "CHISQ.INV.RT" , SC_OPCODE_CHI_INV_MS },
2196 { "GAMMADIST" , SC_OPCODE_GAMMA_DIST },
2197 { "GAMMA.DIST" , SC_OPCODE_GAMMA_DIST_MS },
2198 { "GAMMAINV" , SC_OPCODE_GAMMA_INV },
2199 { "GAMMA.INV" , SC_OPCODE_GAMMA_INV_MS },
2200 { "TINV" , SC_OPCODE_T_INV },
2201 { "T.INV.2T" , SC_OPCODE_T_INV_2T },
2202 { "T.INV" , SC_OPCODE_T_INV_MS },
2203 { "FINV" , SC_OPCODE_F_INV },
2204 { "F.INV" , SC_OPCODE_F_INV_LT },
2205 { "F.INV.RT" , SC_OPCODE_F_INV_RT },
2206 { "CHITEST" , SC_OPCODE_CHI_TEST },
2207 { "CHISQ.TEST" , SC_OPCODE_CHI_TEST_MS },
2208 { "LOGINV" , SC_OPCODE_LOG_INV },
2209 { "LOGNORM.INV" , SC_OPCODE_LOG_INV_MS },
2210 { "TABLE" , SC_OPCODE_TABLE_OP },
2211 { "BETADIST" , SC_OPCODE_BETA_DIST },
2212 { "BETAINV" , SC_OPCODE_BETA_INV },
2213 { "BETA.DIST" , SC_OPCODE_BETA_DIST_MS },
2214 { "BETA.INV" , SC_OPCODE_BETA_INV_MS },
2215 { "WEEKNUM" , SC_OPCODE_WEEK },
2216 { "ISOWEEKNUM" , SC_OPCODE_ISOWEEKNUM },
2217 { "WEEKNUM_OOO" , SC_OPCODE_WEEKNUM_OOO },
2218 { "EASTERSUNDAY" , SC_OPCODE_EASTERSUNDAY },
2219 { "WEEKDAY" , SC_OPCODE_GET_DAY_OF_WEEK },
2220 { "NETWORKDAYS" , SC_OPCODE_NETWORKDAYS },
2221 { "NETWORKDAYS.INTL" , SC_OPCODE_NETWORKDAYS_MS },
2222 { "WORKDAY.INTL" , SC_OPCODE_WORKDAY_MS },
2223 { "#NAME!" , SC_OPCODE_NO_NAME },
2224 { "STYLE" , SC_OPCODE_STYLE },
2225 { "DDE" , SC_OPCODE_DDE },
2226 { "BASE" , SC_OPCODE_BASE },
2227 { "DECIMAL" , SC_OPCODE_DECIMAL },
2228 { "CONVERT_OOO" , SC_OPCODE_CONVERT_OOO },
2229 { "ROMAN" , SC_OPCODE_ROMAN },
2230 { "ARABIC" , SC_OPCODE_ARABIC },
2231 { "HYPERLINK" , SC_OPCODE_HYPERLINK },
2232 { "INFO" , SC_OPCODE_INFO },
2233 { "BAHTTEXT" , SC_OPCODE_BAHTTEXT },
2234 { "GETPIVOTDATA" , SC_OPCODE_GET_PIVOT_DATA },
2235 { "EUROCONVERT" , SC_OPCODE_EUROCONVERT },
2236 { "NUMBERVALUE" , SC_OPCODE_NUMBERVALUE },
2237 { "GAMMA" , SC_OPCODE_GAMMA },
2238 { "CHISQDIST" , SC_OPCODE_CHISQ_DIST },
2239 { "CHISQ.DIST" , SC_OPCODE_CHISQ_DIST_MS },
2240 { "CHISQ.INV" , SC_OPCODE_CHISQ_INV_MS },
2241 { "CHISQINV" , SC_OPCODE_CHISQ_INV },
2242 { "BITAND" , SC_OPCODE_BITAND },
2243 { "BITOR" , SC_OPCODE_BITOR },
2244 { "BITXOR" , SC_OPCODE_BITXOR },
2245 { "BITRSHIFT" , SC_OPCODE_BITRSHIFT },
2246 { "BITLSHIFT" , SC_OPCODE_BITLSHIFT },
2247 { "#NULL!" , SC_OPCODE_ERROR_NULL },
2248 { "#DIV/0!" , SC_OPCODE_ERROR_DIVZERO },
2249 { "#VALUE!" , SC_OPCODE_ERROR_VALUE },
2250 { "#REF!" , SC_OPCODE_ERROR_REF },
2251 { "#NAME?" , SC_OPCODE_ERROR_NAME },
2252 { "#NUM!" , SC_OPCODE_ERROR_NUM },
2253 { "#N/A" , SC_OPCODE_ERROR_NA },
2254 /* END defined ERROR.TYPE() values. */
2255 { "FILTERXML" , SC_OPCODE_FILTERXML },
2256 { "WEBSERVICE" , SC_OPCODE_WEBSERVICE },
2257 { "COLOR" , SC_OPCODE_COLOR },
2258 { "ERF.PRECISE" , SC_OPCODE_ERF_MS },
2259 { "ERFC.PRECISE" , SC_OPCODE_ERFC_MS },
2260 { "ENCODEURL" , SC_OPCODE_ENCODEURL },
2261 { "RAWSUBTRACT" , SC_OPCODE_RAWSUBTRACT },
2262 { "ROUNDSIG" , SC_OPCODE_ROUNDSIG },
2263 { "REGEX" , SC_OPCODE_REGEX },
2264 { "FOURIER", SC_OPCODE_FOURIER },
2265 { "RAND.NV" , SC_OPCODE_RANDOM_NV },
2266 { "RANDBETWEEN.NV" , SC_OPCODE_RANDBETWEEN_NV },
2270 /** Function names that can be localized if [en-US]. Same names should be used
2271 in RID_STRLIST_FUNCTION_NAMES_ENGLISH above. Names can be changed, the
2272 change has to be mentioned in the release notes, i.e.
2273 https://wiki.documentfoundation.org/ReleaseNotes/...
2275 const std::pair<TranslateId, int> RID_STRLIST_FUNCTION_NAMES[] =
2277 { NC_("RID_STRLIST_FUNCTION_NAMES", "IF") , SC_OPCODE_IF },
2278 { NC_("RID_STRLIST_FUNCTION_NAMES", "IFERROR") , SC_OPCODE_IF_ERROR },
2279 { NC_("RID_STRLIST_FUNCTION_NAMES", "IFNA") , SC_OPCODE_IF_NA },
2280 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHOOSE") , SC_OPCODE_CHOOSE },
2281 /* L10n: preserve the leading '#' hash character in translations. */
2282 { NC_("RID_STRLIST_FUNCTION_NAMES", "#All") , SC_OPCODE_TABLE_REF_ITEM_ALL },
2283 /* L10n: preserve the leading '#' hash character in translations. */
2284 { NC_("RID_STRLIST_FUNCTION_NAMES", "#Headers") , SC_OPCODE_TABLE_REF_ITEM_HEADERS },
2285 /* L10n: preserve the leading '#' hash character in translations. */
2286 { NC_("RID_STRLIST_FUNCTION_NAMES", "#Data") , SC_OPCODE_TABLE_REF_ITEM_DATA },
2287 /* L10n: preserve the leading '#' hash character in translations. */
2288 { NC_("RID_STRLIST_FUNCTION_NAMES", "#Totals") , SC_OPCODE_TABLE_REF_ITEM_TOTALS },
2289 /* L10n: preserve the leading '#' hash character in translations. */
2290 { NC_("RID_STRLIST_FUNCTION_NAMES", "#This Row") , SC_OPCODE_TABLE_REF_ITEM_THIS_ROW },
2291 { NC_("RID_STRLIST_FUNCTION_NAMES", "AND") , SC_OPCODE_AND },
2292 { NC_("RID_STRLIST_FUNCTION_NAMES", "OR") , SC_OPCODE_OR },
2293 { NC_("RID_STRLIST_FUNCTION_NAMES", "XOR") , SC_OPCODE_XOR },
2294 { NC_("RID_STRLIST_FUNCTION_NAMES", "NOT") , SC_OPCODE_NOT },
2295 { NC_("RID_STRLIST_FUNCTION_NAMES", "NEG") , SC_OPCODE_NEG },
2296 { NC_("RID_STRLIST_FUNCTION_NAMES", "PI") , SC_OPCODE_PI }, // ???
2297 { NC_("RID_STRLIST_FUNCTION_NAMES", "RAND") , SC_OPCODE_RANDOM },
2298 { NC_("RID_STRLIST_FUNCTION_NAMES", "TRUE") , SC_OPCODE_TRUE },
2299 { NC_("RID_STRLIST_FUNCTION_NAMES", "FALSE") , SC_OPCODE_FALSE },
2300 { NC_("RID_STRLIST_FUNCTION_NAMES", "TODAY") , SC_OPCODE_GET_ACT_DATE },
2301 { NC_("RID_STRLIST_FUNCTION_NAMES", "NOW") , SC_OPCODE_GET_ACT_TIME },
2302 { NC_("RID_STRLIST_FUNCTION_NAMES", "NA") , SC_OPCODE_NO_VALUE },
2303 { NC_("RID_STRLIST_FUNCTION_NAMES", "CURRENT") , SC_OPCODE_CURRENT },
2304 { NC_("RID_STRLIST_FUNCTION_NAMES", "DEGREES") , SC_OPCODE_DEG },
2305 { NC_("RID_STRLIST_FUNCTION_NAMES", "RADIANS") , SC_OPCODE_RAD },
2306 { NC_("RID_STRLIST_FUNCTION_NAMES", "SIN") , SC_OPCODE_SIN },
2307 { NC_("RID_STRLIST_FUNCTION_NAMES", "COS") , SC_OPCODE_COS },
2308 { NC_("RID_STRLIST_FUNCTION_NAMES", "TAN") , SC_OPCODE_TAN },
2309 { NC_("RID_STRLIST_FUNCTION_NAMES", "COT") , SC_OPCODE_COT },
2310 { NC_("RID_STRLIST_FUNCTION_NAMES", "ASIN") , SC_OPCODE_ARC_SIN },
2311 { NC_("RID_STRLIST_FUNCTION_NAMES", "ACOS") , SC_OPCODE_ARC_COS },
2312 { NC_("RID_STRLIST_FUNCTION_NAMES", "ATAN") , SC_OPCODE_ARC_TAN },
2313 { NC_("RID_STRLIST_FUNCTION_NAMES", "ACOT") , SC_OPCODE_ARC_COT },
2314 { NC_("RID_STRLIST_FUNCTION_NAMES", "SINH") , SC_OPCODE_SIN_HYP },
2315 { NC_("RID_STRLIST_FUNCTION_NAMES", "COSH") , SC_OPCODE_COS_HYP },
2316 { NC_("RID_STRLIST_FUNCTION_NAMES", "TANH") , SC_OPCODE_TAN_HYP },
2317 { NC_("RID_STRLIST_FUNCTION_NAMES", "COTH") , SC_OPCODE_COT_HYP },
2318 { NC_("RID_STRLIST_FUNCTION_NAMES", "ASINH") , SC_OPCODE_ARC_SIN_HYP },
2319 { NC_("RID_STRLIST_FUNCTION_NAMES", "ACOSH") , SC_OPCODE_ARC_COS_HYP },
2320 { NC_("RID_STRLIST_FUNCTION_NAMES", "ATANH") , SC_OPCODE_ARC_TAN_HYP },
2321 { NC_("RID_STRLIST_FUNCTION_NAMES", "ACOTH") , SC_OPCODE_ARC_COT_HYP },
2322 { NC_("RID_STRLIST_FUNCTION_NAMES", "CSC") , SC_OPCODE_COSECANT },
2323 { NC_("RID_STRLIST_FUNCTION_NAMES", "SEC") , SC_OPCODE_SECANT },
2324 { NC_("RID_STRLIST_FUNCTION_NAMES", "CSCH") , SC_OPCODE_COSECANT_HYP },
2325 { NC_("RID_STRLIST_FUNCTION_NAMES", "SECH") , SC_OPCODE_SECANT_HYP },
2326 { NC_("RID_STRLIST_FUNCTION_NAMES", "EXP") , SC_OPCODE_EXP },
2327 { NC_("RID_STRLIST_FUNCTION_NAMES", "LN") , SC_OPCODE_LN },
2328 { NC_("RID_STRLIST_FUNCTION_NAMES", "SQRT") , SC_OPCODE_SQRT },
2329 { NC_("RID_STRLIST_FUNCTION_NAMES", "FACT") , SC_OPCODE_FACT },
2330 { NC_("RID_STRLIST_FUNCTION_NAMES", "YEAR") , SC_OPCODE_GET_YEAR },
2331 { NC_("RID_STRLIST_FUNCTION_NAMES", "MONTH") , SC_OPCODE_GET_MONTH },
2332 { NC_("RID_STRLIST_FUNCTION_NAMES", "DAY") , SC_OPCODE_GET_DAY },
2333 { NC_("RID_STRLIST_FUNCTION_NAMES", "HOUR") , SC_OPCODE_GET_HOUR },
2334 { NC_("RID_STRLIST_FUNCTION_NAMES", "MINUTE") , SC_OPCODE_GET_MIN },
2335 { NC_("RID_STRLIST_FUNCTION_NAMES", "SECOND") , SC_OPCODE_GET_SEC },
2336 { NC_("RID_STRLIST_FUNCTION_NAMES", "SIGN") , SC_OPCODE_PLUS_MINUS },
2337 { NC_("RID_STRLIST_FUNCTION_NAMES", "ABS") , SC_OPCODE_ABS },
2338 { NC_("RID_STRLIST_FUNCTION_NAMES", "INT") , SC_OPCODE_INT },
2339 { NC_("RID_STRLIST_FUNCTION_NAMES", "PHI") , SC_OPCODE_PHI },
2340 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAUSS") , SC_OPCODE_GAUSS },
2341 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISBLANK") , SC_OPCODE_IS_EMPTY },
2342 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISTEXT") , SC_OPCODE_IS_STRING },
2343 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISNONTEXT") , SC_OPCODE_IS_NON_STRING },
2344 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISLOGICAL") , SC_OPCODE_IS_LOGICAL },
2345 { NC_("RID_STRLIST_FUNCTION_NAMES", "TYPE") , SC_OPCODE_TYPE },
2346 { NC_("RID_STRLIST_FUNCTION_NAMES", "CELL") , SC_OPCODE_CELL },
2347 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISREF") , SC_OPCODE_IS_REF },
2348 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISNUMBER") , SC_OPCODE_IS_VALUE },
2349 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISFORMULA") , SC_OPCODE_IS_FORMULA },
2350 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISNA") , SC_OPCODE_IS_NV },
2351 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISERR") , SC_OPCODE_IS_ERR },
2352 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISERROR") , SC_OPCODE_IS_ERROR },
2353 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISEVEN") , SC_OPCODE_IS_EVEN },
2354 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISODD") , SC_OPCODE_IS_ODD },
2355 { NC_("RID_STRLIST_FUNCTION_NAMES", "N") , SC_OPCODE_N },
2356 { NC_("RID_STRLIST_FUNCTION_NAMES", "DATEVALUE") , SC_OPCODE_GET_DATE_VALUE },
2357 { NC_("RID_STRLIST_FUNCTION_NAMES", "TIMEVALUE") , SC_OPCODE_GET_TIME_VALUE },
2358 { NC_("RID_STRLIST_FUNCTION_NAMES", "CODE") , SC_OPCODE_CODE },
2359 { NC_("RID_STRLIST_FUNCTION_NAMES", "TRIM") , SC_OPCODE_TRIM },
2360 { NC_("RID_STRLIST_FUNCTION_NAMES", "UPPER") , SC_OPCODE_UPPER },
2361 { NC_("RID_STRLIST_FUNCTION_NAMES", "PROPER") , SC_OPCODE_PROPER },
2362 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOWER") , SC_OPCODE_LOWER },
2363 { NC_("RID_STRLIST_FUNCTION_NAMES", "LEN") , SC_OPCODE_LEN },
2364 { NC_("RID_STRLIST_FUNCTION_NAMES", "T") , SC_OPCODE_T },
2365 { NC_("RID_STRLIST_FUNCTION_NAMES", "VALUE") , SC_OPCODE_VALUE },
2366 { NC_("RID_STRLIST_FUNCTION_NAMES", "CLEAN") , SC_OPCODE_CLEAN },
2367 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHAR") , SC_OPCODE_CHAR },
2368 { NC_("RID_STRLIST_FUNCTION_NAMES", "JIS") , SC_OPCODE_JIS },
2369 { NC_("RID_STRLIST_FUNCTION_NAMES", "ASC") , SC_OPCODE_ASC },
2370 { NC_("RID_STRLIST_FUNCTION_NAMES", "UNICODE") , SC_OPCODE_UNICODE },
2371 { NC_("RID_STRLIST_FUNCTION_NAMES", "UNICHAR") , SC_OPCODE_UNICHAR },
2372 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOG10") , SC_OPCODE_LOG10 },
2373 { NC_("RID_STRLIST_FUNCTION_NAMES", "EVEN") , SC_OPCODE_EVEN },
2374 { NC_("RID_STRLIST_FUNCTION_NAMES", "ODD") , SC_OPCODE_ODD },
2375 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORMSDIST") , SC_OPCODE_STD_NORM_DIST },
2376 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORM.S.DIST") , SC_OPCODE_STD_NORM_DIST_MS },
2377 { NC_("RID_STRLIST_FUNCTION_NAMES", "FISHER") , SC_OPCODE_FISHER },
2378 { NC_("RID_STRLIST_FUNCTION_NAMES", "FISHERINV") , SC_OPCODE_FISHER_INV },
2379 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORMSINV") , SC_OPCODE_S_NORM_INV },
2380 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORM.S.INV") , SC_OPCODE_S_NORM_INV_MS },
2381 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAMMALN") , SC_OPCODE_GAMMA_LN },
2382 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAMMALN.PRECISE") , SC_OPCODE_GAMMA_LN_MS },
2383 { NC_("RID_STRLIST_FUNCTION_NAMES", "ERRORTYPE") , SC_OPCODE_ERROR_TYPE },
2384 { NC_("RID_STRLIST_FUNCTION_NAMES", "ERROR.TYPE") , SC_OPCODE_ERROR_TYPE_ODF },
2385 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORMULA") , SC_OPCODE_FORMULA },
2386 { NC_("RID_STRLIST_FUNCTION_NAMES", "ARABIC") , SC_OPCODE_ARABIC },
2387 { NC_("RID_STRLIST_FUNCTION_NAMES", "ATAN2") , SC_OPCODE_ARC_TAN_2 },
2388 { NC_("RID_STRLIST_FUNCTION_NAMES", "CEILING.MATH") , SC_OPCODE_CEIL_MATH },
2389 { NC_("RID_STRLIST_FUNCTION_NAMES", "CEILING") , SC_OPCODE_CEIL },
2390 { NC_("RID_STRLIST_FUNCTION_NAMES", "CEILING.XCL") , SC_OPCODE_CEIL_MS },
2391 { NC_("RID_STRLIST_FUNCTION_NAMES", "CEILING.PRECISE") , SC_OPCODE_CEIL_PRECISE },
2392 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISO.CEILING") , SC_OPCODE_CEIL_ISO },
2393 { NC_("RID_STRLIST_FUNCTION_NAMES", "FLOOR") , SC_OPCODE_FLOOR },
2394 { NC_("RID_STRLIST_FUNCTION_NAMES", "FLOOR.XCL") , SC_OPCODE_FLOOR_MS },
2395 { NC_("RID_STRLIST_FUNCTION_NAMES", "FLOOR.MATH") , SC_OPCODE_FLOOR_MATH },
2396 { NC_("RID_STRLIST_FUNCTION_NAMES", "FLOOR.PRECISE") , SC_OPCODE_FLOOR_PRECISE },
2397 { NC_("RID_STRLIST_FUNCTION_NAMES", "ROUND") , SC_OPCODE_ROUND },
2398 { NC_("RID_STRLIST_FUNCTION_NAMES", "ROUNDUP") , SC_OPCODE_ROUND_UP },
2399 { NC_("RID_STRLIST_FUNCTION_NAMES", "ROUNDDOWN") , SC_OPCODE_ROUND_DOWN },
2400 { NC_("RID_STRLIST_FUNCTION_NAMES", "TRUNC") , SC_OPCODE_TRUNC },
2401 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOG") , SC_OPCODE_LOG },
2402 { NC_("RID_STRLIST_FUNCTION_NAMES", "POWER") , SC_OPCODE_POWER },
2403 { NC_("RID_STRLIST_FUNCTION_NAMES", "GCD") , SC_OPCODE_GCD },
2404 { NC_("RID_STRLIST_FUNCTION_NAMES", "LCM") , SC_OPCODE_LCM },
2405 { NC_("RID_STRLIST_FUNCTION_NAMES", "MOD") , SC_OPCODE_MOD },
2406 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUMPRODUCT") , SC_OPCODE_SUM_PRODUCT },
2407 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUMSQ") , SC_OPCODE_SUM_SQ },
2408 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUMX2MY2") , SC_OPCODE_SUM_X2MY2 },
2409 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUMX2PY2") , SC_OPCODE_SUM_X2DY2 },
2410 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUMXMY2") , SC_OPCODE_SUM_XMY2 },
2411 { NC_("RID_STRLIST_FUNCTION_NAMES", "DATE") , SC_OPCODE_GET_DATE },
2412 { NC_("RID_STRLIST_FUNCTION_NAMES", "TIME") , SC_OPCODE_GET_TIME },
2413 { NC_("RID_STRLIST_FUNCTION_NAMES", "DAYS") , SC_OPCODE_GET_DIFF_DATE },
2414 { NC_("RID_STRLIST_FUNCTION_NAMES", "DAYS360") , SC_OPCODE_GET_DIFF_DATE_360 },
2415 { NC_("RID_STRLIST_FUNCTION_NAMES", "DATEDIF") , SC_OPCODE_GET_DATEDIF },
2416 { NC_("RID_STRLIST_FUNCTION_NAMES", "MIN") , SC_OPCODE_MIN },
2417 { NC_("RID_STRLIST_FUNCTION_NAMES", "MINA") , SC_OPCODE_MIN_A },
2418 { NC_("RID_STRLIST_FUNCTION_NAMES", "MAX") , SC_OPCODE_MAX },
2419 { NC_("RID_STRLIST_FUNCTION_NAMES", "MAXA") , SC_OPCODE_MAX_A },
2420 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUM") , SC_OPCODE_SUM },
2421 { NC_("RID_STRLIST_FUNCTION_NAMES", "PRODUCT") , SC_OPCODE_PRODUCT },
2422 { NC_("RID_STRLIST_FUNCTION_NAMES", "AVERAGE") , SC_OPCODE_AVERAGE },
2423 { NC_("RID_STRLIST_FUNCTION_NAMES", "AVERAGEA") , SC_OPCODE_AVERAGE_A },
2424 { NC_("RID_STRLIST_FUNCTION_NAMES", "COUNT") , SC_OPCODE_COUNT },
2425 { NC_("RID_STRLIST_FUNCTION_NAMES", "COUNTA") , SC_OPCODE_COUNT_2 },
2426 { NC_("RID_STRLIST_FUNCTION_NAMES", "NPV") , SC_OPCODE_NPV },
2427 { NC_("RID_STRLIST_FUNCTION_NAMES", "IRR") , SC_OPCODE_IRR },
2428 { NC_("RID_STRLIST_FUNCTION_NAMES", "MIRR") , SC_OPCODE_MIRR },
2429 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISPMT") , SC_OPCODE_ISPMT },
2430 { NC_("RID_STRLIST_FUNCTION_NAMES", "VAR") , SC_OPCODE_VAR },
2431 { NC_("RID_STRLIST_FUNCTION_NAMES", "VARA") , SC_OPCODE_VAR_A },
2432 { NC_("RID_STRLIST_FUNCTION_NAMES", "VARP") , SC_OPCODE_VAR_P },
2433 { NC_("RID_STRLIST_FUNCTION_NAMES", "VARPA") , SC_OPCODE_VAR_P_A },
2434 { NC_("RID_STRLIST_FUNCTION_NAMES", "VAR.P") , SC_OPCODE_VAR_P_MS },
2435 { NC_("RID_STRLIST_FUNCTION_NAMES", "VAR.S") , SC_OPCODE_VAR_S },
2436 { NC_("RID_STRLIST_FUNCTION_NAMES", "STDEV") , SC_OPCODE_ST_DEV },
2437 { NC_("RID_STRLIST_FUNCTION_NAMES", "STDEVA") , SC_OPCODE_ST_DEV_A },
2438 { NC_("RID_STRLIST_FUNCTION_NAMES", "STDEVP") , SC_OPCODE_ST_DEV_P },
2439 { NC_("RID_STRLIST_FUNCTION_NAMES", "STDEVPA") , SC_OPCODE_ST_DEV_P_A },
2440 { NC_("RID_STRLIST_FUNCTION_NAMES", "STDEV.P") , SC_OPCODE_ST_DEV_P_MS },
2441 { NC_("RID_STRLIST_FUNCTION_NAMES", "STDEV.S") , SC_OPCODE_ST_DEV_S },
2442 { NC_("RID_STRLIST_FUNCTION_NAMES", "B") , SC_OPCODE_B },
2443 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORMDIST") , SC_OPCODE_NORM_DIST },
2444 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORM.DIST") , SC_OPCODE_NORM_DIST_MS },
2445 { NC_("RID_STRLIST_FUNCTION_NAMES", "EXPONDIST") , SC_OPCODE_EXP_DIST },
2446 { NC_("RID_STRLIST_FUNCTION_NAMES", "EXPON.DIST") , SC_OPCODE_EXP_DIST_MS },
2447 { NC_("RID_STRLIST_FUNCTION_NAMES", "BINOMDIST") , SC_OPCODE_BINOM_DIST },
2448 { NC_("RID_STRLIST_FUNCTION_NAMES", "BINOM.DIST") , SC_OPCODE_BINOM_DIST_MS },
2449 { NC_("RID_STRLIST_FUNCTION_NAMES", "POISSON") , SC_OPCODE_POISSON_DIST },
2450 { NC_("RID_STRLIST_FUNCTION_NAMES", "POISSON.DIST") , SC_OPCODE_POISSON_DIST_MS },
2451 { NC_("RID_STRLIST_FUNCTION_NAMES", "COMBIN") , SC_OPCODE_COMBIN },
2452 { NC_("RID_STRLIST_FUNCTION_NAMES", "COMBINA") , SC_OPCODE_COMBIN_A },
2453 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERMUT") , SC_OPCODE_PERMUT },
2454 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERMUTATIONA") , SC_OPCODE_PERMUTATION_A },
2455 { NC_("RID_STRLIST_FUNCTION_NAMES", "PV") , SC_OPCODE_PV },
2456 { NC_("RID_STRLIST_FUNCTION_NAMES", "SYD") , SC_OPCODE_SYD },
2457 { NC_("RID_STRLIST_FUNCTION_NAMES", "DDB") , SC_OPCODE_DDB },
2458 { NC_("RID_STRLIST_FUNCTION_NAMES", "DB") , SC_OPCODE_DB },
2459 { NC_("RID_STRLIST_FUNCTION_NAMES", "VDB") , SC_OPCODE_VBD },
2460 { NC_("RID_STRLIST_FUNCTION_NAMES", "PDURATION") , SC_OPCODE_PDURATION },
2461 { NC_("RID_STRLIST_FUNCTION_NAMES", "SLN") , SC_OPCODE_SLN },
2462 { NC_("RID_STRLIST_FUNCTION_NAMES", "PMT") , SC_OPCODE_PMT },
2463 { NC_("RID_STRLIST_FUNCTION_NAMES", "COLUMNS") , SC_OPCODE_COLUMNS },
2464 { NC_("RID_STRLIST_FUNCTION_NAMES", "ROWS") , SC_OPCODE_ROWS },
2465 { NC_("RID_STRLIST_FUNCTION_NAMES", "SHEETS") , SC_OPCODE_SHEETS },
2466 { NC_("RID_STRLIST_FUNCTION_NAMES", "COLUMN") , SC_OPCODE_COLUMN },
2467 { NC_("RID_STRLIST_FUNCTION_NAMES", "ROW") , SC_OPCODE_ROW },
2468 { NC_("RID_STRLIST_FUNCTION_NAMES", "SHEET") , SC_OPCODE_SHEET },
2469 { NC_("RID_STRLIST_FUNCTION_NAMES", "RRI") , SC_OPCODE_RRI },
2470 { NC_("RID_STRLIST_FUNCTION_NAMES", "FV") , SC_OPCODE_FV },
2471 { NC_("RID_STRLIST_FUNCTION_NAMES", "NPER") , SC_OPCODE_NPER },
2472 { NC_("RID_STRLIST_FUNCTION_NAMES", "RATE") , SC_OPCODE_RATE },
2473 { NC_("RID_STRLIST_FUNCTION_NAMES", "IPMT") , SC_OPCODE_IPMT },
2474 { NC_("RID_STRLIST_FUNCTION_NAMES", "PPMT") , SC_OPCODE_PPMT },
2475 { NC_("RID_STRLIST_FUNCTION_NAMES", "CUMIPMT") , SC_OPCODE_CUM_IPMT },
2476 { NC_("RID_STRLIST_FUNCTION_NAMES", "CUMPRINC") , SC_OPCODE_CUM_PRINC },
2477 { NC_("RID_STRLIST_FUNCTION_NAMES", "EFFECT") , SC_OPCODE_EFFECT },
2478 { NC_("RID_STRLIST_FUNCTION_NAMES", "NOMINAL") , SC_OPCODE_NOMINAL },
2479 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUBTOTAL") , SC_OPCODE_SUB_TOTAL },
2480 { NC_("RID_STRLIST_FUNCTION_NAMES", "DSUM") , SC_OPCODE_DB_SUM },
2481 { NC_("RID_STRLIST_FUNCTION_NAMES", "DCOUNT") , SC_OPCODE_DB_COUNT },
2482 { NC_("RID_STRLIST_FUNCTION_NAMES", "DCOUNTA") , SC_OPCODE_DB_COUNT_2 },
2483 { NC_("RID_STRLIST_FUNCTION_NAMES", "DAVERAGE") , SC_OPCODE_DB_AVERAGE },
2484 { NC_("RID_STRLIST_FUNCTION_NAMES", "DGET") , SC_OPCODE_DB_GET },
2485 { NC_("RID_STRLIST_FUNCTION_NAMES", "DMAX") , SC_OPCODE_DB_MAX },
2486 { NC_("RID_STRLIST_FUNCTION_NAMES", "DMIN") , SC_OPCODE_DB_MIN },
2487 { NC_("RID_STRLIST_FUNCTION_NAMES", "DPRODUCT") , SC_OPCODE_DB_PRODUCT },
2488 { NC_("RID_STRLIST_FUNCTION_NAMES", "DSTDEV") , SC_OPCODE_DB_STD_DEV },
2489 { NC_("RID_STRLIST_FUNCTION_NAMES", "DSTDEVP") , SC_OPCODE_DB_STD_DEV_P },
2490 { NC_("RID_STRLIST_FUNCTION_NAMES", "DVAR") , SC_OPCODE_DB_VAR },
2491 { NC_("RID_STRLIST_FUNCTION_NAMES", "DVARP") , SC_OPCODE_DB_VAR_P },
2492 { NC_("RID_STRLIST_FUNCTION_NAMES", "INDIRECT") , SC_OPCODE_INDIRECT },
2493 { NC_("RID_STRLIST_FUNCTION_NAMES", "ADDRESS") , SC_OPCODE_ADDRESS },
2494 { NC_("RID_STRLIST_FUNCTION_NAMES", "MATCH") , SC_OPCODE_MATCH },
2495 { NC_("RID_STRLIST_FUNCTION_NAMES", "COUNTBLANK") , SC_OPCODE_COUNT_EMPTY_CELLS },
2496 { NC_("RID_STRLIST_FUNCTION_NAMES", "COUNTIF") , SC_OPCODE_COUNT_IF },
2497 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUMIF") , SC_OPCODE_SUM_IF },
2498 { NC_("RID_STRLIST_FUNCTION_NAMES", "AVERAGEIF") , SC_OPCODE_AVERAGE_IF },
2499 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUMIFS") , SC_OPCODE_SUM_IFS },
2500 { NC_("RID_STRLIST_FUNCTION_NAMES", "AVERAGEIFS") , SC_OPCODE_AVERAGE_IFS },
2501 { NC_("RID_STRLIST_FUNCTION_NAMES", "COUNTIFS") , SC_OPCODE_COUNT_IFS },
2502 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOOKUP") , SC_OPCODE_LOOKUP },
2503 { NC_("RID_STRLIST_FUNCTION_NAMES", "VLOOKUP") , SC_OPCODE_V_LOOKUP },
2504 { NC_("RID_STRLIST_FUNCTION_NAMES", "HLOOKUP") , SC_OPCODE_H_LOOKUP },
2505 { NC_("RID_STRLIST_FUNCTION_NAMES", "MULTIRANGE") , SC_OPCODE_MULTI_AREA }, // legacy for range list (union)
2506 { NC_("RID_STRLIST_FUNCTION_NAMES", "OFFSET") , SC_OPCODE_OFFSET },
2507 { NC_("RID_STRLIST_FUNCTION_NAMES", "INDEX") , SC_OPCODE_INDEX }, // ?? first character = I ??
2508 { NC_("RID_STRLIST_FUNCTION_NAMES", "AREAS") , SC_OPCODE_AREAS },
2509 { NC_("RID_STRLIST_FUNCTION_NAMES", "DOLLAR") , SC_OPCODE_CURRENCY },
2510 { NC_("RID_STRLIST_FUNCTION_NAMES", "REPLACE") , SC_OPCODE_REPLACE },
2511 { NC_("RID_STRLIST_FUNCTION_NAMES", "FIXED") , SC_OPCODE_FIXED },
2512 { NC_("RID_STRLIST_FUNCTION_NAMES", "FIND") , SC_OPCODE_FIND },
2513 { NC_("RID_STRLIST_FUNCTION_NAMES", "EXACT") , SC_OPCODE_EXACT },
2514 { NC_("RID_STRLIST_FUNCTION_NAMES", "LEFT") , SC_OPCODE_LEFT },
2515 { NC_("RID_STRLIST_FUNCTION_NAMES", "RIGHT") , SC_OPCODE_RIGHT },
2516 { NC_("RID_STRLIST_FUNCTION_NAMES", "SEARCH") , SC_OPCODE_SEARCH },
2517 { NC_("RID_STRLIST_FUNCTION_NAMES", "MID") , SC_OPCODE_MID },
2518 { NC_("RID_STRLIST_FUNCTION_NAMES", "LENB") , SC_OPCODE_LENB },
2519 { NC_("RID_STRLIST_FUNCTION_NAMES", "RIGHTB") , SC_OPCODE_RIGHTB },
2520 { NC_("RID_STRLIST_FUNCTION_NAMES", "LEFTB") , SC_OPCODE_LEFTB },
2521 { NC_("RID_STRLIST_FUNCTION_NAMES", "REPLACEB") , SC_OPCODE_REPLACEB },
2522 { NC_("RID_STRLIST_FUNCTION_NAMES", "MIDB") , SC_OPCODE_MIDB },
2523 { NC_("RID_STRLIST_FUNCTION_NAMES", "TEXT") , SC_OPCODE_TEXT },
2524 { NC_("RID_STRLIST_FUNCTION_NAMES", "SUBSTITUTE") , SC_OPCODE_SUBSTITUTE },
2525 { NC_("RID_STRLIST_FUNCTION_NAMES", "REPT") , SC_OPCODE_REPT },
2526 { NC_("RID_STRLIST_FUNCTION_NAMES", "CONCATENATE") , SC_OPCODE_CONCAT },
2527 { NC_("RID_STRLIST_FUNCTION_NAMES", "CONCAT") , SC_OPCODE_CONCAT_MS },
2528 { NC_("RID_STRLIST_FUNCTION_NAMES", "TEXTJOIN") , SC_OPCODE_TEXTJOIN_MS },
2529 { NC_("RID_STRLIST_FUNCTION_NAMES", "IFS") , SC_OPCODE_IFS_MS },
2530 { NC_("RID_STRLIST_FUNCTION_NAMES", "SWITCH") , SC_OPCODE_SWITCH_MS },
2531 { NC_("RID_STRLIST_FUNCTION_NAMES", "MINIFS") , SC_OPCODE_MINIFS_MS },
2532 { NC_("RID_STRLIST_FUNCTION_NAMES", "MAXIFS") , SC_OPCODE_MAXIFS_MS },
2533 { NC_("RID_STRLIST_FUNCTION_NAMES", "MVALUE") , SC_OPCODE_MAT_VALUE },
2534 { NC_("RID_STRLIST_FUNCTION_NAMES", "MDETERM") , SC_OPCODE_MAT_DET },
2535 { NC_("RID_STRLIST_FUNCTION_NAMES", "MINVERSE") , SC_OPCODE_MAT_INV },
2536 { NC_("RID_STRLIST_FUNCTION_NAMES", "MMULT") , SC_OPCODE_MAT_MULT },
2537 { NC_("RID_STRLIST_FUNCTION_NAMES", "TRANSPOSE") , SC_OPCODE_MAT_TRANS },
2538 { NC_("RID_STRLIST_FUNCTION_NAMES", "MUNIT") , SC_OPCODE_MATRIX_UNIT },
2539 { NC_("RID_STRLIST_FUNCTION_NAMES", "GOALSEEK") , SC_OPCODE_BACK_SOLVER },
2540 { NC_("RID_STRLIST_FUNCTION_NAMES", "HYPGEOMDIST") , SC_OPCODE_HYP_GEOM_DIST },
2541 { NC_("RID_STRLIST_FUNCTION_NAMES", "HYPGEOM.DIST") , SC_OPCODE_HYP_GEOM_DIST_MS },
2542 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOGNORMDIST") , SC_OPCODE_LOG_NORM_DIST },
2543 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOGNORM.DIST") , SC_OPCODE_LOG_NORM_DIST_MS },
2544 { NC_("RID_STRLIST_FUNCTION_NAMES", "TDIST") , SC_OPCODE_T_DIST },
2545 { NC_("RID_STRLIST_FUNCTION_NAMES", "T.DIST.2T") , SC_OPCODE_T_DIST_2T },
2546 { NC_("RID_STRLIST_FUNCTION_NAMES", "T.DIST") , SC_OPCODE_T_DIST_MS },
2547 { NC_("RID_STRLIST_FUNCTION_NAMES", "T.DIST.RT") , SC_OPCODE_T_DIST_RT },
2548 { NC_("RID_STRLIST_FUNCTION_NAMES", "FDIST") , SC_OPCODE_F_DIST },
2549 { NC_("RID_STRLIST_FUNCTION_NAMES", "F.DIST") , SC_OPCODE_F_DIST_LT },
2550 { NC_("RID_STRLIST_FUNCTION_NAMES", "F.DIST.RT") , SC_OPCODE_F_DIST_RT },
2551 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHIDIST") , SC_OPCODE_CHI_DIST },
2552 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHISQ.DIST.RT") , SC_OPCODE_CHI_DIST_MS },
2553 { NC_("RID_STRLIST_FUNCTION_NAMES", "WEIBULL") , SC_OPCODE_WEIBULL },
2554 { NC_("RID_STRLIST_FUNCTION_NAMES", "WEIBULL.DIST") , SC_OPCODE_WEIBULL_MS },
2555 { NC_("RID_STRLIST_FUNCTION_NAMES", "NEGBINOMDIST") , SC_OPCODE_NEG_BINOM_VERT },
2556 { NC_("RID_STRLIST_FUNCTION_NAMES", "NEGBINOM.DIST") , SC_OPCODE_NEG_BINOM_DIST_MS },
2557 { NC_("RID_STRLIST_FUNCTION_NAMES", "CRITBINOM") , SC_OPCODE_CRIT_BINOM },
2558 { NC_("RID_STRLIST_FUNCTION_NAMES", "BINOM.INV") , SC_OPCODE_BINOM_INV },
2559 { NC_("RID_STRLIST_FUNCTION_NAMES", "KURT") , SC_OPCODE_KURT },
2560 { NC_("RID_STRLIST_FUNCTION_NAMES", "HARMEAN") , SC_OPCODE_HAR_MEAN },
2561 { NC_("RID_STRLIST_FUNCTION_NAMES", "GEOMEAN") , SC_OPCODE_GEO_MEAN },
2562 { NC_("RID_STRLIST_FUNCTION_NAMES", "STANDARDIZE") , SC_OPCODE_STANDARD },
2563 { NC_("RID_STRLIST_FUNCTION_NAMES", "AVEDEV") , SC_OPCODE_AVE_DEV },
2564 { NC_("RID_STRLIST_FUNCTION_NAMES", "SKEW") , SC_OPCODE_SKEW },
2565 { NC_("RID_STRLIST_FUNCTION_NAMES", "SKEWP") , SC_OPCODE_SKEWP },
2566 { NC_("RID_STRLIST_FUNCTION_NAMES", "DEVSQ") , SC_OPCODE_DEV_SQ },
2567 { NC_("RID_STRLIST_FUNCTION_NAMES", "MEDIAN") , SC_OPCODE_MEDIAN },
2568 { NC_("RID_STRLIST_FUNCTION_NAMES", "MODE") , SC_OPCODE_MODAL_VALUE },
2569 { NC_("RID_STRLIST_FUNCTION_NAMES", "MODE.SNGL") , SC_OPCODE_MODAL_VALUE_MS },
2570 { NC_("RID_STRLIST_FUNCTION_NAMES", "MODE.MULT") , SC_OPCODE_MODAL_VALUE_MULTI },
2571 { NC_("RID_STRLIST_FUNCTION_NAMES", "ZTEST") , SC_OPCODE_Z_TEST },
2572 { NC_("RID_STRLIST_FUNCTION_NAMES", "Z.TEST") , SC_OPCODE_Z_TEST_MS },
2573 { NC_("RID_STRLIST_FUNCTION_NAMES", "AGGREGATE") , SC_OPCODE_AGGREGATE },
2574 { NC_("RID_STRLIST_FUNCTION_NAMES", "TTEST") , SC_OPCODE_T_TEST },
2575 { NC_("RID_STRLIST_FUNCTION_NAMES", "T.TEST") , SC_OPCODE_T_TEST_MS },
2576 { NC_("RID_STRLIST_FUNCTION_NAMES", "RANK") , SC_OPCODE_RANK },
2577 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERCENTILE") , SC_OPCODE_PERCENTILE },
2578 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERCENTRANK") , SC_OPCODE_PERCENT_RANK },
2579 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERCENTILE.INC") , SC_OPCODE_PERCENTILE_INC },
2580 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERCENTRANK.INC") , SC_OPCODE_PERCENT_RANK_INC },
2581 { NC_("RID_STRLIST_FUNCTION_NAMES", "QUARTILE.INC") , SC_OPCODE_QUARTILE_INC },
2582 { NC_("RID_STRLIST_FUNCTION_NAMES", "RANK.EQ") , SC_OPCODE_RANK_EQ },
2583 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERCENTILE.EXC") , SC_OPCODE_PERCENTILE_EXC },
2584 { NC_("RID_STRLIST_FUNCTION_NAMES", "PERCENTRANK.EXC") , SC_OPCODE_PERCENT_RANK_EXC },
2585 { NC_("RID_STRLIST_FUNCTION_NAMES", "QUARTILE.EXC") , SC_OPCODE_QUARTILE_EXC },
2586 { NC_("RID_STRLIST_FUNCTION_NAMES", "RANK.AVG") , SC_OPCODE_RANK_AVG },
2587 { NC_("RID_STRLIST_FUNCTION_NAMES", "LARGE") , SC_OPCODE_LARGE },
2588 { NC_("RID_STRLIST_FUNCTION_NAMES", "SMALL") , SC_OPCODE_SMALL },
2589 { NC_("RID_STRLIST_FUNCTION_NAMES", "FREQUENCY") , SC_OPCODE_FREQUENCY },
2590 { NC_("RID_STRLIST_FUNCTION_NAMES", "QUARTILE") , SC_OPCODE_QUARTILE },
2591 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORMINV") , SC_OPCODE_NORM_INV },
2592 { NC_("RID_STRLIST_FUNCTION_NAMES", "NORM.INV") , SC_OPCODE_NORM_INV_MS },
2593 { NC_("RID_STRLIST_FUNCTION_NAMES", "CONFIDENCE") , SC_OPCODE_CONFIDENCE },
2594 { NC_("RID_STRLIST_FUNCTION_NAMES", "CONFIDENCE.NORM") , SC_OPCODE_CONFIDENCE_N },
2595 { NC_("RID_STRLIST_FUNCTION_NAMES", "CONFIDENCE.T") , SC_OPCODE_CONFIDENCE_T },
2596 { NC_("RID_STRLIST_FUNCTION_NAMES", "FTEST") , SC_OPCODE_F_TEST },
2597 { NC_("RID_STRLIST_FUNCTION_NAMES", "F.TEST") , SC_OPCODE_F_TEST_MS },
2598 { NC_("RID_STRLIST_FUNCTION_NAMES", "TRIMMEAN") , SC_OPCODE_TRIM_MEAN },
2599 { NC_("RID_STRLIST_FUNCTION_NAMES", "PROB") , SC_OPCODE_PROB },
2600 { NC_("RID_STRLIST_FUNCTION_NAMES", "CORREL") , SC_OPCODE_CORREL },
2601 { NC_("RID_STRLIST_FUNCTION_NAMES", "COVAR") , SC_OPCODE_COVAR },
2602 { NC_("RID_STRLIST_FUNCTION_NAMES", "COVARIANCE.P") , SC_OPCODE_COVARIANCE_P },
2603 { NC_("RID_STRLIST_FUNCTION_NAMES", "COVARIANCE.S") , SC_OPCODE_COVARIANCE_S },
2604 { NC_("RID_STRLIST_FUNCTION_NAMES", "PEARSON") , SC_OPCODE_PEARSON },
2605 { NC_("RID_STRLIST_FUNCTION_NAMES", "RSQ") , SC_OPCODE_RSQ },
2606 { NC_("RID_STRLIST_FUNCTION_NAMES", "STEYX") , SC_OPCODE_STEYX },
2607 { NC_("RID_STRLIST_FUNCTION_NAMES", "SLOPE") , SC_OPCODE_SLOPE },
2608 { NC_("RID_STRLIST_FUNCTION_NAMES", "INTERCEPT") , SC_OPCODE_INTERCEPT },
2609 { NC_("RID_STRLIST_FUNCTION_NAMES", "TREND") , SC_OPCODE_TREND },
2610 { NC_("RID_STRLIST_FUNCTION_NAMES", "GROWTH") , SC_OPCODE_GROWTH },
2611 { NC_("RID_STRLIST_FUNCTION_NAMES", "LINEST") , SC_OPCODE_LINEST },
2612 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOGEST") , SC_OPCODE_LOGEST },
2613 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST") , SC_OPCODE_FORECAST },
2614 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.ETS.ADD") , SC_OPCODE_FORECAST_ETS_ADD },
2615 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.ETS.SEASONALITY") , SC_OPCODE_FORECAST_ETS_SEA },
2616 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.ETS.MULT") , SC_OPCODE_FORECAST_ETS_MUL },
2617 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.ETS.PI.ADD") , SC_OPCODE_FORECAST_ETS_PIA },
2618 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.ETS.PI.MULT") , SC_OPCODE_FORECAST_ETS_PIM },
2619 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.ETS.STAT.ADD") , SC_OPCODE_FORECAST_ETS_STA },
2620 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.ETS.STAT.MULT") , SC_OPCODE_FORECAST_ETS_STM },
2621 { NC_("RID_STRLIST_FUNCTION_NAMES", "FORECAST.LINEAR") , SC_OPCODE_FORECAST_LIN },
2622 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHIINV") , SC_OPCODE_CHI_INV },
2623 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHISQ.INV.RT") , SC_OPCODE_CHI_INV_MS },
2624 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAMMADIST") , SC_OPCODE_GAMMA_DIST },
2625 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAMMA.DIST") , SC_OPCODE_GAMMA_DIST_MS },
2626 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAMMAINV") , SC_OPCODE_GAMMA_INV },
2627 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAMMA.INV") , SC_OPCODE_GAMMA_INV_MS },
2628 { NC_("RID_STRLIST_FUNCTION_NAMES", "TINV") , SC_OPCODE_T_INV },
2629 { NC_("RID_STRLIST_FUNCTION_NAMES", "T.INV.2T") , SC_OPCODE_T_INV_2T },
2630 { NC_("RID_STRLIST_FUNCTION_NAMES", "T.INV") , SC_OPCODE_T_INV_MS },
2631 { NC_("RID_STRLIST_FUNCTION_NAMES", "FINV") , SC_OPCODE_F_INV },
2632 { NC_("RID_STRLIST_FUNCTION_NAMES", "F.INV") , SC_OPCODE_F_INV_LT },
2633 { NC_("RID_STRLIST_FUNCTION_NAMES", "F.INV.RT") , SC_OPCODE_F_INV_RT },
2634 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHITEST") , SC_OPCODE_CHI_TEST },
2635 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHISQ.TEST") , SC_OPCODE_CHI_TEST_MS },
2636 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOGINV") , SC_OPCODE_LOG_INV },
2637 { NC_("RID_STRLIST_FUNCTION_NAMES", "LOGNORM.INV") , SC_OPCODE_LOG_INV_MS },
2638 { NC_("RID_STRLIST_FUNCTION_NAMES", "MULTIPLE.OPERATIONS") , SC_OPCODE_TABLE_OP },
2639 { NC_("RID_STRLIST_FUNCTION_NAMES", "BETADIST") , SC_OPCODE_BETA_DIST },
2640 { NC_("RID_STRLIST_FUNCTION_NAMES", "BETAINV") , SC_OPCODE_BETA_INV },
2641 { NC_("RID_STRLIST_FUNCTION_NAMES", "BETA.DIST") , SC_OPCODE_BETA_DIST_MS },
2642 { NC_("RID_STRLIST_FUNCTION_NAMES", "BETA.INV") , SC_OPCODE_BETA_INV_MS },
2643 { NC_("RID_STRLIST_FUNCTION_NAMES", "WEEKNUM") , SC_OPCODE_WEEK },
2644 { NC_("RID_STRLIST_FUNCTION_NAMES", "ISOWEEKNUM") , SC_OPCODE_ISOWEEKNUM },
2645 { NC_("RID_STRLIST_FUNCTION_NAMES", "WEEKNUM_OOO") , SC_OPCODE_WEEKNUM_OOO },
2646 { NC_("RID_STRLIST_FUNCTION_NAMES", "EASTERSUNDAY") , SC_OPCODE_EASTERSUNDAY },
2647 { NC_("RID_STRLIST_FUNCTION_NAMES", "WEEKDAY") , SC_OPCODE_GET_DAY_OF_WEEK },
2648 { NC_("RID_STRLIST_FUNCTION_NAMES", "NETWORKDAYS") , SC_OPCODE_NETWORKDAYS },
2649 { NC_("RID_STRLIST_FUNCTION_NAMES", "NETWORKDAYS.INTL") , SC_OPCODE_NETWORKDAYS_MS },
2650 { NC_("RID_STRLIST_FUNCTION_NAMES", "WORKDAY.INTL") , SC_OPCODE_WORKDAY_MS },
2651 /* L10n: preserve the leading '#' hash character in translations. */
2652 { NC_("RID_STRLIST_FUNCTION_NAMES", "#NAME!") , SC_OPCODE_NO_NAME },
2653 { NC_("RID_STRLIST_FUNCTION_NAMES", "STYLE") , SC_OPCODE_STYLE },
2654 { NC_("RID_STRLIST_FUNCTION_NAMES", "DDE") , SC_OPCODE_DDE },
2655 { NC_("RID_STRLIST_FUNCTION_NAMES", "BASE") , SC_OPCODE_BASE },
2656 { NC_("RID_STRLIST_FUNCTION_NAMES", "DECIMAL") , SC_OPCODE_DECIMAL },
2657 { NC_("RID_STRLIST_FUNCTION_NAMES", "CONVERT_OOO") , SC_OPCODE_CONVERT_OOO },
2658 { NC_("RID_STRLIST_FUNCTION_NAMES", "ROMAN") , SC_OPCODE_ROMAN },
2659 { NC_("RID_STRLIST_FUNCTION_NAMES", "HYPERLINK") , SC_OPCODE_HYPERLINK },
2660 { NC_("RID_STRLIST_FUNCTION_NAMES", "INFO") , SC_OPCODE_INFO },
2661 { NC_("RID_STRLIST_FUNCTION_NAMES", "BAHTTEXT") , SC_OPCODE_BAHTTEXT },
2662 { NC_("RID_STRLIST_FUNCTION_NAMES", "GETPIVOTDATA") , SC_OPCODE_GET_PIVOT_DATA },
2663 { NC_("RID_STRLIST_FUNCTION_NAMES", "EUROCONVERT") , SC_OPCODE_EUROCONVERT },
2664 { NC_("RID_STRLIST_FUNCTION_NAMES", "NUMBERVALUE") , SC_OPCODE_NUMBERVALUE },
2665 { NC_("RID_STRLIST_FUNCTION_NAMES", "GAMMA") , SC_OPCODE_GAMMA },
2666 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHISQDIST") , SC_OPCODE_CHISQ_DIST },
2667 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHISQ.DIST") , SC_OPCODE_CHISQ_DIST_MS },
2668 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHISQINV") , SC_OPCODE_CHISQ_INV },
2669 { NC_("RID_STRLIST_FUNCTION_NAMES", "CHISQ.INV") , SC_OPCODE_CHISQ_INV_MS },
2670 { NC_("RID_STRLIST_FUNCTION_NAMES", "BITAND") , SC_OPCODE_BITAND },
2671 { NC_("RID_STRLIST_FUNCTION_NAMES", "BITOR") , SC_OPCODE_BITOR },
2672 { NC_("RID_STRLIST_FUNCTION_NAMES", "BITXOR") , SC_OPCODE_BITXOR },
2673 { NC_("RID_STRLIST_FUNCTION_NAMES", "BITRSHIFT") , SC_OPCODE_BITRSHIFT },
2674 { NC_("RID_STRLIST_FUNCTION_NAMES", "BITLSHIFT") , SC_OPCODE_BITLSHIFT },
2675 /* BEGIN defined ERROR.TYPE() values. */
2676 /* ERROR.TYPE( #NULL! ) == 1 */
2677 /* L10n: preserve the leading '#' hash character in translations. */
2678 { NC_("RID_STRLIST_FUNCTION_NAMES", "#NULL!") , SC_OPCODE_ERROR_NULL },
2679 /* ERROR.TYPE( #DIV/0! ) == 2 */
2680 /* L10n: preserve the leading '#' hash character in translations. */
2681 { NC_("RID_STRLIST_FUNCTION_NAMES", "#DIV/0!") , SC_OPCODE_ERROR_DIVZERO },
2682 /* ERROR.TYPE( #VALUE! ) == 3 */
2683 /* L10n: preserve the leading '#' hash character in translations. */
2684 { NC_("RID_STRLIST_FUNCTION_NAMES", "#VALUE!") , SC_OPCODE_ERROR_VALUE },
2685 /* ERROR.TYPE( #REF! ) == 4 */
2686 /* L10n: preserve the leading '#' hash character in translations. */
2687 { NC_("RID_STRLIST_FUNCTION_NAMES", "#REF!") , SC_OPCODE_ERROR_REF },
2688 /* ERROR.TYPE( #NAME! ) == 5 */
2689 /* L10n: preserve the leading '#' hash character in translations. */
2690 { NC_("RID_STRLIST_FUNCTION_NAMES", "#NAME?") , SC_OPCODE_ERROR_NAME },
2691 /* ERROR.TYPE( #NUM! ) == 6 */
2692 /* L10n: preserve the leading '#' hash character in translations. */
2693 { NC_("RID_STRLIST_FUNCTION_NAMES", "#NUM!") , SC_OPCODE_ERROR_NUM },
2694 /* ERROR.TYPE( #N/A ) == 7 */
2695 /* L10n: preserve the leading '#' hash character in translations. */
2696 { NC_("RID_STRLIST_FUNCTION_NAMES", "#N/A") , SC_OPCODE_ERROR_NA },
2697 /* END defined ERROR.TYPE() values. */
2699 { NC_("RID_STRLIST_FUNCTION_NAMES", "FILTERXML") , SC_OPCODE_FILTERXML },
2700 { NC_("RID_STRLIST_FUNCTION_NAMES", "COLOR") , SC_OPCODE_COLOR },
2701 { NC_("RID_STRLIST_FUNCTION_NAMES", "WEBSERVICE") , SC_OPCODE_WEBSERVICE },
2702 { NC_("RID_STRLIST_FUNCTION_NAMES", "ERF.PRECISE") , SC_OPCODE_ERF_MS },
2703 { NC_("RID_STRLIST_FUNCTION_NAMES", "ERFC.PRECISE") , SC_OPCODE_ERFC_MS },
2704 { NC_("RID_STRLIST_FUNCTION_NAMES", "ENCODEURL") , SC_OPCODE_ENCODEURL },
2705 { NC_("RID_STRLIST_FUNCTION_NAMES", "RAWSUBTRACT") , SC_OPCODE_RAWSUBTRACT },
2706 { NC_("RID_STRLIST_FUNCTION_NAMES", "ROUNDSIG") , SC_OPCODE_ROUNDSIG },
2707 { NC_("RID_STRLIST_FUNCTION_NAMES", "FINDB") , SC_OPCODE_FINDB },
2708 { NC_("RID_STRLIST_FUNCTION_NAMES", "SEARCHB") , SC_OPCODE_SEARCHB },
2709 { NC_("RID_STRLIST_FUNCTION_NAMES", "REGEX") , SC_OPCODE_REGEX },
2710 { NC_("RID_STRLIST_FUNCTION_NAMES", "FOURIER"), SC_OPCODE_FOURIER },
2711 { NC_("RID_STRLIST_FUNCTION_NAMES", "RAND.NV"), SC_OPCODE_RANDOM_NV },
2712 { NC_("RID_STRLIST_FUNCTION_NAMES", "RANDBETWEEN.NV"), SC_OPCODE_RANDBETWEEN_NV },
2717 const std::pair<const char *, int> RID_STRLIST_FUNCTION_NAMES_SYMBOLS[] =
2719 { "(" , SC_OPCODE_OPEN },
2720 { ")" , SC_OPCODE_CLOSE },
2721 { "[" , SC_OPCODE_TABLE_REF_OPEN },
2722 { "]" , SC_OPCODE_TABLE_REF_CLOSE },
2723 { "{" , SC_OPCODE_ARRAY_OPEN },
2724 { "}" , SC_OPCODE_ARRAY_CLOSE },
2725 { "|" , SC_OPCODE_ARRAY_ROW_SEP },
2726 { ";" , SC_OPCODE_ARRAY_COL_SEP },
2727 { ";" , SC_OPCODE_SEP },
2728 { "%" , SC_OPCODE_PERCENT_SIGN },
2729 { "+" , SC_OPCODE_ADD },
2730 { "-" , SC_OPCODE_SUB },
2731 { "*" , SC_OPCODE_MUL },
2732 { "/" , SC_OPCODE_DIV },
2733 { "&" , SC_OPCODE_AMPERSAND },
2734 { "^" , SC_OPCODE_POW },
2735 { "=" , SC_OPCODE_EQUAL },
2736 { "<>" , SC_OPCODE_NOT_EQUAL },
2737 { "<" , SC_OPCODE_LESS },
2738 { ">" , SC_OPCODE_GREATER },
2739 { "<=" , SC_OPCODE_LESS_EQUAL },
2740 { ">=" , SC_OPCODE_GREATER_EQUAL },
2741 { "!" , SC_OPCODE_INTERSECT },
2742 { "~" , SC_OPCODE_UNION },
2743 { ":" , SC_OPCODE_RANGE },
2744 { "-" , SC_OPCODE_NEG_SUB },
2748 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */