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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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

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

Definition at line 32 of file navmgr.hxx.

Constructor & Destructor Documentation

SwNavigationMgr::SwNavigationMgr ( SwWrtShell rShell)

Definition at line 46 of file navmgr.cxx.

SwNavigationMgr::~SwNavigationMgr ( )
override

Definition at line 51 of file navmgr.cxx.

References SfxListener::EndListening(), and m_entries.

Member Function Documentation

bool SwNavigationMgr::addEntry ( const SwPosition rPos)
bool SwNavigationMgr::backEnabled ( )

Definition at line 82 of file navmgr.cxx.

References m_nCurrent.

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

bool SwNavigationMgr::forwardEnabled ( )

Definition at line 92 of file navmgr.cxx.

References m_entries, and m_nCurrent.

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

void SwNavigationMgr::goBack ( )
void SwNavigationMgr::goForward ( )
void SwNavigationMgr::GotoSwPosition ( const SwPosition rPos)
private
void SwNavigationMgr::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 61 of file navmgr.cxx.

References SfxListener::EndListening(), and m_entries.

Member Data Documentation

Stack_t SwNavigationMgr::m_entries
private

Definition at line 33 of file navmgr.hxx.

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

Stack_t::size_type SwNavigationMgr::m_nCurrent
private

Definition at line 34 of file navmgr.hxx.

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

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: