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 (ScDocument &rDoc, 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
 
ScDocumentmrDoc
 
bool bValidCount
 
FormulaError nErrCode
 
bool bHasString
 
double fValue
 
OUString aString
 
ScMatrixRef xMatrix
 
css::uno::Reference< css::sheet::XVolatileResult > xVarRes
 

Detailed Description

Definition at line 195 of file addincol.hxx.

Constructor & Destructor Documentation

◆ ScUnoAddInCall()

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

◆ ~ScUnoAddInCall()

ScUnoAddInCall::~ScUnoAddInCall ( )

Definition at line 1392 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 232 of file addincol.hxx.

References nErrCode.

Referenced by ScInterpreter::ScExternal().

◆ GetMatrix()

const ScMatrixRef & ScUnoAddInCall::GetMatrix ( ) const
inline

Definition at line 238 of file addincol.hxx.

References xMatrix.

Referenced by ScInterpreter::ScExternal().

◆ GetString()

const OUString & ScUnoAddInCall::GetString ( ) const
inline

Definition at line 237 of file addincol.hxx.

References aString.

Referenced by ScInterpreter::ScExternal().

◆ GetValue()

double ScUnoAddInCall::GetValue ( ) const
inline

Definition at line 236 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 240 of file addincol.hxx.

References xVarRes.

Referenced by ScInterpreter::ScExternal().

◆ HasMatrix()

bool ScUnoAddInCall::HasMatrix ( ) const
inline

Definition at line 234 of file addincol.hxx.

References xMatrix.

Referenced by ScInterpreter::ScExternal().

◆ HasString()

bool ScUnoAddInCall::HasString ( ) const
inline

Definition at line 233 of file addincol.hxx.

References bHasString.

Referenced by ScInterpreter::ScExternal().

◆ HasVarRes()

bool ScUnoAddInCall::HasVarRes ( ) const
inline

Definition at line 235 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 1419 of file addincol.cxx.

References xCaller.

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

◆ SetCallerFromObjectShell()

void ScUnoAddInCall::SetCallerFromObjectShell ( const SfxObjectShell pSh)

Definition at line 1424 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 224 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 199 of file addincol.hxx.

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

◆ aString

OUString ScUnoAddInCall::aString
private

Definition at line 208 of file addincol.hxx.

Referenced by GetString(), and SetResult().

◆ aVarArg

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

Definition at line 200 of file addincol.hxx.

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

◆ bHasString

bool ScUnoAddInCall::bHasString
private

Definition at line 206 of file addincol.hxx.

Referenced by HasString(), and SetResult().

◆ bValidCount

bool ScUnoAddInCall::bValidCount
private

Definition at line 203 of file addincol.hxx.

Referenced by ScUnoAddInCall(), and ValidParamCount().

◆ fValue

double ScUnoAddInCall::fValue
private

Definition at line 207 of file addincol.hxx.

Referenced by GetValue(), and SetResult().

◆ mrDoc

ScDocument& ScUnoAddInCall::mrDoc
private

Definition at line 202 of file addincol.hxx.

Referenced by SetResult().

◆ nErrCode

FormulaError ScUnoAddInCall::nErrCode
private

Definition at line 205 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 201 of file addincol.hxx.

Referenced by ExecuteCall(), and SetCaller().

◆ xMatrix

ScMatrixRef ScUnoAddInCall::xMatrix
private

Definition at line 209 of file addincol.hxx.

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

◆ xVarRes

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

Definition at line 210 of file addincol.hxx.

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


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