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, tools::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 (tools::Long nPos)
 
void SetParam (tools::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 187 of file addincol.hxx.

Constructor & Destructor Documentation

◆ ScUnoAddInCall()

ScUnoAddInCall::ScUnoAddInCall ( ScUnoAddInCollection rColl,
const OUString &  rName,
tools::Long  nParamCount 
)

◆ ~ScUnoAddInCall()

ScUnoAddInCall::~ScUnoAddInCall ( )

Definition at line 1311 of file addincol.cxx.

Member Function Documentation

◆ ExecuteCall()

void ScUnoAddInCall::ExecuteCall ( )

◆ ExecuteCallWithArgs()

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

◆ GetArgType()

ScAddInArgumentType ScUnoAddInCall::GetArgType ( tools::Long  nPos)

◆ GetErrCode()

FormulaError ScUnoAddInCall::GetErrCode ( ) const
inline

Definition at line 223 of file addincol.hxx.

References nErrCode.

Referenced by ScInterpreter::ScExternal().

◆ GetMatrix()

const ScMatrixRef & ScUnoAddInCall::GetMatrix ( ) const
inline

Definition at line 229 of file addincol.hxx.

References xMatrix.

Referenced by ScInterpreter::ScExternal().

◆ GetString()

const OUString & ScUnoAddInCall::GetString ( ) const
inline

Definition at line 228 of file addincol.hxx.

References aString.

Referenced by ScInterpreter::ScExternal().

◆ GetValue()

double ScUnoAddInCall::GetValue ( ) const
inline

Definition at line 227 of file addincol.hxx.

References fValue.

Referenced by ScInterpreter::ScExternal().

◆ GetVarRes()

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

Definition at line 231 of file addincol.hxx.

References xVarRes.

Referenced by ScInterpreter::ScExternal().

◆ HasMatrix()

bool ScUnoAddInCall::HasMatrix ( ) const
inline

Definition at line 225 of file addincol.hxx.

References xMatrix.

Referenced by ScInterpreter::ScExternal().

◆ HasString()

bool ScUnoAddInCall::HasString ( ) const
inline

Definition at line 224 of file addincol.hxx.

References bHasString.

Referenced by ScInterpreter::ScExternal().

◆ HasVarRes()

bool ScUnoAddInCall::HasVarRes ( ) const
inline

Definition at line 226 of file addincol.hxx.

References xVarRes.

Referenced by ScInterpreter::ScExternal().

◆ NeedsCaller()

bool ScUnoAddInCall::NeedsCaller ( ) const

◆ SetCaller()

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

Definition at line 1338 of file addincol.cxx.

References xCaller.

Referenced by ScInterpreter::ScExternal(), and SetCallerFromObjectShell().

◆ SetCallerFromObjectShell()

void ScUnoAddInCall::SetCallerFromObjectShell ( const SfxObjectShell pSh)

Definition at line 1343 of file addincol.cxx.

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

Referenced by ScInterpreter::ScExternal().

◆ SetParam()

void ScUnoAddInCall::SetParam ( tools::Long  nPos,
const css::uno::Any &  rValue 
)

◆ SetResult()

void ScUnoAddInCall::SetResult ( const css::uno::Any &  rNewRes)

◆ ValidParamCount()

bool ScUnoAddInCall::ValidParamCount ( )
inline

Definition at line 215 of file addincol.hxx.

References bValidCount.

Referenced by ScInterpreter::ScExternal().

Member Data Documentation

◆ aArgs

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

Definition at line 191 of file addincol.hxx.

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

◆ aString

OUString ScUnoAddInCall::aString
private

Definition at line 199 of file addincol.hxx.

Referenced by GetString(), and SetResult().

◆ aVarArg

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

Definition at line 192 of file addincol.hxx.

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

◆ bHasString

bool ScUnoAddInCall::bHasString
private

Definition at line 197 of file addincol.hxx.

Referenced by HasString(), and SetResult().

◆ bValidCount

bool ScUnoAddInCall::bValidCount
private

Definition at line 194 of file addincol.hxx.

Referenced by ScUnoAddInCall(), and ValidParamCount().

◆ fValue

double ScUnoAddInCall::fValue
private

Definition at line 198 of file addincol.hxx.

Referenced by GetValue(), and SetResult().

◆ nErrCode

FormulaError ScUnoAddInCall::nErrCode
private

Definition at line 196 of file addincol.hxx.

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

◆ pFuncData

const ScUnoAddInFuncData* ScUnoAddInCall::pFuncData
private

◆ xCaller

css::uno::Reference<css::uno::XInterface> ScUnoAddInCall::xCaller
private

Definition at line 193 of file addincol.hxx.

Referenced by ExecuteCall(), and SetCaller().

◆ xMatrix

ScMatrixRef ScUnoAddInCall::xMatrix
private

Definition at line 200 of file addincol.hxx.

Referenced by GetMatrix(), HasMatrix(), and SetResult().

◆ xVarRes

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

Definition at line 201 of file addincol.hxx.

Referenced by GetVarRes(), HasVarRes(), and SetResult().


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