26#include <com/sun/star/lang/XServiceName.hpp>
27#include <com/sun/star/lang/XServiceInfo.hpp>
28#include <com/sun/star/sheet/XAddIn.hpp>
29#include <com/sun/star/sheet/XCompatibilityNames.hpp>
30#include <com/sun/star/sheet/addin/XDateFunctions.hpp>
31#include <com/sun/star/sheet/addin/XMiscFunctions.hpp>
80 bool Is( std::u16string_view rCompare )
const
101 css::sheet::XCompatibilityNames,
102 css::sheet::addin::XDateFunctions,
103 css::sheet::addin::XMiscFunctions,
104 css::lang::XServiceName,
105 css::lang::XServiceInfo >
115 const css::lang::Locale&
GetLocale( sal_uInt32 nIndex );
130 virtual OUString SAL_CALL
getDisplayArgumentName(
const OUString& aProgrammaticName, sal_Int32 nArgument )
override;
131 virtual OUString SAL_CALL
getArgumentDescription(
const OUString& aProgrammaticName, sal_Int32 nArgument )
override;
136 virtual css::uno::Sequence< css::sheet::LocalizedName > SAL_CALL
getCompatibilityNames(
const OUString& aProgrammaticName )
override;
139 virtual void SAL_CALL
setLocale(
const css::lang::Locale& eLocale )
override;
140 virtual css::lang::Locale SAL_CALL
getLocale()
override;
154 const css::uno::Reference< css::beans::XPropertySet >& xOptions,
155 sal_Int32 nEndDate, sal_Int32 nStartDate,
156 sal_Int32 nMode )
override;
159 const css::uno::Reference< css::beans::XPropertySet >& xOptions,
160 sal_Int32 nEndDate, sal_Int32 nStartDate,
161 sal_Int32 nMode )
override;
164 const css::uno::Reference< css::beans::XPropertySet >& xOptions,
165 sal_Int32 nEndDate, sal_Int32 nStartDate,
166 sal_Int32 nMode )
override;
169 const css::uno::Reference< css::beans::XPropertySet >& xOptions,
170 sal_Int32 nDate )
override;
173 const css::uno::Reference< css::beans::XPropertySet >& xOptions,
174 sal_Int32 nDate )
override;
177 const css::uno::Reference< css::beans::XPropertySet >& xOptions,
178 sal_Int32 nDate )
override;
181 const css::uno::Reference< css::beans::XPropertySet >& xOptions,
182 sal_Int32 nDate )
override;
186 const OUString& aSrcText )
override;
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL setLocale(const css::lang::Locale &eLocale) override
std::unique_ptr< ScaFuncDataList > pFuncDataList
OUString GetFuncDescrStr(const TranslateId *pResId, sal_uInt16 nStrIndex)
const css::lang::Locale & GetLocale(sal_uInt32 nIndex)
virtual sal_Int32 SAL_CALL getDaysInMonth(const css::uno::Reference< css::beans::XPropertySet > &xOptions, sal_Int32 nDate) override
Get the Number of Days in the month for a date.
virtual sal_Int32 SAL_CALL getDiffYears(const css::uno::Reference< css::beans::XPropertySet > &xOptions, sal_Int32 nEndDate, sal_Int32 nStartDate, sal_Int32 nMode) override
Get Year difference between 2 dates.
virtual sal_Int32 SAL_CALL getWeeksInYear(const css::uno::Reference< css::beans::XPropertySet > &xOptions, sal_Int32 nDate) override
Get number of weeks in the year for a date.
virtual OUString SAL_CALL getFunctionDescription(const OUString &aProgrammaticName) override
virtual css::uno::Sequence< css::sheet::LocalizedName > SAL_CALL getCompatibilityNames(const OUString &aProgrammaticName) override
virtual sal_Int32 SAL_CALL getDiffMonths(const css::uno::Reference< css::beans::XPropertySet > &xOptions, sal_Int32 nEndDate, sal_Int32 nStartDate, sal_Int32 nMode) override
Get month difference between 2 dates =Month(start, end, mode) Function for StarCalc.
virtual OUString SAL_CALL getProgrammaticFuntionName(const OUString &aDisplayName) override
css::lang::Locale aFuncLoc
virtual sal_Int32 SAL_CALL getIsLeapYear(const css::uno::Reference< css::beans::XPropertySet > &xOptions, sal_Int32 nDate) override
Check if a Date is in a leap year in the Gregorian calendar.
virtual sal_Int32 SAL_CALL getDiffWeeks(const css::uno::Reference< css::beans::XPropertySet > &xOptions, sal_Int32 nEndDate, sal_Int32 nStartDate, sal_Int32 nMode) override
Get week difference between 2 dates.
virtual OUString SAL_CALL getDisplayArgumentName(const OUString &aProgrammaticName, sal_Int32 nArgument) override
virtual OUString SAL_CALL getDisplayCategoryName(const OUString &aProgrammaticName) override
virtual OUString SAL_CALL getServiceName() override
virtual css::lang::Locale SAL_CALL getLocale() override
virtual OUString SAL_CALL getArgumentDescription(const OUString &aProgrammaticName, sal_Int32 nArgument) override
virtual OUString SAL_CALL getRot13(const OUString &aSrcText) override
Encrypt or decrypt a string using ROT13 algorithm.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
std::unique_ptr< css::lang::Locale[] > pDefLocales
OUString ScaResId(TranslateId aId)
virtual OUString SAL_CALL getDisplayFunctionName(const OUString &aProgrammaticName) override
virtual OUString SAL_CALL getImplementationName() override
virtual OUString SAL_CALL getProgrammaticCategoryName(const OUString &aProgrammaticName) override
virtual sal_Int32 SAL_CALL getDaysInYear(const css::uno::Reference< css::beans::XPropertySet > &xOptions, sal_Int32 nDate) override
Get number of days in the year of a date specified.
const TranslateId & GetUINameID() const
const TranslateId * pDescrID
ScaFuncData(const ScaFuncDataBase &rBaseData)
const std::vector< OUString > & GetCompNameList() const
const TranslateId * GetDescrID() const
ScaCategory GetCategory() const
bool Is(std::u16string_view rCompare) const
std::vector< OUString > aCompList
sal_uInt16 GetStrIndex(sal_uInt16 nParam) const
std::vector< ScaFuncData > ScaFuncDataList
FindScaFuncData(const OUString &rId)
bool operator()(ScaFuncData const &rCandidate) const
const TranslateId * pDescrID
const char ** pCompListID