24 std::shared_ptr<sc::SparklineGroup> pSparklineGroup)
27 , m_pSparklineGroup(
std::move(pSparklineGroup))
43 = rDocument.
CreateSparkline(rUndoData.m_aAddress, rUndoData.m_pSparklineGroup);
68 m_aUndoData.emplace_back(aAddress, pSparkline->getInputRange(),
69 pSparkline->getSparklineGroup());
const ScDocument & GetDocument() const
void PostPaint(SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab, SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab, PaintPartFlags nPart, sal_uInt16 nExtFlags=0)
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)
void setInputRange(ScRangeList const &rInputRange)
virtual ~UndoGroupSparklines() override
std::vector< UndoGroupSparklinesData > m_aUndoData
UndoGroupSparklines(ScDocShell &rDocShell, ScRange const &rRange, std::shared_ptr< sc::SparklineGroup > pSparklineGroup)
void Repeat(SfxRepeatTarget &rTarget) override
bool CanRepeat(SfxRepeatTarget &rTarget) const override
OUString GetComment() const override
std::shared_ptr< sc::SparklineGroup > m_pSparklineGroup
CAUTION! The following defines must be in the same namespace as the respective type.
OUString ScResId(TranslateId aId)