LibreOffice Module sc (master) 1
|
Provides access to function info structs for all available sheet functions. More...
#include <formulabase.hxx>
Public Member Functions | |
FunctionProvider (bool bImportFilter) | |
virtual | ~FunctionProvider () |
FunctionProvider (FunctionProvider const &)=default | |
FunctionProvider (FunctionProvider &&)=default | |
FunctionProvider & | operator= (FunctionProvider const &)=delete |
FunctionProvider & | operator= (FunctionProvider &&)=delete |
const FunctionInfo * | getFuncInfoFromOoxFuncName (const OUString &rFuncName) const |
Returns the function info for an OOXML function name, or 0 on error. More... | |
const FunctionInfo * | getFuncInfoFromBiff12FuncId (sal_uInt16 nFuncId) const |
Returns the function info for a BIFF12 function index, or 0 on error. More... | |
const FunctionInfo * | getFuncInfoFromMacroName (const OUString &rFuncName) const |
Returns the function info for a macro function referred by the EXTERN.CALL function, or 0 on error. More... | |
Static Public Member Functions | |
static FunctionLibraryType | getFuncLibTypeFromLibraryName (std::u16string_view rLibraryName) |
Returns the library type associated with the passed URL of a function library (function add-in). More... | |
Protected Member Functions | |
const FunctionInfoVector & | getFuncs () const |
Returns the list of all function infos. More... | |
Private Types | |
typedef std::shared_ptr< FunctionProviderImpl > | FunctionProviderImplRef |
Private Attributes | |
FunctionProviderImplRef | mxFuncImpl |
Provides access to function info structs for all available sheet functions.
Definition at line 533 of file formulabase.hxx.
|
private |
Definition at line 563 of file formulabase.hxx.
|
explicit |
Definition at line 1078 of file formulabase.cxx.
References make_shared().
|
virtual |
Definition at line 1083 of file formulabase.cxx.
|
default |
|
default |
const FunctionInfo * oox::xls::FunctionProvider::getFuncInfoFromBiff12FuncId | ( | sal_uInt16 | nFuncId | ) | const |
Returns the function info for a BIFF12 function index, or 0 on error.
Definition at line 1092 of file formulabase.cxx.
References mxFuncImpl.
Referenced by oox::xls::FormulaParserImpl::pushBoolOperand().
const FunctionInfo * oox::xls::FunctionProvider::getFuncInfoFromMacroName | ( | const OUString & | rFuncName | ) | const |
Returns the function info for a macro function referred by the EXTERN.CALL function, or 0 on error.
Definition at line 1097 of file formulabase.cxx.
References mxFuncImpl.
Referenced by oox::xls::OpCodeProvider::getFuncInfoFromApiToken().
const FunctionInfo * oox::xls::FunctionProvider::getFuncInfoFromOoxFuncName | ( | const OUString & | rFuncName | ) | const |
Returns the function info for an OOXML function name, or 0 on error.
Definition at line 1087 of file formulabase.cxx.
References mxFuncImpl.
Referenced by oox::xls::OpCodeProvider::getFuncInfoFromApiToken(), oox::xls::FormulaParserImpl::pushExternalNameOperand(), oox::xls::FormulaParserImpl::resolveBadFuncName(), and oox::xls::OOXMLFormulaParserImpl::resolveBadFuncName().
|
static |
Returns the library type associated with the passed URL of a function library (function add-in).
Definition at line 1102 of file formulabase.cxx.
References o3tl::equalsIgnoreAsciiCase(), oox::xls::FUNCLIB_EUROTOOL, oox::xls::FUNCLIB_UNKNOWN, and u.
Referenced by oox::xls::OOXMLFormulaParserImpl::resolveBadFuncName(), and oox::xls::ExternalLink::setExternalTargetUrl().
|
protected |
Returns the list of all function infos.
Definition at line 1113 of file formulabase.cxx.
References mxFuncImpl.
|
delete |
|
delete |
|
private |
Definition at line 564 of file formulabase.hxx.
Referenced by getFuncInfoFromBiff12FuncId(), getFuncInfoFromMacroName(), getFuncInfoFromOoxFuncName(), and getFuncs().