72 void SetMarkArea(
const ScRange& rRange );
75 void SetMultiMarkArea(
const ScRange& rRange,
bool bMark =
true,
bool bSetupMulti =
false );
85 const ScRange&
GetArea()
const {
return bMultiMarked ? aMultiRange : aMarkRange; }
87 void SetAreaTab(
SCTAB nTab );
89 void SelectTable(
SCTAB nTab,
bool bNew );
90 bool GetTableSelect(
SCTAB nTab )
const;
92 void SelectOneTable(
SCTAB nTab );
93 SCTAB GetSelectCount()
const;
94 SCTAB GetFirstSelected()
const;
95 SCTAB GetLastSelected()
const;
98 void SetSelectedTabs(
const MarkedTabsType& rTabs);
109 bool IsCellMarked(
SCCOL nCol,
SCROW nRow,
bool bNoSimple =
false )
const;
116 void FillRangeListWithMarks(
ScRangeList* pList,
bool bClear,
SCTAB nForTab = -1 )
const;
117 void ExtendRangeListTables(
ScRangeList* pList )
const;
126 void MarkFromRangeList(
const ScRangeList& rList,
bool bReset );
128 std::vector<sc::ColRowSpan> GetMarkedRowSpans()
const;
129 std::vector<sc::ColRowSpan> GetMarkedColSpans()
const;
131 bool IsColumnMarked(
SCCOL nCol )
const;
132 bool IsRowMarked(
SCROW nRow )
const;
133 bool IsAllMarked(
const ScRange& rRange )
const;
137 SCCOL GetStartOfEqualColumns(
SCCOL nLastCol,
SCCOL nMinCol = 0 )
const;
141 bool HasMultiMarks(
SCCOL nCol )
const;
142 bool HasAnyMultiMarks()
const;
145 void InsertTab(
SCTAB nTab );
146 void DeleteTab(
SCTAB nTab );
148 void ShiftCols(
const ScDocument& rDoc,
SCCOL nStartCol, sal_Int32 nColOffset);
149 void ShiftRows(
const ScDocument& rDoc,
SCROW nStartRow, sal_Int32 nRowOffset);
153 void GetSelectionCover(
ScRange& rRange );
This is a rather odd datastructure.
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
const_iterator end() const
const ScSheetLimits & mrSheetLimits
const ScRange & GetArea() const
const ScRange & GetMultiMarkArea() const
const ScRange & GetMarkArea() const
bool IsMultiMarked() const
ScRangeList aBottomEnvelope
void SetMarkNegative(bool bFlag)
void SetMarking(bool bFlag)
bool IsMarkNegative() const
ScMarkData(const ScMarkData &rData)=default
std::set< SCTAB > MarkedTabsType
MarkedTabsType maTabMarked
const ScMultiSel & GetMultiSelData() const
const ScRangeList & GetLeftEnvelope() const
std::set< SCTAB >::const_reverse_iterator const_reverse_iterator
ScRangeList aRightEnvelope
bool GetMarkingFlag() const
const ScRangeList & GetBottomEnvelope() const
const ScRangeList & GetTopEnvelope() const
ScMarkArray GetMarkArray(SCCOL nCol) const
const ScRangeList & GetRightEnvelope() const
const MarkedTabsType & GetSelectedTabs() const
ScRangeList aLeftEnvelope
const_iterator begin() const
std::set< SCTAB >::const_iterator const_iterator
ScMarkData(ScMarkData &&rData)=default
const_reverse_iterator rbegin() const
ScMarkArray GetMarkArray(SCCOL nCol) const
CAUTION! The following defines must be in the same namespace as the respective type.