LibreOffice Module scaddins (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AnalysisAddIn Class Reference

#include <analysis.hxx>

Inheritance diagram for AnalysisAddIn:
[legend]
Collaboration diagram for AnalysisAddIn:
[legend]

Public Member Functions

 AnalysisAddIn (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
OUString AnalysisResId (TranslateId aId)
 
virtual ~AnalysisAddIn () override
 
double FactDouble (sal_Int32 nNum)
 
virtual OUString SAL_CALL getProgrammaticFuntionName (const OUString &aDisplayName) override
 
virtual OUString SAL_CALL getDisplayFunctionName (const OUString &aProgrammaticName) override
 
virtual OUString SAL_CALL getFunctionDescription (const OUString &aProgrammaticName) override
 
virtual OUString SAL_CALL getDisplayArgumentName (const OUString &aProgrammaticFunctionName, sal_Int32 nArgument) override
 
virtual OUString SAL_CALL getArgumentDescription (const OUString &aProgrammaticFunctionName, sal_Int32 nArgument) override
 
virtual OUString SAL_CALL getProgrammaticCategoryName (const OUString &aProgrammaticFunctionName) override
 
virtual OUString SAL_CALL getDisplayCategoryName (const OUString &aProgrammaticFunctionName) override
 
virtual css::uno::Sequence< css::sheet::LocalizedName > SAL_CALL getCompatibilityNames (const OUString &aProgrammaticName) override
 
virtual void SAL_CALL setLocale (const css::lang::Locale &eLocale) override
 
virtual css::lang::Locale SAL_CALL getLocale () override
 
virtual OUString SAL_CALL getServiceName () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Int32 SAL_CALL getWorkday (const css::uno::Reference< css::beans::XPropertySet > &, sal_Int32 nStartDate, sal_Int32 nDays, const css::uno::Any &aHDay) override
 Workday. More...
 
virtual double SAL_CALL getYearfrac (const css::uno::Reference< css::beans::XPropertySet > &, sal_Int32 nStartDate, sal_Int32 nEndDate, const css::uno::Any &aMode) override
 Yearfrac. More...
 
virtual sal_Int32 SAL_CALL getEdate (const css::uno::Reference< css::beans::XPropertySet > &, sal_Int32 nStartDate, sal_Int32 nMonths) override
 
virtual sal_Int32 SAL_CALL getWeeknum (const css::uno::Reference< css::beans::XPropertySet > &, sal_Int32 nStartDate, sal_Int32 nMode) override
 
virtual sal_Int32 SAL_CALL getEomonth (const css::uno::Reference< css::beans::XPropertySet > &, sal_Int32 nStartDate, sal_Int32 nMonths) override
 
virtual sal_Int32 SAL_CALL getNetworkdays (const css::uno::Reference< css::beans::XPropertySet > &, sal_Int32 nStartDate, sal_Int32 nEndDate, const css::uno::Any &aHDay) override
 
virtual sal_Int32 SAL_CALL getIseven (sal_Int32 nVal) override
 
virtual sal_Int32 SAL_CALL getIsodd (sal_Int32 nVal) override
 
virtual double SAL_CALL getMultinomial (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &aVLst, const css::uno::Sequence< css::uno::Any > &aOptVLst) override
 
virtual double SAL_CALL getSeriessum (double fX, double fN, double fM, const css::uno::Sequence< css::uno::Sequence< double > > &aCoeffList) override
 
virtual double SAL_CALL getQuotient (double fNum, double fDenum) override
 
virtual double SAL_CALL getMround (double fNum, double fMult) override
 
virtual double SAL_CALL getSqrtpi (double fNum) override
 
virtual double SAL_CALL getRandbetween (double fMin, double fMax) override
 
virtual double SAL_CALL getGcd (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const css::uno::Sequence< css::uno::Sequence< double > > &aVLst, const css::uno::Sequence< css::uno::Any > &aOptVLst) override
 
virtual double SAL_CALL getLcm (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const css::uno::Sequence< css::uno::Sequence< double > > &aVLst, const css::uno::Sequence< css::uno::Any > &aOptVLst) override
 
virtual double SAL_CALL getBesseli (double fNum, sal_Int32 nOrder) override
 
virtual double SAL_CALL getBesselj (double fNum, sal_Int32 nOrder) override
 
virtual double SAL_CALL getBesselk (double fNum, sal_Int32 nOrder) override
 
virtual double SAL_CALL getBessely (double fNum, sal_Int32 nOrder) override
 
virtual OUString SAL_CALL getBin2Oct (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const OUString &aNum, const css::uno::Any &rPlaces) override
 
virtual double SAL_CALL getBin2Dec (const OUString &aNum) override
 
virtual OUString SAL_CALL getBin2Hex (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const OUString &aNum, const css::uno::Any &rPlaces) override
 
virtual OUString SAL_CALL getOct2Bin (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const OUString &aNum, const css::uno::Any &rPlaces) override
 
virtual double SAL_CALL getOct2Dec (const OUString &aNum) override
 
virtual OUString SAL_CALL getOct2Hex (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const OUString &aNum, const css::uno::Any &rPlaces) override
 
virtual OUString SAL_CALL getDec2Bin (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 fNum, const css::uno::Any &rPlaces) override
 
virtual OUString SAL_CALL getDec2Oct (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 fNum, const css::uno::Any &rPlaces) override
 
virtual OUString SAL_CALL getDec2Hex (const css::uno::Reference< css::beans::XPropertySet > &xOpt, double fNum, const css::uno::Any &rPlaces) override
 
virtual OUString SAL_CALL getHex2Bin (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const OUString &aNum, const css::uno::Any &rPlaces) override
 
virtual double SAL_CALL getHex2Dec (const OUString &aNum) override
 
virtual OUString SAL_CALL getHex2Oct (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const OUString &aNum, const css::uno::Any &rPlaces) override
 
virtual sal_Int32 SAL_CALL getDelta (const css::uno::Reference< css::beans::XPropertySet > &xOpt, double fNum1, const css::uno::Any &rNum2) override
 
virtual double SAL_CALL getErf (const css::uno::Reference< css::beans::XPropertySet > &xOpt, double fLowerLimit, const css::uno::Any &rUpperLimit) override
 
virtual double SAL_CALL getErfc (double fLowerLimit) override
 
virtual sal_Int32 SAL_CALL getGestep (const css::uno::Reference< css::beans::XPropertySet > &xOpt, double fNum, const css::uno::Any &rStep) override
 
virtual double SAL_CALL getFactdouble (sal_Int32 nNum) override
 
virtual double SAL_CALL getImabs (const OUString &aNum) override
 
virtual double SAL_CALL getImaginary (const OUString &aNum) override
 
virtual OUString SAL_CALL getImpower (const OUString &aNum, double fPower) override
 
virtual double SAL_CALL getImargument (const OUString &aNum) override
 
virtual OUString SAL_CALL getImcos (const OUString &aNum) override
 
virtual OUString SAL_CALL getImdiv (const OUString &aDivident, const OUString &aDivisor) override
 
virtual OUString SAL_CALL getImexp (const OUString &aNum) override
 
virtual OUString SAL_CALL getImconjugate (const OUString &aNum) override
 
virtual OUString SAL_CALL getImln (const OUString &aNum) override
 
virtual OUString SAL_CALL getImlog10 (const OUString &aNum) override
 
virtual OUString SAL_CALL getImlog2 (const OUString &aNum) override
 
virtual OUString SAL_CALL getImproduct (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const css::uno::Sequence< css::uno::Sequence< OUString > > &aNum1, const css::uno::Sequence< css::uno::Any > &aNumList) override
 
virtual double SAL_CALL getImreal (const OUString &aNum) override
 
virtual OUString SAL_CALL getImsin (const OUString &aNum) override
 
virtual OUString SAL_CALL getImsub (const OUString &aNum1, const OUString &aNum2) override
 
virtual OUString SAL_CALL getImsum (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const css::uno::Sequence< css::uno::Sequence< OUString > > &aNum1, const css::uno::Sequence< css::uno::Any > &aFollowingPars) override
 
virtual OUString SAL_CALL getImsqrt (const OUString &aNum) override
 
virtual OUString SAL_CALL getImtan (const OUString &aNum) override
 
virtual OUString SAL_CALL getImsec (const OUString &aNum) override
 
virtual OUString SAL_CALL getImcsc (const OUString &aNum) override
 
virtual OUString SAL_CALL getImcot (const OUString &aNum) override
 
virtual OUString SAL_CALL getImsinh (const OUString &aNum) override
 
virtual OUString SAL_CALL getImcosh (const OUString &aNum) override
 
virtual OUString SAL_CALL getImsech (const OUString &aNum) override
 
virtual OUString SAL_CALL getImcsch (const OUString &aNum) override
 
virtual OUString SAL_CALL getComplex (double fReal, double fImaginary, const css::uno::Any &rSuffix) override
 
virtual double SAL_CALL getConvert (double fVal, const OUString &aFromUnit, const OUString &aToUnit) override
 
virtual double SAL_CALL getAmordegrc (const css::uno::Reference< css::beans::XPropertySet > &, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, double fRestVal, double fPer, double fRate, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getAmorlinc (const css::uno::Reference< css::beans::XPropertySet > &, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, double fRestVal, double fPer, double fRate, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getAccrint (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nIssue, sal_Int32 nFirstInter, sal_Int32 nSettle, double fRate, const css::uno::Any &rVal, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getAccrintm (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nIssue, sal_Int32 nSettle, double fRate, const css::uno::Any &rVal, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getReceived (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fInvest, double fDisc, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getDisc (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getDuration (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getEffect (double fNominal, sal_Int32 nPeriods) override
 
virtual double SAL_CALL getCumprinc (double fRate, sal_Int32 nNumPeriods, double fVal, sal_Int32 nStartPer, sal_Int32 nEndPer, sal_Int32 nPayType) override
 
virtual double SAL_CALL getCumipmt (double fRate, sal_Int32 nNumPeriods, double fVal, sal_Int32 nStartPer, sal_Int32 nEndPer, sal_Int32 nPayType) override
 
virtual double SAL_CALL getPrice (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getPricedisc (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fDisc, double fRedemp, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getPricemat (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fYield, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getMduration (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getNominal (double fRate, sal_Int32 nPeriods) override
 
virtual double SAL_CALL getDollarfr (double fDollarDec, sal_Int32 nFrac) override
 
virtual double SAL_CALL getDollarde (double fDollarFrac, sal_Int32 nFrac) override
 
virtual double SAL_CALL getYield (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getYielddisc (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getYieldmat (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fPrice, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getTbilleq (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fDisc) override
 
virtual double SAL_CALL getTbillprice (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fDisc) override
 
virtual double SAL_CALL getTbillyield (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fPrice) override
 
virtual double SAL_CALL getOddfprice (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, sal_Int32 nFirstCoup, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getOddfyield (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, sal_Int32 nFirstCoup, double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getOddlprice (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nLastInterest, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getOddlyield (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nLastInterest, double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getXirr (const css::uno::Reference< css::beans::XPropertySet > &xOpt, const css::uno::Sequence< css::uno::Sequence< double > > &rValues, const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &rDates, const css::uno::Any &rGuess) override
 
virtual double SAL_CALL getXnpv (double fRate, const css::uno::Sequence< css::uno::Sequence< double > > &rValues, const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &rDates) override
 
virtual double SAL_CALL getIntrate (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fInvest, double fRedemp, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getCoupncd (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getCoupdays (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getCoupdaysnc (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getCoupdaybs (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getCouppcd (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getCoupnum (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const css::uno::Any &rOptBase) override
 
virtual double SAL_CALL getFvschedule (double fPrinc, const css::uno::Sequence< css::uno::Sequence< double > > &rSchedule) override
 

Private Member Functions

OUString GetFuncDescrStr (const TranslateId *pResId, sal_uInt16 nStrIndex)
 
void InitDefLocales ()
 
const css::lang::Locale & GetLocale (sal_uInt32 nInd)
 
void InitData ()
 
sal_Int32 getDateMode (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const css::uno::Any &rAny)
 Converts an Any to sal_Int32 in the range from 0 to 4 (date calculation mode). More...
 

Private Attributes

css::lang::Locale aFuncLoc
 
std::unique_ptr< css::lang::Locale[]> pDefLocales
 
std::unique_ptr< sca::analysis::FuncDataListpFD
 
std::unique_ptr< double[]> pFactDoubles
 
std::unique_ptr< sca::analysis::ConvertDataListpCDL
 
std::locale aResLocale
 
sca::analysis::ScaAnyConverter aAnyConv
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 47 of file analysis.hxx.

Constructor & Destructor Documentation

◆ AnalysisAddIn()

AnalysisAddIn::AnalysisAddIn ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)
explicit

Definition at line 57 of file analysis.cxx.

References m_aMutex.

◆ ~AnalysisAddIn()

AnalysisAddIn::~AnalysisAddIn ( )
overridevirtual

Definition at line 63 of file analysis.cxx.

Member Function Documentation

◆ AnalysisResId()

OUString AnalysisAddIn::AnalysisResId ( TranslateId  aId)

Definition at line 1047 of file analysis.cxx.

References aResLocale, and Translate::get().

Referenced by getDisplayFunctionName(), and GetFuncDescrStr().

◆ FactDouble()

double AnalysisAddIn::FactDouble ( sal_Int32  nNum)
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

Definition at line 79 of file analysis.cxx.

References MAXFACTDOUBLE, and pFactDoubles.

Referenced by getFactdouble().

◆ getAccrint()

double SAL_CALL AnalysisAddIn::getAccrint ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nIssue,
sal_Int32  nFirstInter,
sal_Int32  nSettle,
double  fRate,
const css::uno::Any &  rVal,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getAccrintm()

double SAL_CALL AnalysisAddIn::getAccrintm ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nIssue,
sal_Int32  nSettle,
double  fRate,
const css::uno::Any &  rVal,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getAmordegrc()

double SAL_CALL AnalysisAddIn::getAmordegrc ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
double  fCost,
sal_Int32  nDate,
sal_Int32  nFirstPer,
double  fRestVal,
double  fPer,
double  fRate,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getAmorlinc()

double SAL_CALL AnalysisAddIn::getAmorlinc ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
double  fCost,
sal_Int32  nDate,
sal_Int32  nFirstPer,
double  fRestVal,
double  fPer,
double  fRate,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getArgumentDescription()

OUString SAL_CALL AnalysisAddIn::getArgumentDescription ( const OUString &  aProgrammaticFunctionName,
sal_Int32  nArgument 
)
overridevirtual

Definition at line 217 of file analysis.cxx.

References aName, GetFuncDescrStr(), and pFD.

◆ getBesseli()

double SAL_CALL AnalysisAddIn::getBesseli ( double  fNum,
sal_Int32  nOrder 
)
overridevirtual

Definition at line 629 of file analysis.cxx.

References sca::analysis::BesselI(), and finiteOrThrow().

◆ getBesselj()

double SAL_CALL AnalysisAddIn::getBesselj ( double  fNum,
sal_Int32  nOrder 
)
overridevirtual

Definition at line 635 of file analysis.cxx.

References sca::analysis::BesselJ(), and finiteOrThrow().

◆ getBesselk()

double SAL_CALL AnalysisAddIn::getBesselk ( double  fNum,
sal_Int32  nOrder 
)
overridevirtual

Definition at line 641 of file analysis.cxx.

References sca::analysis::BesselK(), and finiteOrThrow().

◆ getBessely()

double SAL_CALL AnalysisAddIn::getBessely ( double  fNum,
sal_Int32  nOrder 
)
overridevirtual

Definition at line 650 of file analysis.cxx.

References sca::analysis::BesselY(), and finiteOrThrow().

◆ getBin2Dec()

double SAL_CALL AnalysisAddIn::getBin2Dec ( const OUString &  aNum)
overridevirtual

Definition at line 675 of file analysis.cxx.

References sca::analysis::ConvertToDec(), finiteOrThrow(), and SCA_MAXPLACES.

◆ getBin2Hex()

OUString SAL_CALL AnalysisAddIn::getBin2Hex ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const OUString &  aNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getBin2Oct()

OUString SAL_CALL AnalysisAddIn::getBin2Oct ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const OUString &  aNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getCompatibilityNames()

uno::Sequence< sheet::LocalizedName > SAL_CALL AnalysisAddIn::getCompatibilityNames ( const OUString &  aProgrammaticName)
overridevirtual

Definition at line 307 of file analysis.cxx.

References GetLocale(), n, nCount, and pFD.

◆ getComplex()

OUString SAL_CALL AnalysisAddIn::getComplex ( double  fReal,
double  fImaginary,
const css::uno::Any &  rSuffix 
)
overridevirtual

Definition at line 1014 of file analysis.cxx.

References sca::analysis::Complex::GetString().

◆ getConvert()

double SAL_CALL AnalysisAddIn::getConvert ( double  fVal,
const OUString &  aFromUnit,
const OUString &  aToUnit 
)
overridevirtual

Definition at line 1038 of file analysis.cxx.

References finiteOrThrow(), and pCDL.

◆ getCoupdaybs()

double SAL_CALL AnalysisAddIn::getCoupdaybs ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getCoupdays()

double SAL_CALL AnalysisAddIn::getCoupdays ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getCoupdaysnc()

double SAL_CALL AnalysisAddIn::getCoupdaysnc ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getCoupncd()

double SAL_CALL AnalysisAddIn::getCoupncd ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getCoupnum()

double SAL_CALL AnalysisAddIn::getCoupnum ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getCouppcd()

double SAL_CALL AnalysisAddIn::getCouppcd ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getCumipmt()

double SAL_CALL AnalysisAddIn::getCumipmt ( double  fRate,
sal_Int32  nNumPeriods,
double  fVal,
sal_Int32  nStartPer,
sal_Int32  nEndPer,
sal_Int32  nPayType 
)
overridevirtual

Definition at line 162 of file financial.cxx.

References finiteOrThrow(), sca::analysis::GetFv(), sca::analysis::GetPmt(), and i.

◆ getCumprinc()

double SAL_CALL AnalysisAddIn::getCumprinc ( double  fRate,
sal_Int32  nNumPeriods,
double  fVal,
sal_Int32  nStartPer,
sal_Int32  nEndPer,
sal_Int32  nPayType 
)
overridevirtual

Definition at line 124 of file financial.cxx.

References finiteOrThrow(), sca::analysis::GetFv(), sca::analysis::GetPmt(), and i.

◆ getDateMode()

sal_Int32 AnalysisAddIn::getDateMode ( const css::uno::Reference< css::beans::XPropertySet > &  xPropSet,
const css::uno::Any &  rAny 
)
private

Converts an Any to sal_Int32 in the range from 0 to 4 (date calculation mode).

Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

Definition at line 67 of file analysis.cxx.

References aAnyConv, and sca::analysis::ScaAnyConverter::getInt32().

Referenced by getAccrint(), getAccrintm(), getAmordegrc(), getAmorlinc(), getCoupdaybs(), getCoupdays(), getCoupdaysnc(), getCoupncd(), getCoupnum(), getCouppcd(), getDisc(), getDuration(), getIntrate(), getMduration(), getOddfprice(), getOddfyield(), getOddlprice(), getOddlyield(), getPrice(), getPricedisc(), getPricemat(), getReceived(), getYearfrac(), getYield(), getYielddisc(), and getYieldmat().

◆ getDec2Bin()

OUString SAL_CALL AnalysisAddIn::getDec2Bin ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  fNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getDec2Hex()

OUString SAL_CALL AnalysisAddIn::getDec2Hex ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
double  fNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getDec2Oct()

OUString SAL_CALL AnalysisAddIn::getDec2Oct ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  fNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getDelta()

sal_Int32 SAL_CALL AnalysisAddIn::getDelta ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
double  fNum1,
const css::uno::Any &  rNum2 
)
overridevirtual

Definition at line 754 of file analysis.cxx.

References aAnyConv, and sca::analysis::ScaAnyConverter::getDouble().

◆ getDisc()

double SAL_CALL AnalysisAddIn::getDisc ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fPrice,
double  fRedemp,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 91 of file financial.cxx.

References finiteOrThrow(), getDateMode(), and GetYearFrac.

◆ getDisplayArgumentName()

OUString SAL_CALL AnalysisAddIn::getDisplayArgumentName ( const OUString &  aProgrammaticFunctionName,
sal_Int32  nArgument 
)
overridevirtual

Definition at line 200 of file analysis.cxx.

References aName, GetFuncDescrStr(), and pFD.

◆ getDisplayCategoryName()

OUString SAL_CALL AnalysisAddIn::getDisplayCategoryName ( const OUString &  aProgrammaticFunctionName)
overridevirtual

Definition at line 259 of file analysis.cxx.

References pDefCatName, and pFD.

◆ getDisplayFunctionName()

OUString SAL_CALL AnalysisAddIn::getDisplayFunctionName ( const OUString &  aProgrammaticName)
overridevirtual

Definition at line 164 of file analysis.cxx.

References AnalysisResId(), and pFD.

◆ getDollarde()

double SAL_CALL AnalysisAddIn::getDollarde ( double  fDollarFrac,
sal_Int32  nFrac 
)
overridevirtual

Definition at line 288 of file financial.cxx.

References finiteOrThrow().

◆ getDollarfr()

double SAL_CALL AnalysisAddIn::getDollarfr ( double  fDollarDec,
sal_Int32  nFrac 
)
overridevirtual

Definition at line 268 of file financial.cxx.

References finiteOrThrow().

◆ getDuration()

double SAL_CALL AnalysisAddIn::getDuration ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fCoup,
double  fYield,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 101 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetDuration, GetNullDate, and isFreqInvalid().

◆ getEdate()

sal_Int32 SAL_CALL AnalysisAddIn::getEdate ( const css::uno::Reference< css::beans::XPropertySet > &  ,
sal_Int32  nStartDate,
sal_Int32  nMonths 
)
overridevirtual

◆ getEffect()

double SAL_CALL AnalysisAddIn::getEffect ( double  fNominal,
sal_Int32  nPeriods 
)
overridevirtual

Definition at line 112 of file financial.cxx.

References finiteOrThrow().

◆ getEomonth()

sal_Int32 SAL_CALL AnalysisAddIn::getEomonth ( const css::uno::Reference< css::beans::XPropertySet > &  ,
sal_Int32  nStartDate,
sal_Int32  nMonths 
)
overridevirtual

Definition at line 415 of file analysis.cxx.

References DateToDays, DaysInMonth, DaysToDate, and GetNullDate.

◆ getErf()

double SAL_CALL AnalysisAddIn::getErf ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
double  fLowerLimit,
const css::uno::Any &  rUpperLimit 
)
overridevirtual

◆ getErfc()

double SAL_CALL AnalysisAddIn::getErfc ( double  fLowerLimit)
overridevirtual

Definition at line 768 of file analysis.cxx.

References sca::analysis::Erfc(), and finiteOrThrow().

◆ getFactdouble()

double SAL_CALL AnalysisAddIn::getFactdouble ( sal_Int32  nNum)
overridevirtual

Definition at line 779 of file analysis.cxx.

References FactDouble(), and finiteOrThrow().

◆ GetFuncDescrStr()

OUString AnalysisAddIn::GetFuncDescrStr ( const TranslateId pResId,
sal_uInt16  nStrIndex 
)
private
Exceptions
css::uno::RuntimeException

Definition at line 42 of file analysis.cxx.

References AnalysisResId().

Referenced by getArgumentDescription(), getDisplayArgumentName(), and getFunctionDescription().

◆ getFunctionDescription()

OUString SAL_CALL AnalysisAddIn::getFunctionDescription ( const OUString &  aProgrammaticName)
overridevirtual

Definition at line 189 of file analysis.cxx.

References GetFuncDescrStr(), and pFD.

◆ getFvschedule()

double SAL_CALL AnalysisAddIn::getFvschedule ( double  fPrinc,
const css::uno::Sequence< css::uno::Sequence< double > > &  rSchedule 
)
overridevirtual

◆ getGcd()

double SAL_CALL AnalysisAddIn::getGcd ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const css::uno::Sequence< css::uno::Sequence< double > > &  aVLst,
const css::uno::Sequence< css::uno::Any > &  aOptVLst 
)
overridevirtual

◆ getGestep()

sal_Int32 SAL_CALL AnalysisAddIn::getGestep ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
double  fNum,
const css::uno::Any &  rStep 
)
overridevirtual

Definition at line 774 of file analysis.cxx.

References aAnyConv, and sca::analysis::ScaAnyConverter::getDouble().

◆ getHex2Bin()

OUString SAL_CALL AnalysisAddIn::getHex2Bin ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const OUString &  aNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getHex2Dec()

double SAL_CALL AnalysisAddIn::getHex2Dec ( const OUString &  aNum)
overridevirtual

Definition at line 740 of file analysis.cxx.

References sca::analysis::ConvertToDec(), finiteOrThrow(), and SCA_MAXPLACES.

◆ getHex2Oct()

OUString SAL_CALL AnalysisAddIn::getHex2Oct ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const OUString &  aNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getImabs()

double SAL_CALL AnalysisAddIn::getImabs ( const OUString &  aNum)
overridevirtual

Definition at line 785 of file analysis.cxx.

References sca::analysis::Complex::Abs(), and finiteOrThrow().

◆ getImaginary()

double SAL_CALL AnalysisAddIn::getImaginary ( const OUString &  aNum)
overridevirtual

Definition at line 791 of file analysis.cxx.

References finiteOrThrow(), and sca::analysis::Complex::Imag().

◆ getImargument()

double SAL_CALL AnalysisAddIn::getImargument ( const OUString &  aNum)
overridevirtual

Definition at line 806 of file analysis.cxx.

References sca::analysis::Complex::Arg(), and finiteOrThrow().

◆ getImconjugate()

OUString SAL_CALL AnalysisAddIn::getImconjugate ( const OUString &  aNum)
overridevirtual

Definition at line 839 of file analysis.cxx.

References z.

◆ getImcos()

OUString SAL_CALL AnalysisAddIn::getImcos ( const OUString &  aNum)
overridevirtual

Definition at line 812 of file analysis.cxx.

References z.

◆ getImcosh()

OUString SAL_CALL AnalysisAddIn::getImcosh ( const OUString &  aNum)
overridevirtual

Definition at line 987 of file analysis.cxx.

References z.

◆ getImcot()

OUString SAL_CALL AnalysisAddIn::getImcot ( const OUString &  aNum)
overridevirtual

Definition at line 969 of file analysis.cxx.

References z.

◆ getImcsc()

OUString SAL_CALL AnalysisAddIn::getImcsc ( const OUString &  aNum)
overridevirtual

Definition at line 960 of file analysis.cxx.

References z.

◆ getImcsch()

OUString SAL_CALL AnalysisAddIn::getImcsch ( const OUString &  aNum)
overridevirtual

Definition at line 1005 of file analysis.cxx.

References z.

◆ getImdiv()

OUString SAL_CALL AnalysisAddIn::getImdiv ( const OUString &  aDivident,
const OUString &  aDivisor 
)
overridevirtual

Definition at line 821 of file analysis.cxx.

References z.

◆ getImexp()

OUString SAL_CALL AnalysisAddIn::getImexp ( const OUString &  aNum)
overridevirtual

Definition at line 830 of file analysis.cxx.

References z.

◆ getImln()

OUString SAL_CALL AnalysisAddIn::getImln ( const OUString &  aNum)
overridevirtual

Definition at line 848 of file analysis.cxx.

References z.

◆ getImlog10()

OUString SAL_CALL AnalysisAddIn::getImlog10 ( const OUString &  aNum)
overridevirtual

Definition at line 857 of file analysis.cxx.

References z.

◆ getImlog2()

OUString SAL_CALL AnalysisAddIn::getImlog2 ( const OUString &  aNum)
overridevirtual

Definition at line 866 of file analysis.cxx.

References z.

◆ getImplementationName()

OUString SAL_CALL AnalysisAddIn::getImplementationName ( )
overridevirtual

Definition at line 127 of file analysis.cxx.

References MY_IMPLNAME.

◆ getImpower()

OUString SAL_CALL AnalysisAddIn::getImpower ( const OUString &  aNum,
double  fPower 
)
overridevirtual

Definition at line 797 of file analysis.cxx.

References z.

◆ getImproduct()

OUString SAL_CALL AnalysisAddIn::getImproduct ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const css::uno::Sequence< css::uno::Sequence< OUString > > &  aNum1,
const css::uno::Sequence< css::uno::Any > &  aNumList 
)
overridevirtual

◆ getImreal()

double SAL_CALL AnalysisAddIn::getImreal ( const OUString &  aNum)
overridevirtual

Definition at line 892 of file analysis.cxx.

References finiteOrThrow(), and sca::analysis::Complex::Real().

◆ getImsec()

OUString SAL_CALL AnalysisAddIn::getImsec ( const OUString &  aNum)
overridevirtual

Definition at line 951 of file analysis.cxx.

References z.

◆ getImsech()

OUString SAL_CALL AnalysisAddIn::getImsech ( const OUString &  aNum)
overridevirtual

Definition at line 996 of file analysis.cxx.

References z.

◆ getImsin()

OUString SAL_CALL AnalysisAddIn::getImsin ( const OUString &  aNum)
overridevirtual

Definition at line 898 of file analysis.cxx.

References z.

◆ getImsinh()

OUString SAL_CALL AnalysisAddIn::getImsinh ( const OUString &  aNum)
overridevirtual

Definition at line 978 of file analysis.cxx.

References z.

◆ getImsqrt()

OUString SAL_CALL AnalysisAddIn::getImsqrt ( const OUString &  aNum)
overridevirtual

Definition at line 933 of file analysis.cxx.

References z.

◆ getImsub()

OUString SAL_CALL AnalysisAddIn::getImsub ( const OUString &  aNum1,
const OUString &  aNum2 
)
overridevirtual

Definition at line 907 of file analysis.cxx.

References z.

◆ getImsum()

OUString SAL_CALL AnalysisAddIn::getImsum ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const css::uno::Sequence< css::uno::Sequence< OUString > > &  aNum1,
const css::uno::Sequence< css::uno::Any > &  aFollowingPars 
)
overridevirtual

◆ getImtan()

OUString SAL_CALL AnalysisAddIn::getImtan ( const OUString &  aNum)
overridevirtual

Definition at line 942 of file analysis.cxx.

References z.

◆ getIntrate()

double SAL_CALL AnalysisAddIn::getIntrate ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fInvest,
double  fRedemp,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 603 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, and GetYearDiff.

◆ getIseven()

sal_Int32 SAL_CALL AnalysisAddIn::getIseven ( sal_Int32  nVal)
overridevirtual

Definition at line 478 of file analysis.cxx.

◆ getIsodd()

sal_Int32 SAL_CALL AnalysisAddIn::getIsodd ( sal_Int32  nVal)
overridevirtual

Definition at line 483 of file analysis.cxx.

◆ getLcm()

double SAL_CALL AnalysisAddIn::getLcm ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const css::uno::Sequence< css::uno::Sequence< double > > &  aVLst,
const css::uno::Sequence< css::uno::Any > &  aOptVLst 
)
overridevirtual

◆ getLocale()

lang::Locale SAL_CALL AnalysisAddIn::getLocale ( )
overridevirtual

Definition at line 150 of file analysis.cxx.

References aFuncLoc.

◆ GetLocale()

const lang::Locale & AnalysisAddIn::GetLocale ( sal_uInt32  nInd)
inlineprivate

Definition at line 296 of file analysis.cxx.

References aFuncLoc, InitDefLocales(), nNumOfLoc, and pDefLocales.

Referenced by getCompatibilityNames().

◆ getMduration()

double SAL_CALL AnalysisAddIn::getMduration ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fCoup,
double  fYield,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 245 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetDuration, GetNullDate, and isFreqInvalid().

◆ getMround()

double SAL_CALL AnalysisAddIn::getMround ( double  fNum,
double  fMult 
)
overridevirtual

Definition at line 553 of file analysis.cxx.

References finiteOrThrow().

◆ getMultinomial()

double SAL_CALL AnalysisAddIn::getMultinomial ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &  aVLst,
const css::uno::Sequence< css::uno::Any > &  aOptVLst 
)
overridevirtual

◆ getNetworkdays()

sal_Int32 SAL_CALL AnalysisAddIn::getNetworkdays ( const css::uno::Reference< css::beans::XPropertySet > &  ,
sal_Int32  nStartDate,
sal_Int32  nEndDate,
const css::uno::Any &  aHDay 
)
overridevirtual

◆ getNominal()

double SAL_CALL AnalysisAddIn::getNominal ( double  fRate,
sal_Int32  nPeriods 
)
overridevirtual

Definition at line 257 of file financial.cxx.

References finiteOrThrow().

◆ getOct2Bin()

OUString SAL_CALL AnalysisAddIn::getOct2Bin ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const OUString &  aNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getOct2Dec()

double SAL_CALL AnalysisAddIn::getOct2Dec ( const OUString &  aNum)
overridevirtual

Definition at line 697 of file analysis.cxx.

References sca::analysis::ConvertToDec(), finiteOrThrow(), and SCA_MAXPLACES.

◆ getOct2Hex()

OUString SAL_CALL AnalysisAddIn::getOct2Hex ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const OUString &  aNum,
const css::uno::Any &  rPlaces 
)
overridevirtual

◆ getOddfprice()

SAL_WNOUNREACHABLE_CODE_PUSH double SAL_CALL AnalysisAddIn::getOddfprice ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nIssue,
sal_Int32  nFirstCoup,
double  fRate,
double  fYield,
double  fRedemp,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getOddfyield()

SAL_WNOUNREACHABLE_CODE_POP SAL_WNOUNREACHABLE_CODE_PUSH double SAL_CALL AnalysisAddIn::getOddfyield ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nIssue,
sal_Int32  nFirstCoup,
double  fRate,
double  fPrice,
double  fRedemp,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getOddlprice()

SAL_WNOUNREACHABLE_CODE_POP double SAL_CALL AnalysisAddIn::getOddlprice ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nLastInterest,
double  fRate,
double  fYield,
double  fRedemp,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 432 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, GetOddlprice, and isFreqInvalid().

◆ getOddlyield()

double SAL_CALL AnalysisAddIn::getOddlyield ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nLastInterest,
double  fRate,
double  fPrice,
double  fRedemp,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 445 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, GetOddlyield, and isFreqInvalid().

◆ getPrice()

double SAL_CALL AnalysisAddIn::getPrice ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fRate,
double  fYield,
double  fRedemp,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

◆ getPricedisc()

double SAL_CALL AnalysisAddIn::getPricedisc ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fDisc,
double  fRedemp,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 212 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, and GetYearDiff.

◆ getPricemat()

double SAL_CALL AnalysisAddIn::getPricemat ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nIssue,
double  fRate,
double  fYield,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 223 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, and GetYearFrac.

◆ getProgrammaticCategoryName()

OUString SAL_CALL AnalysisAddIn::getProgrammaticCategoryName ( const OUString &  aProgrammaticFunctionName)
overridevirtual

Definition at line 236 of file analysis.cxx.

References aName, pDefCatName, and pFD.

◆ getProgrammaticFuntionName()

OUString SAL_CALL AnalysisAddIn::getProgrammaticFuntionName ( const OUString &  aDisplayName)
overridevirtual

Definition at line 156 of file analysis.cxx.

◆ getQuotient()

double SAL_CALL AnalysisAddIn::getQuotient ( double  fNum,
double  fDenum 
)
overridevirtual

Definition at line 543 of file analysis.cxx.

References finiteOrThrow().

◆ getRandbetween()

double SAL_CALL AnalysisAddIn::getRandbetween ( double  fMin,
double  fMax 
)
overridevirtual

Definition at line 568 of file analysis.cxx.

References finiteOrThrow(), and comphelper::rng::uniform_real_distribution().

◆ getReceived()

double SAL_CALL AnalysisAddIn::getReceived ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fInvest,
double  fDisc,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 80 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, and GetYearDiff.

◆ getSeriessum()

double SAL_CALL AnalysisAddIn::getSeriessum ( double  fX,
double  fN,
double  fM,
const css::uno::Sequence< css::uno::Sequence< double > > &  aCoeffList 
)
overridevirtual

Definition at line 519 of file analysis.cxx.

References finiteOrThrow().

◆ getServiceName()

OUString SAL_CALL AnalysisAddIn::getServiceName ( )
overridevirtual

Definition at line 120 of file analysis.cxx.

References MY_SERVICE.

◆ getSqrtpi()

double SAL_CALL AnalysisAddIn::getSqrtpi ( double  fNum)
overridevirtual

Definition at line 562 of file analysis.cxx.

References finiteOrThrow().

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL AnalysisAddIn::getSupportedServiceNames ( )
overridevirtual

Definition at line 137 of file analysis.cxx.

References ADDIN_SERVICE, and MY_SERVICE.

◆ getTbilleq()

double SAL_CALL AnalysisAddIn::getTbilleq ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fDisc 
)
overridevirtual

Definition at line 345 of file financial.cxx.

References finiteOrThrow(), and GetDiffDate360.

◆ getTbillprice()

double SAL_CALL AnalysisAddIn::getTbillprice ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fDisc 
)
overridevirtual

Definition at line 360 of file financial.cxx.

References finiteOrThrow(), GetYearFrac, and o3tl::temporary().

◆ getTbillyield()

double SAL_CALL AnalysisAddIn::getTbillyield ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fPrice 
)
overridevirtual

Definition at line 378 of file financial.cxx.

References finiteOrThrow(), and GetDiffDate360.

◆ getWeeknum()

sal_Int32 SAL_CALL AnalysisAddIn::getWeeknum ( const css::uno::Reference< css::beans::XPropertySet > &  ,
sal_Int32  nStartDate,
sal_Int32  nMode 
)
overridevirtual

Definition at line 402 of file analysis.cxx.

References DateToDays, DaysToDate, sca::analysis::GetDayOfWeek(), and GetNullDate.

◆ getWorkday()

sal_Int32 SAL_CALL AnalysisAddIn::getWorkday ( const css::uno::Reference< css::beans::XPropertySet > &  ,
sal_Int32  nStartDate,
sal_Int32  nDays,
const css::uno::Any &  aHDay 
)
overridevirtual

◆ getXirr()

double SAL_CALL AnalysisAddIn::getXirr ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const css::uno::Sequence< css::uno::Sequence< double > > &  rValues,
const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &  rDates,
const css::uno::Any &  rGuess 
)
overridevirtual

◆ getXnpv()

double SAL_CALL AnalysisAddIn::getXnpv ( double  fRate,
const css::uno::Sequence< css::uno::Sequence< double > > &  rValues,
const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &  rDates 
)
overridevirtual

◆ getYearfrac()

double SAL_CALL AnalysisAddIn::getYearfrac ( const css::uno::Reference< css::beans::XPropertySet > &  ,
sal_Int32  nStartDate,
sal_Int32  nEndDate,
const css::uno::Any &  aMode 
)
overridevirtual

Yearfrac.

Definition at line 387 of file analysis.cxx.

References finiteOrThrow(), getDateMode(), and GetYearFrac.

◆ getYield()

double SAL_CALL AnalysisAddIn::getYield ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fCoup,
double  fPrice,
double  fRedemp,
sal_Int32  nFreq,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 308 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, getYield_, and isFreqInvalid().

◆ getYielddisc()

double SAL_CALL AnalysisAddIn::getYielddisc ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
double  fPrice,
double  fRedemp,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 319 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, and GetYearFrac.

◆ getYieldmat()

double SAL_CALL AnalysisAddIn::getYieldmat ( const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
sal_Int32  nSettle,
sal_Int32  nMat,
sal_Int32  nIssue,
double  fRate,
double  fPrice,
const css::uno::Any &  rOptBase 
)
overridevirtual

Definition at line 334 of file financial.cxx.

References finiteOrThrow(), getDateMode(), GetNullDate, and GetYieldmat.

◆ InitData()

void AnalysisAddIn::InitData ( )
private

Definition at line 47 of file analysis.cxx.

References aFuncLoc, aResLocale, Translate::Create(), sca::analysis::InitFuncDataList(), pDefLocales, and pFD.

Referenced by setLocale().

◆ InitDefLocales()

void AnalysisAddIn::InitDefLocales ( )
private

Definition at line 285 of file analysis.cxx.

References n, nNumOfLoc, pCoun, pDefLocales, and pLang.

Referenced by GetLocale().

◆ setLocale()

void SAL_CALL AnalysisAddIn::setLocale ( const css::lang::Locale &  eLocale)
overridevirtual

Definition at line 143 of file analysis.cxx.

References aFuncLoc, and InitData().

◆ supportsService()

sal_Bool SAL_CALL AnalysisAddIn::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 132 of file analysis.cxx.

References aName, and cppu::supportsService().

Member Data Documentation

◆ aAnyConv

sca::analysis::ScaAnyConverter AnalysisAddIn::aAnyConv
private

◆ aFuncLoc

css::lang::Locale AnalysisAddIn::aFuncLoc
private

Definition at line 50 of file analysis.hxx.

Referenced by getLocale(), GetLocale(), InitData(), and setLocale().

◆ aResLocale

std::locale AnalysisAddIn::aResLocale
private

Definition at line 55 of file analysis.hxx.

Referenced by AnalysisResId(), and InitData().

◆ pCDL

std::unique_ptr<sca::analysis::ConvertDataList> AnalysisAddIn::pCDL
private

Definition at line 54 of file analysis.hxx.

Referenced by getConvert().

◆ pDefLocales

std::unique_ptr<css::lang::Locale[]> AnalysisAddIn::pDefLocales
private

Definition at line 51 of file analysis.hxx.

Referenced by GetLocale(), InitData(), and InitDefLocales().

◆ pFactDoubles

std::unique_ptr<double[]> AnalysisAddIn::pFactDoubles
private

Definition at line 53 of file analysis.hxx.

Referenced by FactDouble().

◆ pFD

std::unique_ptr<sca::analysis::FuncDataList> AnalysisAddIn::pFD
private

The documentation for this class was generated from the following files: