LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
oox::xls::FunctionProvider Class Reference

Provides access to function info structs for all available sheet functions. More...

#include <formulabase.hxx>

Inheritance diagram for oox::xls::FunctionProvider:
[legend]

Public Member Functions

 FunctionProvider (bool bImportFilter)
 
virtual ~FunctionProvider ()
 
 FunctionProvider (FunctionProvider const &)=default
 
 FunctionProvider (FunctionProvider &&)=default
 
FunctionProvideroperator= (FunctionProvider const &)=delete
 
FunctionProvideroperator= (FunctionProvider &&)=delete
 
const FunctionInfogetFuncInfoFromOoxFuncName (const OUString &rFuncName) const
 Returns the function info for an OOXML function name, or 0 on error. More...
 
const FunctionInfogetFuncInfoFromBiff12FuncId (sal_uInt16 nFuncId) const
 Returns the function info for a BIFF12 function index, or 0 on error. More...
 
const FunctionInfogetFuncInfoFromMacroName (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 FunctionInfoVectorgetFuncs () const
 Returns the list of all function infos. More...
 

Private Types

typedef std::shared_ptr< FunctionProviderImplFunctionProviderImplRef
 

Private Attributes

FunctionProviderImplRef mxFuncImpl
 

Detailed Description

Provides access to function info structs for all available sheet functions.

Definition at line 533 of file formulabase.hxx.

Member Typedef Documentation

◆ FunctionProviderImplRef

Definition at line 563 of file formulabase.hxx.

Constructor & Destructor Documentation

◆ FunctionProvider() [1/3]

oox::xls::FunctionProvider::FunctionProvider ( bool  bImportFilter)
explicit

Definition at line 1078 of file formulabase.cxx.

References make_shared().

◆ ~FunctionProvider()

oox::xls::FunctionProvider::~FunctionProvider ( )
virtual

Definition at line 1083 of file formulabase.cxx.

◆ FunctionProvider() [2/3]

oox::xls::FunctionProvider::FunctionProvider ( FunctionProvider const &  )
default

◆ FunctionProvider() [3/3]

oox::xls::FunctionProvider::FunctionProvider ( FunctionProvider &&  )
default

Member Function Documentation

◆ getFuncInfoFromBiff12FuncId()

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().

◆ getFuncInfoFromMacroName()

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().

◆ getFuncInfoFromOoxFuncName()

const FunctionInfo * oox::xls::FunctionProvider::getFuncInfoFromOoxFuncName ( const OUString &  rFuncName) const

◆ getFuncLibTypeFromLibraryName()

FunctionLibraryType oox::xls::FunctionProvider::getFuncLibTypeFromLibraryName ( std::u16string_view  rLibraryName)
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().

◆ getFuncs()

const FunctionInfoVector & oox::xls::FunctionProvider::getFuncs ( ) const
protected

Returns the list of all function infos.

Definition at line 1113 of file formulabase.cxx.

References mxFuncImpl.

◆ operator=() [1/2]

FunctionProvider & oox::xls::FunctionProvider::operator= ( FunctionProvider &&  )
delete

◆ operator=() [2/2]

FunctionProvider & oox::xls::FunctionProvider::operator= ( FunctionProvider const &  )
delete

Member Data Documentation

◆ mxFuncImpl

FunctionProviderImplRef oox::xls::FunctionProvider::mxFuncImpl
private

The documentation for this class was generated from the following files: