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 .
19 #ifndef SCADDINS_ANALYSIS_HRC
20 #define SCADDINS_ANALYSIS_HRC
22 #define ANALYSIS_RESOURCE_START 1000
24 #define ANALYSIS_FUNCDESC_START (ANALYSIS_RESOURCE_START)
26 #define ANALYSIS_Workday (ANALYSIS_FUNCDESC_START)
27 #define ANALYSIS_Yearfrac (ANALYSIS_FUNCDESC_START+1)
28 #define ANALYSIS_Edate (ANALYSIS_FUNCDESC_START+2)
29 #define ANALYSIS_Weeknum (ANALYSIS_FUNCDESC_START+3)
30 #define ANALYSIS_Eomonth (ANALYSIS_FUNCDESC_START+4)
31 #define ANALYSIS_Networkdays (ANALYSIS_FUNCDESC_START+5)
32 #define ANALYSIS_Iseven (ANALYSIS_FUNCDESC_START+6)
33 #define ANALYSIS_Isodd (ANALYSIS_FUNCDESC_START+7)
34 #define ANALYSIS_Multinomial (ANALYSIS_FUNCDESC_START+8)
35 #define ANALYSIS_Seriessum (ANALYSIS_FUNCDESC_START+9)
36 #define ANALYSIS_Quotient (ANALYSIS_FUNCDESC_START+10)
37 #define ANALYSIS_Mround (ANALYSIS_FUNCDESC_START+11)
38 #define ANALYSIS_Sqrtpi (ANALYSIS_FUNCDESC_START+12)
39 #define ANALYSIS_Randbetween (ANALYSIS_FUNCDESC_START+13)
40 #define ANALYSIS_Gcd (ANALYSIS_FUNCDESC_START+14)
41 #define ANALYSIS_Lcm (ANALYSIS_FUNCDESC_START+15)
42 #define ANALYSIS_Besseli (ANALYSIS_FUNCDESC_START+16)
43 #define ANALYSIS_Besselj (ANALYSIS_FUNCDESC_START+17)
44 #define ANALYSIS_Besselk (ANALYSIS_FUNCDESC_START+18)
45 #define ANALYSIS_Bessely (ANALYSIS_FUNCDESC_START+19)
46 #define ANALYSIS_Bin2Oct (ANALYSIS_FUNCDESC_START+20)
47 #define ANALYSIS_Bin2Dec (ANALYSIS_FUNCDESC_START+21)
48 #define ANALYSIS_Bin2Hex (ANALYSIS_FUNCDESC_START+22)
49 #define ANALYSIS_Oct2Bin (ANALYSIS_FUNCDESC_START+23)
50 #define ANALYSIS_Oct2Dec (ANALYSIS_FUNCDESC_START+24)
51 #define ANALYSIS_Oct2Hex (ANALYSIS_FUNCDESC_START+25)
52 #define ANALYSIS_Dec2Bin (ANALYSIS_FUNCDESC_START+26)
53 #define ANALYSIS_Dec2Hex (ANALYSIS_FUNCDESC_START+27)
54 #define ANALYSIS_Dec2Oct (ANALYSIS_FUNCDESC_START+28)
55 #define ANALYSIS_Hex2Bin (ANALYSIS_FUNCDESC_START+29)
56 #define ANALYSIS_Hex2Dec (ANALYSIS_FUNCDESC_START+30)
57 #define ANALYSIS_Hex2Oct (ANALYSIS_FUNCDESC_START+31)
58 #define ANALYSIS_Delta (ANALYSIS_FUNCDESC_START+32)
59 #define ANALYSIS_Erf (ANALYSIS_FUNCDESC_START+33)
60 #define ANALYSIS_Erfc (ANALYSIS_FUNCDESC_START+34)
61 #define ANALYSIS_Gestep (ANALYSIS_FUNCDESC_START+35)
62 #define ANALYSIS_Factdouble (ANALYSIS_FUNCDESC_START+36)
63 #define ANALYSIS_Imabs (ANALYSIS_FUNCDESC_START+37)
64 #define ANALYSIS_Imaginary (ANALYSIS_FUNCDESC_START+38)
65 #define ANALYSIS_Impower (ANALYSIS_FUNCDESC_START+39)
66 #define ANALYSIS_Imargument (ANALYSIS_FUNCDESC_START+40)
67 #define ANALYSIS_Imcos (ANALYSIS_FUNCDESC_START+41)
68 #define ANALYSIS_Imdiv (ANALYSIS_FUNCDESC_START+42)
69 #define ANALYSIS_Imexp (ANALYSIS_FUNCDESC_START+43)
70 #define ANALYSIS_Imconjugate (ANALYSIS_FUNCDESC_START+44)
71 #define ANALYSIS_Imln (ANALYSIS_FUNCDESC_START+45)
72 #define ANALYSIS_Imlog10 (ANALYSIS_FUNCDESC_START+46)
73 #define ANALYSIS_Imlog2 (ANALYSIS_FUNCDESC_START+47)
74 #define ANALYSIS_Improduct (ANALYSIS_FUNCDESC_START+48)
75 #define ANALYSIS_Imreal (ANALYSIS_FUNCDESC_START+49)
76 #define ANALYSIS_Imsin (ANALYSIS_FUNCDESC_START+50)
77 #define ANALYSIS_Imsub (ANALYSIS_FUNCDESC_START+51)
78 #define ANALYSIS_Imsqrt (ANALYSIS_FUNCDESC_START+52)
79 #define ANALYSIS_Imsum (ANALYSIS_FUNCDESC_START+53)
80 #define ANALYSIS_Complex (ANALYSIS_FUNCDESC_START+54)
81 #define ANALYSIS_Convert (ANALYSIS_FUNCDESC_START+55)
82 #define ANALYSIS_Amordegrc (ANALYSIS_FUNCDESC_START+56)
83 #define ANALYSIS_Amorlinc (ANALYSIS_FUNCDESC_START+57)
84 #define ANALYSIS_Accrint (ANALYSIS_FUNCDESC_START+58)
85 #define ANALYSIS_Accrintm (ANALYSIS_FUNCDESC_START+59)
86 #define ANALYSIS_Received (ANALYSIS_FUNCDESC_START+60)
87 #define ANALYSIS_Disc (ANALYSIS_FUNCDESC_START+61)
88 #define ANALYSIS_Duration (ANALYSIS_FUNCDESC_START+62)
89 #define ANALYSIS_Effect (ANALYSIS_FUNCDESC_START+63)
90 #define ANALYSIS_Cumprinc (ANALYSIS_FUNCDESC_START+64)
91 #define ANALYSIS_Cumipmt (ANALYSIS_FUNCDESC_START+65)
92 #define ANALYSIS_Price (ANALYSIS_FUNCDESC_START+66)
93 #define ANALYSIS_Pricedisc (ANALYSIS_FUNCDESC_START+67)
94 #define ANALYSIS_Pricemat (ANALYSIS_FUNCDESC_START+68)
95 #define ANALYSIS_Mduration (ANALYSIS_FUNCDESC_START+69)
96 #define ANALYSIS_Nominal (ANALYSIS_FUNCDESC_START+70)
97 #define ANALYSIS_Dollarfr (ANALYSIS_FUNCDESC_START+71)
98 #define ANALYSIS_Dollarde (ANALYSIS_FUNCDESC_START+72)
99 #define ANALYSIS_Yield (ANALYSIS_FUNCDESC_START+73)
100 #define ANALYSIS_Yielddisc (ANALYSIS_FUNCDESC_START+74)
101 #define ANALYSIS_Yieldmat (ANALYSIS_FUNCDESC_START+75)
102 #define ANALYSIS_Tbilleq (ANALYSIS_FUNCDESC_START+76)
103 #define ANALYSIS_Tbillprice (ANALYSIS_FUNCDESC_START+77)
104 #define ANALYSIS_Tbillyield (ANALYSIS_FUNCDESC_START+78)
105 #define ANALYSIS_Oddfprice (ANALYSIS_FUNCDESC_START+79)
106 #define ANALYSIS_Oddfyield (ANALYSIS_FUNCDESC_START+80)
107 #define ANALYSIS_Oddlprice (ANALYSIS_FUNCDESC_START+81)
108 #define ANALYSIS_Oddlyield (ANALYSIS_FUNCDESC_START+82)
109 #define ANALYSIS_Xirr (ANALYSIS_FUNCDESC_START+83)
110 #define ANALYSIS_Xnpv (ANALYSIS_FUNCDESC_START+84)
111 #define ANALYSIS_Intrate (ANALYSIS_FUNCDESC_START+85)
112 #define ANALYSIS_Coupncd (ANALYSIS_FUNCDESC_START+86)
113 #define ANALYSIS_Coupdays (ANALYSIS_FUNCDESC_START+87)
114 #define ANALYSIS_Coupdaysnc (ANALYSIS_FUNCDESC_START+88)
115 #define ANALYSIS_Coupdaybs (ANALYSIS_FUNCDESC_START+89)
116 #define ANALYSIS_Couppcd (ANALYSIS_FUNCDESC_START+90)
117 #define ANALYSIS_Coupnum (ANALYSIS_FUNCDESC_START+91)
118 #define ANALYSIS_Fvschedule (ANALYSIS_FUNCDESC_START+92)
119 #define ANALYSIS_Imtan (ANALYSIS_FUNCDESC_START+93)
120 #define ANALYSIS_Imsec (ANALYSIS_FUNCDESC_START+94)
121 #define ANALYSIS_Imcsc (ANALYSIS_FUNCDESC_START+95)
122 #define ANALYSIS_Imcot (ANALYSIS_FUNCDESC_START+96)
123 #define ANALYSIS_Imsinh (ANALYSIS_FUNCDESC_START+97)
124 #define ANALYSIS_Imcosh (ANALYSIS_FUNCDESC_START+98)
125 #define ANALYSIS_Imsech (ANALYSIS_FUNCDESC_START+99)
126 #define ANALYSIS_Imcsch (ANALYSIS_FUNCDESC_START+100)
128 #define ANALYSIS_FUNCNAME_START (ANALYSIS_RESOURCE_START+2000)
130 #define ANALYSIS_FUNCNAME_Workday (ANALYSIS_FUNCNAME_START)
131 #define ANALYSIS_FUNCNAME_Yearfrac (ANALYSIS_FUNCNAME_START+1)
132 #define ANALYSIS_FUNCNAME_Edate (ANALYSIS_FUNCNAME_START+2)
133 #define ANALYSIS_FUNCNAME_Weeknum (ANALYSIS_FUNCNAME_START+3)
134 #define ANALYSIS_FUNCNAME_Eomonth (ANALYSIS_FUNCNAME_START+4)
135 #define ANALYSIS_FUNCNAME_Networkdays (ANALYSIS_FUNCNAME_START+5)
136 #define ANALYSIS_FUNCNAME_Iseven (ANALYSIS_FUNCNAME_START+6)
137 #define ANALYSIS_FUNCNAME_Isodd (ANALYSIS_FUNCNAME_START+7)
138 #define ANALYSIS_FUNCNAME_Multinomial (ANALYSIS_FUNCNAME_START+8)
139 #define ANALYSIS_FUNCNAME_Seriessum (ANALYSIS_FUNCNAME_START+9)
140 #define ANALYSIS_FUNCNAME_Quotient (ANALYSIS_FUNCNAME_START+10)
141 #define ANALYSIS_FUNCNAME_Mround (ANALYSIS_FUNCNAME_START+11)
142 #define ANALYSIS_FUNCNAME_Sqrtpi (ANALYSIS_FUNCNAME_START+12)
143 #define ANALYSIS_FUNCNAME_Randbetween (ANALYSIS_FUNCNAME_START+13)
144 #define ANALYSIS_FUNCNAME_Gcd (ANALYSIS_FUNCNAME_START+14)
145 #define ANALYSIS_FUNCNAME_Lcm (ANALYSIS_FUNCNAME_START+15)
146 #define ANALYSIS_FUNCNAME_Besseli (ANALYSIS_FUNCNAME_START+16)
147 #define ANALYSIS_FUNCNAME_Besselj (ANALYSIS_FUNCNAME_START+17)
148 #define ANALYSIS_FUNCNAME_Besselk (ANALYSIS_FUNCNAME_START+18)
149 #define ANALYSIS_FUNCNAME_Bessely (ANALYSIS_FUNCNAME_START+19)
150 #define ANALYSIS_FUNCNAME_Bin2Oct (ANALYSIS_FUNCNAME_START+20)
151 #define ANALYSIS_FUNCNAME_Bin2Dec (ANALYSIS_FUNCNAME_START+21)
152 #define ANALYSIS_FUNCNAME_Bin2Hex (ANALYSIS_FUNCNAME_START+22)
153 #define ANALYSIS_FUNCNAME_Oct2Bin (ANALYSIS_FUNCNAME_START+23)
154 #define ANALYSIS_FUNCNAME_Oct2Dec (ANALYSIS_FUNCNAME_START+24)
155 #define ANALYSIS_FUNCNAME_Oct2Hex (ANALYSIS_FUNCNAME_START+25)
156 #define ANALYSIS_FUNCNAME_Dec2Bin (ANALYSIS_FUNCNAME_START+26)
157 #define ANALYSIS_FUNCNAME_Dec2Hex (ANALYSIS_FUNCNAME_START+27)
158 #define ANALYSIS_FUNCNAME_Dec2Oct (ANALYSIS_FUNCNAME_START+28)
159 #define ANALYSIS_FUNCNAME_Hex2Bin (ANALYSIS_FUNCNAME_START+29)
160 #define ANALYSIS_FUNCNAME_Hex2Dec (ANALYSIS_FUNCNAME_START+30)
161 #define ANALYSIS_FUNCNAME_Hex2Oct (ANALYSIS_FUNCNAME_START+31)
162 #define ANALYSIS_FUNCNAME_Delta (ANALYSIS_FUNCNAME_START+32)
163 #define ANALYSIS_FUNCNAME_Erf (ANALYSIS_FUNCNAME_START+33)
164 #define ANALYSIS_FUNCNAME_Erfc (ANALYSIS_FUNCNAME_START+34)
165 #define ANALYSIS_FUNCNAME_Gestep (ANALYSIS_FUNCNAME_START+35)
166 #define ANALYSIS_FUNCNAME_Factdouble (ANALYSIS_FUNCNAME_START+36)
167 #define ANALYSIS_FUNCNAME_Imabs (ANALYSIS_FUNCNAME_START+37)
168 #define ANALYSIS_FUNCNAME_Imaginary (ANALYSIS_FUNCNAME_START+38)
169 #define ANALYSIS_FUNCNAME_Impower (ANALYSIS_FUNCNAME_START+39)
170 #define ANALYSIS_FUNCNAME_Imargument (ANALYSIS_FUNCNAME_START+40)
171 #define ANALYSIS_FUNCNAME_Imcos (ANALYSIS_FUNCNAME_START+41)
172 #define ANALYSIS_FUNCNAME_Imdiv (ANALYSIS_FUNCNAME_START+42)
173 #define ANALYSIS_FUNCNAME_Imexp (ANALYSIS_FUNCNAME_START+43)
174 #define ANALYSIS_FUNCNAME_Imconjugate (ANALYSIS_FUNCNAME_START+44)
175 #define ANALYSIS_FUNCNAME_Imln (ANALYSIS_FUNCNAME_START+45)
176 #define ANALYSIS_FUNCNAME_Imlog10 (ANALYSIS_FUNCNAME_START+46)
177 #define ANALYSIS_FUNCNAME_Imlog2 (ANALYSIS_FUNCNAME_START+47)
178 #define ANALYSIS_FUNCNAME_Improduct (ANALYSIS_FUNCNAME_START+48)
179 #define ANALYSIS_FUNCNAME_Imreal (ANALYSIS_FUNCNAME_START+49)
180 #define ANALYSIS_FUNCNAME_Imsin (ANALYSIS_FUNCNAME_START+50)
181 #define ANALYSIS_FUNCNAME_Imsub (ANALYSIS_FUNCNAME_START+51)
182 #define ANALYSIS_FUNCNAME_Imsqrt (ANALYSIS_FUNCNAME_START+52)
183 #define ANALYSIS_FUNCNAME_Imsum (ANALYSIS_FUNCNAME_START+53)
184 #define ANALYSIS_FUNCNAME_Complex (ANALYSIS_FUNCNAME_START+54)
185 #define ANALYSIS_FUNCNAME_Convert (ANALYSIS_FUNCNAME_START+55)
186 #define ANALYSIS_FUNCNAME_Amordegrc (ANALYSIS_FUNCNAME_START+56)
187 #define ANALYSIS_FUNCNAME_Amorlinc (ANALYSIS_FUNCNAME_START+57)
188 #define ANALYSIS_FUNCNAME_Accrint (ANALYSIS_FUNCNAME_START+58)
189 #define ANALYSIS_FUNCNAME_Accrintm (ANALYSIS_FUNCNAME_START+59)
190 #define ANALYSIS_FUNCNAME_Received (ANALYSIS_FUNCNAME_START+60)
191 #define ANALYSIS_FUNCNAME_Disc (ANALYSIS_FUNCNAME_START+61)
192 #define ANALYSIS_FUNCNAME_Duration (ANALYSIS_FUNCNAME_START+62)
193 #define ANALYSIS_FUNCNAME_Effect (ANALYSIS_FUNCNAME_START+63)
194 #define ANALYSIS_FUNCNAME_Cumprinc (ANALYSIS_FUNCNAME_START+64)
195 #define ANALYSIS_FUNCNAME_Cumipmt (ANALYSIS_FUNCNAME_START+65)
196 #define ANALYSIS_FUNCNAME_Price (ANALYSIS_FUNCNAME_START+66)
197 #define ANALYSIS_FUNCNAME_Pricedisc (ANALYSIS_FUNCNAME_START+67)
198 #define ANALYSIS_FUNCNAME_Pricemat (ANALYSIS_FUNCNAME_START+68)
199 #define ANALYSIS_FUNCNAME_Mduration (ANALYSIS_FUNCNAME_START+69)
200 #define ANALYSIS_FUNCNAME_Nominal (ANALYSIS_FUNCNAME_START+70)
201 #define ANALYSIS_FUNCNAME_Dollarfr (ANALYSIS_FUNCNAME_START+71)
202 #define ANALYSIS_FUNCNAME_Dollarde (ANALYSIS_FUNCNAME_START+72)
203 #define ANALYSIS_FUNCNAME_Yield (ANALYSIS_FUNCNAME_START+73)
204 #define ANALYSIS_FUNCNAME_Yielddisc (ANALYSIS_FUNCNAME_START+74)
205 #define ANALYSIS_FUNCNAME_Yieldmat (ANALYSIS_FUNCNAME_START+75)
206 #define ANALYSIS_FUNCNAME_Tbilleq (ANALYSIS_FUNCNAME_START+76)
207 #define ANALYSIS_FUNCNAME_Tbillprice (ANALYSIS_FUNCNAME_START+77)
208 #define ANALYSIS_FUNCNAME_Tbillyield (ANALYSIS_FUNCNAME_START+78)
209 #define ANALYSIS_FUNCNAME_Oddfprice (ANALYSIS_FUNCNAME_START+79)
210 #define ANALYSIS_FUNCNAME_Oddfyield (ANALYSIS_FUNCNAME_START+80)
211 #define ANALYSIS_FUNCNAME_Oddlprice (ANALYSIS_FUNCNAME_START+81)
212 #define ANALYSIS_FUNCNAME_Oddlyield (ANALYSIS_FUNCNAME_START+82)
213 #define ANALYSIS_FUNCNAME_Xirr (ANALYSIS_FUNCNAME_START+83)
214 #define ANALYSIS_FUNCNAME_Xnpv (ANALYSIS_FUNCNAME_START+84)
215 #define ANALYSIS_FUNCNAME_Intrate (ANALYSIS_FUNCNAME_START+85)
216 #define ANALYSIS_FUNCNAME_Coupncd (ANALYSIS_FUNCNAME_START+86)
217 #define ANALYSIS_FUNCNAME_Coupdays (ANALYSIS_FUNCNAME_START+87)
218 #define ANALYSIS_FUNCNAME_Coupdaysnc (ANALYSIS_FUNCNAME_START+88)
219 #define ANALYSIS_FUNCNAME_Coupdaybs (ANALYSIS_FUNCNAME_START+89)
220 #define ANALYSIS_FUNCNAME_Couppcd (ANALYSIS_FUNCNAME_START+90)
221 #define ANALYSIS_FUNCNAME_Coupnum (ANALYSIS_FUNCNAME_START+91)
222 #define ANALYSIS_FUNCNAME_Fvschedule (ANALYSIS_FUNCNAME_START+92)
223 #define ANALYSIS_FUNCNAME_Imtan (ANALYSIS_FUNCNAME_START+93)
224 #define ANALYSIS_FUNCNAME_Imsec (ANALYSIS_FUNCNAME_START+94)
225 #define ANALYSIS_FUNCNAME_Imcsc (ANALYSIS_FUNCNAME_START+95)
226 #define ANALYSIS_FUNCNAME_Imcot (ANALYSIS_FUNCNAME_START+96)
227 #define ANALYSIS_FUNCNAME_Imsinh (ANALYSIS_FUNCNAME_START+97)
228 #define ANALYSIS_FUNCNAME_Imcosh (ANALYSIS_FUNCNAME_START+98)
229 #define ANALYSIS_FUNCNAME_Imsech (ANALYSIS_FUNCNAME_START+99)
230 #define ANALYSIS_FUNCNAME_Imcsch (ANALYSIS_FUNCNAME_START+100)
234 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */