22#include <com/sun/star/beans/PropertyValue.hpp>
41 css::uno::Sequence< css::beans::Property >& _out_rFixedProperties,
42 css::uno::Sequence< css::beans::Property >& _out_rAggregateProperties
45 virtual css::uno::Reference< css::beans::XMultiPropertySet >
56 std::unique_ptr<::comphelper::OPropertyArrayAggregationHelper>
71 inline ::comphelper::OPropertyArrayAggregationHelper&
getInfoHelper()
const;
74 void addProperty(
const OUString& _rName, ::sal_Int16 _nAttributes,
const css::uno::Any& _rInitialValue );
79 void setPropertyValues(
const css::uno::Sequence< css::beans::PropertyValue >& _rProps );
83 inline bool convertDynamicFastPropertyValue( sal_Int32 _nHandle,
const css::uno::Any& _rNewValue, css::uno::Any& _out_rConvertedValue, css::uno::Any& _out_rCurrentValue )
const;
123 return m_aDynamicProperties.convertFastPropertyValue( _nHandle, _rNewValue, _out_rConvertedValue, _out_rCurrentValue );
virtual ::osl::Mutex & getMutex()=0
virtual void describeFixedAndAggregateProperties(css::uno::Sequence< css::beans::Property > &_out_rFixedProperties, css::uno::Sequence< css::beans::Property > &_out_rAggregateProperties) const =0
~IPropertyBagHelperContext()
virtual css::uno::Reference< css::beans::XMultiPropertySet > getPropertiesInterface()=0
PropertyBagHelper(IPropertyBagHelperContext &_rContext)
::comphelper::PropertyBag m_aDynamicProperties
css::uno::Sequence< css::beans::PropertyValue > getPropertyValues()
bool convertDynamicFastPropertyValue(sal_Int32 _nHandle, const css::uno::Any &_rNewValue, css::uno::Any &_out_rConvertedValue, css::uno::Any &_out_rCurrentValue) const
PropertyBagHelper & operator=(const PropertyBagHelper &)=delete
void getDynamicPropertyDefaultByHandle(sal_Int32 _nHandle, css::uno::Any &_out_rValue) const
void getDynamicFastPropertyValue(sal_Int32 _nHandle, css::uno::Any &_out_rValue) const
void removeProperty(const OUString &_rName)
sal_Int32 impl_findFreeHandle(const OUString &_rPropertyName)
finds a free property handle
void addProperty(const OUString &_rName, ::sal_Int16 _nAttributes, const css::uno::Any &_rInitialValue)
void setPropertyValues(const css::uno::Sequence< css::beans::PropertyValue > &_rProps)
bool hasDynamicPropertyByHandle(sal_Int32 _nHandle) const
PropertyBagHelper(const PropertyBagHelper &)=delete
::comphelper::OPropertyArrayAggregationHelper & impl_ts_getArrayHelper() const
returns the IPropertyArrayHelper instance used by |this|
void impl_nts_checkDisposed_throw() const
inline ::comphelper::OPropertyArrayAggregationHelper & getInfoHelper() const
IPropertyBagHelperContext & m_rContext
std::unique_ptr<::comphelper::OPropertyArrayAggregationHelper > m_pPropertyArrayHelper
void impl_nts_invalidatePropertySetInfo()
invalidates our property set info, so subsequent calls to impl_ts_getArrayHelper and thus getInfoHelp...
void setDynamicFastPropertyValue(sal_Int32 _nHandle, const css::uno::Any &_rValue)
ListBox is a bit confusing / different from other form components, so here are a few notes: