LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScUndoQuery Class Reference

#include <undodat.hxx>

Inheritance diagram for ScUndoQuery:
[legend]
Collaboration diagram for ScUndoQuery:
[legend]

Public Member Functions

 ScUndoQuery (ScDocShell *pNewDocShell, SCTAB nNewTab, const ScQueryParam &rParam, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScDBCollection > pNewUndoDB, const ScRange *pOld, bool bSize, const ScRange *pAdvSrc)
 
virtual ~ScUndoQuery () 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 ScDBFuncUndo
 ScDBFuncUndo (ScDocShell *pDocSh, const ScRange &rOriginal)
 
virtual ~ScDBFuncUndo () override
 
void BeginUndo ()
 
void EndUndo ()
 
void BeginRedo ()
 
void EndRedo ()
 
- Public Member Functions inherited from ScSimpleUndo
 ScSimpleUndo (ScDocShell *pDocSh)
 
virtual bool Merge (SfxUndoAction *pNextAction) override
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

std::unique_ptr< SdrUndoActionpDrawUndo
 
SCTAB nTab
 
ScQueryParam aQueryParam
 
ScDocumentUniquePtr xUndoDoc
 
std::unique_ptr< ScDBCollectionxUndoDB
 
ScRange aOldDest
 
ScRange aAdvSource
 
bool bIsAdvanced
 
bool bDestArea
 
bool bDoSize
 

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 ScDBFuncUndo
std::unique_ptr< ScDBDatapAutoDBRange
 
ScRange aOriginalRange
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 209 of file undodat.hxx.

Constructor & Destructor Documentation

ScUndoQuery::ScUndoQuery ( ScDocShell pNewDocShell,
SCTAB  nNewTab,
const ScQueryParam rParam,
ScDocumentUniquePtr  pNewUndoDoc,
std::unique_ptr< ScDBCollection pNewUndoDB,
const ScRange pOld,
bool  bSize,
const ScRange pAdvSrc 
)
ScUndoQuery::~ScUndoQuery ( )
overridevirtual

Definition at line 724 of file undodat.cxx.

References pDrawUndo.

Member Function Documentation

bool ScUndoQuery::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 867 of file undodat.cxx.

OUString ScUndoQuery::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 729 of file undodat.cxx.

References ScResId().

void ScUndoQuery::Redo ( )
overridevirtual
void ScUndoQuery::Repeat ( SfxRepeatTarget rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 863 of file undodat.cxx.

void ScUndoQuery::Undo ( )
overridevirtual

Member Data Documentation

ScRange ScUndoQuery::aAdvSource
private

Definition at line 232 of file undodat.hxx.

Referenced by Redo(), and ScUndoQuery().

ScRange ScUndoQuery::aOldDest
private

Definition at line 231 of file undodat.hxx.

Referenced by ScUndoQuery(), and Undo().

ScQueryParam ScUndoQuery::aQueryParam
private

Definition at line 228 of file undodat.hxx.

Referenced by Redo(), and Undo().

bool ScUndoQuery::bDestArea
private

Definition at line 234 of file undodat.hxx.

Referenced by ScUndoQuery(), and Undo().

bool ScUndoQuery::bDoSize
private

Definition at line 235 of file undodat.hxx.

Referenced by Undo().

bool ScUndoQuery::bIsAdvanced
private

Definition at line 233 of file undodat.hxx.

Referenced by Redo(), and ScUndoQuery().

SCTAB ScUndoQuery::nTab
private

Definition at line 227 of file undodat.hxx.

Referenced by Redo(), and Undo().

std::unique_ptr<SdrUndoAction> ScUndoQuery::pDrawUndo
private

Definition at line 226 of file undodat.hxx.

Referenced by ScUndoQuery(), Undo(), and ~ScUndoQuery().

std::unique_ptr<ScDBCollection> ScUndoQuery::xUndoDB
private

Definition at line 230 of file undodat.hxx.

Referenced by Undo().

ScDocumentUniquePtr ScUndoQuery::xUndoDoc
private

Definition at line 229 of file undodat.hxx.

Referenced by Undo().


The documentation for this class was generated from the following files: