LibreOffice Module starmath (master) 1
|
#include <action.hxx>
Public Member Functions | |
SmFormatAction (SmDocShell *pDocSh, const SmFormat &rOldFormat, const SmFormat &rNewFormat) | |
virtual void | Undo () override |
virtual void | Redo () override |
virtual void | Repeat (SfxRepeatTarget &rDocSh) override |
virtual OUString | GetComment () const override |
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 Attributes | |
SmDocShell * | pDoc |
SmFormat | aOldFormat |
SmFormat | aNewFormat |
Definition at line 27 of file action.hxx.
SmFormatAction::SmFormatAction | ( | SmDocShell * | pDocSh, |
const SmFormat & | rOldFormat, | ||
const SmFormat & | rNewFormat | ||
) |
Definition at line 24 of file action.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 48 of file action.cxx.
References RID_UNDOFORMATNAME.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 38 of file action.cxx.
References aNewFormat, pDoc, and SmDocShell::SetFormat().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 43 of file action.cxx.
References aNewFormat, and SetFormat().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 33 of file action.cxx.
References aOldFormat, pDoc, and SmDocShell::SetFormat().
|
private |
Definition at line 31 of file action.hxx.
|
private |
Definition at line 30 of file action.hxx.
Referenced by Undo().
|
private |
Definition at line 29 of file action.hxx.