LibreOffice Module sw (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
SwNavigationMgr Class Referencefinal

#include <navmgr.hxx>

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

Public Member Functions

 SwNavigationMgr (SwWrtShell &rShell)
 
 ~SwNavigationMgr () override
 
bool backEnabled ()
 
bool forwardEnabled ()
 
void goBack ()
 
void goForward ()
 
bool addEntry (const SwPosition &rPos)
 
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 Types

typedef std::vector< sw::UnoCursorPointerStack_t
 

Private Member Functions

void GotoSwPosition (const SwPosition &rPos)
 

Private Attributes

Stack_t m_entries
 
Stack_t::size_type m_nCurrent
 
SwWrtShellm_rMyShell
 

Detailed Description

Definition at line 20 of file navmgr.hxx.

Member Typedef Documentation

◆ Stack_t

typedef std::vector< sw::UnoCursorPointer > SwNavigationMgr::Stack_t
private

Definition at line 32 of file navmgr.hxx.

Constructor & Destructor Documentation

◆ SwNavigationMgr()

SwNavigationMgr::SwNavigationMgr ( SwWrtShell rShell)

Definition at line 44 of file navmgr.cxx.

◆ ~SwNavigationMgr()

SwNavigationMgr::~SwNavigationMgr ( )
override

Definition at line 49 of file navmgr.cxx.

References SfxListener::EndListening(), and m_entries.

Member Function Documentation

◆ addEntry()

bool SwNavigationMgr::addEntry ( const SwPosition rPos)

◆ backEnabled()

bool SwNavigationMgr::backEnabled ( )

Definition at line 80 of file navmgr.cxx.

References m_nCurrent.

Referenced by addEntry(), SwNavigationShell::GetState(), goBack(), and goForward().

◆ forwardEnabled()

bool SwNavigationMgr::forwardEnabled ( )

Definition at line 90 of file navmgr.cxx.

References m_entries, and m_nCurrent.

Referenced by addEntry(), SwNavigationShell::GetState(), goBack(), and goForward().

◆ goBack()

void SwNavigationMgr::goBack ( )

◆ goForward()

void SwNavigationMgr::goForward ( )

◆ GotoSwPosition()

void SwNavigationMgr::GotoSwPosition ( const SwPosition rPos)
private

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 59 of file navmgr.cxx.

References SfxListener::EndListening(), and m_entries.

Member Data Documentation

◆ m_entries

Stack_t SwNavigationMgr::m_entries
private

Definition at line 33 of file navmgr.hxx.

Referenced by addEntry(), forwardEnabled(), goBack(), goForward(), Notify(), and ~SwNavigationMgr().

◆ m_nCurrent

Stack_t::size_type SwNavigationMgr::m_nCurrent
private

Definition at line 34 of file navmgr.hxx.

Referenced by addEntry(), backEnabled(), forwardEnabled(), goBack(), and goForward().

◆ m_rMyShell

SwWrtShell& SwNavigationMgr::m_rMyShell
private

Definition at line 35 of file navmgr.hxx.

Referenced by addEntry(), goBack(), goForward(), and GotoSwPosition().


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