LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
ScUndoBorder (ScDocShell *pNewDocShell, const ScRangeList &rRangeList, ScDocumentUniquePtr pNewUndoDoc, const SvxBoxItem &rNewOuter, const SvxBoxInfoItem &rNewInner) | |
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 ScBlockUndo | |
ScBlockUndo (ScDocShell *pDocSh, const ScRange &rRange, ScBlockUndoMode eBlockMode) | |
virtual | ~ScBlockUndo () override |
virtual std::optional< ScRange > | getAffectedRange () 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 Attributes | |
ScDocumentUniquePtr | xUndoDoc |
std::unique_ptr< ScRangeList > | xRanges |
std::unique_ptr< SvxBoxItem > | xOuter |
std::unique_ptr< SvxBoxInfoItem > | xInner |
Additional Inherited Members | |
Public Types inherited from ScSimpleUndo | |
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > | DataSpansType |
Protected Member Functions inherited from ScBlockUndo | |
void | BeginUndo () |
void | EndUndo () |
void | EndRedo () |
bool | AdjustHeight () |
void | ShowBlock () |
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 ScBlockUndo | |
ScRange | aBlockRange |
std::unique_ptr< SdrUndoAction > | pDrawUndo |
ScBlockUndoMode | eMode |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 960 of file undoblk.hxx.
ScUndoBorder::ScUndoBorder | ( | ScDocShell * | pNewDocShell, |
const ScRangeList & | rRangeList, | ||
ScDocumentUniquePtr | pNewUndoDoc, | ||
const SvxBoxItem & | rNewOuter, | ||
const SvxBoxInfoItem & | rNewInner | ||
) |
Definition at line 2376 of file undoblk.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 2433 of file undoblk.cxx.
|
overridevirtual |
own string?
Reimplemented from SfxUndoAction.
Definition at line 2387 of file undoblk.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 2405 of file undoblk.cxx.
References ScDocument::ApplySelectionFrame(), ScRange::aStart, ScSimpleUndo::BeginRedo(), ScBlockUndo::EndRedo(), ScDocShell::GetDocument(), ScDocument::GetSheetLimits(), Grid, i, nCount, ScSimpleUndo::pDocShell, ScDocShell::PostPaint(), SC_PF_LINES, SC_PF_TESTMERGE, ScMarkData::SelectTable(), ScMarkData::SetMarkArea(), ScAddress::Tab(), xInner, xOuter, and xRanges.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 2428 of file undoblk.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 2392 of file undoblk.cxx.
References ScBlockUndo::aBlockRange, ATTRIB, ScBlockUndo::BeginUndo(), ScBlockUndo::EndUndo(), ScDocShell::GetDocument(), ScDocument::GetSheetLimits(), Grid, ScMarkData::MarkFromRangeList(), ScSimpleUndo::pDocShell, ScDocShell::PostPaint(), SC_PF_LINES, SC_PF_TESTMERGE, xRanges, and xUndoDoc.
|
private |
Definition at line 980 of file undoblk.hxx.
Referenced by Redo(), and ScUndoBorder().
|
private |
Definition at line 979 of file undoblk.hxx.
Referenced by Redo(), and ScUndoBorder().
|
private |
Definition at line 978 of file undoblk.hxx.
Referenced by Redo(), ScUndoBorder(), and Undo().
|
private |
Definition at line 977 of file undoblk.hxx.
Referenced by Undo().