diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2016-01-30 10:14:05 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-03-03 16:28:59 +0000 |
commit | f336f63da900d76c2bf6e5690f1c8a7bd15a0aa2 (patch) | |
tree | 9b989555d5b9dc2c8ea01a8a3598b1c222863af2 /include/formula | |
parent | cc75888c9e4cd09476287a8489c99fbf073feddb (diff) |
tdf#94635 Add FORECAST.ETS functions to Calc
Change-Id: Ifbfff1c27fb3960a06f467630da0fa39665f0ce4
Reviewed-on: https://gerrit.libreoffice.org/20073
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/compiler.hrc | 10 | ||||
-rw-r--r-- | include/formula/opcode.hxx | 8 |
2 files changed, 17 insertions, 1 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc index a6a54913daa7..7eadfe5423b2 100644 --- a/include/formula/compiler.hrc +++ b/include/formula/compiler.hrc @@ -487,7 +487,15 @@ #define SC_OPCODE_FLOOR_PRECISE 476 #define SC_OPCODE_RAWSUBTRACT 477 #define SC_OPCODE_WEEKNUM_OOO 478 -#define SC_OPCODE_STOP_2_PAR 479 /* last function with two or more parameters' OpCode + 1 */ +#define SC_OPCODE_FORECAST_ETS_ADD 479 +#define SC_OPCODE_FORECAST_ETS_SEA 480 +#define SC_OPCODE_FORECAST_ETS_MUL 481 +#define SC_OPCODE_FORECAST_ETS_PIA 482 +#define SC_OPCODE_FORECAST_ETS_PIM 483 +#define SC_OPCODE_FORECAST_ETS_STA 484 +#define SC_OPCODE_FORECAST_ETS_STM 485 +#define SC_OPCODE_FORECAST_LIN 486 +#define SC_OPCODE_STOP_2_PAR 487 /* last function with two or more parameters' OpCode + 1 */ #define SC_OPCODE_STOP_FUNCTION SC_OPCODE_STOP_2_PAR /* last function's OpCode + 1 */ #define SC_OPCODE_LAST_OPCODE_ID (SC_OPCODE_STOP_FUNCTION - 1) /* last OpCode */ diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx index 61237332fc85..d2ebdfc288e7 100644 --- a/include/formula/opcode.hxx +++ b/include/formula/opcode.hxx @@ -421,6 +421,14 @@ enum OpCode : sal_uInt16 ocLinest = SC_OPCODE_LINEST, ocLogest = SC_OPCODE_LOGEST, ocForecast = SC_OPCODE_FORECAST, + ocForecast_ETS_ADD = SC_OPCODE_FORECAST_ETS_ADD, + ocForecast_ETS_SEA = SC_OPCODE_FORECAST_ETS_SEA, + ocForecast_ETS_MUL = SC_OPCODE_FORECAST_ETS_MUL, + ocForecast_ETS_PIA = SC_OPCODE_FORECAST_ETS_PIA, + ocForecast_ETS_PIM = SC_OPCODE_FORECAST_ETS_PIM, + ocForecast_ETS_STA = SC_OPCODE_FORECAST_ETS_STA, + ocForecast_ETS_STM = SC_OPCODE_FORECAST_ETS_STM, + ocForecast_LIN = SC_OPCODE_FORECAST_LIN, ocChiInv = SC_OPCODE_CHI_INV, ocChiInv_MS = SC_OPCODE_CHI_INV_MS, ocGammaDist = SC_OPCODE_GAMMA_DIST, |