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

Constructor & Destructor Documentation

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

Definition at line 1687 of file undodat.cxx.

References aNewRangeListRef, and Init().

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

Definition at line 1702 of file undodat.cxx.

References Init().

ScUndoChartData::~ScUndoChartData ( )
overridevirtual

Definition at line 1715 of file undodat.cxx.

Member Function Documentation

bool ScUndoChartData::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1748 of file undodat.cxx.

OUString ScUndoChartData::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1719 of file undodat.cxx.

References ScResId().

void ScUndoChartData::Init ( void  )
private
void ScUndoChartData::Redo ( )
overridevirtual
void ScUndoChartData::Repeat ( SfxRepeatTarget rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1744 of file undodat.cxx.

void ScUndoChartData::Undo ( )
overridevirtual

Member Data Documentation

OUString ScUndoChartData::aChartName
private

Definition at line 407 of file undodat.hxx.

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

ScRangeListRef ScUndoChartData::aNewRangeListRef
private

Definition at line 412 of file undodat.hxx.

Referenced by Redo(), and ScUndoChartData().

ScRangeListRef ScUndoChartData::aOldRangeListRef
private

Definition at line 408 of file undodat.hxx.

Referenced by Init(), and Undo().

bool ScUndoChartData::bAddRange
private

Definition at line 415 of file undodat.hxx.

Referenced by Redo().

bool ScUndoChartData::bNewColHeaders
private

Definition at line 413 of file undodat.hxx.

Referenced by Redo().

bool ScUndoChartData::bNewRowHeaders
private

Definition at line 414 of file undodat.hxx.

Referenced by Redo().

bool ScUndoChartData::bOldColHeaders
private

Definition at line 409 of file undodat.hxx.

Referenced by Init(), and Undo().

bool ScUndoChartData::bOldRowHeaders
private

Definition at line 410 of file undodat.hxx.

Referenced by Init(), and Undo().


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