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

#include <addincol.hxx>

Classes

struct  LocalizedName
 

Public Member Functions

 ScUnoAddInFuncData (const OUString &rNam, const OUString &rLoc, const OUString &rDesc, sal_uInt16 nCat, const OString &, const css::uno::Reference< css::reflection::XIdlMethod > &rFunc, const css::uno::Any &rO, long nAC, const ScAddInArgDesc *pAD, long nCP)
 
 ~ScUnoAddInFuncData ()
 
const OUString & GetOriginalName () const
 
const OUString & GetLocalName () const
 
const OUString & GetUpperName () const
 
const OUString & GetUpperLocal () const
 
const css::uno::Reference< css::reflection::XIdlMethod > & GetFunction () const
 
const css::uno::Any & GetObject () const
 
long GetArgumentCount () const
 
const ScAddInArgDescGetArguments () const
 
long GetCallerPos () const
 
const OUString & GetDescription () const
 
sal_uInt16 GetCategory () const
 
const OString & GetHelpId () const
 
const ::std::vector< LocalizedName > & GetCompNames () const
 
bool GetExcelName (LanguageType eDestLang, OUString &rRetExcelName) const
 
void SetFunction (const css::uno::Reference< css::reflection::XIdlMethod > &rNewFunc, const css::uno::Any &rNewObj)
 
void SetArguments (long nNewCount, const ScAddInArgDesc *pNewDescs)
 
void SetCallerPos (long nNewPos)
 
void SetCompNames (const ::std::vector< LocalizedName > &rNew)
 

Private Attributes

OUString aOriginalName
 kept in formula More...
 
OUString aLocalName
 for display More...
 
OUString aUpperName
 for entering formulas More...
 
OUString aUpperLocal
 for entering formulas More...
 
OUString aDescription
 
css::uno::Reference< css::reflection::XIdlMethod > xFunction
 
css::uno::Any aObject
 
long nArgCount
 
std::unique_ptr< ScAddInArgDesc[]> pArgDescs
 
long nCallerPos
 
sal_uInt16 nCategory
 
OString sHelpId
 
mutable::std::vector< LocalizedNamemaCompNames
 
bool bCompInitialized
 

Detailed Description

Definition at line 72 of file addincol.hxx.

Constructor & Destructor Documentation

ScUnoAddInFuncData::ScUnoAddInFuncData ( const OUString &  rNam,
const OUString &  rLoc,
const OUString &  rDesc,
sal_uInt16  nCat,
const OString &  ,
const css::uno::Reference< css::reflection::XIdlMethod > &  rFunc,
const css::uno::Any &  rO,
long  nAC,
const ScAddInArgDesc pAD,
long  nCP 
)
ScUnoAddInFuncData::~ScUnoAddInFuncData ( )

Definition at line 100 of file addincol.cxx.

Member Function Documentation

long ScUnoAddInFuncData::GetArgumentCount ( ) const
inline
const ScAddInArgDesc* ScUnoAddInFuncData::GetArguments ( ) const
inline
long ScUnoAddInFuncData::GetCallerPos ( ) const
inline

Definition at line 119 of file addincol.hxx.

References nCallerPos.

Referenced by ScUnoAddInCall::ExecuteCall(), and ScUnoAddInCall::NeedsCaller().

sal_uInt16 ScUnoAddInFuncData::GetCategory ( ) const
inline

Definition at line 121 of file addincol.hxx.

References nCategory.

Referenced by ScUnoAddInCollection::FillFunctionDescFromData().

const ::std::vector< ScUnoAddInFuncData::LocalizedName > & ScUnoAddInFuncData::GetCompNames ( ) const
const OUString& ScUnoAddInFuncData::GetDescription ( ) const
inline

Definition at line 120 of file addincol.hxx.

References aDescription.

Referenced by ScUnoAddInCollection::FillFunctionDescFromData().

bool ScUnoAddInFuncData::GetExcelName ( LanguageType  eDestLang,
OUString &  rRetExcelName 
) const
const css::uno::Reference< css::reflection::XIdlMethod>& ScUnoAddInFuncData::GetFunction ( ) const
inline
const OString& ScUnoAddInFuncData::GetHelpId ( ) const
inline

Definition at line 122 of file addincol.hxx.

References sHelpId.

Referenced by ScUnoAddInCollection::FillFunctionDescFromData().

const OUString& ScUnoAddInFuncData::GetLocalName ( ) const
inline

Definition at line 111 of file addincol.hxx.

References aLocalName.

Referenced by ScUnoAddInCollection::FillFunctionDescFromData().

const css::uno::Any& ScUnoAddInFuncData::GetObject ( ) const
inline

Definition at line 116 of file addincol.hxx.

References aObject.

Referenced by ScUnoAddInCall::ExecuteCallWithArgs().

const OUString& ScUnoAddInFuncData::GetOriginalName ( ) const
inline
const OUString& ScUnoAddInFuncData::GetUpperLocal ( ) const
inline
const OUString& ScUnoAddInFuncData::GetUpperName ( ) const
inline
void ScUnoAddInFuncData::SetArguments ( long  nNewCount,
const ScAddInArgDesc pNewDescs 
)

Definition at line 197 of file addincol.cxx.

References i, nArgCount, and pArgDescs.

Referenced by ScUnoAddInCollection::UpdateFromAddIn().

void ScUnoAddInFuncData::SetCallerPos ( long  nNewPos)

Definition at line 210 of file addincol.cxx.

References nCallerPos.

Referenced by ScUnoAddInCollection::UpdateFromAddIn().

void ScUnoAddInFuncData::SetCompNames ( const ::std::vector< LocalizedName > &  rNew)

Definition at line 133 of file addincol.cxx.

References bCompInitialized, and maCompNames.

Referenced by ScUnoAddInCollection::ReadConfiguration().

void ScUnoAddInFuncData::SetFunction ( const css::uno::Reference< css::reflection::XIdlMethod > &  rNewFunc,
const css::uno::Any &  rNewObj 
)

Definition at line 191 of file addincol.cxx.

References aObject, and xFunction.

Referenced by ScUnoAddInCollection::UpdateFromAddIn().

Member Data Documentation

OUString ScUnoAddInFuncData::aDescription
private

Definition at line 88 of file addincol.hxx.

Referenced by GetDescription().

OUString ScUnoAddInFuncData::aLocalName
private

for display

Definition at line 85 of file addincol.hxx.

Referenced by GetLocalName().

css::uno::Any ScUnoAddInFuncData::aObject
private

Definition at line 90 of file addincol.hxx.

Referenced by GetCompNames(), GetObject(), and SetFunction().

OUString ScUnoAddInFuncData::aOriginalName
private

kept in formula

Definition at line 84 of file addincol.hxx.

Referenced by GetOriginalName().

OUString ScUnoAddInFuncData::aUpperLocal
private

for entering formulas

Definition at line 87 of file addincol.hxx.

Referenced by GetUpperLocal(), and ScUnoAddInFuncData().

OUString ScUnoAddInFuncData::aUpperName
private

for entering formulas

Definition at line 86 of file addincol.hxx.

Referenced by GetUpperName(), and ScUnoAddInFuncData().

bool ScUnoAddInFuncData::bCompInitialized
mutableprivate

Definition at line 98 of file addincol.hxx.

Referenced by GetCompNames(), and SetCompNames().

mutable ::std::vector< LocalizedName > ScUnoAddInFuncData::maCompNames
private

Definition at line 97 of file addincol.hxx.

Referenced by GetCompNames(), and SetCompNames().

long ScUnoAddInFuncData::nArgCount
private

Definition at line 91 of file addincol.hxx.

Referenced by GetArgumentCount(), ScUnoAddInFuncData(), and SetArguments().

long ScUnoAddInFuncData::nCallerPos
private

Definition at line 94 of file addincol.hxx.

Referenced by GetCallerPos(), and SetCallerPos().

sal_uInt16 ScUnoAddInFuncData::nCategory
private

Definition at line 95 of file addincol.hxx.

Referenced by GetCategory().

std::unique_ptr<ScAddInArgDesc[]> ScUnoAddInFuncData::pArgDescs
private

Definition at line 93 of file addincol.hxx.

Referenced by GetArguments(), ScUnoAddInFuncData(), and SetArguments().

OString ScUnoAddInFuncData::sHelpId
private

Definition at line 96 of file addincol.hxx.

Referenced by GetHelpId().

css::uno::Reference< css::reflection::XIdlMethod> ScUnoAddInFuncData::xFunction
private

Definition at line 89 of file addincol.hxx.

Referenced by GetCompNames(), GetFunction(), and SetFunction().


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