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

Undo action for ungrouping sparklines. More...

#include <UndoUngroupSparklines.hxx>

Inheritance diagram for sc::UndoUngroupSparklines:
[legend]
Collaboration diagram for sc::UndoUngroupSparklines:
[legend]

Public Member Functions

 UndoUngroupSparklines (ScDocShell &rDocShell, ScRange const &rRange)
 
virtual ~UndoUngroupSparklines () override
 
void Undo () override
 
void Redo () override
 
bool CanRepeat (SfxRepeatTarget &rTarget) const override
 
void Repeat (SfxRepeatTarget &rTarget) override
 
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< ScRangegetAffectedRange () 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 DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

ScRange m_aRange
 
std::vector< SparklineUndoDatam_aUndoData
 

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

Undo action for ungrouping sparklines.

Definition at line 36 of file UndoUngroupSparklines.hxx.

Constructor & Destructor Documentation

◆ UndoUngroupSparklines()

sc::UndoUngroupSparklines::UndoUngroupSparklines ( ScDocShell rDocShell,
ScRange const &  rRange 
)

Definition at line 22 of file UndoUngroupSparklines.cxx.

◆ ~UndoUngroupSparklines()

sc::UndoUngroupSparklines::~UndoUngroupSparklines ( )
overridevirtualdefault

Member Function Documentation

◆ CanRepeat()

bool sc::UndoUngroupSparklines::CanRepeat ( SfxRepeatTarget &  rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 83 of file UndoUngroupSparklines.cxx.

◆ GetComment()

OUString sc::UndoUngroupSparklines::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 85 of file UndoUngroupSparklines.cxx.

References ScResId().

◆ Redo()

void sc::UndoUngroupSparklines::Redo ( )
overridevirtual

◆ Repeat()

void sc::UndoUngroupSparklines::Repeat ( SfxRepeatTarget &  rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 81 of file UndoUngroupSparklines.cxx.

◆ Undo()

void sc::UndoUngroupSparklines::Undo ( )
overridevirtual

Member Data Documentation

◆ m_aRange

ScRange sc::UndoUngroupSparklines::m_aRange
private

Definition at line 39 of file UndoUngroupSparklines.hxx.

Referenced by Redo(), and Undo().

◆ m_aUndoData

std::vector<SparklineUndoData> sc::UndoUngroupSparklines::m_aUndoData
private

Definition at line 40 of file UndoUngroupSparklines.hxx.

Referenced by Redo(), and Undo().


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