19#ifndef INCLUDED_REPORTDESIGN_SOURCE_UI_INC_REPORTCONTROLLEROBSERVER_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_REPORTCONTROLLEROBSERVER_HXX
22#include <com/sun/star/beans/XPropertyChangeListener.hpp>
23#include <com/sun/star/beans/PropertyChangeEvent.hpp>
24#include <com/sun/star/container/XChild.hpp>
26#include <osl/mutex.hxx>
38 class OReportController;
39 class OXReportControllerObserverImpl;
43 :
public ::cppu::WeakImplHelper< css::beans::XPropertyChangeListener
44 , css::container::XContainerListener
45 , css::util::XModifyListener
49 ::std::vector< css::uno::Reference< css::container::XChild> >
m_aSections;
63 virtual void SAL_CALL
propertyChange(
const css::beans::PropertyChangeEvent& evt)
override;
66 virtual void SAL_CALL
disposing(
const css::lang::EventObject& Source)
override;
69 virtual void SAL_CALL
elementInserted(
const css::container::ContainerEvent& rEvent)
override;
70 virtual void SAL_CALL
elementReplaced(
const css::container::ContainerEvent& rEvent)
override;
71 virtual void SAL_CALL
elementRemoved(
const css::container::ContainerEvent& rEvent)
override;
74 virtual void SAL_CALL
modified(
const css::lang::EventObject& aEvent )
override;
77 void AddElement(
const css::uno::Reference< css::uno::XInterface>& Element);
78 void RemoveElement(
const css::uno::Reference< css::uno::XInterface>& Element);
80 void AddSection(
const css::uno::Reference< css::report::XSection>& _xSection);
81 void RemoveSection(
const css::uno::Reference< css::report::XSection>& _xSection );
101 void switchListening(
const css::uno::Reference< css::container::XIndexAccess >& _rxContainer,
bool _bStartListening );
102 void switchListening(
const css::uno::Reference< css::uno::XInterface >& _rxObject,
bool _bStartListening );
Create an object ob OUndoEnvLock locks the undo possibility As long as in the OUndoEnvLock scope,...
OXReportControllerObserver & m_rObserver
OEnvLock(OXReportControllerObserver &_rObserver)
::std::vector< css::uno::Reference< css::container::XChild > > m_aSections
OXReportControllerObserver(const OXReportControllerObserver &)=delete
void AddSection(const css::uno::Reference< css::report::XSection > &_xSection)
FixedTextColor m_aFixedTextColor
void RemoveSection(const css::uno::Reference< css::report::XSection > &_xSection)
virtual void SAL_CALL elementInserted(const css::container::ContainerEvent &rEvent) override
oslInterlockedCount m_nLocks
void AddElement(const css::uno::Reference< css::uno::XInterface > &Element)
FormattedFieldBeautifier m_aFormattedFieldBeautifier
void switchListening(const css::uno::Reference< css::container::XIndexAccess > &_rxContainer, bool _bStartListening)
virtual void SAL_CALL elementReplaced(const css::container::ContainerEvent &rEvent) override
virtual ~OXReportControllerObserver() override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
DECL_LINK(SettingsChanged, VclSimpleEvent &, void)
OXReportControllerObserver & operator=(const OXReportControllerObserver &)=delete
virtual void SAL_CALL modified(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent &evt) override
void RemoveElement(const css::uno::Reference< css::uno::XInterface > &Element)
void switchListening(const css::uno::Reference< css::uno::XInterface > &_rxObject, bool _bStartListening)
virtual void SAL_CALL elementRemoved(const css::container::ContainerEvent &rEvent) override