32#include <com/sun/star/lang/XServiceName.hpp>
33#include <com/sun/star/lang/XServiceInfo.hpp>
34#include <com/sun/star/sheet/XAddIn.hpp>
35#include <com/sun/star/sheet/XCompatibilityNames.hpp>
36#include <com/sun/star/sheet/addin/XPricingFunctions.hpp>
93 bool Is( std::u16string_view rCompare )
const
119 css::sheet::XCompatibilityNames,
120 css::sheet::addin::XPricingFunctions,
121 css::lang::XServiceName,
122 css::lang::XServiceInfo >
132 const css::lang::Locale&
GetLocale( sal_uInt32 nIndex );
148 virtual OUString SAL_CALL
getDisplayArgumentName(
const OUString& aProgrammaticName, sal_Int32 nArgument )
override;
149 virtual OUString SAL_CALL
getArgumentDescription(
const OUString& aProgrammaticName, sal_Int32 nArgument )
override;
154 virtual css::uno::Sequence< css::sheet::LocalizedName > SAL_CALL
getCompatibilityNames(
const OUString& aProgrammaticName )
override;
157 virtual void SAL_CALL
setLocale(
const css::lang::Locale& eLocale )
override;
158 virtual css::lang::Locale SAL_CALL
getLocale()
override;
172 virtual double SAL_CALL
getOptBarrier(
double spot,
double vol,
173 double r,
double rf,
double T,
double strike,
174 double barrier_low,
double barrier_up,
double rebate,
175 const OUString& put_call,
const OUString& in_out,
176 const OUString& continuous,
const css::uno::Any& greek )
override;
178 virtual double SAL_CALL
getOptTouch(
double spot,
double vol,
179 double r,
double rf,
double T,
180 double barrier_low,
double barrier_up,
181 const OUString& for_dom,
const OUString& in_out,
182 const OUString& barriercont,
const css::uno::Any& greekstr )
override;
184 virtual double SAL_CALL
getOptProbHit(
double spot,
double vol,
186 double barrier_low,
double barrier_up )
override;
190 double barrier_low,
double barrier_up,
191 const css::uno::Any& strikeval,
const css::uno::Any& put_call )
override;
virtual css::uno::Sequence< css::sheet::LocalizedName > SAL_CALL getCompatibilityNames(const OUString &aProgrammaticName) override
virtual OUString SAL_CALL getImplementationName() override
virtual OUString SAL_CALL getProgrammaticFuntionName(const OUString &aDisplayName) override
virtual OUString SAL_CALL getProgrammaticCategoryName(const OUString &aProgrammaticName) override
virtual OUString SAL_CALL getFunctionDescription(const OUString &aProgrammaticName) override
std::unique_ptr< css::lang::Locale[]> pDefLocales
virtual OUString SAL_CALL getDisplayFunctionName(const OUString &aProgrammaticName) override
virtual double SAL_CALL getOptBarrier(double spot, double vol, double r, double rf, double T, double strike, double barrier_low, double barrier_up, double rebate, const OUString &put_call, const OUString &in_out, const OUString &continuous, const css::uno::Any &greek) override
virtual OUString SAL_CALL getDisplayCategoryName(const OUString &aProgrammaticName) override
OUString GetFuncDescrStr(const TranslateId *pResId, sal_uInt16 nStrIndex)
virtual double SAL_CALL getOptTouch(double spot, double vol, double r, double rf, double T, double barrier_low, double barrier_up, const OUString &for_dom, const OUString &in_out, const OUString &barriercont, const css::uno::Any &greekstr) override
std::unique_ptr< sca::pricing::ScaFuncDataList > pFuncDataList
virtual OUString SAL_CALL getServiceName() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual double SAL_CALL getOptProbHit(double spot, double vol, double mu, double T, double barrier_low, double barrier_up) override
virtual OUString SAL_CALL getDisplayArgumentName(const OUString &aProgrammaticName, sal_Int32 nArgument) override
const css::lang::Locale & GetLocale(sal_uInt32 nIndex)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getArgumentDescription(const OUString &aProgrammaticName, sal_Int32 nArgument) override
css::lang::Locale aFuncLoc
virtual css::lang::Locale SAL_CALL getLocale() override
OUString ScaResId(TranslateId aResId)
virtual ~ScaPricingAddIn() override
virtual double SAL_CALL getOptProbInMoney(double spot, double vol, double mu, double T, double barrier_low, double barrier_up, const css::uno::Any &strikeval, const css::uno::Any &put_call) override
virtual void SAL_CALL setLocale(const css::lang::Locale &eLocale) override
std::vector< OUString > aCompList
ScaFuncData(const ScaFuncDataBase &rBaseData)
ScaCategory GetCategory() const
const TranslateId * pDescrID
const std::vector< OUString > & GetCompNameList() const
const TranslateId * GetDescrID() const
bool Is(std::u16string_view rCompare) const
const TranslateId & GetUINameID() const
sal_uInt16 GetStrIndex(sal_uInt16 nParam) const
std::vector< ScaFuncData > ScaFuncDataList
void InitScaFuncDataList(ScaFuncDataList &rMap)
FindScaFuncData(const OUString &rId)
bool operator()(ScaFuncData const &rCandidate) const
const TranslateId * pDescrID