LibreOffice Module sc (master) 1
|
Provides access to API op-codes for all available formula tokens and to function info structs for all available sheet functions. More...
#include <formulabase.hxx>
Public Member Functions | |
OpCodeProvider (const css::uno::Reference< css::lang::XMultiServiceFactory > &rxModelFactory, bool bImportFilter) | |
virtual | ~OpCodeProvider () override |
OpCodeProvider (OpCodeProvider const &)=default | |
OpCodeProvider (OpCodeProvider &&)=default | |
OpCodeProvider & | operator= (OpCodeProvider const &)=delete |
OpCodeProvider & | operator= (OpCodeProvider &&)=delete |
const ApiOpCodes & | getOpCodes () const |
Returns the structure containing all token op-codes for operators and special tokens used by the Calc document and its formula parser. More... | |
const FunctionInfo * | getFuncInfoFromApiToken (const ApiToken &rToken) const |
Returns the function info for an API token, or 0 on error. More... | |
css::uno::Sequence< css::sheet::FormulaOpCodeMapEntry > | getOoxParserMap () const |
Returns the op-code map that is used by the OOXML formula parser. More... | |
Public Member Functions inherited from oox::xls::FunctionProvider | |
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... | |
Private Types | |
typedef std::shared_ptr< OpCodeProviderImpl > | OpCodeProviderImplRef |
Private Attributes | |
OpCodeProviderImplRef | mxOpCodeImpl |
Additional Inherited Members | |
Static Public Member Functions inherited from oox::xls::FunctionProvider | |
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 inherited from oox::xls::FunctionProvider | |
const FunctionInfoVector & | getFuncs () const |
Returns the list of all function infos. More... | |
Provides access to API op-codes for all available formula tokens and to function info structs for all available sheet functions.
Definition at line 574 of file formulabase.hxx.
|
private |
Definition at line 598 of file formulabase.hxx.
|
explicit |
|
overridevirtual |
Definition at line 1408 of file formulabase.cxx.
|
default |
|
default |
const FunctionInfo * oox::xls::OpCodeProvider::getFuncInfoFromApiToken | ( | const ApiToken & | rToken | ) | const |
Returns the function info for an API token, or 0 on error.
Definition at line 1417 of file formulabase.cxx.
References oox::xls::FunctionProvider::getFuncInfoFromMacroName(), oox::xls::FunctionProvider::getFuncInfoFromOoxFuncName(), and mxOpCodeImpl.
Referenced by oox::xls::FormulaFinalizer::getExternCallInfo(), and oox::xls::FormulaFinalizer::getFunctionInfo().
Sequence< FormulaOpCodeMapEntry > oox::xls::OpCodeProvider::getOoxParserMap | ( | ) | const |
Returns the op-code map that is used by the OOXML formula parser.
Definition at line 1431 of file formulabase.cxx.
References comphelper::containerToSequence(), and mxOpCodeImpl.
Referenced by oox::xls::ApiParserWrapper::ApiParserWrapper(), and XclExpRoot::InitializeGlobals().
const ApiOpCodes & oox::xls::OpCodeProvider::getOpCodes | ( | ) | const |
Returns the structure containing all token op-codes for operators and special tokens used by the Calc document and its formula parser.
Definition at line 1412 of file formulabase.cxx.
References mxOpCodeImpl.
|
delete |
|
delete |
|
private |
Definition at line 599 of file formulabase.hxx.
Referenced by getFuncInfoFromApiToken(), getOoxParserMap(), and getOpCodes().