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

#include <addincol.hxx>

Collaboration diagram for ScUnoAddInCall:
[legend]

Public Member Functions

 ScUnoAddInCall (ScUnoAddInCollection &rColl, const OUString &rName, long nParamCount)
 
 ~ScUnoAddInCall ()
 
bool NeedsCaller () const
 
void SetCaller (const css::uno::Reference< css::uno::XInterface > &rInterface)
 
void SetCallerFromObjectShell (const SfxObjectShell *pSh)
 
bool ValidParamCount ()
 
ScAddInArgumentType GetArgType (long nPos)
 
void SetParam (long nPos, const css::uno::Any &rValue)
 
void ExecuteCall ()
 
void SetResult (const css::uno::Any &rNewRes)
 
FormulaError GetErrCode () const
 
bool HasString () const
 
bool HasMatrix () const
 
bool HasVarRes () const
 
double GetValue () const
 
const OUString & GetString () const
 
const ScMatrixRefGetMatrix () const
 
const css::uno::Reference< css::sheet::XVolatileResult > & GetVarRes () const
 

Private Member Functions

void ExecuteCallWithArgs (css::uno::Sequence< css::uno::Any > &rCallArgs)
 

Private Attributes

const ScUnoAddInFuncDatapFuncData
 
css::uno::Sequence< css::uno::Any > aArgs
 
css::uno::Sequence< css::uno::Any > aVarArg
 
css::uno::Reference< css::uno::XInterface > xCaller
 
bool bValidCount
 
FormulaError nErrCode
 
bool bHasString
 
double fValue
 
OUString aString
 
ScMatrixRef xMatrix
 
css::uno::Reference< css::sheet::XVolatileResult > xVarRes
 

Detailed Description

Definition at line 183 of file addincol.hxx.

Constructor & Destructor Documentation

ScUnoAddInCall::ScUnoAddInCall ( ScUnoAddInCollection rColl,
const OUString &  rName,
long  nParamCount 
)
ScUnoAddInCall::~ScUnoAddInCall ( )

Definition at line 1271 of file addincol.cxx.

Member Function Documentation

void ScUnoAddInCall::ExecuteCall ( )
void ScUnoAddInCall::ExecuteCallWithArgs ( css::uno::Sequence< css::uno::Any > &  rCallArgs)
private
ScAddInArgumentType ScUnoAddInCall::GetArgType ( long  nPos)
FormulaError ScUnoAddInCall::GetErrCode ( ) const
inline

Definition at line 219 of file addincol.hxx.

References nErrCode.

const ScMatrixRef& ScUnoAddInCall::GetMatrix ( ) const
inline

Definition at line 225 of file addincol.hxx.

References xMatrix.

const OUString& ScUnoAddInCall::GetString ( ) const
inline

Definition at line 224 of file addincol.hxx.

References aString.

double ScUnoAddInCall::GetValue ( ) const
inline

Definition at line 223 of file addincol.hxx.

References fValue.

const css::uno::Reference<css::sheet::XVolatileResult>& ScUnoAddInCall::GetVarRes ( ) const
inline

Definition at line 227 of file addincol.hxx.

References xVarRes.

bool ScUnoAddInCall::HasMatrix ( ) const
inline

Definition at line 221 of file addincol.hxx.

bool ScUnoAddInCall::HasString ( ) const
inline

Definition at line 220 of file addincol.hxx.

References bHasString.

bool ScUnoAddInCall::HasVarRes ( ) const
inline

Definition at line 222 of file addincol.hxx.

bool ScUnoAddInCall::NeedsCaller ( ) const

Definition at line 1293 of file addincol.cxx.

References ScUnoAddInFuncData::GetCallerPos(), pFuncData, and SC_CALLERPOS_NONE.

void ScUnoAddInCall::SetCaller ( const css::uno::Reference< css::uno::XInterface > &  rInterface)

Definition at line 1298 of file addincol.cxx.

References xCaller.

Referenced by SetCallerFromObjectShell().

void ScUnoAddInCall::SetCallerFromObjectShell ( const SfxObjectShell pSh)

Definition at line 1303 of file addincol.cxx.

References SfxObjectShell::GetBaseModel(), and SetCaller().

void ScUnoAddInCall::SetParam ( long  nPos,
const css::uno::Any &  rValue 
)
void ScUnoAddInCall::SetResult ( const css::uno::Any &  rNewRes)
bool ScUnoAddInCall::ValidParamCount ( )
inline

Definition at line 211 of file addincol.hxx.

References bValidCount.

Member Data Documentation

css::uno::Sequence<css::uno::Any> ScUnoAddInCall::aArgs
private

Definition at line 187 of file addincol.hxx.

Referenced by ExecuteCall(), ScUnoAddInCall(), and SetParam().

OUString ScUnoAddInCall::aString
private

Definition at line 195 of file addincol.hxx.

Referenced by GetString(), and SetResult().

css::uno::Sequence<css::uno::Any> ScUnoAddInCall::aVarArg
private

Definition at line 188 of file addincol.hxx.

Referenced by ExecuteCall(), ScUnoAddInCall(), and SetParam().

bool ScUnoAddInCall::bHasString
private

Definition at line 193 of file addincol.hxx.

Referenced by HasString(), and SetResult().

bool ScUnoAddInCall::bValidCount
private

Definition at line 190 of file addincol.hxx.

Referenced by ScUnoAddInCall(), and ValidParamCount().

double ScUnoAddInCall::fValue
private

Definition at line 194 of file addincol.hxx.

Referenced by GetValue(), and SetResult().

FormulaError ScUnoAddInCall::nErrCode
private

Definition at line 192 of file addincol.hxx.

Referenced by ExecuteCallWithArgs(), GetErrCode(), and SetResult().

const ScUnoAddInFuncData* ScUnoAddInCall::pFuncData
private
css::uno::Reference<css::uno::XInterface> ScUnoAddInCall::xCaller
private

Definition at line 189 of file addincol.hxx.

Referenced by ExecuteCall(), and SetCaller().

ScMatrixRef ScUnoAddInCall::xMatrix
private

Definition at line 196 of file addincol.hxx.

Referenced by GetMatrix(), and SetResult().

css::uno::Reference<css::sheet::XVolatileResult> ScUnoAddInCall::xVarRes
private

Definition at line 197 of file addincol.hxx.

Referenced by GetVarRes(), and SetResult().


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