LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
StylePoolChangeListener Class Referencefinal

Listener for styles creation or modification. More...

#include <StylesPreviewWindow.hxx>

Inheritance diagram for StylePoolChangeListener:
[legend]
Collaboration diagram for StylePoolChangeListener:
[legend]

Public Member Functions

 StylePoolChangeListener (StylesPreviewWindow_Base *pPreviewControl)
 
 ~StylePoolChangeListener ()
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Attributes

StylesPreviewWindow_Basem_pPreviewControl
 
SfxStyleSheetBasePoolm_pStyleSheetPool
 

Detailed Description

Listener for styles creation or modification.

Definition at line 45 of file StylesPreviewWindow.hxx.

Constructor & Destructor Documentation

StylePoolChangeListener::StylePoolChangeListener ( StylesPreviewWindow_Base pPreviewControl)
StylePoolChangeListener::~StylePoolChangeListener ( )

Definition at line 94 of file StylesPreviewWindow.cxx.

References SfxListener::EndListening(), and m_pStyleSheetPool.

Member Function Documentation

void StylePoolChangeListener::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 100 of file StylesPreviewWindow.cxx.

References m_pPreviewControl, and StylesPreviewWindow_Base::UpdateStylesList().

Member Data Documentation

StylesPreviewWindow_Base* StylePoolChangeListener::m_pPreviewControl
private

Definition at line 47 of file StylesPreviewWindow.hxx.

Referenced by Notify().

SfxStyleSheetBasePool* StylePoolChangeListener::m_pStyleSheetPool
private

Definition at line 48 of file StylesPreviewWindow.hxx.

Referenced by StylePoolChangeListener(), and ~StylePoolChangeListener().


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