40 = rDocument.
CreateSparkline(rUndoData.m_aAddress, rUndoData.m_pSparklineGroup);
65 auto const& rpGroup = pSparkline->getSparklineGroup();
66 m_aUndoData.emplace_back(aAddress, pSparkline->getInputRange(), rpGroup);
67 auto pSparklineGroupCopy
68 = std::make_shared<sc::SparklineGroup>(rpGroup->getAttributes());
70 auto* pCreated = rDocument.
CreateSparkline(aAddress, pSparklineGroupCopy);
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 ~UndoUngroupSparklines() override
std::vector< SparklineUndoData > m_aUndoData
void Repeat(SfxRepeatTarget &rTarget) override
OUString GetComment() const override
bool CanRepeat(SfxRepeatTarget &rTarget) const override
UndoUngroupSparklines(ScDocShell &rDocShell, ScRange const &rRange)
CAUTION! The following defines must be in the same namespace as the respective type.
OUString ScResId(TranslateId aId)
Previous sparkline group data, which is restored at undo ungroupping.