bump product version to 4.2.0.1
[LibreOffice.git] / include / formula / opcode.hxx
blob58f3d4188ba59cb541e8f9b11b10572ab1348d2d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef INCLUDED_FORMULA_OPCODE_HXX
21 #define INCLUDED_FORMULA_OPCODE_HXX
23 #include <formula/compiler.hrc>
24 #include <tools/solar.h>
26 enum OpCodeEnum
28 // Special commands
29 ocPush = SC_OPCODE_PUSH,
30 ocCall = SC_OPCODE_CALL,
31 ocStop = SC_OPCODE_STOP,
32 ocExternal = SC_OPCODE_EXTERNAL,
33 ocName = SC_OPCODE_NAME,
34 ocExternalRef = SC_OPCODE_EXTERNAL_REF,
35 // Jump commands
36 ocIf = SC_OPCODE_IF,
37 ocIfError = SC_OPCODE_IF_ERROR,
38 ocIfNA = SC_OPCODE_IF_NA,
39 ocChose = SC_OPCODE_CHOSE,
40 // Parentheses and separators
41 ocOpen = SC_OPCODE_OPEN,
42 ocClose = SC_OPCODE_CLOSE,
43 ocSep = SC_OPCODE_SEP,
44 ocArrayOpen = SC_OPCODE_ARRAY_OPEN,
45 ocArrayClose = SC_OPCODE_ARRAY_CLOSE,
46 ocArrayRowSep = SC_OPCODE_ARRAY_ROW_SEP,
47 ocArrayColSep = SC_OPCODE_ARRAY_COL_SEP,
48 // Special OpCodes
49 ocMissing = SC_OPCODE_MISSING,
50 ocBad = SC_OPCODE_BAD,
51 ocStringXML = SC_OPCODE_STRINGXML,
52 ocSpaces = SC_OPCODE_SPACES,
53 ocMatRef = SC_OPCODE_MAT_REF,
54 ocSkip = SC_OPCODE_SKIP,
55 // Access commands
56 ocDBArea = SC_OPCODE_DB_AREA,
57 ocMacro = SC_OPCODE_MACRO,
58 ocColRowName = SC_OPCODE_COL_ROW_NAME,
59 ocColRowNameAuto = SC_OPCODE_COL_ROW_NAME_AUTO,
60 // Percent operator _follows_ value
61 ocPercentSign = SC_OPCODE_PERCENT_SIGN,
62 // Error constants
63 ocErrNull = SC_OPCODE_ERROR_NULL,
64 ocErrDivZero = SC_OPCODE_ERROR_DIVZERO,
65 ocErrValue = SC_OPCODE_ERROR_VALUE,
66 ocErrRef = SC_OPCODE_ERROR_REF,
67 ocErrName = SC_OPCODE_ERROR_NAME,
68 ocErrNum = SC_OPCODE_ERROR_NUM,
69 ocErrNA = SC_OPCODE_ERROR_NA,
70 // Binary operators
71 ocAdd = SC_OPCODE_ADD,
72 ocSub = SC_OPCODE_SUB,
73 ocMul = SC_OPCODE_MUL,
74 ocDiv = SC_OPCODE_DIV,
75 ocAmpersand = SC_OPCODE_AMPERSAND,
76 ocPow = SC_OPCODE_POW,
77 ocEqual = SC_OPCODE_EQUAL,
78 ocNotEqual = SC_OPCODE_NOT_EQUAL,
79 ocLess = SC_OPCODE_LESS,
80 ocGreater = SC_OPCODE_GREATER,
81 ocLessEqual = SC_OPCODE_LESS_EQUAL,
82 ocGreaterEqual = SC_OPCODE_GREATER_EQUAL,
83 ocAnd = SC_OPCODE_AND,
84 ocOr = SC_OPCODE_OR,
85 ocXor = SC_OPCODE_XOR,
86 ocIntersect = SC_OPCODE_INTERSECT,
87 ocUnion = SC_OPCODE_UNION,
88 ocRange = SC_OPCODE_RANGE,
89 // Unary operators
90 ocNot = SC_OPCODE_NOT,
91 ocNeg = SC_OPCODE_NEG,
92 ocNegSub = SC_OPCODE_NEG_SUB,
93 // Functions with no parameters
94 ocPi = SC_OPCODE_PI,
95 ocRandom = SC_OPCODE_RANDOM,
96 ocTrue = SC_OPCODE_TRUE,
97 ocFalse = SC_OPCODE_FALSE,
98 ocGetActDate = SC_OPCODE_GET_ACT_DATE,
99 ocGetActTime = SC_OPCODE_GET_ACT_TIME,
100 ocNotAvail = SC_OPCODE_NO_VALUE,
101 ocCurrent = SC_OPCODE_CURRENT,
102 // Functions with one parameter
103 ocDeg = SC_OPCODE_DEG,
104 ocRad = SC_OPCODE_RAD,
105 ocSin = SC_OPCODE_SIN,
106 ocCos = SC_OPCODE_COS,
107 ocTan = SC_OPCODE_TAN,
108 ocCot = SC_OPCODE_COT,
109 ocArcSin = SC_OPCODE_ARC_SIN,
110 ocArcCos = SC_OPCODE_ARC_COS,
111 ocArcTan = SC_OPCODE_ARC_TAN,
112 ocArcCot = SC_OPCODE_ARC_COT,
113 ocSinHyp = SC_OPCODE_SIN_HYP,
114 ocCosHyp = SC_OPCODE_COS_HYP,
115 ocTanHyp = SC_OPCODE_TAN_HYP,
116 ocCotHyp = SC_OPCODE_COT_HYP,
117 ocArcSinHyp = SC_OPCODE_ARC_SIN_HYP,
118 ocArcCosHyp = SC_OPCODE_ARC_COS_HYP,
119 ocArcTanHyp = SC_OPCODE_ARC_TAN_HYP,
120 ocArcCotHyp = SC_OPCODE_ARC_COT_HYP,
121 ocCosecant = SC_OPCODE_COSECANT,
122 ocSecant = SC_OPCODE_SECANT,
123 ocCosecantHyp = SC_OPCODE_COSECANT_HYP,
124 ocSecantHyp = SC_OPCODE_SECANT_HYP,
125 ocExp = SC_OPCODE_EXP,
126 ocLn = SC_OPCODE_LN,
127 ocSqrt = SC_OPCODE_SQRT,
128 ocFact = SC_OPCODE_FACT,
129 ocGetYear = SC_OPCODE_GET_YEAR,
130 ocGetMonth = SC_OPCODE_GET_MONTH,
131 ocGetDay = SC_OPCODE_GET_DAY,
132 ocGetHour = SC_OPCODE_GET_HOUR,
133 ocGetMin = SC_OPCODE_GET_MIN,
134 ocGetSec = SC_OPCODE_GET_SEC,
135 ocPlusMinus = SC_OPCODE_PLUS_MINUS,
136 ocAbs = SC_OPCODE_ABS,
137 ocInt = SC_OPCODE_INT,
138 ocPhi = SC_OPCODE_PHI,
139 ocGauss = SC_OPCODE_GAUSS,
140 ocIsEmpty = SC_OPCODE_IS_EMPTY,
141 ocIsString = SC_OPCODE_IS_STRING,
142 ocIsNonString = SC_OPCODE_IS_NON_STRING,
143 ocIsLogical = SC_OPCODE_IS_LOGICAL,
144 ocType = SC_OPCODE_TYPE,
145 ocCell = SC_OPCODE_CELL,
146 ocIsRef = SC_OPCODE_IS_REF,
147 ocIsValue = SC_OPCODE_IS_VALUE,
148 ocIsFormula = SC_OPCODE_IS_FORMULA,
149 ocIsNA = SC_OPCODE_IS_NV,
150 ocIsErr = SC_OPCODE_IS_ERR,
151 ocIsError = SC_OPCODE_IS_ERROR,
152 ocIsEven = SC_OPCODE_IS_EVEN,
153 ocIsOdd = SC_OPCODE_IS_ODD,
154 ocN = SC_OPCODE_N,
155 // String functions
156 ocGetDateValue = SC_OPCODE_GET_DATE_VALUE,
157 ocGetTimeValue = SC_OPCODE_GET_TIME_VALUE,
158 ocCode = SC_OPCODE_CODE,
159 ocTrim = SC_OPCODE_TRIM,
160 ocUpper = SC_OPCODE_UPPER,
161 ocPropper = SC_OPCODE_PROPPER,
162 ocLower = SC_OPCODE_LOWER,
163 ocLen = SC_OPCODE_LEN,
164 ocT = SC_OPCODE_T,
165 ocValue = SC_OPCODE_VALUE,
166 ocClean = SC_OPCODE_CLEAN,
167 ocChar = SC_OPCODE_CHAR,
168 ocLog10 = SC_OPCODE_LOG10,
169 ocEven = SC_OPCODE_EVEN,
170 ocOdd = SC_OPCODE_ODD,
171 ocStdNormDist = SC_OPCODE_STD_NORM_DIST,
172 ocFisher = SC_OPCODE_FISHER,
173 ocFisherInv = SC_OPCODE_FISHER_INV,
174 ocSNormInv = SC_OPCODE_S_NORM_INV,
175 ocGammaLn = SC_OPCODE_GAMMA_LN,
176 ocGamma = SC_OPCODE_GAMMA,
177 ocErrorType = SC_OPCODE_ERROR_TYPE,
178 ocErrCell = SC_OPCODE_ERR_CELL,
179 ocFormula = SC_OPCODE_FORMULA,
180 ocArabic = SC_OPCODE_ARABIC,
181 ocInfo = SC_OPCODE_INFO,
182 ocBahtText = SC_OPCODE_BAHTTEXT,
183 ocJis = SC_OPCODE_JIS,
184 ocAsc = SC_OPCODE_ASC,
185 ocUnicode = SC_OPCODE_UNICODE,
186 ocUnichar = SC_OPCODE_UNICHAR,
187 // Functions with more than one parameters
188 ocArcTan2 = SC_OPCODE_ARC_TAN_2,
189 ocCeil = SC_OPCODE_CEIL,
190 ocFloor = SC_OPCODE_FLOOR,
191 ocRound = SC_OPCODE_ROUND,
192 ocRoundUp = SC_OPCODE_ROUND_UP,
193 ocRoundDown = SC_OPCODE_ROUND_DOWN,
194 ocTrunc = SC_OPCODE_TRUNC,
195 ocLog = SC_OPCODE_LOG,
196 ocPower = SC_OPCODE_POWER,
197 ocGCD = SC_OPCODE_GGT,
198 ocLCM = SC_OPCODE_KGV,
199 ocMod = SC_OPCODE_MOD,
200 ocSumProduct = SC_OPCODE_SUM_PRODUCT,
201 ocSumSQ = SC_OPCODE_SUM_SQ,
202 ocSumX2MY2 = SC_OPCODE_SUM_X2MY2,
203 ocSumX2DY2 = SC_OPCODE_SUM_X2DY2,
204 ocSumXMY2 = SC_OPCODE_SUM_XMY2,
205 ocGetDate = SC_OPCODE_GET_DATE,
206 ocGetTime = SC_OPCODE_GET_TIME,
207 ocGetDiffDate = SC_OPCODE_GET_DIFF_DATE,
208 ocGetDiffDate360 = SC_OPCODE_GET_DIFF_DATE_360,
209 ocGetDateDif = SC_OPCODE_GET_DATEDIF,
210 ocMin = SC_OPCODE_MIN,
211 ocMax = SC_OPCODE_MAX,
212 ocSum = SC_OPCODE_SUM,
213 ocProduct = SC_OPCODE_PRODUCT,
214 ocAverage = SC_OPCODE_AVERAGE,
215 ocCount = SC_OPCODE_COUNT,
216 ocCount2 = SC_OPCODE_COUNT_2,
217 ocNPV = SC_OPCODE_NBW,
218 ocIRR = SC_OPCODE_IKV,
219 ocMIRR = SC_OPCODE_MIRR,
220 ocISPMT = SC_OPCODE_ISPMT,
221 ocVar = SC_OPCODE_VAR,
222 ocVarP = SC_OPCODE_VAR_P,
223 ocVarP_MS = SC_OPCODE_VAR_P_MS,
224 ocVarS = SC_OPCODE_VAR_S,
225 ocStDev = SC_OPCODE_ST_DEV,
226 ocStDevP = SC_OPCODE_ST_DEV_P,
227 ocStDevP_MS = SC_OPCODE_ST_DEV_P_MS,
228 ocStDevS = SC_OPCODE_ST_DEV_S,
229 ocB = SC_OPCODE_B,
230 ocNormDist = SC_OPCODE_NORM_DIST,
231 ocExpDist = SC_OPCODE_EXP_DIST,
232 ocExpDist_MS = SC_OPCODE_EXP_DIST_MS,
233 ocBinomDist = SC_OPCODE_BINOM_DIST,
234 ocBinomDist_MS = SC_OPCODE_BINOM_DIST_MS,
235 ocBinomInv = SC_OPCODE_BINOM_INV,
236 ocPoissonDist = SC_OPCODE_POISSON_DIST,
237 ocPoissonDist_MS = SC_OPCODE_POISSON_DIST_MS,
238 ocKombin = SC_OPCODE_KOMBIN,
239 ocKombin2 = SC_OPCODE_KOMBIN_2,
240 ocVariationen = SC_OPCODE_VARIATIONEN,
241 ocVariationen2 = SC_OPCODE_VARIATIONEN_2,
242 ocBW = SC_OPCODE_BW,
243 ocDIA = SC_OPCODE_DIA,
244 ocGDA = SC_OPCODE_GDA,
245 ocGDA2 = SC_OPCODE_GDA_2,
246 ocVBD = SC_OPCODE_VBD,
247 ocLaufz = SC_OPCODE_LAUFZ,
248 ocLIA = SC_OPCODE_LIA,
249 ocRMZ = SC_OPCODE_RMZ,
250 ocColumns = SC_OPCODE_COLUMNS,
251 ocRows = SC_OPCODE_ROWS,
252 ocColumn = SC_OPCODE_COLUMN,
253 ocRow = SC_OPCODE_ROW,
254 ocZGZ = SC_OPCODE_ZGZ,
255 ocZW = SC_OPCODE_ZW,
256 ocZZR = SC_OPCODE_ZZR,
257 ocZins = SC_OPCODE_ZINS,
258 ocZinsZ = SC_OPCODE_ZINS_Z,
259 ocKapz = SC_OPCODE_KAPZ,
260 ocKumZinsZ = SC_OPCODE_KUM_ZINS_Z,
261 ocKumKapZ = SC_OPCODE_KUM_KAP_Z,
262 ocEffektiv = SC_OPCODE_EFFEKTIV,
263 ocNominal = SC_OPCODE_NOMINAL,
264 ocSubTotal = SC_OPCODE_SUB_TOTAL,
265 // Database functions
266 ocDBSum = SC_OPCODE_DB_SUM,
267 ocDBCount = SC_OPCODE_DB_COUNT,
268 ocDBCount2 = SC_OPCODE_DB_COUNT_2,
269 ocDBAverage = SC_OPCODE_DB_AVERAGE,
270 ocDBGet = SC_OPCODE_DB_GET,
271 ocDBMax = SC_OPCODE_DB_MAX,
272 ocDBMin = SC_OPCODE_DB_MIN,
273 ocDBProduct = SC_OPCODE_DB_PRODUCT,
274 ocDBStdDev = SC_OPCODE_DB_STD_DEV,
275 ocDBStdDevP = SC_OPCODE_DB_STD_DEV_P,
276 ocDBVar = SC_OPCODE_DB_VAR,
277 ocDBVarP = SC_OPCODE_DB_VAR_P,
278 // Management functions
279 ocIndirect = SC_OPCODE_INDIRECT,
280 ocIndirectXL = SC_OPCODE_INDIRECT_XL,
281 ocAddress = SC_OPCODE_ADDRESS,
282 ocAddressXL = SC_OPCODE_ADDRESS_XL,
283 ocMatch = SC_OPCODE_MATCH,
284 ocCountEmptyCells = SC_OPCODE_COUNT_EMPTY_CELLS,
285 ocCountIf = SC_OPCODE_COUNT_IF,
286 ocSumIf = SC_OPCODE_SUM_IF,
287 ocAverageIf = SC_OPCODE_AVERAGE_IF,
288 ocSumIfs = SC_OPCODE_SUM_IFS,
289 ocAverageIfs = SC_OPCODE_AVERAGE_IFS,
290 ocCountIfs = SC_OPCODE_COUNT_IFS,
291 ocLookup = SC_OPCODE_LOOKUP,
292 ocVLookup = SC_OPCODE_V_LOOKUP,
293 ocHLookup = SC_OPCODE_H_LOOKUP,
294 ocMultiArea = SC_OPCODE_MULTI_AREA,
295 ocOffset = SC_OPCODE_OFFSET,
296 ocIndex = SC_OPCODE_INDEX,
297 ocAreas = SC_OPCODE_AREAS,
298 // String functions
299 ocCurrency = SC_OPCODE_CURRENCY,
300 ocReplace = SC_OPCODE_REPLACE,
301 ocFixed = SC_OPCODE_FIXED,
302 ocFind = SC_OPCODE_FIND,
303 ocExact = SC_OPCODE_EXACT,
304 ocLeft = SC_OPCODE_LEFT,
305 ocRight = SC_OPCODE_RIGHT,
306 ocSearch = SC_OPCODE_SEARCH,
307 ocMid = SC_OPCODE_MID,
308 ocText = SC_OPCODE_TEXT,
309 ocSubstitute = SC_OPCODE_SUBSTITUTE,
310 ocRept = SC_OPCODE_REPT,
311 ocConcat = SC_OPCODE_CONCAT,
312 ocLenB = SC_OPCODE_LENB,
313 ocRightB = SC_OPCODE_RIGHTB,
314 ocLeftB = SC_OPCODE_LEFTB,
315 ocMidB = SC_OPCODE_MIDB,
316 ocNumberValue = SC_OPCODE_NUMBERVALUE,
317 // Matrix functions
318 ocMatValue = SC_OPCODE_MAT_VALUE,
319 ocMatDet = SC_OPCODE_MAT_DET,
320 ocMatInv = SC_OPCODE_MAT_INV,
321 ocMatMult = SC_OPCODE_MAT_MULT,
322 ocMatTrans = SC_OPCODE_MAT_TRANS,
323 ocMatrixUnit = SC_OPCODE_MATRIX_UNIT,
324 // BackSolver
325 ocBackSolver = SC_OPCODE_BACK_SOLVER,
326 // Statistical functions
327 ocHypGeomDist = SC_OPCODE_HYP_GEOM_DIST,
328 ocHypGeomDist_MS = SC_OPCODE_HYP_GEOM_DIST_MS,
329 ocLogNormDist = SC_OPCODE_LOG_NORM_DIST,
330 ocTDist = SC_OPCODE_T_DIST,
331 ocFDist = SC_OPCODE_F_DIST,
332 ocFDist_LT = SC_OPCODE_F_DIST_LT,
333 ocFDist_RT = SC_OPCODE_F_DIST_RT,
334 ocChiDist = SC_OPCODE_CHI_DIST,
335 ocChiDist_MS = SC_OPCODE_CHI_DIST_MS,
336 ocChiSqDist = SC_OPCODE_CHISQ_DIST,
337 ocChiSqDist_MS = SC_OPCODE_CHISQ_DIST_MS,
338 ocChiSqInv = SC_OPCODE_CHISQ_INV,
339 ocChiSqInv_MS = SC_OPCODE_CHISQ_INV_MS,
340 ocWeibull = SC_OPCODE_WEIBULL,
341 ocWeibull_MS = SC_OPCODE_WEIBULL_MS,
342 ocNegBinomVert = SC_OPCODE_NEG_BINOM_VERT,
343 ocKritBinom = SC_OPCODE_KRIT_BINOM,
344 ocKurt = SC_OPCODE_KURT,
345 ocHarMean = SC_OPCODE_HAR_MEAN,
346 ocGeoMean = SC_OPCODE_GEO_MEAN,
347 ocStandard = SC_OPCODE_STANDARD,
348 ocAveDev = SC_OPCODE_AVE_DEV,
349 ocSchiefe = SC_OPCODE_SCHIEFE,
350 ocSkewp = SC_OPCODE_SKEWP,
351 ocDevSq = SC_OPCODE_DEV_SQ,
352 ocMedian = SC_OPCODE_MEDIAN,
353 ocModalValue = SC_OPCODE_MODAL_VALUE,
354 ocZTest = SC_OPCODE_Z_TEST,
355 ocTTest = SC_OPCODE_T_TEST,
356 ocRank = SC_OPCODE_RANK,
357 ocPercentile = SC_OPCODE_PERCENTILE,
358 ocPercentrank = SC_OPCODE_PERCENT_RANK,
359 ocLarge = SC_OPCODE_LARGE,
360 ocSmall = SC_OPCODE_SMALL,
361 ocFrequency = SC_OPCODE_FREQUENCY,
362 ocQuartile = SC_OPCODE_QUARTILE,
363 ocNormInv = SC_OPCODE_NORM_INV,
364 ocConfidence = SC_OPCODE_CONFIDENCE,
365 ocConfidence_N = SC_OPCODE_CONFIDENCE_N,
366 ocConfidence_T = SC_OPCODE_CONFIDENCE_T,
367 ocFTest = SC_OPCODE_F_TEST,
368 ocFTest_MS = SC_OPCODE_F_TEST_MS,
369 ocTrimMean = SC_OPCODE_TRIM_MEAN,
370 ocProb = SC_OPCODE_PROB,
371 ocCorrel = SC_OPCODE_CORREL,
372 ocCovar = SC_OPCODE_COVAR,
373 ocCovarianceP = SC_OPCODE_COVARIANCE_P,
374 ocCovarianceS = SC_OPCODE_COVARIANCE_S,
375 ocPearson = SC_OPCODE_PEARSON,
376 ocRSQ = SC_OPCODE_RSQ,
377 ocSTEYX = SC_OPCODE_STEYX,
378 ocSlope = SC_OPCODE_SLOPE,
379 ocIntercept = SC_OPCODE_INTERCEPT,
380 ocTrend = SC_OPCODE_TREND,
381 ocGrowth = SC_OPCODE_GROWTH,
382 ocRGP = SC_OPCODE_RGP,
383 ocRKP = SC_OPCODE_RKP,
384 ocForecast = SC_OPCODE_FORECAST,
385 ocChiInv = SC_OPCODE_CHI_INV,
386 ocChiInv_MS = SC_OPCODE_CHI_INV_MS,
387 ocGammaDist = SC_OPCODE_GAMMA_DIST,
388 ocGammaInv = SC_OPCODE_GAMMA_INV,
389 ocTInv = SC_OPCODE_T_INV,
390 ocFInv = SC_OPCODE_F_INV,
391 ocFInv_LT = SC_OPCODE_F_INV_LT,
392 ocFInv_RT = SC_OPCODE_F_INV_RT,
393 ocChiTest = SC_OPCODE_CHI_TEST,
394 ocChiTest_MS = SC_OPCODE_CHI_TEST_MS,
395 ocLogInv = SC_OPCODE_LOG_INV,
396 ocTableOp = SC_OPCODE_TABLE_OP,
397 ocBetaDist = SC_OPCODE_BETA_DIST,
398 ocBetaInv = SC_OPCODE_BETA_INV,
399 ocBetaDist_MS = SC_OPCODE_BETA_DIST_MS,
400 ocBetaInv_MS = SC_OPCODE_BETA_INV_MS,
401 // Bit functions
402 ocBitAnd = SC_OPCODE_BITAND,
403 ocBitOr = SC_OPCODE_BITOR,
404 ocBitXor = SC_OPCODE_BITXOR,
405 ocBitRshift = SC_OPCODE_BITRSHIFT,
406 ocBitLshift = SC_OPCODE_BITLSHIFT,
407 // miscellaneous
408 ocWeek = SC_OPCODE_WEEK,
409 ocGetDayOfWeek = SC_OPCODE_GET_DAY_OF_WEEK,
410 ocNoName = SC_OPCODE_NO_NAME,
411 ocStyle = SC_OPCODE_STYLE,
412 ocDde = SC_OPCODE_DDE,
413 ocBase = SC_OPCODE_BASE,
414 ocTable = SC_OPCODE_TABLE,
415 ocTables = SC_OPCODE_TABLES,
416 ocMinA = SC_OPCODE_MIN_A,
417 ocMaxA = SC_OPCODE_MAX_A,
418 ocAverageA = SC_OPCODE_AVERAGE_A,
419 ocStDevA = SC_OPCODE_ST_DEV_A,
420 ocStDevPA = SC_OPCODE_ST_DEV_P_A,
421 ocVarA = SC_OPCODE_VAR_A,
422 ocVarPA = SC_OPCODE_VAR_P_A,
423 ocEasterSunday = SC_OPCODE_EASTERSUNDAY,
424 ocDecimal = SC_OPCODE_DECIMAL,
425 ocConvert = SC_OPCODE_CONVERT,
426 ocRoman = SC_OPCODE_ROMAN,
427 ocHyperLink = SC_OPCODE_HYPERLINK,
428 ocGetPivotData = SC_OPCODE_GET_PIVOT_DATA,
429 ocEuroConvert = SC_OPCODE_EUROCONVERT,
430 ocFilterXML = SC_OPCODE_FILTERXML,
431 ocWebservice = SC_OPCODE_WEBSERVICE,
432 // internal stuff
433 ocInternalBegin = SC_OPCODE_INTERNAL_BEGIN,
434 ocTTT = SC_OPCODE_TTT,
435 ocInternalEnd = SC_OPCODE_INTERNAL_END,
436 // from here on ExtraData
437 ocDataToken1 = SC_OPCODE_DATA_TOKEN_1,
438 // no OpCode
439 ocNone = SC_OPCODE_NONE
442 #ifndef DBG_UTIL
443 // save memory since compilers tend to int an enum
444 typedef sal_uInt16 OpCode;
445 #else
446 // have enum names in debugger
447 typedef OpCodeEnum OpCode;
448 #endif
450 #endif
452 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */