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>
37 class OReportController;
38 class OXReportControllerObserverImpl;
42 :
public ::cppu::WeakImplHelper< css::beans::XPropertyChangeListener
43 , css::container::XContainerListener
44 , css::util::XModifyListener
48 const ::std::unique_ptr<OXReportControllerObserverImpl>
m_pImpl;
61 virtual void SAL_CALL
propertyChange(
const css::beans::PropertyChangeEvent& evt)
override;
64 virtual void SAL_CALL
disposing(
const css::lang::EventObject& Source)
override;
67 virtual void SAL_CALL
elementInserted(
const css::container::ContainerEvent& rEvent)
override;
68 virtual void SAL_CALL
elementReplaced(
const css::container::ContainerEvent& rEvent)
override;
69 virtual void SAL_CALL
elementRemoved(
const css::container::ContainerEvent& rEvent)
override;
72 virtual void SAL_CALL
modified(
const css::lang::EventObject& aEvent )
override;
75 void AddElement(
const css::uno::Reference< css::uno::XInterface>& Element);
76 void RemoveElement(
const css::uno::Reference< css::uno::XInterface>& Element);
78 void AddSection(
const css::uno::Reference< css::report::XSection>& _xSection);
79 void RemoveSection(
const css::uno::Reference< css::report::XSection>& _xSection );
99 void switchListening(
const css::uno::Reference< css::container::XIndexAccess >& _rxContainer,
bool _bStartListening );
100 void switchListening(
const css::uno::Reference< css::uno::XInterface >& _rxObject,
bool _bStartListening );
107 #endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_REPORTCONTROLLEROBSERVER_HXX
virtual void SAL_CALL elementRemoved(const css::container::ContainerEvent &rEvent) override
OXReportControllerObserver & m_rObserver
OXReportControllerObserver(const OXReportControllerObserver &)=delete
void RemoveSection(const css::uno::Reference< css::report::XSection > &_xSection)
void AddSection(const css::uno::Reference< css::report::XSection > &_xSection)
virtual void SAL_CALL modified(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL elementInserted(const css::container::ContainerEvent &rEvent) override
const ::std::unique_ptr< OXReportControllerObserverImpl > m_pImpl
void AddElement(const css::uno::Reference< css::uno::XInterface > &Element)
OXReportControllerObserver & operator=(const OXReportControllerObserver &)=delete
OEnvLock(OXReportControllerObserver &_rObserver)
void switchListening(const css::uno::Reference< css::container::XIndexAccess > &_rxContainer, bool _bStartListening)
FormattedFieldBeautifier m_aFormattedFieldBeautifier
virtual void SAL_CALL elementReplaced(const css::container::ContainerEvent &rEvent) override
void RemoveElement(const css::uno::Reference< css::uno::XInterface > &Element)
FixedTextColor m_aFixedTextColor
virtual ~OXReportControllerObserver() override
virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent &evt) override
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
DECL_LINK(SettingsChanged, VclSimpleEvent &, void)
Create an object ob OUndoEnvLock locks the undo possibility As long as in the OUndoEnvLock scope...