LibreOffice Module editeng (master) 1
|
#include <outlundo.hxx>
Public Member Functions | |
OLUndoExpand (Outliner *pOut, sal_uInt16 nId) | |
virtual | ~OLUndoExpand () override |
virtual void | Undo () override |
virtual void | Redo () override |
Public Member Functions inherited from EditUndo | |
EditUndo (sal_uInt16 nI, EditEngine *pEE) | |
virtual | ~EditUndo () override |
EditEngine * | GetEditEngine () |
virtual void | Undo () override=0 |
virtual void | Redo () override=0 |
virtual bool | CanRepeat (SfxRepeatTarget &) const override |
virtual OUString | GetComment () const override |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
sal_uInt16 | GetId () const |
Public Member Functions inherited from SfxUndoAction | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual void | Undo () |
virtual void | UndoWithContext (SfxUndoContext &i_context) |
virtual void | Redo () |
virtual void | RedoWithContext (SfxUndoContext &i_context) |
virtual void | Repeat (SfxRepeatTarget &) |
virtual bool | CanRepeat (SfxRepeatTarget &) const |
virtual bool | Merge (SfxUndoAction *pNextAction) |
virtual OUString | GetComment () const |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) const |
virtual ViewShellId | GetViewShellId () const |
const DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Attributes | |
Outliner * | pOutliner |
sal_Int32 | nCount |
Private Member Functions | |
void | Restore (bool bUndo) |
Definition at line 105 of file outlundo.hxx.
OLUndoExpand::OLUndoExpand | ( | Outliner * | pOut, |
sal_uInt16 | nId | ||
) |
Definition at line 124 of file outlundo.cxx.
References DBG_ASSERT, nCount, and pOut.
|
overridevirtual |
Definition at line 131 of file outlundo.cxx.
|
overridevirtual |
|
private |
Definition at line 136 of file outlundo.cxx.
References Outliner::Collapse(), DBG_ASSERT, Outliner::Expand(), EditUndo::GetId(), Outliner::GetParagraph(), nCount, OLUNDO_COLLAPSE, OLUNDO_EXPAND, Outliner::pEditEngine, and pOutliner.
|
overridevirtual |
sal_Int32 OLUndoExpand::nCount |
Definition at line 115 of file outlundo.hxx.
Referenced by Restore().
Outliner* OLUndoExpand::pOutliner |
Definition at line 114 of file outlundo.hxx.
Referenced by Restore().