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

#include <viewoverlaymanager.hxx>

Inheritance diagram for sd::ViewOverlayManager:
[legend]
Collaboration diagram for sd::ViewOverlayManager:
[legend]

Public Member Functions

 ViewOverlayManager (ViewShellBase &rViewShellBase)
 
virtual ~ViewOverlayManager () override
 
void onZoomChanged ()
 
void UpdateTags ()
 
 DECL_LINK (EventMultiplexerListener, tools::EventMultiplexerEvent &, void)
 
 DECL_LINK (UpdateTagsHdl, void *, void)
 
bool CreateTags ()
 
bool DisposeTags ()
 
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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Attributes

ViewShellBasemrBase
 
ImplSVEventmnUpdateTagsEvent
 
ViewTagVector maTagVector
 

Detailed Description

Definition at line 46 of file viewoverlaymanager.hxx.

Constructor & Destructor Documentation

◆ ViewOverlayManager()

sd::ViewOverlayManager::ViewOverlayManager ( ViewShellBase rViewShellBase)

◆ ~ViewOverlayManager()

sd::ViewOverlayManager::~ViewOverlayManager ( )
overridevirtual

Member Function Documentation

◆ CreateTags()

bool sd::ViewOverlayManager::CreateTags ( )

◆ DECL_LINK() [1/2]

sd::ViewOverlayManager::DECL_LINK ( EventMultiplexerListener  ,
tools::EventMultiplexerEvent ,
void   
)

◆ DECL_LINK() [2/2]

sd::ViewOverlayManager::DECL_LINK ( UpdateTagsHdl  ,
void *  ,
void   
)

◆ DisposeTags()

bool sd::ViewOverlayManager::DisposeTags ( )

Definition at line 512 of file viewoverlaymanager.cxx.

References maTagVector.

Referenced by ~ViewOverlayManager().

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 454 of file viewoverlaymanager.cxx.

References SfxHint::GetId(), and UpdateTags().

◆ onZoomChanged()

void sd::ViewOverlayManager::onZoomChanged ( )

Definition at line 462 of file viewoverlaymanager.cxx.

References maTagVector, and UpdateTags().

◆ UpdateTags()

void sd::ViewOverlayManager::UpdateTags ( )

Definition at line 470 of file viewoverlaymanager.cxx.

References LINK, mnUpdateTagsEvent, and Application::PostUserEvent().

Referenced by Notify(), and onZoomChanged().

Member Data Documentation

◆ maTagVector

ViewTagVector sd::ViewOverlayManager::maTagVector
private

Definition at line 67 of file viewoverlaymanager.hxx.

Referenced by CreateTags(), DisposeTags(), and onZoomChanged().

◆ mnUpdateTagsEvent

ImplSVEvent* sd::ViewOverlayManager::mnUpdateTagsEvent
private

Definition at line 65 of file viewoverlaymanager.hxx.

Referenced by UpdateTags(), and ~ViewOverlayManager().

◆ mrBase

ViewShellBase& sd::ViewOverlayManager::mrBase
private

Definition at line 64 of file viewoverlaymanager.hxx.

Referenced by CreateTags(), ViewOverlayManager(), and ~ViewOverlayManager().


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