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

#include <undotab.hxx>

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

Public Member Functions

 ScUndoScenarioFlags (ScDocShell *pNewDocShell, SCTAB nT, const OUString &rON, const OUString &rNN, const OUString &rOC, const OUString &rNC, const Color &rOCol, const Color &rNCol, ScScenarioFlags nOF, ScScenarioFlags nNF)
 
virtual ~ScUndoScenarioFlags () 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...
 
- 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

SCTAB nTab
 
OUString aOldName
 
OUString aNewName
 
OUString aOldComment
 
OUString aNewComment
 
Color aOldColor
 
Color aNewColor
 
ScScenarioFlags nOldFlags
 
ScScenarioFlags nNewFlags
 

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
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 397 of file undotab.hxx.

Constructor & Destructor Documentation

ScUndoScenarioFlags::ScUndoScenarioFlags ( ScDocShell pNewDocShell,
SCTAB  nT,
const OUString &  rON,
const OUString &  rNN,
const OUString &  rOC,
const OUString &  rNC,
const Color rOCol,
const Color rNCol,
ScScenarioFlags  nOF,
ScScenarioFlags  nNF 
)

Definition at line 1350 of file undotab.cxx.

ScUndoScenarioFlags::~ScUndoScenarioFlags ( )
overridevirtual

Definition at line 1366 of file undotab.cxx.

Member Function Documentation

bool ScUndoScenarioFlags::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1414 of file undotab.cxx.

OUString ScUndoScenarioFlags::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1370 of file undotab.cxx.

References ScResId().

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

Reimplemented from SfxUndoAction.

Definition at line 1409 of file undotab.cxx.

void ScUndoScenarioFlags::Undo ( )
overridevirtual

Member Data Documentation

Color ScUndoScenarioFlags::aNewColor
private

Definition at line 423 of file undotab.hxx.

Referenced by Redo().

OUString ScUndoScenarioFlags::aNewComment
private

Definition at line 421 of file undotab.hxx.

Referenced by Redo().

OUString ScUndoScenarioFlags::aNewName
private

Definition at line 419 of file undotab.hxx.

Referenced by Redo(), and Undo().

Color ScUndoScenarioFlags::aOldColor
private

Definition at line 422 of file undotab.hxx.

Referenced by Undo().

OUString ScUndoScenarioFlags::aOldComment
private

Definition at line 420 of file undotab.hxx.

Referenced by Undo().

OUString ScUndoScenarioFlags::aOldName
private

Definition at line 418 of file undotab.hxx.

Referenced by Redo(), and Undo().

ScScenarioFlags ScUndoScenarioFlags::nNewFlags
private

Definition at line 425 of file undotab.hxx.

Referenced by Redo().

ScScenarioFlags ScUndoScenarioFlags::nOldFlags
private

Definition at line 424 of file undotab.hxx.

Referenced by Undo().

SCTAB ScUndoScenarioFlags::nTab
private

Definition at line 417 of file undotab.hxx.

Referenced by Redo(), and Undo().


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