|
LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
| ScUndoAutoFill (ScDocShell *pNewDocShell, const ScRange &rRange, const ScRange &rSourceArea, ScDocumentUniquePtr pNewUndoDoc, const ScMarkData &rMark, FillDir eNewFillDir, FillCmd eNewFillCmd, FillDateCmd eNewFillDateCmd, double fNewStartValue, double fNewStepValue, double fNewMaxValue) | |
| virtual | ~ScUndoAutoFill () 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 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 Member Functions | |
| void | SetChangeTrack () |
Private Attributes | |
| ScRange | aSource |
| ScMarkData | aMarkData |
| ScDocumentUniquePtr | pUndoDoc |
| FillDir | eFillDir |
| FillCmd | eFillCmd |
| FillDateCmd | eFillDateCmd |
| double | fStartValue |
| double | fStepValue |
| double | fMaxValue |
| sal_uLong | nStartChangeAction |
| sal_uLong | nEndChangeAction |
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 392 of file undoblk.hxx.
| ScUndoAutoFill::ScUndoAutoFill | ( | ScDocShell * | pNewDocShell, |
| const ScRange & | rRange, | ||
| const ScRange & | rSourceArea, | ||
| ScDocumentUniquePtr | pNewUndoDoc, | ||
| const ScMarkData & | rMark, | ||
| FillDir | eNewFillDir, | ||
| FillCmd | eNewFillCmd, | ||
| FillDateCmd | eNewFillDateCmd, | ||
| double | fNewStartValue, | ||
| double | fNewStepValue, | ||
| double | fNewMaxValue | ||
| ) |
Definition at line 484 of file undoblk3.cxx.
References SetChangeTrack().
|
overridevirtual |
Definition at line 503 of file undoblk3.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 507 of file undoblk3.cxx.
References ScResId().
|
overridevirtual |
Select sheet
Reimplemented from SfxUndoAction.
Definition at line 563 of file undoblk3.cxx.
References ScBlockUndo::aBlockRange, ScRange::aEnd, aMarkData, aSource, ScRange::aStart, ScSimpleUndo::BeginRedo(), ScTabView::CellContentChanged(), ScAddress::Col(), eFillCmd, eFillDateCmd, eFillDir, ScBlockUndo::EndRedo(), ScDocument::Fill(), FILL_TO_BOTTOM, FILL_TO_LEFT, FILL_TO_RIGHT, FILL_TO_TOP, fMaxValue, fStartValue, fStepValue, ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScDocument::GetDocumentShell(), Grid, MAXDOUBLE, nCount, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScAddress::Row(), ScResId(), SetChangeTrack(), ScDocument::SetValue(), and ScAddress::Tab().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 620 of file undoblk3.cxx.
References eFillCmd, eFillDateCmd, eFillDir, FILL_SIMPLE, ScViewFunc::FillSeries(), ScViewFunc::FillSimple(), fMaxValue, fStartValue, fStepValue, SfxShell::GetViewShell(), and rTarget.
|
private |
Definition at line 512 of file undoblk3.cxx.
References ScBlockUndo::aBlockRange, ScChangeTrack::AppendContentRange(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, and pUndoDoc.
Referenced by Redo(), and ScUndoAutoFill().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 522 of file undoblk3.cxx.
References ScBlockUndo::aBlockRange, ScRange::aEnd, aMarkData, ScRange::aStart, AUTOFILL, ScBlockUndo::BeginUndo(), ScSimpleUndo::BroadcastChanges(), ScTabView::CellContentChanged(), ScDocument::DeleteAreaTab(), ScBlockUndo::EndUndo(), ScDocument::ExtendMerge(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), Grid, nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), pUndoDoc, ScAddress::SetTab(), ScChangeTrack::Undo(), and ScDocShell::UpdatePaintExt().
|
private |
Definition at line 412 of file undoblk.hxx.
|
private |
Definition at line 411 of file undoblk.hxx.
Referenced by Redo().
|
private |
Definition at line 416 of file undoblk.hxx.
|
private |
Definition at line 417 of file undoblk.hxx.
|
private |
Definition at line 415 of file undoblk.hxx.
|
private |
Definition at line 420 of file undoblk.hxx.
|
private |
Definition at line 418 of file undoblk.hxx.
|
private |
Definition at line 419 of file undoblk.hxx.
|
private |
Definition at line 422 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 421 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 414 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().