11#include <document.hxx>
21 ScDocument& rDoc, std::shared_ptr<ColumnBlockPositionSet> pSet) :
22 mrDoc(rDoc), mpSet(
std::move(pSet)) {}
36 return mpSet->getBlockPosition(nTab, nCol);
41 mpOldCode(pOldCode), maPosDelta(0,0,0) {}
45 mrDoc(rDoc), mpPosSet(
std::move(pSet)),
46 mpOldCode(pOldCode), maPosDelta(0,0,0) {}
64 return mpPosSet->getBlockPosition(nTab, nCol);
void IncTab(SCTAB nDelta=1)
void IncCol(SCCOL nDelta=1)
void IncRow(SCROW nDelta=1)
void DeleteBroadcasters(sc::ColumnBlockPosition &rBlockPos, const ScAddress &rTopPos, SCROW nLength)
SC_DLLPUBLIC bool InitColumnBlockPosition(sc::ColumnBlockPosition &rBlockPos, SCTAB nTab, SCCOL nCol)
void executeAction(ScDocument &rDoc, Action &ac) const
void set(const ScDocument &rDoc, SCTAB nTab, SCCOL nCol, SCROW nRow, bool bVal)
void setPositionDelta(const ScAddress &rDelta)
void addEmptyBroadcasterPosition(SCTAB nTab, SCCOL nCol, SCROW nRow)
ScAddress getOldPosition(const ScAddress &rPos) const
std::shared_ptr< ColumnBlockPositionSet > mpPosSet
void purgeEmptyBroadcasters()
EndListeningContext(const EndListeningContext &)=delete
ColumnBlockPosition * getBlockPosition(SCTAB nTab, SCCOL nCol)
virtual void startColumn(SCTAB nTab, SCCOL nCol) override
std::unique_ptr< ColumnBlockPosition > mpBlockPos
virtual void execute(const ScAddress &rPos, SCROW nLength, bool bVal) override
PurgeListenerAction(const PurgeListenerAction &)=delete
std::shared_ptr< ColumnBlockPositionSet > mpSet
void setColumnSet(const std::shared_ptr< const ColumnSet > &pColSet)
ColumnBlockPosition * getBlockPosition(SCTAB nTab, SCCOL nCol)
StartListeningContext(const StartListeningContext &)=delete
std::shared_ptr< const ColumnSet > mpColSet
const std::shared_ptr< const ColumnSet > & getColumnSet() const
std::shared_ptr< T > make_shared(Args &&... args)
CAUTION! The following defines must be in the same namespace as the respective type.
Store position data for column array storage.