22#include <com/sun/star/lang/XInitialization.hpp>
23#include <com/sun/star/frame/XFrame.hpp>
24#include <com/sun/star/util/XModifyListener.hpp>
25#include <com/sun/star/frame/XFrameActionListener.hpp>
26#include <com/sun/star/util/XModifiable.hpp>
45 css::lang::XInitialization,
46 css::frame::XFrameActionListener,
47 css::util::XModifyListener >
55 css::uno::Reference< css::frame::XFrame >
m_xFrame;
61 css::uno::Reference< css::util::XModifiable >
m_xModel;
74 virtual void SAL_CALL
initialize(
const css::uno::Sequence< css::uno::Any >& lArguments)
override;
77 virtual void SAL_CALL
modified(
const css::lang::EventObject& aEvent)
override;
80 virtual void SAL_CALL
frameAction(
const css::frame::FrameActionEvent& aEvent)
override;
83 virtual void SAL_CALL
disposing(
const css::lang::EventObject& aEvent)
override;
88 void impl_update(
const css::uno::Reference< css::frame::XFrame >& xFrame);
virtual ~TagWindowAsModified() override
virtual void SAL_CALL frameAction(const css::frame::FrameActionEvent &aEvent) override
virtual void SAL_CALL disposing(const css::lang::EventObject &aEvent) override
css::uno::Reference< css::util::XModifiable > m_xModel
we list on the model for modify events
void impl_update(const css::uno::Reference< css::frame::XFrame > &xFrame)
virtual void SAL_CALL modified(const css::lang::EventObject &aEvent) override
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &lArguments) override
css::uno::Reference< css::frame::XFrame > m_xFrame
reference to the frame, where we listen for new loaded documents for updating our own xModel referenc...
VclPtr< vcl::Window > m_xWindow
reference to the frame container window, where we must set the tag