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 (const OUString &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 534 of file formulabase.hxx.

Member Typedef Documentation

Definition at line 564 of file formulabase.hxx.

Constructor & Destructor Documentation

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

Definition at line 1076 of file formulabase.cxx.

References make_shared().

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

Definition at line 1081 of file formulabase.cxx.

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

Member Function Documentation

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 1090 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 1095 of file formulabase.cxx.

References mxFuncImpl.

Referenced by oox::xls::OpCodeProvider::getFuncInfoFromApiToken().

const FunctionInfo * oox::xls::FunctionProvider::getFuncInfoFromOoxFuncName ( const OUString &  rFuncName) const
FunctionLibraryType oox::xls::FunctionProvider::getFuncLibTypeFromLibraryName ( const OUString &  rLibraryName)
static

Returns the library type associated with the passed URL of a function library (function add-in).

Definition at line 1100 of file formulabase.cxx.

References oox::xls::FUNCLIB_EUROTOOL, and oox::xls::FUNCLIB_UNKNOWN.

Referenced by oox::xls::OOXMLFormulaParserImpl::resolveBadFuncName(), and oox::xls::ExternalLink::setExternalTargetUrl().

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

Returns the list of all function infos.

Definition at line 1111 of file formulabase.cxx.

References mxFuncImpl.

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

Member Data Documentation

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

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