LibreOffice Module sc (master) 1
|
#include <undocell.hxx>
Public Member Functions | |
ScUndoPageBreak (ScDocShell *pNewDocShell, SCCOL nNewCol, SCROW nNewRow, SCTAB nNewTab, bool bNewColumn, bool bNewInsert) | |
virtual | ~ScUndoPageBreak () override |
virtual void | Undo () override |
virtual void | Redo () override |
virtual void | Repeat (SfxRepeatTarget &rTarget) override |
virtual bool | CanRepeat (SfxRepeatTarget &rTarget) const override |
virtual OUString | GetComment () const override |
Public Member Functions inherited from ScSimpleUndo | |
ScSimpleUndo (ScDocShell *pDocSh) | |
virtual bool | Merge (SfxUndoAction *pNextAction) override |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
virtual std::optional< ScRange > | getAffectedRange () 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 |
Private Member Functions | |
void | DoChange (bool bInsert) const |
Private Attributes | |
SCCOL | nCol |
SCROW | nRow |
SCTAB | nTab |
bool | bColumn |
bool | bInsert |
Additional Inherited Members | |
Public Types inherited from ScSimpleUndo | |
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > | DataSpansType |
Protected Member Functions inherited from ScSimpleUndo | |
bool | IsPaintLocked () const |
bool | SetViewMarkData (const ScMarkData &rMarkData) |
void | BeginUndo () |
void | EndUndo () |
void | BeginRedo () |
void | EndRedo () |
void | BroadcastChanges (const ScRange &rRange) |
void | BroadcastChanges (const DataSpansType &rSpans) |
Broadcast changes on specified spans. More... | |
Static Protected Member Functions inherited from ScSimpleUndo | |
static void | ShowTable (SCTAB nTab) |
static void | ShowTable (const ScRange &rRange) |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 165 of file undocell.hxx.
ScUndoPageBreak::ScUndoPageBreak | ( | ScDocShell * | pNewDocShell, |
SCCOL | nNewCol, | ||
SCROW | nNewRow, | ||
SCTAB | nNewTab, | ||
bool | bNewColumn, | ||
bool | bNewInsert | ||
) |
Definition at line 500 of file undocell.cxx.
|
overridevirtual |
Definition at line 512 of file undocell.cxx.
|
overridevirtual |
|
private |
Definition at line 530 of file undocell.cxx.
References bColumn, ScViewFunc::DeletePageBreak(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScViewFunc::InsertPageBreak(), ScDocument::InvalidatePageBreaks(), ScTabView::MoveCursorAbs(), nCol, nRow, nTab, ScSimpleUndo::pDocShell, SC_FOLLOW_JUMP, and ScTabView::SetTabNo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 516 of file undocell.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 555 of file undocell.cxx.
References ScSimpleUndo::BeginRedo(), bInsert, DoChange(), and ScSimpleUndo::EndRedo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 562 of file undocell.cxx.
References bColumn, bInsert, ScViewFunc::DeletePageBreak(), SfxShell::GetViewShell(), ScViewFunc::InsertPageBreak(), and rTarget.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 548 of file undocell.cxx.
References ScSimpleUndo::BeginUndo(), bInsert, DoChange(), and ScSimpleUndo::EndUndo().
|
private |
Definition at line 184 of file undocell.hxx.
Referenced by DoChange(), GetComment(), and Repeat().
|
private |
Definition at line 185 of file undocell.hxx.
Referenced by GetComment(), Redo(), Repeat(), and Undo().
|
private |
Definition at line 181 of file undocell.hxx.
Referenced by DoChange().
|
private |
Definition at line 182 of file undocell.hxx.
Referenced by DoChange().
|
private |
Definition at line 183 of file undocell.hxx.
Referenced by DoChange().