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, tools::Long nAC, const ScAddInArgDesc *pAD, tools::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
 
tools::Long GetArgumentCount () const
 
const ScAddInArgDescGetArguments () const
 
tools::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 (tools::Long nNewCount, const ScAddInArgDesc *pNewDescs)
 
void SetCallerPos (tools::Long nNewPos)
 
void SetCompNames (::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
 
tools::Long nArgCount
 
std::unique_ptr< ScAddInArgDesc[]> pArgDescs
 
tools::Long nCallerPos
 
sal_uInt16 nCategory
 
OString sHelpId
 
mutable::std::vector< LocalizedNamemaCompNames
 
bool bCompInitialized
 

Detailed Description

Definition at line 73 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,
tools::Long  nAC,
const ScAddInArgDesc pAD,
tools::Long  nCP 
)
ScUnoAddInFuncData::~ScUnoAddInFuncData ( )

Definition at line 98 of file addincol.cxx.

Member Function Documentation

tools::Long ScUnoAddInFuncData::GetArgumentCount ( ) const
inline
const ScAddInArgDesc* ScUnoAddInFuncData::GetArguments ( ) const
inline
tools::Long ScUnoAddInFuncData::GetCallerPos ( ) const
inline

Definition at line 120 of file addincol.hxx.

References nCallerPos.

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

sal_uInt16 ScUnoAddInFuncData::GetCategory ( ) const
inline

Definition at line 122 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 121 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 123 of file addincol.hxx.

References sHelpId.

Referenced by ScUnoAddInCollection::FillFunctionDescFromData().

const OUString& ScUnoAddInFuncData::GetLocalName ( ) const
inline

Definition at line 112 of file addincol.hxx.

References aLocalName.

Referenced by ScUnoAddInCollection::FillFunctionDescFromData().

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

Definition at line 117 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 ( tools::Long  nNewCount,
const ScAddInArgDesc pNewDescs 
)

Definition at line 195 of file addincol.cxx.

References i, nArgCount, and pArgDescs.

Referenced by ScUnoAddInCollection::UpdateFromAddIn().

void ScUnoAddInFuncData::SetCallerPos ( tools::Long  nNewPos)

Definition at line 208 of file addincol.cxx.

References nCallerPos.

Referenced by ScUnoAddInCollection::UpdateFromAddIn().

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

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

References aObject, and xFunction.

Referenced by ScUnoAddInCollection::UpdateFromAddIn().

Member Data Documentation

OUString ScUnoAddInFuncData::aDescription
private

Definition at line 89 of file addincol.hxx.

Referenced by GetDescription().

OUString ScUnoAddInFuncData::aLocalName
private

for display

Definition at line 86 of file addincol.hxx.

Referenced by GetLocalName().

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

Definition at line 91 of file addincol.hxx.

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

OUString ScUnoAddInFuncData::aOriginalName
private

kept in formula

Definition at line 85 of file addincol.hxx.

Referenced by GetOriginalName().

OUString ScUnoAddInFuncData::aUpperLocal
private

for entering formulas

Definition at line 88 of file addincol.hxx.

Referenced by GetUpperLocal(), and ScUnoAddInFuncData().

OUString ScUnoAddInFuncData::aUpperName
private

for entering formulas

Definition at line 87 of file addincol.hxx.

Referenced by GetUpperName(), and ScUnoAddInFuncData().

bool ScUnoAddInFuncData::bCompInitialized
mutableprivate

Definition at line 99 of file addincol.hxx.

Referenced by GetCompNames(), and SetCompNames().

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

Definition at line 98 of file addincol.hxx.

Referenced by GetCompNames(), and SetCompNames().

tools::Long ScUnoAddInFuncData::nArgCount
private

Definition at line 92 of file addincol.hxx.

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

tools::Long ScUnoAddInFuncData::nCallerPos
private

Definition at line 95 of file addincol.hxx.

Referenced by GetCallerPos(), and SetCallerPos().

sal_uInt16 ScUnoAddInFuncData::nCategory
private

Definition at line 96 of file addincol.hxx.

Referenced by GetCategory().

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

Definition at line 94 of file addincol.hxx.

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

OString ScUnoAddInFuncData::sHelpId
private

Definition at line 97 of file addincol.hxx.

Referenced by GetHelpId().

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

Definition at line 90 of file addincol.hxx.

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


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