LibreOffice Module comphelper (master) 1
Classes | Namespaces | Functions
property.hxx File Reference
#include <cppuhelper/proptypehlp.hxx>
#include <comphelper/extract.hxx>
#include <com/sun/star/beans/Property.hpp>
#include <type_traits>
#include <comphelper/comphelperdllapi.h>
Include dependency graph for property.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  comphelper::PropertyCompareByName
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::beans
 
namespace  comphelper
 

Functions

COMPHELPER_DLLPUBLIC void comphelper::RemoveProperty (css::uno::Sequence< css::beans::Property > &seqProps, const OUString &_rPropName)
 remove the property with the given name from the given sequence More...
 
COMPHELPER_DLLPUBLIC void comphelper::ModifyPropertyAttributes (css::uno::Sequence< css::beans::Property > &_rProps, const OUString &_sPropName, sal_Int16 _nAddAttrib, sal_Int16 _nRemoveAttrib)
 within the given property sequence, modify attributes of a special property More...
 
COMPHELPER_DLLPUBLIC bool comphelper::hasProperty (const OUString &_rName, const css::uno::Reference< css::beans::XPropertySet > &_rxSet)
 check if the given set has the given property. More...
 
COMPHELPER_DLLPUBLIC void comphelper::copyProperties (const css::uno::Reference< css::beans::XPropertySet > &_rxSource, const css::uno::Reference< css::beans::XPropertySet > &_rxDest)
 copy properties between property sets, in compliance with the property attributes of the target object More...
 
template<typename T >
bool comphelper::tryPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, const css::uno::Any &_rValueToSet, const T &_rCurrentValue)
 helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue More...
 
template<class ENUMTYPE >
std::enable_if< std::is_enum< ENUMTYPE >::value, bool >::type comphelper::tryPropertyValueEnum (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, const css::uno::Any &_rValueToSet, const ENUMTYPE &_rCurrentValue)
 helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue for enum values More...
 
COMPHELPER_DLLPUBLIC bool comphelper::tryPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, const css::uno::Any &_rValueToSet, const css::uno::Any &_rCurrentValue, const css::uno::Type &_rExpectedType)
 helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue More...