|
LibreOffice Module scaddins (master) 1
|
#include "datefunc.hxx"#include <datefunc.hrc>#include <strings.hrc>#include <com/sun/star/util/Date.hpp>#include <cppuhelper/factory.hxx>#include <cppuhelper/supportsservice.hxx>#include <cppuhelper/weak.hxx>#include <rtl/ustrbuf.hxx>#include <unotools/resmgr.hxx>#include <i18nlangtag/languagetag.hxx>#include <algorithm>#include <cmath>#include "deffuncname.hxx"Go to the source code of this file.
Macros | |
| #define | UNIQUE false |
| #define | STDPAR false |
| #define | INTPAR true |
| #define | FUNCDATA(FuncName, ParamCount, Category, Double, IntPar) { "get" #FuncName, DATE_FUNCNAME_##FuncName, DATE_FUNCDESC_##FuncName, DATE_DEFFUNCNAME_##FuncName, ParamCount, Category, Double, IntPar } |
Functions | |
| static void | InitScaFuncDataList (ScaFuncDataList &rList) |
| SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | scaddins_ScaDateAddIn_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
Variables | |
| constexpr OUStringLiteral | ADDIN_SERVICE = u"com.sun.star.sheet.AddIn" |
| constexpr OUStringLiteral | MY_SERVICE = u"com.sun.star.sheet.addin.DateFunctions" |
| constexpr OUStringLiteral | MY_IMPLNAME = u"com.sun.star.sheet.addin.DateFunctionsImpl" |
| const ScaFuncDataBase | pFuncDataArr [] |
| static const char * | pLang [] = { "de", "en" } |
| static const char * | pCoun [] = { "DE", "US" } |
| const sal_uInt32 | nNumOfLoc = SAL_N_ELEMENTS( pLang ) |
| #define FUNCDATA | ( | FuncName, | |
| ParamCount, | |||
| Category, | |||
| Double, | |||
| IntPar | |||
| ) | { "get" #FuncName, DATE_FUNCNAME_##FuncName, DATE_FUNCDESC_##FuncName, DATE_DEFFUNCNAME_##FuncName, ParamCount, Category, Double, IntPar } |
Definition at line 45 of file datefunc.cxx.
| #define INTPAR true |
Definition at line 43 of file datefunc.cxx.
| #define STDPAR false |
Definition at line 42 of file datefunc.cxx.
| #define UNIQUE false |
Definition at line 40 of file datefunc.cxx.
|
static |
Definition at line 82 of file datefunc.cxx.
References nIndex, and pFuncDataArr.
Referenced by ScaDateAddIn::InitData().
| SAL_DLLPUBLIC_EXPORT css::uno::XInterface * scaddins_ScaDateAddIn_get_implementation | ( | css::uno::XComponentContext * | , |
| css::uno::Sequence< css::uno::Any > const & | |||
| ) |
Definition at line 91 of file datefunc.cxx.
|
constexpr |
Definition at line 36 of file datefunc.cxx.
Referenced by ScaDateAddIn::getSupportedServiceNames().
|
constexpr |
Definition at line 38 of file datefunc.cxx.
Referenced by ScaDateAddIn::getImplementationName().
|
constexpr |
Definition at line 37 of file datefunc.cxx.
Referenced by ScaDateAddIn::getServiceName(), and ScaDateAddIn::getSupportedServiceNames().
| const sal_uInt32 nNumOfLoc = SAL_N_ELEMENTS( pLang ) |
Definition at line 105 of file datefunc.cxx.
Referenced by ScaDateAddIn::GetLocale(), and ScaDateAddIn::InitDefLocales().
|
static |
Definition at line 104 of file datefunc.cxx.
Referenced by ScaDateAddIn::InitDefLocales().
| const ScaFuncDataBase pFuncDataArr[] |
Definition at line 48 of file datefunc.cxx.
Referenced by InitScaFuncDataList().
|
static |
Definition at line 103 of file datefunc.cxx.
Referenced by ScaDateAddIn::InitDefLocales().