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

#include <undodat.hxx>

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

Public Member Functions

 ScUndoChartData (ScDocShell *pNewDocShell, const OUString &rName, const ScRange &rNew, bool bColHdr, bool bRowHdr, bool bAdd)
 
 ScUndoChartData (ScDocShell *pNewDocShell, const OUString &rName, const ScRangeListRef &rNew, bool bColHdr, bool bRowHdr, bool bAdd)
 
virtual ~ScUndoChartData () 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 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 DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void Init ()
 

Private Attributes

OUString aChartName
 
ScRangeListRef aOldRangeListRef
 
bool bOldColHeaders
 
bool bOldRowHeaders
 
ScRangeListRef aNewRangeListRef
 
bool bNewColHeaders
 
bool bNewRowHeaders
 
bool bAddRange
 

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 387 of file undodat.hxx.

Constructor & Destructor Documentation

◆ ScUndoChartData() [1/2]

ScUndoChartData::ScUndoChartData ( ScDocShell pNewDocShell,
const OUString &  rName,
const ScRange rNew,
bool  bColHdr,
bool  bRowHdr,
bool  bAdd 
)

Definition at line 1688 of file undodat.cxx.

References aNewRangeListRef, and Init().

◆ ScUndoChartData() [2/2]

ScUndoChartData::ScUndoChartData ( ScDocShell pNewDocShell,
const OUString &  rName,
const ScRangeListRef rNew,
bool  bColHdr,
bool  bRowHdr,
bool  bAdd 
)

Definition at line 1705 of file undodat.cxx.

References Init().

◆ ~ScUndoChartData()

ScUndoChartData::~ScUndoChartData ( )
overridevirtual

Definition at line 1720 of file undodat.cxx.

Member Function Documentation

◆ CanRepeat()

bool ScUndoChartData::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1753 of file undodat.cxx.

◆ GetComment()

OUString ScUndoChartData::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1724 of file undodat.cxx.

References ScResId().

◆ Init()

void ScUndoChartData::Init ( void  )
private

◆ Redo()

void ScUndoChartData::Redo ( )
overridevirtual

◆ Repeat()

void ScUndoChartData::Repeat ( SfxRepeatTarget rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1749 of file undodat.cxx.

◆ Undo()

void ScUndoChartData::Undo ( )
overridevirtual

Member Data Documentation

◆ aChartName

OUString ScUndoChartData::aChartName
private

Definition at line 406 of file undodat.hxx.

Referenced by Init(), Redo(), and Undo().

◆ aNewRangeListRef

ScRangeListRef ScUndoChartData::aNewRangeListRef
private

Definition at line 411 of file undodat.hxx.

Referenced by Redo(), and ScUndoChartData().

◆ aOldRangeListRef

ScRangeListRef ScUndoChartData::aOldRangeListRef
private

Definition at line 407 of file undodat.hxx.

Referenced by Init(), and Undo().

◆ bAddRange

bool ScUndoChartData::bAddRange
private

Definition at line 414 of file undodat.hxx.

Referenced by Redo().

◆ bNewColHeaders

bool ScUndoChartData::bNewColHeaders
private

Definition at line 412 of file undodat.hxx.

Referenced by Redo().

◆ bNewRowHeaders

bool ScUndoChartData::bNewRowHeaders
private

Definition at line 413 of file undodat.hxx.

Referenced by Redo().

◆ bOldColHeaders

bool ScUndoChartData::bOldColHeaders
private

Definition at line 408 of file undodat.hxx.

Referenced by Init(), and Undo().

◆ bOldRowHeaders

bool ScUndoChartData::bOldRowHeaders
private

Definition at line 409 of file undodat.hxx.

Referenced by Init(), and Undo().


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