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 .
20 #ifndef INCLUDED_SCADDINS_INC_STRINGS_HRC
21 #define INCLUDED_SCADDINS_INC_STRINGS_HRC
23 #define NC_(Context, String) (Context "\004" u8##String)
25 // function names as accessible from cells
26 #define PRICING_FUNCNAME_OptBarrier NC_("PRICING_FUNCNAME_OptBarrier", "OPT_BARRIER")
27 #define PRICING_FUNCNAME_OptTouch NC_("PRICING_FUNCNAME_OptTouch", "OPT_TOUCH")
28 #define PRICING_FUNCNAME_OptProbHit NC_("PRICING_FUNCNAME_OptProbHit", "OPT_PROB_HIT")
29 #define PRICING_FUNCNAME_OptProbInMoney NC_("PRICING_FUNCNAME_OptProbInMoney", "OPT_PROB_INMONEY")
31 #define DATE_FUNCNAME_DiffWeeks NC_("DATE_FUNCNAME_DiffWeeks", "WEEKS")
32 #define DATE_FUNCNAME_DiffMonths NC_("DATE_FUNCNAME_DiffMonths", "MONTHS")
33 #define DATE_FUNCNAME_DiffYears NC_("DATE_FUNCNAME_DiffYears", "YEARS")
34 #define DATE_FUNCNAME_IsLeapYear NC_("DATE_FUNCNAME_IsLeapYear", "ISLEAPYEAR")
35 #define DATE_FUNCNAME_DaysInMonth NC_("DATE_FUNCNAME_DaysInMonth", "DAYSINMONTH")
36 #define DATE_FUNCNAME_DaysInYear NC_("DATE_FUNCNAME_DaysInYear", "DAYSINYEAR")
37 #define DATE_FUNCNAME_WeeksInYear NC_("DATE_FUNCNAME_WeeksInYear", "WEEKSINYEAR")
38 #define DATE_FUNCNAME_Rot13 NC_("DATE_FUNCNAME_Rot13", "ROT13")
40 #define ANALYSIS_FUNCNAME_Workday NC_("ANALYSIS_FUNCNAME_Workday", "WORKDAY")
41 #define ANALYSIS_FUNCNAME_Yearfrac NC_("ANALYSIS_FUNCNAME_Yearfrac", "YEARFRAC")
42 #define ANALYSIS_FUNCNAME_Edate NC_("ANALYSIS_FUNCNAME_Edate", "EDATE")
43 #define ANALYSIS_FUNCNAME_Weeknum NC_("ANALYSIS_FUNCNAME_Weeknum", "WEEKNUM")
44 #define ANALYSIS_FUNCNAME_Eomonth NC_("ANALYSIS_FUNCNAME_Eomonth", "EOMONTH")
45 #define ANALYSIS_FUNCNAME_Networkdays NC_("ANALYSIS_FUNCNAME_Networkdays", "NETWORKDAYS")
46 #define ANALYSIS_FUNCNAME_Amordegrc NC_("ANALYSIS_FUNCNAME_Amordegrc", "AMORDEGRC")
47 #define ANALYSIS_FUNCNAME_Amorlinc NC_("ANALYSIS_FUNCNAME_Amorlinc", "AMORLINC")
48 #define ANALYSIS_FUNCNAME_Accrint NC_("ANALYSIS_FUNCNAME_Accrint", "ACCRINT")
49 #define ANALYSIS_FUNCNAME_Accrintm NC_("ANALYSIS_FUNCNAME_Accrintm", "ACCRINTM")
50 #define ANALYSIS_FUNCNAME_Received NC_("ANALYSIS_FUNCNAME_Received", "RECEIVED")
51 #define ANALYSIS_FUNCNAME_Disc NC_("ANALYSIS_FUNCNAME_Disc", "DISC")
52 #define ANALYSIS_FUNCNAME_Duration NC_("ANALYSIS_FUNCNAME_Duration", "DURATION")
53 #define ANALYSIS_FUNCNAME_Effect NC_("ANALYSIS_FUNCNAME_Effect", "EFFECT")
54 #define ANALYSIS_FUNCNAME_Cumprinc NC_("ANALYSIS_FUNCNAME_Cumprinc", "CUMPRINC")
55 #define ANALYSIS_FUNCNAME_Cumipmt NC_("ANALYSIS_FUNCNAME_Cumipmt", "CUMIPMT")
56 #define ANALYSIS_FUNCNAME_Price NC_("ANALYSIS_FUNCNAME_Price", "PRICE")
57 #define ANALYSIS_FUNCNAME_Pricedisc NC_("ANALYSIS_FUNCNAME_Pricedisc", "PRICEDISC")
58 #define ANALYSIS_FUNCNAME_Pricemat NC_("ANALYSIS_FUNCNAME_Pricemat", "PRICEMAT")
59 #define ANALYSIS_FUNCNAME_Mduration NC_("ANALYSIS_FUNCNAME_Mduration", "MDURATION")
60 #define ANALYSIS_FUNCNAME_Nominal NC_("ANALYSIS_FUNCNAME_Nominal", "NOMINAL")
61 #define ANALYSIS_FUNCNAME_Dollarfr NC_("ANALYSIS_FUNCNAME_Dollarfr", "DOLLARFR")
62 #define ANALYSIS_FUNCNAME_Dollarde NC_("ANALYSIS_FUNCNAME_Dollarde", "DOLLARDE")
63 #define ANALYSIS_FUNCNAME_Yield NC_("ANALYSIS_FUNCNAME_Yield", "YIELD")
64 #define ANALYSIS_FUNCNAME_Yielddisc NC_("ANALYSIS_FUNCNAME_Yielddisc", "YIELDDISC")
65 #define ANALYSIS_FUNCNAME_Yieldmat NC_("ANALYSIS_FUNCNAME_Yieldmat", "YIELDMAT")
66 #define ANALYSIS_FUNCNAME_Tbilleq NC_("ANALYSIS_FUNCNAME_Tbilleq", "TBILLEQ")
67 #define ANALYSIS_FUNCNAME_Tbillprice NC_("ANALYSIS_FUNCNAME_Tbillprice", "TBILLPRICE")
68 #define ANALYSIS_FUNCNAME_Tbillyield NC_("ANALYSIS_FUNCNAME_Tbillyield", "TBILLYIELD")
69 #define ANALYSIS_FUNCNAME_Oddfprice NC_("ANALYSIS_FUNCNAME_Oddfprice", "ODDFPRICE")
70 #define ANALYSIS_FUNCNAME_Oddfyield NC_("ANALYSIS_FUNCNAME_Oddfyield", "ODDFYIELD")
71 #define ANALYSIS_FUNCNAME_Oddlprice NC_("ANALYSIS_FUNCNAME_Oddlprice", "ODDLPRICE")
72 #define ANALYSIS_FUNCNAME_Oddlyield NC_("ANALYSIS_FUNCNAME_Oddlyield", "ODDLYIELD")
73 #define ANALYSIS_FUNCNAME_Xirr NC_("ANALYSIS_FUNCNAME_Xirr", "XIRR")
74 #define ANALYSIS_FUNCNAME_Xnpv NC_("ANALYSIS_FUNCNAME_Xnpv", "XNPV")
75 #define ANALYSIS_FUNCNAME_Intrate NC_("ANALYSIS_FUNCNAME_Intrate", "INTRATE")
76 #define ANALYSIS_FUNCNAME_Coupncd NC_("ANALYSIS_FUNCNAME_Coupncd", "COUPNCD")
77 #define ANALYSIS_FUNCNAME_Coupdays NC_("ANALYSIS_FUNCNAME_Coupdays", "COUPDAYS")
78 #define ANALYSIS_FUNCNAME_Coupdaysnc NC_("ANALYSIS_FUNCNAME_Coupdaysnc", "COUPDAYSNC")
79 #define ANALYSIS_FUNCNAME_Coupdaybs NC_("ANALYSIS_FUNCNAME_Coupdaybs", "COUPDAYBS")
80 #define ANALYSIS_FUNCNAME_Couppcd NC_("ANALYSIS_FUNCNAME_Couppcd", "COUPPCD")
81 #define ANALYSIS_FUNCNAME_Coupnum NC_("ANALYSIS_FUNCNAME_Coupnum", "COUPNUM")
82 #define ANALYSIS_FUNCNAME_Fvschedule NC_("ANALYSIS_FUNCNAME_Fvschedule", "FVSCHEDULE")
83 #define ANALYSIS_FUNCNAME_Iseven NC_("ANALYSIS_FUNCNAME_Iseven", "ISEVEN")
84 #define ANALYSIS_FUNCNAME_Isodd NC_("ANALYSIS_FUNCNAME_Isodd", "ISODD")
85 #define ANALYSIS_FUNCNAME_Gcd NC_("ANALYSIS_FUNCNAME_Gcd", "GCD")
86 #define ANALYSIS_FUNCNAME_Lcm NC_("ANALYSIS_FUNCNAME_Lcm", "LCM")
87 #define ANALYSIS_FUNCNAME_Multinomial NC_("ANALYSIS_FUNCNAME_Multinomial", "MULTINOMIAL")
88 #define ANALYSIS_FUNCNAME_Seriessum NC_("ANALYSIS_FUNCNAME_Seriessum", "SERIESSUM")
89 #define ANALYSIS_FUNCNAME_Quotient NC_("ANALYSIS_FUNCNAME_Quotient", "QUOTIENT")
90 #define ANALYSIS_FUNCNAME_Mround NC_("ANALYSIS_FUNCNAME_Mround", "MROUND")
91 #define ANALYSIS_FUNCNAME_Sqrtpi NC_("ANALYSIS_FUNCNAME_Sqrtpi", "SQRTPI")
92 #define ANALYSIS_FUNCNAME_Randbetween NC_("ANALYSIS_FUNCNAME_Randbetween", "RANDBETWEEN")
93 #define ANALYSIS_FUNCNAME_Besseli NC_("ANALYSIS_FUNCNAME_Besseli", "BESSELI")
94 #define ANALYSIS_FUNCNAME_Besselj NC_("ANALYSIS_FUNCNAME_Besselj", "BESSELJ")
95 #define ANALYSIS_FUNCNAME_Besselk NC_("ANALYSIS_FUNCNAME_Besselk", "BESSELK")
96 #define ANALYSIS_FUNCNAME_Bessely NC_("ANALYSIS_FUNCNAME_Bessely", "BESSELY")
97 #define ANALYSIS_FUNCNAME_Bin2Dec NC_("ANALYSIS_FUNCNAME_Bin2Dec", "BIN2DEC")
98 #define ANALYSIS_FUNCNAME_Bin2Hex NC_("ANALYSIS_FUNCNAME_Bin2Hex", "BIN2HEX")
99 #define ANALYSIS_FUNCNAME_Bin2Oct NC_("ANALYSIS_FUNCNAME_Bin2Oct", "BIN2OCT")
100 #define ANALYSIS_FUNCNAME_Delta NC_("ANALYSIS_FUNCNAME_Delta", "DELTA")
101 #define ANALYSIS_FUNCNAME_Dec2Bin NC_("ANALYSIS_FUNCNAME_Dec2Bin", "DEC2BIN")
102 #define ANALYSIS_FUNCNAME_Dec2Hex NC_("ANALYSIS_FUNCNAME_Dec2Hex", "DEC2HEX")
103 #define ANALYSIS_FUNCNAME_Dec2Oct NC_("ANALYSIS_FUNCNAME_Dec2Oct", "DEC2OCT")
104 #define ANALYSIS_FUNCNAME_Erf NC_("ANALYSIS_FUNCNAME_Erf", "ERF")
105 #define ANALYSIS_FUNCNAME_Erfc NC_("ANALYSIS_FUNCNAME_Erfc", "ERFC")
106 #define ANALYSIS_FUNCNAME_Gestep NC_("ANALYSIS_FUNCNAME_Gestep", "GESTEP")
107 #define ANALYSIS_FUNCNAME_Hex2Bin NC_("ANALYSIS_FUNCNAME_Hex2Bin", "HEX2BIN")
108 #define ANALYSIS_FUNCNAME_Hex2Dec NC_("ANALYSIS_FUNCNAME_Hex2Dec", "HEX2DEC")
109 #define ANALYSIS_FUNCNAME_Hex2Oct NC_("ANALYSIS_FUNCNAME_Hex2Oct", "HEX2OCT")
110 #define ANALYSIS_FUNCNAME_Imabs NC_("ANALYSIS_FUNCNAME_Imabs", "IMABS")
111 #define ANALYSIS_FUNCNAME_Imaginary NC_("ANALYSIS_FUNCNAME_Imaginary", "IMAGINARY")
112 #define ANALYSIS_FUNCNAME_Impower NC_("ANALYSIS_FUNCNAME_Impower", "IMPOWER")
113 #define ANALYSIS_FUNCNAME_Imargument NC_("ANALYSIS_FUNCNAME_Imargument", "IMARGUMENT")
114 #define ANALYSIS_FUNCNAME_Imcos NC_("ANALYSIS_FUNCNAME_Imcos", "IMCOS")
115 #define ANALYSIS_FUNCNAME_Imdiv NC_("ANALYSIS_FUNCNAME_Imdiv", "IMDIV")
116 #define ANALYSIS_FUNCNAME_Imexp NC_("ANALYSIS_FUNCNAME_Imexp", "IMEXP")
117 #define ANALYSIS_FUNCNAME_Imconjugate NC_("ANALYSIS_FUNCNAME_Imconjugate", "IMCONJUGATE")
118 #define ANALYSIS_FUNCNAME_Imln NC_("ANALYSIS_FUNCNAME_Imln", "IMLN")
119 #define ANALYSIS_FUNCNAME_Imlog10 NC_("ANALYSIS_FUNCNAME_Imlog10", "IMLOG10")
120 #define ANALYSIS_FUNCNAME_Imlog2 NC_("ANALYSIS_FUNCNAME_Imlog2", "IMLOG2")
121 #define ANALYSIS_FUNCNAME_Improduct NC_("ANALYSIS_FUNCNAME_Improduct", "IMPRODUCT")
122 #define ANALYSIS_FUNCNAME_Imreal NC_("ANALYSIS_FUNCNAME_Imreal", "IMREAL")
123 #define ANALYSIS_FUNCNAME_Imsin NC_("ANALYSIS_FUNCNAME_Imsin", "IMSIN")
124 #define ANALYSIS_FUNCNAME_Imsub NC_("ANALYSIS_FUNCNAME_Imsub", "IMSUB")
125 #define ANALYSIS_FUNCNAME_Imsum NC_("ANALYSIS_FUNCNAME_Imsum", "IMSUM")
126 #define ANALYSIS_FUNCNAME_Imsqrt NC_("ANALYSIS_FUNCNAME_Imsqrt", "IMSQRT")
127 #define ANALYSIS_FUNCNAME_Imtan NC_("ANALYSIS_FUNCNAME_Imtan", "IMTAN")
128 #define ANALYSIS_FUNCNAME_Imsec NC_("ANALYSIS_FUNCNAME_Imsec", "IMSEC")
129 #define ANALYSIS_FUNCNAME_Imcsc NC_("ANALYSIS_FUNCNAME_Imcsc", "IMCSC")
130 #define ANALYSIS_FUNCNAME_Imcot NC_("ANALYSIS_FUNCNAME_Imcot", "IMCOT")
131 #define ANALYSIS_FUNCNAME_Imsinh NC_("ANALYSIS_FUNCNAME_Imsinh", "IMSINH")
132 #define ANALYSIS_FUNCNAME_Imcosh NC_("ANALYSIS_FUNCNAME_Imcosh", "IMCOSH")
133 #define ANALYSIS_FUNCNAME_Imsech NC_("ANALYSIS_FUNCNAME_Imsech", "IMSECH")
134 #define ANALYSIS_FUNCNAME_Imcsch NC_("ANALYSIS_FUNCNAME_Imcsch", "IMCSCH")
135 #define ANALYSIS_FUNCNAME_Complex NC_("ANALYSIS_FUNCNAME_Complex", "COMPLEX")
136 #define ANALYSIS_FUNCNAME_Oct2Bin NC_("ANALYSIS_FUNCNAME_Oct2Bin", "OCT2BIN")
137 #define ANALYSIS_FUNCNAME_Oct2Dec NC_("ANALYSIS_FUNCNAME_Oct2Dec", "OCT2DEC")
138 #define ANALYSIS_FUNCNAME_Oct2Hex NC_("ANALYSIS_FUNCNAME_Oct2Hex", "OCT2HEX")
139 #define ANALYSIS_FUNCNAME_Convert NC_("ANALYSIS_FUNCNAME_Convert", "CONVERT")
140 #define ANALYSIS_FUNCNAME_Factdouble NC_("ANALYSIS_FUNCNAME_Factdouble", "FACTDOUBLE")
144 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */