27#include <com/sun/star/drawing/LineStyle.hpp>
37using ::com::sun::star::beans::Property;
51 ::chart::PropertyHelper::setPropertyValue< sal_Int32 >( aTmp, ::chart::FillProperties::PROP_FILL_COLOR, 0xffffff );
55 return aStaticDefaults;
60 static ::cppu::OPropertyArrayHelper aPropHelper = []()
96 return ::comphelper::concatSequences(
97 impl::PageBackground_Base::getTypes(),
111 tPropertyValueMap::const_iterator aFound( rStaticDefaults.find(
nHandle ) );
112 if( aFound == rStaticDefaults.end() )
115 rAny = (*aFound).second;
120 return StaticPageBackgroundInfoHelper();
128 return xPropertySetInfo;
162 return "com.sun.star.comp.chart2.PageBackground";
173 "com.sun.star.chart2.PageBackground",
174 "com.sun.star.beans.PropertySet" };
183extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
185 css::uno::Sequence<css::uno::Any>
const &)
187 return cppu::acquire(new ::chart::PageBackground );
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_chart2_PageBackground_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
PropertiesInfo aProperties
This helper class serves as forwarder of modify events.
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
The InfoHelper table contains all property names and types of this object.
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) 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.
rtl::Reference< ModifyEventForwarder > m_xModifyEventForwarder
virtual OUString SAL_CALL getImplementationName() override
XServiceInfo declarations.
virtual void SAL_CALL modified(const css::lang::EventObject &aEvent) override
virtual ~PageBackground() override
virtual void firePropertyChangeEvent() override
implement this method in derived classes to get called when properties change.
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual void SAL_CALL addModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo(IPropertyArrayHelper &rProperties)
void SAL_CALL disposing()
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)
void setPropertyValue(tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const Value &value)
Set a property to a certain value in the given map.
::cppu::WeakImplHelper< css::util::XCloneable, css::util::XModifyBroadcaster, css::util::XModifyListener, css::lang::XServiceInfo > PageBackground_Base
std::unordered_map< tPropertyValueMapKey, css::uno::Any > tPropertyValueMap
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
IMPLEMENT_FORWARD_XINTERFACE2(ChildWindowPane, ChildWindowPaneInterfaceBase, Pane)