LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
framework::TagWindowAsModified Class Referencefinal

#include <tagwindowasmodified.hxx>

Inheritance diagram for framework::TagWindowAsModified:
[legend]
Collaboration diagram for framework::TagWindowAsModified:
[legend]

Public Member Functions

 TagWindowAsModified ()
 
virtual ~TagWindowAsModified () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &lArguments) override
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL frameAction (const css::frame::FrameActionEvent &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 

Private Member Functions

void impl_update (const css::uno::Reference< css::frame::XFrame > &xFrame)
 

Private Attributes

css::uno::Reference< css::frame::XFrame > m_xFrame
 reference to the frame, where we listen for new loaded documents for updating our own xModel reference More...
 
VclPtr< vcl::Windowm_xWindow
 reference to the frame container window, where we must set the tag More...
 
css::uno::Reference< css::util::XModifiable > m_xModel
 we list on the model for modify events More...
 

Detailed Description

Definition at line 44 of file tagwindowasmodified.hxx.

Constructor & Destructor Documentation

◆ TagWindowAsModified()

framework::TagWindowAsModified::TagWindowAsModified ( )

Definition at line 33 of file tagwindowasmodified.cxx.

◆ ~TagWindowAsModified()

framework::TagWindowAsModified::~TagWindowAsModified ( )
overridevirtual

Definition at line 37 of file tagwindowasmodified.cxx.

Member Function Documentation

◆ disposing()

void SAL_CALL framework::TagWindowAsModified::disposing ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 90 of file tagwindowasmodified.cxx.

References aEvent, m_xFrame, and m_xModel.

◆ frameAction()

void SAL_CALL framework::TagWindowAsModified::frameAction ( const css::frame::FrameActionEvent &  aEvent)
overridevirtual

Definition at line 76 of file tagwindowasmodified.cxx.

References aEvent, impl_update(), and m_xFrame.

◆ impl_update()

void framework::TagWindowAsModified::impl_update ( const css::uno::Reference< css::frame::XFrame > &  xFrame)
private

Definition at line 109 of file tagwindowasmodified.cxx.

References VCLUnoHelper::GetWindow(), m_xModel, m_xWindow, xController, xFrame, and xModel.

Referenced by frameAction(), and initialize().

◆ initialize()

void SAL_CALL framework::TagWindowAsModified::initialize ( const css::uno::Sequence< css::uno::Any > &  lArguments)
overridevirtual

Definition at line 41 of file tagwindowasmodified.cxx.

References impl_update(), m_xFrame, and xFrame.

◆ modified()

void SAL_CALL framework::TagWindowAsModified::modified ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 56 of file tagwindowasmodified.cxx.

References aEvent, m_xModel, and m_xWindow.

Member Data Documentation

◆ m_xFrame

css::uno::Reference< css::frame::XFrame > framework::TagWindowAsModified::m_xFrame
private

reference to the frame, where we listen for new loaded documents for updating our own xModel reference

Definition at line 55 of file tagwindowasmodified.hxx.

Referenced by disposing(), frameAction(), and initialize().

◆ m_xModel

css::uno::Reference< css::util::XModifiable > framework::TagWindowAsModified::m_xModel
private

we list on the model for modify events

Definition at line 61 of file tagwindowasmodified.hxx.

Referenced by disposing(), impl_update(), and modified().

◆ m_xWindow

VclPtr<vcl::Window> framework::TagWindowAsModified::m_xWindow
private

reference to the frame container window, where we must set the tag

Definition at line 58 of file tagwindowasmodified.hxx.

Referenced by impl_update(), and modified().


The documentation for this class was generated from the following files: