LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
LegacyFuncData Class Reference

#include <callform.hxx>

Collaboration diagram for LegacyFuncData:
[legend]

Public Member Functions

 LegacyFuncData (const ModuleData *pModule, const OUString &rIName, const OUString &rFName, sal_uInt16 nNo, sal_uInt16 nCount, const ParamType *peType, ParamType eType)
 
 LegacyFuncData (const LegacyFuncData &rData)
 
const OUString & GetModuleName () const
 
const OUString & GetInternalName () const
 
sal_uInt16 GetParamCount () const
 
ParamType GetParamType (sal_uInt16 nIndex) const
 
ParamType GetAsyncType () const
 
void Call (void **ppParam) const
 
void Unadvice (double nHandle)
 
void getParamDesc (OUString &aName, OUString &aDesc, sal_uInt16 nParam) const
 name and description of parameter nParam. More...
 

Private Attributes

const ModuleDatapModuleData
 
OUString aInternalName
 
OUString aFuncName
 
sal_uInt16 nNumber
 
sal_uInt16 nParamCount
 
ParamType eAsyncType
 
ParamType eParamType [MAXFUNCPARAM]
 

Friends

class LegacyFuncCollection
 

Detailed Description

Definition at line 52 of file callform.hxx.

Constructor & Destructor Documentation

◆ LegacyFuncData() [1/2]

LegacyFuncData::LegacyFuncData ( const ModuleData pModule,
const OUString &  rIName,
const OUString &  rFName,
sal_uInt16  nNo,
sal_uInt16  nCount,
const ParamType peType,
ParamType  eType 
)

Definition at line 92 of file callform.cxx.

References eParamType, eType, i, MAXFUNCPARAM, and nCount.

◆ LegacyFuncData() [2/2]

LegacyFuncData::LegacyFuncData ( const LegacyFuncData rData)

Definition at line 110 of file callform.cxx.

References eParamType, i, MAXFUNCPARAM, and rData.

Member Function Documentation

◆ Call()

void LegacyFuncData::Call ( void **  ppParam) const

Definition at line 244 of file callform.cxx.

References aFuncName, ModuleData::GetInstance(), nParamCount, pLib, and pModuleData.

Referenced by ScInterpreter::ScExternal().

◆ GetAsyncType()

ParamType LegacyFuncData::GetAsyncType ( ) const
inline

Definition at line 77 of file callform.hxx.

References eAsyncType.

Referenced by ScInterpreter::ScExternal().

◆ GetInternalName()

const OUString & LegacyFuncData::GetInternalName ( ) const
inline

Definition at line 74 of file callform.hxx.

References aInternalName.

Referenced by LegacyFuncCollection::insert(), and ScFunctionList::ScFunctionList().

◆ GetModuleName()

const OUString & LegacyFuncData::GetModuleName ( ) const

Definition at line 337 of file callform.cxx.

References ModuleData::GetName(), and pModuleData.

Referenced by ScFunctionList::ScFunctionList().

◆ GetParamCount()

sal_uInt16 LegacyFuncData::GetParamCount ( ) const
inline

◆ getParamDesc()

void LegacyFuncData::getParamDesc ( OUString &  aName,
OUString &  aDesc,
sal_uInt16  nParam 
) const

name and description of parameter nParam.

nParam==0 => Desc := function description, Name := n/a

Definition at line 342 of file callform.cxx.

References aName, ModuleData::GetInstance(), GETPARAMDESC, nNumber, nParamCount, pLib, and pModuleData.

Referenced by ScFunctionList::ScFunctionList().

◆ GetParamType()

ParamType LegacyFuncData::GetParamType ( sal_uInt16  nIndex) const
inline

◆ Unadvice()

void LegacyFuncData::Unadvice ( double  nHandle)

Definition at line 323 of file callform.cxx.

References ModuleData::GetInstance(), nHandle, pLib, pModuleData, Unadvice(), and UNADVICE.

Referenced by Unadvice(), and ScAddInAsync::~ScAddInAsync().

Friends And Related Function Documentation

◆ LegacyFuncCollection

friend class LegacyFuncCollection
friend

Definition at line 54 of file callform.hxx.

Member Data Documentation

◆ aFuncName

OUString LegacyFuncData::aFuncName
private

Definition at line 58 of file callform.hxx.

Referenced by Call().

◆ aInternalName

OUString LegacyFuncData::aInternalName
private

Definition at line 57 of file callform.hxx.

Referenced by GetInternalName().

◆ eAsyncType

ParamType LegacyFuncData::eAsyncType
private

Definition at line 61 of file callform.hxx.

Referenced by GetAsyncType().

◆ eParamType

ParamType LegacyFuncData::eParamType[MAXFUNCPARAM]
private

Definition at line 62 of file callform.hxx.

Referenced by GetParamType(), and LegacyFuncData().

◆ nNumber

sal_uInt16 LegacyFuncData::nNumber
private

Definition at line 59 of file callform.hxx.

Referenced by getParamDesc().

◆ nParamCount

sal_uInt16 LegacyFuncData::nParamCount
private

Definition at line 60 of file callform.hxx.

Referenced by Call(), GetParamCount(), and getParamDesc().

◆ pModuleData

const ModuleData* LegacyFuncData::pModuleData
private

Definition at line 56 of file callform.hxx.

Referenced by Call(), GetModuleName(), getParamDesc(), and Unadvice().


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