LibreOffice Module sw (master) 1
|
A helper class to save cursor state (position). More...
#include <swcrsr.hxx>
Public Member Functions | |
SwCursorSaveState (SwCursor &rC) | |
~SwCursorSaveState () | |
Private Attributes | |
SwCursor & | m_rCursor |
A helper class to save cursor state (position).
Create SwCursorSaveState object to save current state, use SwCursor::RestoreSavePos() to actually restore cursor state to the saved state (SwCursorSaveState destructor only removes the saved state from an internal stack). It is possible to stack several SwCursorSaveState objects.
Definition at line 232 of file swcrsr.hxx.
|
inline |
Definition at line 237 of file swcrsr.hxx.
References SwCursor::SaveState().
|
inline |
Definition at line 238 of file swcrsr.hxx.
References m_rCursor, and SwCursor::RestoreState().
|
private |
Definition at line 235 of file swcrsr.hxx.
Referenced by ~SwCursorSaveState().