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

#include <miscuno.hxx>

Static Public Member Functions

static bool GetBoolProperty (const css::uno::Reference< css::beans::XPropertySet > &xProp, const OUString &rName, bool bDefault=false)
 
static sal_Int16 GetShortProperty (const css::uno::Reference< css::beans::XPropertySet > &xProp, const OUString &rName, sal_Int16 nDefault)
 
static sal_Int32 GetLongProperty (const css::uno::Reference< css::beans::XPropertySet > &xProp, const OUString &rName)
 
template<typename EnumT >
static EnumT GetEnumProperty (const css::uno::Reference< css::beans::XPropertySet > &xProp, const OUString &rName, EnumT nDefault)
 
static OUString GetStringProperty (const css::uno::Reference< css::beans::XPropertySet > &xProp, const OUString &rName, const OUString &rDefault)
 
static bool GetBoolFromAny (const css::uno::Any &aAny)
 
static sal_Int16 GetInt16FromAny (const css::uno::Any &aAny)
 
static sal_Int32 GetInt32FromAny (const css::uno::Any &aAny)
 
static sal_Int32 GetEnumFromAny (const css::uno::Any &aAny)
 
static void SetOptionalPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const char *pPropName, const css::uno::Any &rVal)
 
static void SetOptionalPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const OUString &rPropName, const css::uno::Any &rVal)
 
template<typename ValueType >
static void SetOptionalPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const char *pPropName, const ValueType &rVal)
 
template<typename ValueType >
static void SetOptionalPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const OUString &rPropName, const ValueType &rVal)
 
template<typename ValueType >
static css::uno::Sequence< ValueType > VectorToSequence (const std::vector< ValueType > &rVector)
 

Static Private Member Functions

static sal_Int32 GetEnumPropertyImpl (const css::uno::Reference< css::beans::XPropertySet > &xProp, const OUString &rName, sal_Int32 nDefault)
 

Detailed Description

Definition at line 149 of file miscuno.hxx.

Member Function Documentation

◆ GetBoolFromAny()

bool ScUnoHelpFunctions::GetBoolFromAny ( const css::uno::Any &  aAny)
static

◆ GetBoolProperty()

bool ScUnoHelpFunctions::GetBoolProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
bool  bDefault = false 
)
static

◆ GetEnumFromAny()

sal_Int32 ScUnoHelpFunctions::GetEnumFromAny ( const css::uno::Any &  aAny)
static

◆ GetEnumProperty()

template<typename EnumT >
static EnumT ScUnoHelpFunctions::GetEnumProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
EnumT  nDefault 
)
inlinestatic

◆ GetEnumPropertyImpl()

sal_Int32 ScUnoHelpFunctions::GetEnumPropertyImpl ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
sal_Int32  nDefault 
)
staticprivate

get enum value from any???

type conversion???

Definition at line 91 of file miscuno.cxx.

◆ GetInt16FromAny()

sal_Int16 ScUnoHelpFunctions::GetInt16FromAny ( const css::uno::Any &  aAny)
static

◆ GetInt32FromAny()

sal_Int32 ScUnoHelpFunctions::GetInt32FromAny ( const css::uno::Any &  aAny)
static

◆ GetLongProperty()

sal_Int32 ScUnoHelpFunctions::GetLongProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName 
)
static

◆ GetShortProperty()

sal_Int16 ScUnoHelpFunctions::GetShortProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
sal_Int16  nDefault 
)
static

Definition at line 54 of file miscuno.cxx.

Referenced by ScDPOutput::GetDataDimensionNames(), and lcl_FillOldFields().

◆ GetStringProperty()

OUString ScUnoHelpFunctions::GetStringProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
const OUString &  rDefault 
)
static

◆ SetOptionalPropertyValue() [1/4]

static void ScUnoHelpFunctions::SetOptionalPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet,
const char *  pPropName,
const css::uno::Any &  rVal 
)
static

◆ SetOptionalPropertyValue() [2/4]

template<typename ValueType >
static void ScUnoHelpFunctions::SetOptionalPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet,
const char *  pPropName,
const ValueType &  rVal 
)
inlinestatic

Definition at line 180 of file miscuno.hxx.

References any.

◆ SetOptionalPropertyValue() [3/4]

static void ScUnoHelpFunctions::SetOptionalPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet,
const OUString &  rPropName,
const css::uno::Any &  rVal 
)
static

◆ SetOptionalPropertyValue() [4/4]

template<typename ValueType >
static void ScUnoHelpFunctions::SetOptionalPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet,
const OUString &  rPropName,
const ValueType &  rVal 
)
inlinestatic

Definition at line 189 of file miscuno.hxx.

References any.

◆ VectorToSequence()

template<typename ValueType >
static css::uno::Sequence< ValueType > ScUnoHelpFunctions::VectorToSequence ( const std::vector< ValueType > &  rVector)
inlinestatic

Definition at line 199 of file miscuno.hxx.


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