22 , maSparklinePosition(rSparklinePosition)
40 SAL_WARN(
"sc",
"Can't undo deletion if the sparkline at that address already exists.");
60 SAL_WARN(
"sc",
"Can't delete a sparkline that donesn't exist.");
void PostPaintCell(SCCOL nCol, SCROW nRow, SCTAB nTab)
const ScDocument & GetDocument() const
SC_DLLPUBLIC std::shared_ptr< sc::Sparkline > GetSparkline(ScAddress const &rPosition)
Returns sparkline at the address if it exists.
SC_DLLPUBLIC sc::Sparkline * CreateSparkline(ScAddress const &rPosition, std::shared_ptr< sc::SparklineGroup > const &pSparklineGroup)
SC_DLLPUBLIC bool DeleteSparkline(ScAddress const &rPosition)
std::shared_ptr< sc::SparklineGroup > mpSparklineGroup
OUString GetComment() const override
bool CanRepeat(SfxRepeatTarget &rTarget) const override
void Repeat(SfxRepeatTarget &rTarget) override
virtual ~UndoDeleteSparkline() override
ScAddress maSparklinePosition
UndoDeleteSparkline(ScDocShell &rDocShell, ScAddress const &rSparklinePosition)
#define SAL_WARN(area, stream)
CAUTION! The following defines must be in the same namespace as the respective type.
OUString ScResId(TranslateId aId)