26#include <com/sun/star/uno/Sequence.hxx>
34using ::com::sun::star::uno::Reference;
35using ::com::sun::star::beans::Property;
42 static ::cppu::OPropertyArrayHelper aPropHelper = []()
66 ::chart::PropertyHelper::setPropertyValue< sal_Int32 >( aTmp, ::chart::FillProperties::PROP_FILL_COLOR, 0xffffff );
69 return aStaticDefaults;
83 ::chart::FillProperties::PROP_FILL_COLOR,
103 return ::comphelper::concatSequences(
104 impl::StockBar_Base::getTypes(),
118 tPropertyValueMap::const_iterator aFound( rStaticDefaults.find(
nHandle ) );
119 if( aFound == rStaticDefaults.end() )
122 rAny = (*aFound).second;
127 return StaticStockBarInfoHelper();
135 return xPropertySetInfo;
PropertiesInfo aProperties
This helper class serves as forwarder of modify events.
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
The InfoHelper table contains all property names and types of this object.
virtual ~StockBar() override
rtl::Reference< ModifyEventForwarder > m_xModifyEventForwarder
virtual void SAL_CALL modified(const css::lang::EventObject &aEvent) override
virtual void GetDefaultValue(sal_Int32 nHandle, css::uno::Any &rAny) const override
implement this method to provide default values for all properties supporting defaults.
StockBar(bool bRisingCourse)
virtual void SAL_CALL addModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) override
virtual void firePropertyChangeEvent() override
implement this method in derived classes to get called when properties change.
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo(IPropertyArrayHelper &rProperties)
void SAL_CALL disposing()
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
The same as setFastPropertyValue; nHandle is always valid.
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
OOO_DLLPUBLIC_CHARTTOOLS void AddDefaultsToMap(::chart::tPropertyValueMap &rOutMap)
OOO_DLLPUBLIC_CHARTTOOLS void AddPropertiesToVector(std::vector< css::beans::Property > &rOutProperties)
::cppu::WeakImplHelper< css::util::XCloneable, css::util::XModifyBroadcaster, css::util::XModifyListener > StockBar_Base
std::unordered_map< tPropertyValueMapKey, css::uno::Any > tPropertyValueMap
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)
IMPLEMENT_FORWARD_XINTERFACE2(ChildWindowPane, ChildWindowPaneInterfaceBase, Pane)