LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
ScMarkData Class Reference

todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across more than one table again! More...

#include <markdata.hxx>

Collaboration diagram for ScMarkData:
[legend]

Public Types

typedef std::set< SCTABMarkedTabsType
 
typedef std::set< SCTAB >::const_iterator const_iterator
 
typedef std::set< SCTAB >::const_reverse_iterator const_reverse_iterator
 

Public Member Functions

 ScMarkData (const ScSheetLimits &rSheetLimits)
 
 ScMarkData (const ScSheetLimits &rSheetLimits, const ScRangeList &rList)
 Optimise the case of constructing from a range list, speeds up import. More...
 
 ScMarkData (const ScMarkData &rData)=default
 
 ScMarkData (ScMarkData &&rData)=default
 
ScMarkDataoperator= (const ScMarkData &rData)
 
ScMarkDataoperator= (ScMarkData &&rData)
 
void ResetMark ()
 
void SetMarkArea (const ScRange &rRange)
 
void SetMultiMarkArea (const ScRange &rRange, bool bMark=true, bool bSetupMulti=false)
 
void MarkToMulti ()
 
void MarkToSimple ()
 
bool IsMarked () const
 
bool IsMultiMarked () const
 
const ScRangeGetMarkArea () const
 
const ScRangeGetMultiMarkArea () const
 
const ScRangeGetArea () const
 
void SetAreaTab (SCTAB nTab)
 
void SelectTable (SCTAB nTab, bool bNew)
 
bool GetTableSelect (SCTAB nTab) const
 
void SelectOneTable (SCTAB nTab)
 
SCTAB GetSelectCount () const
 
SCTAB GetFirstSelected () const
 
SCTAB GetLastSelected () const
 
const MarkedTabsTypeGetSelectedTabs () const
 
void SetSelectedTabs (const MarkedTabsType &rTabs)
 
void SetMarkNegative (bool bFlag)
 
bool IsMarkNegative () const
 
void SetMarking (bool bFlag)
 
bool GetMarkingFlag () const
 
const ScMultiSelGetMultiSelData () const
 
ScMarkArray GetMarkArray (SCCOL nCol) const
 
bool IsCellMarked (SCCOL nCol, SCROW nRow, bool bNoSimple=false) const
 
void FillRangeListWithMarks (ScRangeList *pList, bool bClear, SCTAB nForTab=-1) const
 Create a range list of marks. More...
 
void ExtendRangeListTables (ScRangeList *pList) const
 
ScRangeList GetMarkedRanges () const
 
ScRangeList GetMarkedRangesForTab (SCTAB nTab) const
 Get marked ranges with sheet-tab set to nTab. More...
 
void MarkFromRangeList (const ScRangeList &rList, bool bReset)
 
std::vector< sc::ColRowSpanGetMarkedRowSpans () const
 
std::vector< sc::ColRowSpanGetMarkedColSpans () const
 
bool IsColumnMarked (SCCOL nCol) const
 
bool IsRowMarked (SCROW nRow) const
 
bool IsAllMarked (const ScRange &rRange) const
 
SCCOL GetStartOfEqualColumns (SCCOL nLastCol, SCCOL nMinCol=0) const
 
SCROW GetNextMarked (SCCOL nCol, SCROW nRow, bool bUp) const
 May return -1. More...
 
bool HasMultiMarks (SCCOL nCol) const
 
bool HasAnyMultiMarks () const
 
void InsertTab (SCTAB nTab)
 
void DeleteTab (SCTAB nTab)
 
void ShiftCols (const ScDocument &rDoc, SCCOL nStartCol, sal_Int32 nColOffset)
 
void ShiftRows (const ScDocument &rDoc, SCROW nStartRow, sal_Int32 nRowOffset)
 
void GetSelectionCover (ScRange &rRange)
 
const ScRangeListGetTopEnvelope () const
 
const ScRangeListGetBottomEnvelope () const
 
const ScRangeListGetLeftEnvelope () const
 
const ScRangeListGetRightEnvelope () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 

Private Attributes

MarkedTabsType maTabMarked
 
ScRange aMarkRange
 
ScRange aMultiRange
 
ScMultiSel aMultiSel
 
ScRangeList aTopEnvelope
 
ScRangeList aBottomEnvelope
 
ScRangeList aLeftEnvelope
 
ScRangeList aRightEnvelope
 
const ScSheetLimitsmrSheetLimits
 
bool bMarked:1
 
bool bMultiMarked:1
 
bool bMarking:1
 
bool bMarkIsNeg:1
 

Detailed Description

todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across more than one table again!

Definition at line 42 of file markdata.hxx.

Member Typedef Documentation

◆ const_iterator

typedef std::set<SCTAB>::const_iterator ScMarkData::const_iterator

Definition at line 161 of file markdata.hxx.

◆ const_reverse_iterator

typedef std::set<SCTAB>::const_reverse_iterator ScMarkData::const_reverse_iterator

Definition at line 162 of file markdata.hxx.

◆ MarkedTabsType

Definition at line 45 of file markdata.hxx.

Constructor & Destructor Documentation

◆ ScMarkData() [1/4]

ScMarkData::ScMarkData ( const ScSheetLimits rSheetLimits)

Definition at line 38 of file markdata.cxx.

References ResetMark().

◆ ScMarkData() [2/4]

ScMarkData::ScMarkData ( const ScSheetLimits rSheetLimits,
const ScRangeList rList 
)

Optimise the case of constructing from a range list, speeds up import.

Definition at line 348 of file markdata.cxx.

References aMultiRange, aMultiSel, bMultiMarked, ScRangeList::Combine(), maTabMarked, ResetMark(), ScMultiSel::Set(), SetMarkArea(), and ScRangeList::size().

◆ ScMarkData() [3/4]

ScMarkData::ScMarkData ( const ScMarkData rData)
default

◆ ScMarkData() [4/4]

ScMarkData::ScMarkData ( ScMarkData &&  rData)
default

Member Function Documentation

◆ begin()

const_iterator ScMarkData::begin ( ) const
inline

◆ DeleteTab()

void ScMarkData::DeleteTab ( SCTAB  nTab)

Definition at line 646 of file markdata.cxx.

References maTabMarked.

Referenced by ScViewData::DeleteTab(), ScViewData::DeleteTabs(), and ScViewData::MoveTab().

◆ end()

const_iterator ScMarkData::end ( ) const
inline

◆ ExtendRangeListTables()

void ScMarkData::ExtendRangeListTables ( ScRangeList pList) const

◆ FillRangeListWithMarks()

void ScMarkData::FillRangeListWithMarks ( ScRangeList pList,
bool  bClear,
SCTAB  nForTab = -1 
) const

Create a range list of marks.

Parameters
nForTabIf -1, use start-sheet-tab of the multi-area in ranges. If >= 0, use given sheet-tab in ranges.

Definition at line 372 of file markdata.cxx.

References ScRange::aEnd, aMarkRange, aMultiRange, aMultiSel, ScRange::aStart, bMarked, bMultiMarked, ScAddress::Col(), ScMultiSel::HasEqualRowsMarked(), ScMultiSel::HasMarks(), ScRangeList::Join(), ScMultiSelIter::Next(), ScRangeList::push_back(), ScRangeList::RemoveAll(), ScAddress::SetRow(), ScAddress::SetTab(), and ScAddress::Tab().

Referenced by ScDocument::ApplySelectionFrame(), ScHeaderControl::Command(), ScViewFunc::CopyToClip(), ScViewFunc::DeleteContents(), ScDocument::DeleteSelection(), ScTable::DeleteSelection(), ScDocument::DeleteSelectionTab(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), ScTabViewShell::DoAutoSum(), ScCellShell::ExecuteEdit(), FuInsertChart::FuInsertChart(), GetMarkedRanges(), GetMarkedRangesForTab(), ScViewData::GetMultiArea(), ScTable::GetScenarioRanges(), ScAccessibleSpreadsheet::getSelectedAccessibleChild(), ScAccessibleSpreadsheet::getSelectedAccessibleChildCount(), ScTabViewObj::getSelection(), ScDocument::GetSelectionFrame(), ScViewFunc::GetSelectionScriptType(), ScCellShell::GetState(), ScGridWindow::HasScenarioButton(), ScPrintAreasDlg::Impl_FillLists(), ScSpellDialogChildWindow::Init(), ScAccessibleCell::IsDropdown(), ScSpellDialogChildWindow::IsSelectionChanged(), ScTable::IsSelectionEditable(), lcl_DrawScenarioFrames(), ScTabView::MoveCursorAbs(), ScAccessibleSpreadsheet::Notify(), ScViewFunc::PasteFromClip(), ScViewFunc::PasteFromClipToMultiRanges(), ScCellRangesBase::queryContentCells(), ScCellRangesBase::queryDependents(), ScCellRangesBase::QueryDifferences_Impl(), ScCellRangesBase::queryEmptyCells(), ScCellRangesBase::queryFormulaCells(), ScCellRangesBase::queryPrecedents(), ScCellRangesBase::queryVisibleCells(), ScCondFormatDlg::ScCondFormatDlg(), ScTable::SearchAndReplaceEmptyCells(), ScTransferObj::SetDragSource(), ScViewFunc::SetPrintRanges(), and ScViewData::WriteExtOptions().

◆ GetArea()

const ScRange & ScMarkData::GetArea ( ) const
inline

◆ GetBottomEnvelope()

const ScRangeList & ScMarkData::GetBottomEnvelope ( ) const
inline

Definition at line 156 of file markdata.hxx.

Referenced by ScDocument::ApplySelectionFrame().

◆ GetFirstSelected()

SCTAB ScMarkData::GetFirstSelected ( ) const

◆ GetLastSelected()

SCTAB ScMarkData::GetLastSelected ( ) const

◆ GetLeftEnvelope()

const ScRangeList & ScMarkData::GetLeftEnvelope ( ) const
inline

Definition at line 157 of file markdata.hxx.

Referenced by ScDocument::ApplySelectionFrame().

◆ GetMarkArea()

const ScRange & ScMarkData::GetMarkArea ( ) const
inline

◆ GetMarkArray()

ScMarkArray ScMarkData::GetMarkArray ( SCCOL  nCol) const
inline

◆ GetMarkedColSpans()

std::vector< sc::ColRowSpan > ScMarkData::GetMarkedColSpans ( ) const

◆ GetMarkedRanges()

ScRangeList ScMarkData::GetMarkedRanges ( ) const

◆ GetMarkedRangesForTab()

ScRangeList ScMarkData::GetMarkedRangesForTab ( SCTAB  nTab) const

Get marked ranges with sheet-tab set to nTab.

Marks are stored for the currently active sheet respectively the multi-area start-sheet-tab, update ranges with the sheet for which this is called.

Definition at line 457 of file markdata.cxx.

References FillRangeListWithMarks().

Referenced by ScGridWindow::dumpCellProperties(), sc::SingleColumnSpanSet::scan(), and ScTable::UpdateSelectionFunction().

◆ GetMarkedRowSpans()

std::vector< sc::ColRowSpan > ScMarkData::GetMarkedRowSpans ( ) const

◆ GetMarkingFlag()

bool ScMarkData::GetMarkingFlag ( ) const
inline

Definition at line 103 of file markdata.hxx.

Referenced by ScTabView::DoneBlockMode(), and ScTabView::PaintBlock().

◆ GetMultiMarkArea()

const ScRange & ScMarkData::GetMultiMarkArea ( ) const
inline

◆ GetMultiSelData()

const ScMultiSel & ScMarkData::GetMultiSelData ( ) const
inline

◆ GetNextMarked()

SCROW ScMarkData::GetNextMarked ( SCCOL  nCol,
SCROW  nRow,
bool  bUp 
) const

May return -1.

Definition at line 609 of file markdata.cxx.

References aMultiSel, bMultiMarked, and ScMultiSel::GetNextMarked().

Referenced by ScTable::GetNextPos(), ScColumn::GetNextSpellingCell(), and ScTable::SkipRow().

◆ GetRightEnvelope()

const ScRangeList & ScMarkData::GetRightEnvelope ( ) const
inline

Definition at line 158 of file markdata.hxx.

Referenced by ScDocument::ApplySelectionFrame().

◆ GetSelectCount()

SCTAB ScMarkData::GetSelectCount ( ) const

◆ GetSelectedTabs()

const MarkedTabsType & ScMarkData::GetSelectedTabs ( ) const
inline

◆ GetSelectionCover()

void ScMarkData::GetSelectionCover ( ScRange rRange)

◆ GetStartOfEqualColumns()

SCCOL ScMarkData::GetStartOfEqualColumns ( SCCOL  nLastCol,
SCCOL  nMinCol = 0 
) const

◆ GetTableSelect()

bool ScMarkData::GetTableSelect ( SCTAB  nTab) const

◆ GetTopEnvelope()

const ScRangeList & ScMarkData::GetTopEnvelope ( ) const
inline

Definition at line 155 of file markdata.hxx.

Referenced by ScDocument::ApplySelectionFrame().

◆ HasAnyMultiMarks()

bool ScMarkData::HasAnyMultiMarks ( ) const

◆ HasMultiMarks()

bool ScMarkData::HasMultiMarks ( SCCOL  nCol) const

Definition at line 617 of file markdata.cxx.

References aMultiSel, bMultiMarked, and ScMultiSel::HasMarks().

Referenced by ScTable::GetSelectionStyle().

◆ InsertTab()

void ScMarkData::InsertTab ( SCTAB  nTab)

◆ IsAllMarked()

bool ScMarkData::IsAllMarked ( const ScRange rRange) const

◆ IsCellMarked()

bool ScMarkData::IsCellMarked ( SCCOL  nCol,
SCROW  nRow,
bool  bNoSimple = false 
) const

◆ IsColumnMarked()

bool ScMarkData::IsColumnMarked ( SCCOL  nCol) const

◆ IsMarked()

bool ScMarkData::IsMarked ( ) const
inline

Definition at line 80 of file markdata.hxx.

Referenced by ScViewFunc::ApplyPatternLines(), ScDocument::ApplySelectionPattern(), ScDocument::ApplySelectionStyle(), ScDBFunc::AutoOutline(), ScViewFunctionSet::BeginDrag(), ScTabView::CalcZoom(), ScTabView::CheckSelectionTransfer(), ScColumnData::ClearSelectionItems(), ScCellRangesBase::computeFunction(), ScSelectionTransferObj::CreateCellData(), ScSelectionTransferObj::CreateFromView(), ScTabViewShell::CreateRefDialogController(), ScDocument::CreateSelectionPattern(), ScViewFunc::CutToClip(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteContents(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), ScTabViewShell::DoAutoSum(), ScViewFunc::DoRefConversion(), ScGridWindow::dumpCellProperties(), ScViewFunc::EnterMatrix(), ScCellShell::Execute(), ScTabViewShell::Execute(), ScFormatShell::ExecuteAttr(), ScCellShell::ExecuteDataPilotDialog(), ScCellShell::ExecuteEdit(), ScCellShell::ExecuteExternalSource(), ScFormatShell::ExecuteStyle(), ScModelObj::FillRenderMarkData(), ScViewFunc::FillTab(), ScTabView::FindNextUnprot(), FuInsertChart::FuInsertChart(), ScDBFunc::GetAnonymousDBData(), ScCellShell::GetCellState(), ScFormatShell::GetCurrentNumberFormatType(), ScDBFunc::GetDBData(), ScTabViewShell::GetFunction(), ScTable::GetNextPos(), ScColumn::GetOptimalColWidth(), ScModelObj::getRenderer(), ScTabViewObj::getSelection(), ScDocument::GetSelectionFrame(), ScViewFunc::GetSelectionFrame(), ScViewFunc::GetSelectionPattern(), ScViewFunc::GetSelectionScriptType(), ScDocument::GetSelectionStyle(), ScViewData::GetSimpleArea(), ScCellShell::GetState(), ScTabViewShell::GetState(), ScViewFunc::GetStyleSheetFromMarked(), ScPrintFuncCache::InitLocations(), ScTabView::InitOwnBlockMode(), ScDocument::IsSelectionEditable(), lcl_GetTextToColumnsRange(), ScTabView::MarkColumns(), ScTabView::MarkCursor(), ScTabView::MarkRows(), ScViewFunc::MergeCells(), ScGridWindow::MouseButtonUp(), ScTabView::MoveCursorAbs(), ScTabView::MoveCursorEnter(), ScAccessibleSpreadsheet::Notify(), ScTabView::PaintBlock(), ScViewFunc::PasteFromClip(), ScModelObj::render(), ScPrintFuncCache::ScPrintFuncCache(), ScUndoDeleteContents::ScUndoDeleteContents(), ScViewFunc::SearchAndReplace(), ScTable::SearchAndReplaceEmptyCells(), ScTabView::SelectAll(), ScViewFunc::SelectionEditable(), ScViewFunctionSet::SetAnchor(), ScViewFunctionSet::SetCursorAtCell(), ScViewFunc::SetStyleSheetToMarked(), ScInputHandler::StartTable(), ScViewFunc::TestMergeCells(), ScViewFunc::TransliterateText(), ScTabView::Unmark(), and ScTable::UpdateSelectionFunction().

◆ IsMarkNegative()

bool ScMarkData::IsMarkNegative ( ) const
inline

Definition at line 101 of file markdata.hxx.

Referenced by ScTabView::MarkCursor().

◆ IsMultiMarked()

bool ScMarkData::IsMultiMarked ( ) const
inline

Definition at line 81 of file markdata.hxx.

Referenced by ScDocFunc::ApplyAttributes(), ScViewFunc::ApplyPatternLines(), ScColumnData::ApplySelectionCache(), ScColumn::ApplySelectionLineStyle(), ScViewFunc::ApplySelectionPattern(), ScDocument::ApplySelectionPattern(), ScColumn::ApplySelectionStyle(), ScDocument::ApplySelectionStyle(), ScDocFunc::ApplyStyle(), ScDBFunc::AutoOutline(), ScViewFunctionSet::BeginDrag(), ScTabView::CalcZoom(), ScViewFunc::ChangeIndent(), ScColumnData::ChangeSelectionIndent(), ScColumnData::ClearSelectionItems(), ScColumn::CopyToColumn(), ScSelectionTransferObj::CreateCellData(), ScSelectionTransferObj::CreateFromView(), ScTabViewShell::CreateRefDialogController(), ScDocument::CreateSelectionPattern(), ScViewFunc::CutToClip(), ScDocFunc::DeleteContents(), ScViewFunc::DeleteContents(), ScDrawLayer::DeleteObjectsInSelection(), ScColumn::DeleteSelection(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), ScTabViewShell::DoAutoSum(), ScUndoConversion::DoChange(), ScViewFunc::DoRefConversion(), ScViewFunc::DoSheetConversion(), ScGridWindow::dumpCellProperties(), ScViewFunc::EnterBlock(), ScViewFunc::EnterMatrix(), ScCellShell::Execute(), ScTabViewShell::Execute(), ScFormatShell::ExecuteAttr(), ScCellShell::ExecuteDataPilotDialog(), ScCellShell::ExecuteEdit(), ScFormatShell::ExecuteStyle(), ScDocument::FillInfo(), ScModelObj::FillRenderMarkData(), ScViewFunc::FillTab(), ScTabView::FindNextUnprot(), FuInsertChart::FuInsertChart(), ScDBFunc::GetAnonymousDBData(), ScFormatShell::GetCurrentNumberFormatType(), ScDBFunc::GetDBData(), ScTabViewShell::GetFunction(), ScViewData::GetMultiArea(), ScTable::GetNextPos(), ScColumn::GetOptimalColWidth(), ScGridWindow::GetRectsAnyFor(), ScTabViewObj::getSelection(), ScDocument::GetSelectionFrame(), ScViewFunc::GetSelectionFrame(), ScDocument::GetSelectionFunction(), ScViewFunc::GetSelectionPattern(), ScViewFunc::GetSelectionScriptType(), ScDocument::GetSelectionStyle(), ScColumn::GetSelectionStyle(), ScViewData::GetSimpleArea(), ScCellShell::GetState(), ScViewFunc::GetStyleSheetFromMarked(), ScColumn::HasAttribSelection(), ScColumn::HasSelectionMatrixFragment(), ScTabView::InitOwnBlockMode(), ScViewFunctionSet::IsSelectionAtPoint(), ScDocument::IsSelectionEditable(), lcl_GetMultiMarkRange(), lcl_GetTextToColumnsRange(), ScDocShell::MakeScenario(), ScTabView::MarkCursor(), ScColumn::MergeSelectionPattern(), ScColumn::MixMarked(), ScGridWindow::MouseButtonUp(), ScTabView::MoveCursorAbs(), ScTabView::MoveCursorEnter(), ScAccessibleSpreadsheet::Notify(), ScViewFunc::OnLOKInsertDeleteColumn(), ScViewFunc::OnLOKInsertDeleteRow(), ScTabView::PaintBlock(), ScViewFunc::PasteFromClip(), ScCellRangesBase::queryContentCells(), ScCellRangesBase::QueryDifferences_Impl(), ScCellRangesBase::queryFormulaCells(), ScSelectionState::ScSelectionState(), ScUndoDeleteContents::ScUndoDeleteContents(), ScViewFunc::SearchAndReplace(), ScTable::SearchAndReplaceEmptyCells(), ScColumn::SearchStyle(), ScColumn::SearchStyleRange(), ScViewFunc::SelectionEditable(), ScViewFunctionSet::SetAnchor(), ScViewFunctionSet::SetCursorAtCell(), ScViewFunc::SetMarkedWidthOrHeight(), ScViewFunc::SetPrintRanges(), ScViewFunc::SetStyleSheetToMarked(), ScInputHandler::StartTable(), ScViewFunc::TestMergeCells(), ScDocument::TransliterateText(), ScViewFunc::TransliterateText(), ScTabView::Unmark(), ScViewFunc::UpdateSelectionArea(), and ScTable::UpdateSelectionFunction().

◆ IsRowMarked()

bool ScMarkData::IsRowMarked ( SCROW  nRow) const

◆ MarkFromRangeList()

void ScMarkData::MarkFromRangeList ( const ScRangeList rList,
bool  bReset 
)

◆ MarkToMulti()

void ScMarkData::MarkToMulti ( )

Definition at line 209 of file markdata.cxx.

References aMarkRange, bMarked, bMarking, bMarkIsNeg, HasAnyMultiMarks(), ResetMark(), and SetMultiMarkArea().

Referenced by ScViewFunc::ApplyPatternLines(), ScViewFunc::ApplySelectionPattern(), ScDBFunc::AutoOutline(), ScViewFunc::ChangeIndent(), ScDocFunc::ClearItems(), ScDocShell::ConvertFrom(), ScViewFunc::CutToClip(), ScCellRangesBase::decrementIndent(), ScDocFunc::DeleteContents(), ScUndoPaste::DoChange(), ScUndoDeleteContents::DoChange(), ScUndoFillTable::DoChange(), ScUndoSelectionAttr::DoChange(), ScTabView::DoneBlockMode(), ScViewFunc::DoSheetConversion(), ScCellShell::Execute(), ScFormatShell::ExecuteAttr(), ScCellShell::ExecuteEdit(), ScFormatShell::ExecuteStyle(), FuInsertChart::FuInsertChart(), ScFormatShell::GetCurrentNumberFormatType(), ScDocument::GetNextPos(), ScGridWindow::GetRectsAnyFor(), ScDocument::GetSelectionFunction(), ScCellRangesBase::incrementIndent(), ScSpellDialogChildWindow::Init(), ScDocShell::MakeScenario(), MarkToSimple(), ScViewFunc::OnLOKInsertDeleteColumn(), ScViewFunc::OnLOKInsertDeleteRow(), ScTabView::PaintBlock(), ScUndoAutoFormat::Redo(), ScSelectionState::ScSelectionState(), ScUndoSelectionStyle::ScUndoSelectionStyle(), ScHeaderFunctionSet::SetCursorAtPoint(), ScViewFunc::SetMarkedWidthOrHeight(), ScViewFunc::SetPrintRanges(), ScViewFunc::SetSelectionFrameLines(), ScViewFunc::SetStyleSheetToMarked(), ScViewFunc::SetWidthOrHeight(), ScDocFunc::TransliterateText(), and ScViewUtil::UnmarkFiltered().

◆ MarkToSimple()

void ScMarkData::MarkToSimple ( )

◆ operator=() [1/2]

ScMarkData & ScMarkData::operator= ( const ScMarkData rData)

◆ operator=() [2/2]

ScMarkData & ScMarkData::operator= ( ScMarkData &&  rData)

◆ rbegin()

const_reverse_iterator ScMarkData::rbegin ( ) const
inline

Definition at line 165 of file markdata.hxx.

Referenced by ScDocFunc::DeleteCells(), and ScDocFunc::InsertCells().

◆ ResetMark()

void ScMarkData::ResetMark ( )

◆ SelectOneTable()

void ScMarkData::SelectOneTable ( SCTAB  nTab)

◆ SelectTable()

void ScMarkData::SelectTable ( SCTAB  nTab,
bool  bNew 
)

◆ SetAreaTab()

void ScMarkData::SetAreaTab ( SCTAB  nTab)

◆ SetMarkArea()

void ScMarkData::SetMarkArea ( const ScRange rRange)

◆ SetMarking()

void ScMarkData::SetMarking ( bool  bFlag)
inline

◆ SetMarkNegative()

void ScMarkData::SetMarkNegative ( bool  bFlag)
inline

◆ SetMultiMarkArea()

void ScMarkData::SetMultiMarkArea ( const ScRange rRange,
bool  bMark = true,
bool  bSetupMulti = false 
)

◆ SetSelectedTabs()

void ScMarkData::SetSelectedTabs ( const MarkedTabsType rTabs)

◆ ShiftCols()

void ScMarkData::ShiftCols ( const ScDocument rDoc,
SCCOL  nStartCol,
sal_Int32  nColOffset 
)

◆ ShiftRows()

void ScMarkData::ShiftRows ( const ScDocument rDoc,
SCROW  nStartRow,
sal_Int32  nRowOffset 
)

Member Data Documentation

◆ aBottomEnvelope

ScRangeList ScMarkData::aBottomEnvelope
private

Definition at line 53 of file markdata.hxx.

Referenced by GetSelectionCover(), operator=(), and ResetMark().

◆ aLeftEnvelope

ScRangeList ScMarkData::aLeftEnvelope
private

Definition at line 54 of file markdata.hxx.

Referenced by GetSelectionCover(), operator=(), and ResetMark().

◆ aMarkRange

ScRange ScMarkData::aMarkRange
private

◆ aMultiRange

ScRange ScMarkData::aMultiRange
private

◆ aMultiSel

ScMultiSel ScMarkData::aMultiSel
private

◆ aRightEnvelope

ScRangeList ScMarkData::aRightEnvelope
private

Definition at line 55 of file markdata.hxx.

Referenced by GetSelectionCover(), operator=(), and ResetMark().

◆ aTopEnvelope

ScRangeList ScMarkData::aTopEnvelope
private

Definition at line 52 of file markdata.hxx.

Referenced by GetSelectionCover(), operator=(), and ResetMark().

◆ bMarked

bool ScMarkData::bMarked
private

◆ bMarking

bool ScMarkData::bMarking
private

Definition at line 60 of file markdata.hxx.

Referenced by MarkToMulti(), MarkToSimple(), operator=(), and ResetMark().

◆ bMarkIsNeg

bool ScMarkData::bMarkIsNeg
private

◆ bMultiMarked

bool ScMarkData::bMultiMarked
private

◆ maTabMarked

MarkedTabsType ScMarkData::maTabMarked
private

◆ mrSheetLimits

const ScSheetLimits& ScMarkData::mrSheetLimits
private

The documentation for this class was generated from the following files: