LibreOffice Module sc (master) 1
|
#include <undodraw.hxx>
Public Member Functions | |
ScUndoDraw (std::unique_ptr< SfxUndoAction > pUndo, ScDocShell *pDocSh) | |
virtual | ~ScUndoDraw () override |
std::unique_ptr< SfxUndoAction > | ReleaseDrawUndo () |
virtual void | Undo () override |
virtual void | Redo () override |
virtual void | Repeat (SfxRepeatTarget &rTarget) override |
virtual bool | CanRepeat (SfxRepeatTarget &rTarget) const override |
virtual bool | Merge (SfxUndoAction *pNextAction) override |
virtual OUString | GetComment () const override |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) const override |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
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 |
Private Member Functions | |
void | UpdateSubShell () |
Private Attributes | |
std::unique_ptr< SfxUndoAction > | pDrawUndo |
ScDocShell * | pDocShell |
ViewShellId | mnViewShellId |
Definition at line 27 of file undodraw.hxx.
ScUndoDraw::ScUndoDraw | ( | std::unique_ptr< SfxUndoAction > | pUndo, |
ScDocShell * | pDocSh | ||
) |
Definition at line 25 of file undodraw.cxx.
References ScTabViewShell::GetActiveViewShell(), and mnViewShellId.
|
overridevirtual |
Definition at line 34 of file undodraw.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 99 of file undodraw.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 50 of file undodraw.cxx.
|
overridevirtual |
See SfxUndoAction::GetViewShellId().
Reimplemented from SfxUndoAction.
Definition at line 45 of file undodraw.cxx.
References mnViewShellId.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 83 of file undodraw.cxx.
References pDocShell, pDrawUndo, ScDocShell::SetDrawModified(), and UpdateSubShell().
|
inline |
Definition at line 39 of file undodraw.hxx.
References pDrawUndo.
Referenced by ScSimpleUndo::Merge().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 93 of file undodraw.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 73 of file undodraw.cxx.
References pDocShell, pDrawUndo, ScDocShell::SetDrawModified(), and UpdateSubShell().
|
private |
Definition at line 65 of file undodraw.cxx.
References ScDocShell::GetBestViewShell(), pDocShell, and ScTabViewShell::UpdateDrawShell().
|
private |
Definition at line 31 of file undodraw.hxx.
Referenced by GetViewShellId(), and ScUndoDraw().
|
private |
Definition at line 30 of file undodraw.hxx.
Referenced by Redo(), Undo(), and UpdateSubShell().
|
private |
Definition at line 29 of file undodraw.hxx.
Referenced by CanRepeat(), GetComment(), GetRepeatComment(), Merge(), Redo(), ReleaseDrawUndo(), Repeat(), and Undo().