LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
oox::xls::FunctionProviderImpl Struct Reference
Collaboration diagram for oox::xls::FunctionProviderImpl:
[legend]

Public Types

typedef RefMap< OUString, FunctionInfoFuncNameMap
 
typedef RefMap< sal_uInt16, FunctionInfoFuncIdMap
 

Public Member Functions

 FunctionProviderImpl (bool bImportFilter)
 Maps macro function names to function data. More...
 

Public Attributes

FunctionInfoVector maFuncs
 
FuncNameMap maOoxFuncs
 All function infos in one list. More...
 
FuncIdMap maBiff12Funcs
 Maps OOXML function names to function data. More...
 
FuncIdMap maBiffFuncs
 Maps BIFF12 function indexes to function data. More...
 
FuncNameMap maMacroFuncs
 Maps BIFF2-BIFF8 function indexes to function data. More...
 

Private Member Functions

void initFunc (const FunctionData &rFuncData)
 Creates and inserts a function info struct from the passed function data. More...
 
void initFuncs (const FunctionData *pBeg, const FunctionData *pEnd, bool bImportFilter)
 Initializes the members from the passed function data list. More...
 

Detailed Description

Definition at line 976 of file formulabase.cxx.

Member Typedef Documentation

◆ FuncIdMap

Definition at line 979 of file formulabase.cxx.

◆ FuncNameMap

Definition at line 978 of file formulabase.cxx.

Constructor & Destructor Documentation

◆ FunctionProviderImpl()

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

Maps macro function names to function data.

Definition at line 997 of file formulabase.cxx.

References initFuncs().

Member Function Documentation

◆ initFunc()

void oox::xls::FunctionProviderImpl::initFunc ( const FunctionData &  rFuncData)
private

Creates and inserts a function info struct from the passed function data.

From here on maOoxFuncName contains the _xlfn. prefix!

Definition at line 1015 of file formulabase.cxx.

References oox::xls::BIFF_TOK_FUNCVAR_CMD, oox::xls::FUNCLIB_EUROTOOL, oox::xls::FUNCLIB_UNKNOWN, maBiff12Funcs, maBiffFuncs, maFuncs, maMacroFuncs, maOoxFuncs, MX, NOID, oox::xls::OOX_MAX_PARAMCOUNT, and oox::setFlag().

Referenced by initFuncs().

◆ initFuncs()

void oox::xls::FunctionProviderImpl::initFuncs ( const FunctionData *  pBeg,
const FunctionData *  pEnd,
bool  bImportFilter 
)
private

Initializes the members from the passed function data list.

Definition at line 1071 of file formulabase.cxx.

References initFunc().

Referenced by FunctionProviderImpl().

Member Data Documentation

◆ maBiff12Funcs

FuncIdMap oox::xls::FunctionProviderImpl::maBiff12Funcs

Maps OOXML function names to function data.

Definition at line 983 of file formulabase.cxx.

Referenced by initFunc().

◆ maBiffFuncs

FuncIdMap oox::xls::FunctionProviderImpl::maBiffFuncs

Maps BIFF12 function indexes to function data.

Definition at line 984 of file formulabase.cxx.

Referenced by initFunc().

◆ maFuncs

FunctionInfoVector oox::xls::FunctionProviderImpl::maFuncs

Definition at line 981 of file formulabase.cxx.

Referenced by initFunc().

◆ maMacroFuncs

FuncNameMap oox::xls::FunctionProviderImpl::maMacroFuncs

Maps BIFF2-BIFF8 function indexes to function data.

Definition at line 985 of file formulabase.cxx.

Referenced by initFunc().

◆ maOoxFuncs

FuncNameMap oox::xls::FunctionProviderImpl::maOoxFuncs

All function infos in one list.

Definition at line 982 of file formulabase.cxx.

Referenced by initFunc().


The documentation for this struct was generated from the following file: