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)
 
template<typename ValueType >
static void SetOptionalPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const char *pPropName, const ValueType &rVal)
 
template<typename ValueType >
static css::uno::Sequence< ValueTypeVectorToSequence (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 150 of file miscuno.hxx.

Member Function Documentation

bool ScUnoHelpFunctions::GetBoolFromAny ( const css::uno::Any &  aAny)
static
bool ScUnoHelpFunctions::GetBoolProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
bool  bDefault = false 
)
static
sal_Int32 ScUnoHelpFunctions::GetEnumFromAny ( const css::uno::Any &  aAny)
static
template<typename EnumT >
static EnumT ScUnoHelpFunctions::GetEnumProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
EnumT  nDefault 
)
inlinestatic
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 90 of file miscuno.cxx.

sal_Int16 ScUnoHelpFunctions::GetInt16FromAny ( const css::uno::Any &  aAny)
static
sal_Int32 ScUnoHelpFunctions::GetInt32FromAny ( const css::uno::Any &  aAny)
static
sal_Int32 ScUnoHelpFunctions::GetLongProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName 
)
static
sal_Int16 ScUnoHelpFunctions::GetShortProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
sal_Int16  nDefault 
)
static

Definition at line 53 of file miscuno.cxx.

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

OUString ScUnoHelpFunctions::GetStringProperty ( const css::uno::Reference< css::beans::XPropertySet > &  xProp,
const OUString &  rName,
const OUString &  rDefault 
)
static
static void ScUnoHelpFunctions::SetOptionalPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet,
const char *  pPropName,
const css::uno::Any &  rVal 
)
static
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 178 of file miscuno.hxx.

References any.

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

Definition at line 188 of file miscuno.hxx.


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