|
LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
| ScUndoConversion (ScDocShell *pNewDocShell, const ScMarkData &rMark, SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, ScDocumentUniquePtr pNewUndoDoc, SCCOL nNewX, SCROW nNewY, SCTAB nNewZ, ScDocumentUniquePtr pNewRedoDoc, ScConversionParam aConvParam) | |
| virtual | ~ScUndoConversion () 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 (ScDocument *pRefDoc, const ScAddress &rCursorPos) |
| Conversion type and parameters. More... | |
| void | SetChangeTrack () |
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 536 of file undoblk.hxx.
| ScUndoConversion::ScUndoConversion | ( | ScDocShell * | pNewDocShell, |
| const ScMarkData & | rMark, | ||
| SCCOL | nCurX, | ||
| SCROW | nCurY, | ||
| SCTAB | nCurZ, | ||
| ScDocumentUniquePtr | pNewUndoDoc, | ||
| SCCOL | nNewX, | ||
| SCROW | nNewY, | ||
| SCTAB | nNewZ, | ||
| ScDocumentUniquePtr | pNewRedoDoc, | ||
| ScConversionParam | aConvParam | ||
| ) |
Definition at line 1171 of file undoblk3.cxx.
References SetChangeTrack().
|
overridevirtual |
Definition at line 1187 of file undoblk3.cxx.
|
overridevirtual |
|
private |
Conversion type and parameters.
Definition at line 1225 of file undoblk3.cxx.
References aMarkData, CONTENTS, ScDocument::CopyToDocument(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), ScDocShell::GetViewData(), ScMarkData::IsMultiMarked(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScSimpleUndo::pDocShell, ScDocShell::PostPaintGridAll(), ScSimpleUndo::SetViewMarkData(), ScSimpleUndo::ShowTable(), and ScAddress::Tab().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1212 of file undoblk3.cxx.
References ScConversionParam::GetType(), maConvParam, SC_CONVERSION_CHINESE_TRANSL, SC_CONVERSION_HANGULHANJA, SC_CONVERSION_SPELLCHECK, and ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1264 of file undoblk3.cxx.
References aNewCursorPos, ScSimpleUndo::BeginRedo(), DoChange(), ScSimpleUndo::EndRedo(), pRedoDoc, and SetChangeTrack().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1272 of file undoblk3.cxx.
References maConvParam, and rTarget.
|
private |
Definition at line 1193 of file undoblk3.cxx.
References ScChangeTrack::AppendContentsIfInRefDoc(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, and pUndoDoc.
Referenced by Redo(), and ScUndoConversion().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1254 of file undoblk3.cxx.
References aCursorPos, ScSimpleUndo::BeginUndo(), DoChange(), ScSimpleUndo::EndUndo(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, pUndoDoc, and ScChangeTrack::Undo().
|
private |
Definition at line 555 of file undoblk.hxx.
Referenced by Undo().
|
private |
Definition at line 554 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 557 of file undoblk.hxx.
Referenced by Redo().
|
private |
Definition at line 561 of file undoblk.hxx.
Referenced by GetComment(), and Repeat().
|
private |
Definition at line 560 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 559 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 558 of file undoblk.hxx.
Referenced by Redo(), and ~ScUndoConversion().
|
private |
Definition at line 556 of file undoblk.hxx.
Referenced by SetChangeTrack(), Undo(), and ~ScUndoConversion().