LibreOffice Module svl (master) 1
|
do not make use of these implementation details, unless you really really have to! More...
#include <undo.hxx>
Classes | |
struct | Impl |
Public Member Functions | |
SfxListUndoAction (const OUString &rComment, const OUString &rRepeatComment, sal_uInt16 nId, ViewShellId nViewShellId, SfxUndoArray *pFather) | |
virtual | ~SfxListUndoAction () override |
virtual void | Undo () override |
virtual void | UndoWithContext (SfxUndoContext &i_context) override |
virtual void | Redo () override |
virtual void | RedoWithContext (SfxUndoContext &i_context) override |
virtual void | Repeat (SfxRepeatTarget &) override |
virtual bool | CanRepeat (SfxRepeatTarget &) const override |
virtual bool | Merge (SfxUndoAction *pNextAction) override |
virtual OUString | GetComment () const override |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) const override |
sal_uInt16 | GetId () const |
void | SetComment (const OUString &rComment) |
void | dumpAsXml (xmlTextWriterPtr pWriter) 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 |
ID of the view shell that created this undo action. More... | |
const DateTime & | GetDateTime () const |
Timestamp when this undo item was created. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from SfxUndoArray | |
SfxUndoArray (size_t nMax=0) | |
virtual | ~SfxUndoArray () |
SfxUndoArray & | operator= (SfxUndoArray const &)=delete |
SfxUndoArray (SfxUndoArray const &)=delete | |
SfxUndoAction * | GetUndoAction (size_t idx) |
std::unique_ptr< SfxUndoAction > | Remove (int idx) |
void | Remove (size_t i_pos, size_t i_count) |
void | Insert (std::unique_ptr< SfxUndoAction > i_action, size_t i_pos) |
Private Attributes | |
std::unique_ptr< Impl > | mpImpl |
Additional Inherited Members | |
Public Attributes inherited from SfxUndoArray | |
std::vector< MarkedUndoAction > | maUndoActions |
size_t | nMaxUndoActions |
size_t | nCurUndoAction |
SfxUndoArray * | pFatherUndoArray |
do not make use of these implementation details, unless you really really have to!
SfxListUndoAction::SfxListUndoAction | ( | const OUString & | rComment, |
const OUString & | rRepeatComment, | ||
sal_uInt16 | nId, | ||
ViewShellId | nViewShellId, | ||
SfxUndoArray * | pFather | ||
) |
Definition at line 1304 of file undo.cxx.
References nId, SfxUndoArray::nMaxUndoActions, and SfxUndoArray::pFatherUndoArray.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1359 of file undo.cxx.
References i, SfxUndoArray::maUndoActions, and SfxUndoArray::nCurUndoAction.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1375 of file undo.cxx.
References SfxUndoAction::dumpAsXml(), i, and SfxUndoArray::maUndoActions.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1284 of file undo.cxx.
References mpImpl.
Referenced by SfxUndoManager::ImplLeaveListAction().
sal_uInt16 SfxListUndoAction::GetId | ( | ) | const |
|
overridevirtual |
|
overridevirtual |
See SfxUndoAction::GetViewShellId().
Reimplemented from SfxUndoAction.
Definition at line 1289 of file undo.cxx.
References mpImpl.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1370 of file undo.cxx.
References SfxUndoArray::maUndoActions.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1336 of file undo.cxx.
References i, SfxUndoArray::maUndoActions, and SfxUndoArray::nCurUndoAction.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1344 of file undo.cxx.
References i, SfxUndoArray::maUndoActions, and SfxUndoArray::nCurUndoAction.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1352 of file undo.cxx.
References i, SfxUndoArray::maUndoActions, SfxUndoArray::nCurUndoAction, and rTarget.
void SfxListUndoAction::SetComment | ( | const OUString & | rComment | ) |
Definition at line 1294 of file undo.cxx.
References mpImpl.
Referenced by SfxUndoManager::ImplLeaveListAction().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1320 of file undo.cxx.
References i, SfxUndoArray::maUndoActions, and SfxUndoArray::nCurUndoAction.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1328 of file undo.cxx.
References i, SfxUndoArray::maUndoActions, and SfxUndoArray::nCurUndoAction.
|
private |
Definition at line 134 of file undo.hxx.
Referenced by GetComment(), GetId(), GetRepeatComment(), GetViewShellId(), and SetComment().