LibreOffice Module scaddins (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
analysishelper.hxx File Reference
#include <com/sun/star/uno/Reference.hxx>
#include <unotools/resmgr.hxx>
#include <cmath>
#include <memory>
#include <vector>
Include dependency graph for analysishelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sca::analysis::FuncDataBase
 
class  sca::analysis::FuncData
 
struct  sca::analysis::FindFuncData
 
class  sca::analysis::SortedIndividualInt32List
 sorted list with unique sal_Int32 values More...
 
class  sca::analysis::ScaDoubleList
 
class  sca::analysis::ScaDoubleListGT0
 stores double values >0.0, throws exception for double values <0.0, does nothing for 0.0 More...
 
class  sca::analysis::ScaDoubleListGE0
 stores double values >=0.0, throws exception for double values <0.0 More...
 
class  sca::analysis::Complex
 
class  sca::analysis::ComplexList
 
class  sca::analysis::ConvertData
 
class  sca::analysis::ConvertDataLinear
 
class  sca::analysis::ConvertDataList
 
class  sca::analysis::ScaDate
 Helper class for date calculation for various financial functions. More...
 
class  sca::analysis::ScaAnyConverter
 Helper class for Any->double conversion, using current language settings. More...
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::beans
 
namespace  com::sun::star::uno
 
namespace  com::sun::star::util
 
namespace  sca
 
namespace  sca::analysis
 

Macros

#define INV_MATCHLEV   1764
 

Typedefs

typedef std::vector< FuncData > sca::analysis::FuncDataList
 

Enumerations

enum class  sca::analysis::FDCategory {
  sca::analysis::DateTime ,
  sca::analysis::Finance ,
  sca::analysis::Inf ,
  sca::analysis::Math ,
  sca::analysis::Tech
}
 
enum  sca::analysis::ConvertDataClass {
  sca::analysis::CDC_Mass ,
  sca::analysis::CDC_Length ,
  sca::analysis::CDC_Time ,
  sca::analysis::CDC_Pressure ,
  sca::analysis::CDC_Force ,
  sca::analysis::CDC_Energy ,
  sca::analysis::CDC_Power ,
  sca::analysis::CDC_Magnetism ,
  sca::analysis::CDC_Temperature ,
  sca::analysis::CDC_Volume ,
  sca::analysis::CDC_Area ,
  sca::analysis::CDC_Speed ,
  sca::analysis::CDC_Information
}
 

Functions

bool sca::analysis::IsLeapYear (sal_uInt16 nYear)
 
sal_uInt16 sca::analysis::DaysInMonth (sal_uInt16 nMonth, sal_uInt16 nYear)
 
sal_Int32 sca::analysis::DateToDays (sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear)
 Convert a date to a count of days starting from 01/01/0001. More...
 
void sca::analysis::DaysToDate (sal_Int32 nDays, sal_uInt16 &rDay, sal_uInt16 &rMonth, sal_uInt16 &rYear)
 Convert a count of days starting from 01/01/0001 to a date. More...
 
sal_Int32 sca::analysis::GetNullDate (const css::uno::Reference< css::beans::XPropertySet > &xOptions)
 
sal_Int32 sca::analysis::GetDiffDate360 (sal_uInt16 nDay1, sal_uInt16 nMonth1, sal_uInt16 nYear1, bool bLeapYear1, sal_uInt16 nDay2, sal_uInt16 nMonth2, sal_uInt16 nYear2, bool bUSAMethod)
 
sal_Int32 sca::analysis::GetDiffDate360 (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nDate1, sal_Int32 nDate2, bool bUSAMethod)
 
sal_Int32 sca::analysis::GetDiffDate360 (sal_Int32 nNullDate, sal_Int32 nDate1, sal_Int32 nDate2, bool bUSAMethod)
 
sal_Int32 sca::analysis::GetDaysInYears (sal_uInt16 nYear1, sal_uInt16 nYear2)
 
sal_Int16 sca::analysis::GetDayOfWeek (sal_Int32 nDate)
 
sal_Int32 sca::analysis::GetDiffDate (sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMode, sal_Int32 *pOptDaysIn1stYear)
 
double sca::analysis::GetYearDiff (sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMode)
 
sal_Int32 sca::analysis::GetDaysInYear (sal_Int32 nNullDate, sal_Int32 nDate, sal_Int32 nMode)
 
double sca::analysis::GetYearFrac (sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMode)
 Function GetYearFrac implements YEARFRAC as defined in: Open Document Format for Office Applications version 1.2 Part 2, par. More...
 
double sca::analysis::GetYearFrac (const css::uno::Reference< css::beans::XPropertySet > &xOpt, sal_Int32 nStartDate, sal_Int32 nEndDate, sal_Int32 nMode)
 
double sca::analysis::BinomialCoefficient (double n, double k)
 
double sca::analysis::GetGcd (double f1, double f2)
 
double sca::analysis::ConvertToDec (const OUString &aStr, sal_uInt16 nBase, sal_uInt16 nCharLim)
 
OUString sca::analysis::ConvertFromDec (double fNum, double fMin, double fMax, sal_uInt16 nBase, sal_Int32 nPlaces, sal_Int32 nMaxPlaces, bool bUsePlaces)
 
double sca::analysis::Erf (double x)
 
double sca::analysis::Erfc (double x)
 
bool sca::analysis::ParseDouble (const sal_Unicode *&rp, double &rRet)
 
OUString sca::analysis::GetString (double f, bool bLeadingSign, sal_uInt16 nMaxDig)
 
double sca::analysis::GetAmordegrc (sal_Int32 nNullDate, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, double fRestVal, double fPer, double fRate, sal_Int32 nBase)
 
double sca::analysis::GetAmorlinc (sal_Int32 nNullDate, double fCost, sal_Int32 nDate, sal_Int32 nFirstPer, double fRestVal, double fPer, double fRate, sal_Int32 nBase)
 
double sca::analysis::GetDuration (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetYieldmat (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fPrice, sal_Int32 nBase)
 
double sca::analysis::GetOddfprice (sal_Int32, sal_Int32, sal_Int32, sal_Int32, sal_Int32, double, double, double, sal_Int32, sal_Int32)
 
double sca::analysis::getYield_ (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::getPrice_ (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetOddfyield (sal_Int32, sal_Int32, sal_Int32, sal_Int32, sal_Int32, double, double, double, sal_Int32, sal_Int32)
 
double sca::analysis::GetOddlprice (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nLastCoup, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetOddlyield (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nLastCoup, double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetPmt (double fRate, double fNper, double fPv, double fFv, sal_Int32 nPayType)
 
double sca::analysis::GetFv (double fRate, double fNper, double fPmt, double fPv, sal_Int32 nPayType)
 
double sca::analysis::GetCouppcd (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetCoupncd (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetCoupdaybs (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetCoupdaysnc (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetCoupnum (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase)
 
double sca::analysis::GetCoupdays (sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int32 nBase)
 
void sca::analysis::InitFuncDataList (FuncDataList &rList)
 

Macro Definition Documentation

◆ INV_MATCHLEV

#define INV_MATCHLEV   1764

Definition at line 495 of file analysishelper.hxx.