1 #ifndef GNUMERIC_PLUGIN_LOTUS_123_LOTUS_FORMULA_H
2 #define GNUMERIC_PLUGIN_LOTUS_123_LOTUS_FORMULA_H
7 #define LOTUS_FORMULA_CONSTANT 0x0
8 #define LOTUS_FORMULA_VARIABLE 0x1
9 #define LOTUS_FORMULA_RANGE 0x2
10 #define LOTUS_FORMULA_RETURN 0x3
11 #define LOTUS_FORMULA_BRACKET 0x4
12 #define LOTUS_FORMULA_INTEGER 0x5
13 #define LOTUS_FORMULA_STRING 0x6
15 #define LOTUS_FORMULA_PACKED_NUMBER 0x5
16 #define LOTUS_FORMULA_NAMED 0x7
17 #define LOTUS_FORMULA_ABS_NAMED 0x8
18 #define LOTUS_FORMULA_ERR_RREF 0x9
19 #define LOTUS_FORMULA_ERR_CREF 0xa
20 #define LOTUS_FORMULA_ERR_CONSTANT 0xb
21 #define LOTUS_FORMULA_OP_NEG 0x0E
22 #define LOTUS_FORMULA_OP_PLU 0x0F
23 #define LOTUS_FORMULA_OP_MNS 0x10
24 #define LOTUS_FORMULA_OP_MUL 0x11
25 #define LOTUS_FORMULA_OP_DIV 0x12
26 #define LOTUS_FORMULA_OP_POW 0x13
27 #define LOTUS_FORMULA_OP_EQ 0x14
28 #define LOTUS_FORMULA_OP_NE 0x15
29 #define LOTUS_FORMULA_OP_LE 0x16
30 #define LOTUS_FORMULA_OP_GE 0x17
31 #define LOTUS_FORMULA_OP_LT 0x18
32 #define LOTUS_FORMULA_OP_GT 0x19
33 #define LOTUS_FORMULA_OP_AND 0x1A
34 #define LOTUS_FORMULA_OP_OR 0x1B
35 #define LOTUS_FORMULA_OP_NOT 0x1C
36 #define LOTUS_FORMULA_OP_UPLU 0x1D
37 #define LOTUS_FORMULA_OP_CAT 0x1E
39 #define LOTUS_FORMULA_SPLFUNC 0x7A
41 GnmExprTop
const *lotus_parse_formula (LotusState
*state
, GnmParsePos
*pos
,
42 guint8
const *data
, guint32 len
);
44 void lotus_formula_init (void);
45 void lotus_formula_shutdown (void);