14#include <document.hxx>
24 ScDocShell& rDocShell, std::shared_ptr<sc::SparklineGroup> pSparklineGroup,
SCTAB nTab)
26 , mpSparklineGroup(
std::move(pSparklineGroup))
41 ScAddress aAddress(pSparkline->getColumn(), pSparkline->getRow(),
mnTab);
63 ScAddress aAddress(pSparkline->getColumn(), pSparkline->getRow(),
mnTab);
78 return ScResId(STR_UNDO_DELETE_SPARKLINE_GROUP);
const ScDocument & GetDocument() const
SC_DLLPUBLIC sc::Sparkline * CreateSparkline(ScAddress const &rPosition, std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup)
SC_DLLPUBLIC bool DeleteSparkline(ScAddress const &rPosition)
SC_DLLPUBLIC sc::SparklineList * GetSparklineList(SCTAB nTab)
void setInputRange(ScRangeList const &rInputRange)
UndoDeleteSparklineGroup(ScDocShell &rDocShell, std::shared_ptr< sc::SparklineGroup > pSparklineGroup, SCTAB nSheetIndex)
std::vector< std::shared_ptr< sc::Sparkline > > maSparklines
bool CanRepeat(SfxRepeatTarget &rTarget) const override
std::shared_ptr< sc::SparklineGroup > mpSparklineGroup
virtual ~UndoDeleteSparklineGroup() override
OUString GetComment() const override
void Repeat(SfxRepeatTarget &rTarget) override
CAUTION! The following defines must be in the same namespace as the respective type.
OUString ScResId(TranslateId aId)