55 typedef std::function<void (
const css::uno::Any&)>
SetterType;
62 typedef std::vector< MapType::MapEntry >
InputMap;
101 void initProperties( InputMap&& rMap );
111 void addProperties(
const InputMap& rMap );
118 bool isPropertyName(
const OUString& aPropertyName )
const;
121 css::uno::Reference< css::beans::XPropertySetInfo > getPropertySetInfo()
const;
123 const css::uno::Any& aValue );
126 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener );
128 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener );
MakeMap & operator()(const char *name, const GetterType &getter, const SetterType &setter)
MakeMap(const char *name, const GetterType &getter)
MakeMap(const char *name, const GetterType &getter, const SetterType &setter)
Really simplistic XPropertySet helper for properties.
std::vector< MapType::MapEntry > InputMap
void addVetoableChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener)
std::function< css::uno::Any()> GetterType
std::function< void(const css::uno::Any &)> SetterType
std::unique_ptr< MapType > mpMap
tools::ValueMap< Callbacks > MapType
void setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue)
void addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener)
bool getPropertyValue(ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)