LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScRangeList Class Referencefinal

#include <rangelst.hxx>

Inheritance diagram for ScRangeList:
[legend]
Collaboration diagram for ScRangeList:
[legend]

Public Member Functions

 ScRangeList ()
 
 ScRangeList (const ScRangeList &rList)
 
 ScRangeList (ScRangeList &&rList) noexcept
 
 ScRangeList (const ScRange &rRange)
 
virtual ~ScRangeList () override
 
ScRangeListoperator= (const ScRangeList &rList)
 
ScRangeListoperator= (ScRangeList &&rList) noexcept
 
ScRefFlags Parse (const OUString &, const ScDocument *, formula::FormulaGrammar::AddressConvention eConv=formula::FormulaGrammar::CONV_OOO, SCTAB nDefaultTab=0, sal_Unicode cDelimiter=0)
 
void Format (OUString &, ScRefFlags nFlags, const ScDocument &, formula::FormulaGrammar::AddressConvention eConv=formula::FormulaGrammar::CONV_OOO, sal_Unicode cDelimiter=0, bool bFullAddressNotation=false) const
 
void Join (const ScRange &, bool bIsInList=false)
 
bool UpdateReference (UpdateRefMode, const ScDocument *, const ScRange &rWhere, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
void InsertRow (SCTAB nTab, SCCOL nColStart, SCCOL nColEnd, SCROW nRowPos, SCSIZE nSize)
 
void InsertCol (SCTAB nTab, SCROW nRowStart, SCROW nRowEnd, SCCOL nColPos, SCSIZE nSize)
 
void InsertCol (SCTAB nTab, SCCOL nColPos)
 
bool DeleteArea (SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2)
 For now this method assumes that nTab1 == nTab2 The algorithm will be much more complicated if nTab1 != nTab2. More...
 
const ScRangeFind (const ScAddress &) const
 
ScRangeFind (const ScAddress &)
 
bool operator== (const ScRangeList &) const
 
bool operator!= (const ScRangeList &r) const
 
bool Intersects (const ScRange &) const
 
bool In (const ScRange &) const
 
size_t GetCellCount () const
 
ScAddress GetTopLeftCorner () const
 
ScRangeList GetIntersectedRange (const ScRange &rRange) const
 
void Remove (size_t nPos)
 
void RemoveAll ()
 
ScRange Combine () const
 
void AddAndPartialCombine (const ScRange &)
 
bool empty () const
 
size_t size () const
 
ScRangeoperator[] (size_t idx)
 
const ScRangeoperator[] (size_t idx) const
 
ScRangefront ()
 
const ScRangefront () const
 
ScRangeback ()
 
const ScRangeback () const
 
void push_back (const ScRange &rRange)
 
::std::vector< ScRange >::const_iterator begin () const
 
::std::vector< ScRange >::const_iterator end () const
 
::std::vector< ScRange >::iterator begin ()
 
::std::vector< ScRange >::iterator end ()
 
void swap (ScRangeList &r)
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Attributes

::std::vector< ScRangemaRanges
 
SCROW mnMaxRowUsed
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 32 of file rangelst.hxx.

Constructor & Destructor Documentation

ScRangeList::ScRangeList ( )

Definition at line 1047 of file rangelst.cxx.

ScRangeList::ScRangeList ( const ScRangeList rList)

Definition at line 1049 of file rangelst.cxx.

ScRangeList::ScRangeList ( ScRangeList &&  rList)
noexcept

Definition at line 1056 of file rangelst.cxx.

ScRangeList::ScRangeList ( const ScRange rRange)

Definition at line 1063 of file rangelst.cxx.

References maRanges, and push_back().

ScRangeList::~ScRangeList ( )
overridevirtual

Definition at line 102 of file rangelst.cxx.

Member Function Documentation

void ScRangeList::AddAndPartialCombine ( const ScRange rNewRange)
ScRange& ScRangeList::back ( )
inline
const ScRange& ScRangeList::back ( ) const
inline

Definition at line 96 of file rangelst.hxx.

::std::vector<ScRange>::const_iterator ScRangeList::begin ( ) const
inline
::std::vector<ScRange>::iterator ScRangeList::begin ( )
inline

Definition at line 100 of file rangelst.hxx.

ScRange ScRangeList::Combine ( ) const
bool ScRangeList::DeleteArea ( SCCOL  nCol1,
SCROW  nRow1,
SCTAB  nTab1,
SCCOL  nCol2,
SCROW  nRow2,
SCTAB  nTab2 
)

For now this method assumes that nTab1 == nTab2 The algorithm will be much more complicated if nTab1 != nTab2.

Definition at line 957 of file rangelst.cxx.

References i, Join(), maRanges, and Remove().

Referenced by ScConditionalFormat::DeleteArea(), and UpdateReference().

bool ScRangeList::empty ( ) const
inline

Definition at line 89 of file rangelst.hxx.

Referenced by ScCellRangesBase::addChartDataChangeEventListener(), ScCellRangesBase::addModifyListener(), ScCellRangesBase::addPropertyChangeListener(), ScConditionalFormatList::AddToDocument(), ScVbaEventListener::changesOccurred(), ScCellRangesBase::clearContents(), oox::xls::DefinedName::convertFormula(), ScDocument::CopyNonFilteredFromClip(), ScViewFunc::CopyToClip(), XclExpNameManagerImpl::CreateBuiltInNames(), ScCondFormatsObj::createByRange(), ScCellRangesBase::CreateMemChart_Impl(), ScCellRangesBase::decrementIndent(), ScConditionalFormat::DeleteArea(), ScUndoPaste::DoChange(), ScDocShell::Execute(), ScCellShell::ExecuteEdit(), oox::xls::FormulaProcessorBase::extractCellRange(), oox::xls::Scenario::finalizeImport(), FuInsertChart::FuInsertChart(), ScViewFunc::GetAutoSumFormula(), oox::xls::WorksheetGlobals::getCellRangeList(), ScDocument::GetClipArea(), ScDocument::GetClipStart(), ScCondFormatDlg::GetConditionalFormat(), ScTabViewShell::GetDrawInsState(), ScCellRangesBase::GetOnePropertyValue(), ScClipParam::getPasteColSize(), ScClipParam::getPasteRowSize(), ScCellRangesBase::getPropertyState(), ScCellRangesBase::getPropertyValue(), ScTableSheetObj::GetTab_Impl(), GetTopLeftCorner(), ScChartPositioner::GlueState(), ScDocument::HasClipFilteredRows(), ScCellRangesObj::hasElements(), ScCellRangesBase::incrementIndent(), ScHighlightChgDlg::Init(), ScAcceptChgDlg::Init(), XclExpNameManager::InsertBuiltInName(), ScMyTables::IsPartOfMatrix(), ScTableProtectionImpl::isSelectionEditable(), lcl_collectAllPredOrSuccRanges(), lcl_FirstTab(), lcl_TotalRange(), ScViewFunc::MarkAndJumpToRanges(), oox::xls::ExtConditionalFormattingContext::onEndElement(), XclImpControlHelper::ReadCellLinkFormula(), XclImpCondFormat::ReadCF(), XclImpValidationManager::ReadDV(), XclImpControlHelper::ReadSourceRangeFormula(), ScCellRangeObj::RefChanged(), ScCellObj::RefChanged(), ScFormulaReferenceHelper::ReleaseFocus(), ScCellRangesBase::removeChartDataChangeEventListener(), ScCellRangesBase::removeModifyListener(), ScCellRangesBase::removePropertyChangeListener(), ScCellsEnumeration::ScCellsEnumeration(), ScCondFormatDlg::ScCondFormatDlg(), oox::xls::SheetDataBuffer::setCellFormat(), ScGridWindow::SetCellSelectionPixel(), ScCellRangesBase::SetOnePropertyValue(), ScCellRangesBase::setPropertyToDefault(), ScCellRangesBase::setPropertyValue(), ScCellRangesBase::setPropertyValues(), ScCellRangesBase::setPropertyValuesTolerant(), ScConditionalFormat::SetRange(), XclImpXFRangeBuffer::SetXF(), ScMultiBlockUndo::ShowBlock(), ScClipParam::transpose(), ScUndoPaste::Undo(), ScDPCollection::SheetCaches::updateReference(), and ScDocument::UpdateTranspose().

::std::vector<ScRange>::const_iterator ScRangeList::end ( ) const
inline
::std::vector<ScRange>::iterator ScRangeList::end ( )
inline

Definition at line 101 of file rangelst.hxx.

const ScRange * ScRangeList::Find ( const ScAddress rAdr) const
ScRange * ScRangeList::Find ( const ScAddress rAdr)

Definition at line 1040 of file rangelst.cxx.

References maRanges.

void ScRangeList::Format ( OUString &  rStr,
ScRefFlags  nFlags,
const ScDocument rDoc,
formula::FormulaGrammar::AddressConvention  eConv = formula::FormulaGrammar::CONV_OOO,
sal_Unicode  cDelimiter = 0,
bool  bFullAddressNotation = false 
) const
ScRange& ScRangeList::front ( )
inline

Definition at line 93 of file rangelst.hxx.

Referenced by ScVbaNames::Add(), ScConditionalFormatList::AddToDocument(), XclImpCondFormat::Apply(), ScAccessibleSpreadsheet::CalcScAddressFromRangeList(), ScChartPositioner::CheckColRowHeaders(), ScVbaRange::Columns(), ScDocument::CopyNonFilteredFromClip(), ScViewFunc::CopyToClipMultiRange(), ScChartArray::CreateMemChart(), ScChartArray::CreateMemChartSingle(), ScDocShell::Execute(), oox::xls::FormulaProcessorBase::extractCellRange(), oox::xls::CondFormatBuffer::finalizeImport(), getCellRangeAddressForVBARange(), ScDocument::GetClipArea(), ScDocument::GetClipStart(), ScVbaRange::getEntireColumnOrRow(), ScCellRangesBase::GetOnePropertyValue(), ScClipParam::getPasteColSize(), ScClipParam::getPasteRowSize(), getRangeForName(), ScChartPositioner::GlueState(), ScVbaRange::HasFormula(), ScHighlightChgDlg::Init(), ScAcceptChgDlg::Init(), XclExpNameManager::InsertBuiltInName(), lcl_collectAllPredOrSuccRanges(), lcl_makeXRangeFromSheetCellRanges(), ScViewFunc::MarkAndJumpToRanges(), ScCellRangesBase::Notify(), ScDataPilotTableObj::Notify(), ScVbaRange::Offset(), XclImpControlHelper::ReadCellLinkFormula(), XclImpCondFormat::ReadCF(), XclImpValidationManager::ReadDV(), XclImpControlHelper::ReadSourceRangeFormula(), ScFormulaReferenceHelper::ReleaseFocus(), ScVbaRange::Rows(), ScCellRangesBase::SetOnePropertyValue(), ScMultiBlockUndo::ShowBlock(), ScVbaRange::SpecialCells(), ScClipParam::transpose(), ScUndoPaste::Undo(), ScDocument::UpdateTranspose(), XclExpColorScale::XclExpColorScale(), XclExpDataBar::XclExpDataBar(), XclExpExtConditionalFormatting::XclExpExtConditionalFormatting(), and XclExpIconSet::XclExpIconSet().

const ScRange& ScRangeList::front ( ) const
inline

Definition at line 94 of file rangelst.hxx.

size_t ScRangeList::GetCellCount ( ) const

Definition at line 1094 of file rangelst.cxx.

References maRanges.

Referenced by ScAccessibleSpreadsheet::CalcScRangeListDifferenceMax().

ScRangeList ScRangeList::GetIntersectedRange ( const ScRange rRange) const
ScAddress ScRangeList::GetTopLeftCorner ( ) const
bool ScRangeList::In ( const ScRange rRange) const
void ScRangeList::InsertCol ( SCTAB  nTab,
SCROW  nRowStart,
SCROW  nRowEnd,
SCCOL  nColPos,
SCSIZE  nSize 
)

Definition at line 478 of file rangelst.cxx.

References Join(), and maRanges.

Referenced by ScConditionalFormat::InsertCol().

void ScRangeList::InsertCol ( SCTAB  nTab,
SCCOL  nColPos 
)

Definition at line 506 of file rangelst.cxx.

References Join(), and maRanges.

void ScRangeList::InsertRow ( SCTAB  nTab,
SCCOL  nColStart,
SCCOL  nColEnd,
SCROW  nRowPos,
SCSIZE  nSize 
)

Definition at line 448 of file rangelst.cxx.

References Join(), maRanges, and mnMaxRowUsed.

Referenced by ScConditionalFormat::InsertRow().

bool ScRangeList::Intersects ( const ScRange rRange) const
void ScRangeList::Join ( const ScRange rNewRange,
bool  bIsInList = false 
)
bool ScRangeList::operator!= ( const ScRangeList r) const

Definition at line 366 of file rangelst.cxx.

References operator==().

ScRangeList & ScRangeList::operator= ( const ScRangeList rList)

Definition at line 1070 of file rangelst.cxx.

References maRanges, and mnMaxRowUsed.

ScRangeList & ScRangeList::operator= ( ScRangeList &&  rList)
noexcept

Definition at line 1077 of file rangelst.cxx.

References maRanges, and mnMaxRowUsed.

bool ScRangeList::operator== ( const ScRangeList r) const

Definition at line 358 of file rangelst.cxx.

References maRanges.

Referenced by operator!=().

ScRange& ScRangeList::operator[] ( size_t  idx)
inline

Definition at line 91 of file rangelst.hxx.

const ScRange& ScRangeList::operator[] ( size_t  idx) const
inline

Definition at line 92 of file rangelst.hxx.

ScRefFlags ScRangeList::Parse ( const OUString &  rStr,
const ScDocument pDoc,
formula::FormulaGrammar::AddressConvention  eConv = formula::FormulaGrammar::CONV_OOO,
SCTAB  nDefaultTab = 0,
sal_Unicode  cDelimiter = 0 
)
void ScRangeList::push_back ( const ScRange rRange)

Definition at line 1144 of file rangelst.cxx.

References ScRange::aEnd, maRanges, mnMaxRowUsed, and ScAddress::Row().

Referenced by AddAndPartialCombine(), ScMyTables::AddMatrixRange(), ScChartsObj::addNewByName(), ScCellRangesBase::AddRange(), XclExpMergedcells::AppendRange(), ScViewFunc::ApplySelectionPattern(), ScVbaEventListener::changesOccurred(), XclImpAddressConverter::ConvertRangeList(), oox::xls::AddressConverter::convertToCellRangeList(), ScDocument::CopyFromClip(), ScDocument::CopyTabToClip(), XclExpNameManagerImpl::CreateBuiltInNames(), ScDBDocFunc::DataPilotUpdate(), ScViewFunc::DeleteContents(), ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), ScCellShell::ExecuteEdit(), ScMarkData::ExtendRangeListTables(), ScViewFunc::FillAuto(), XclExpLabelranges::FillRangeList(), ScMarkData::FillRangeListWithMarks(), oox::xls::Scenario::finalizeImport(), ExcelToSc::GetAbsRefs(), ExcelToSc8::GetAbsRefs(), ScViewFunc::GetAutoSumArea(), ScDPCollection::SheetCaches::getCache(), ScHTMLImport::GetHTMLRangeNameList(), ScVbaPageSetup::getPrintArea(), ScRangeStringConverter::GetRangeListFromString(), ScMarkData::GetSelectionCover(), ScCellShell::GetState(), ScCellRangesBase::InitInsertRange(), ScHTMLTable::InsertNewCell(), ScTableProtectionImpl::isBlockEditable(), Join(), lcl_GetAutoSumForColumnRange(), lcl_GetAutoSumForRowRange(), lcl_makeXRangeFromSheetCellRanges(), ScDocument::LimitChartIfAll(), ScStatisticsInputOutputDialog::MakeColumnRangeList(), ScStatisticsInputOutputDialog::MakeRowRangeList(), ScViewFunc::MarkAndJumpToRanges(), ScViewFunc::MoveTable(), ScChart2DataSequence::Notify(), ScModelObj::NotifyChanges(), HelperNotifyChanges::NotifyIfChangesListeners(), Parse(), ScFormulaReferenceHelper::ParseWithNames(), ScDocShell::PostPaint(), ScViewFunc::PostPasteFromClip(), ScAreaLink::Refresh(), ScCellRangesObj::removeByName(), ScCellRangesObj::removeRangeAddress(), ScCellRangesBase::ScCellRangesBase(), ScClipParam::ScClipParam(), ScCondFormatDlg::ScCondFormatDlg(), ScRangeList(), ScUndoChartData::ScUndoChartData(), ScTable::SearchAndReplaceEmptyCells(), oox::xls::SheetDataBuffer::setCellFormat(), ScDocument::SetClipArea(), ScChartObj::setFastPropertyValue_NoBroadcast(), XclImpXFRangeBuffer::SetMerge(), ScCellRangesBase::SetNewRange(), ScChartObj::setRanges(), ScViewFunc::SetWidthOrHeight(), XclImpXFRangeBuffer::SetXF(), ScVbaRange::SpecialCells(), XclXmlUtils::ToOString(), ScDocShell::TransferTab(), ScClipParam::transpose(), and ScDocument::UpdateChartArea().

void ScRangeList::Remove ( size_t  nPos)
void ScRangeList::RemoveAll ( )
size_t ScRangeList::size ( ) const
inline

Definition at line 90 of file rangelst.hxx.

Referenced by ScVbaNames::Add(), ScTable::AddCondFormatData(), oox::xls::addIfNotInMyMap(), ScCellRangesBase::addModifyListener(), ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), XclImpValidationManager::Apply(), ScHelperFunctions::ApplyBorder(), XMLTableStyleContext::ApplyCondFormat(), ScMatrixComparisonGenerator::ApplyOutput(), ScDocument::ApplySelectionFrame(), ScAccessibleSpreadsheet::CalcScAddressFromRangeList(), ScAccessibleSpreadsheet::CalcScRangeListDifferenceMax(), ScFunctionAccess::callFunction(), ScChartPositioner::CheckColRowHeaders(), ScClipUtil::CheckDestRanges(), ScCellCursorObj::collapseToCurrentArray(), ScCellCursorObj::collapseToCurrentRegion(), ScCellCursorObj::collapseToMergedArea(), ScCellCursorObj::collapseToSize(), ScDocument::ContainsNotesInRange(), oox::xls::DefinedName::convertFormula(), XclExpAddressConverter::ConvertRangeList(), ScDocument::CopyFromClip(), ScDocument::CopyMultiRangeFromClip(), ScDocument::CopyScenario(), ScViewFunc::CopyToClip(), ScTable::CopyToClip(), ScViewFunc::CopyToClipMultiRange(), ScTableSheetObj::createCursorByRange(), XclExpFormulaCompiler::CreateFormula(), ScChartArray::CreateMemChart(), ScCellRangesBase::CreateMemChart_Impl(), ScChartPositioner::CreatePositionMap(), ScTable::DeleteSelection(), ScDocument::DeleteSelection(), ScDocument::DeleteSelectionTab(), ScTabViewShell::DoAutoSum(), ScUndoPaste::DoChange(), ScTabView::DoChartSelection(), ScViewFunc::DoRefConversion(), ScGridWindow::dumpCellProperties(), ScXMLTableScenarioContext::endFastElement(), ScXMLTableContext::endFastElement(), ExcEScenario::ExcEScenario(), ScCellCursorObj::expandToEntireColumns(), ScCellCursorObj::expandToEntireRows(), ScMarkData::ExtendRangeListTables(), ScConditionEntry::FillCache(), ScHTMLTable::FillEmptyCells(), sc::SearchResultsDlg::FillResults(), XclImpXFRangeBuffer::Finalize(), ScCellRangesBase::findNext(), ScDocument::ForgetNoteCaptions(), FuInsertChart::FuInsertChart(), ScDocument::GetAllNoteCaptionsState(), ScViewFunc::GetAutoSumFormula(), XclExpMergedcells::GetBaseXFId(), ScDPCollection::SheetCaches::getCache(), getCellRangeAddressForVBARange(), ScTableSheetsObj::getCellRangesByName(), ScDocument::GetClipArea(), ScConditionalFormatList::GetCombinedRange(), ScCellRangesObj::getCount(), ScCellRangesObj::getElementNames(), ScVbaRange::getEntireColumnOrRow(), ScChartObj::getFastPropertyValue(), ScCellRangesBase::GetLimitedChartRanges_Impl(), ScMarkData::GetMarkedRowSpans(), ScDocument::GetNotesInRange(), ScCellRangesObj::GetObjectByIndex_Impl(), ScClipParam::getPasteColSize(), ScClipParam::getPasteRowSize(), ScCellRangesObj::getRangeAddresses(), getRangeForName(), ScChartObj::getRanges(), ScTableSheetObj::getRanges(), ScDocument::GetRangeScriptType(), getScRangeListForAddress(), ScDBFunc::GetSelectedMemberList(), ScDocument::GetSelectionFrame(), ScTableSheetObj::GetTab_Impl(), GetTopLeftCorner(), ScColorFormat::getValues(), ScChartPositioner::GlueState(), ScCellCursorObj::gotoEnd(), ScCellCursorObj::gotoEndOfUsedArea(), ScCellCursorObj::gotoNext(), ScCellCursorObj::gotoOffset(), ScCellCursorObj::gotoPrevious(), ScCellCursorObj::gotoStart(), ScCellCursorObj::gotoStartOfUsedArea(), ScDocument::HasClipFilteredRows(), ScGridWindow::HasScenarioButton(), ScTable::HasScenarioRange(), ScColumn::HasSelectionMatrixFragment(), IMPL_LINK_NOARG(), ScCellRangesObj::insertByName(), ScAcceptChgDlg::InsertChangeActionContent(), ScDocument::InterpretDirtyCells(), ScTableProtectionImpl::isBlockEditable(), ScAccessibleCell::IsDropdown(), ScClipParam::isMultiRange(), ScTableProtectionImpl::isSelectionEditable(), ScTable::IsSelectionEditable(), ScAcceptChgDlg::IsValidAction(), lcl_collectAllPredOrSuccRanges(), lcl_DrawScenarioFrames(), lcl_FindRangeByName(), lcl_makeXRangeFromSheetCellRanges(), lcl_TabInRanges(), lcl_TotalRange(), lcl_WholeSheet(), ScDocument::LimitChartIfAll(), ScViewFunc::MarkAndJumpToRanges(), ScMarkData::MarkFromRangeList(), ScChart2DataSequence::Notify(), ScCellRangesBase::Notify(), ScDataPilotTableObj::Notify(), ScModelObj::NotifyChanges(), ScVbaRange::Offset(), oox::xls::ExtConditionalFormattingContext::onEndElement(), ScCellRangesBase::PaintGridRanges_Impl(), ScViewFunc::PasteFromClip(), ScDocShell::PostPaint(), ScViewFunc::PostPasteFromClip(), ScCellRangesBase::queryContentCells(), ScCellRangesBase::queryDependents(), ScCellRangesBase::QueryDifferences_Impl(), ScCellRangesBase::queryEmptyCells(), ScCellRangesBase::queryFormulaCells(), ScCellRangesBase::queryIntersection(), ScCellRangesBase::queryPrecedents(), XclImpCondFormat::ReadCF(), XclImpLabelranges::ReadLabelranges(), ScCellRangesBase::RefChanged(), ScCellRangeObj::RefChanged(), ScCellObj::RefChanged(), ScAreaLink::Refresh(), ScTableLink::Refresh(), ScDBCollection::RefreshDirtyTableColumnNames(), ScCellRangesObj::removeByName(), ScTable::RemoveCondFormatData(), ScCellRangesObj::removeRangeAddress(), ScAnalysisOfVarianceDialog::RowColumn(), XclExpMergedcells::SaveXml(), sc::SingleColumnSpanSet::scan(), ScViewFunc::SearchAndReplace(), ScTable::SearchAndReplaceEmptyCells(), ScTabViewObj::select(), ScMultiSel::Set(), ScTabViewObj::setActiveSheet(), oox::xls::SheetDataBuffer::setCellFormat(), ScUndoPaste::SetChangeTrack(), ScCellRangesBase::SetOnePropertyValue(), ScVbaPageSetup::setPrintArea(), ScViewFunc::SetPrintRanges(), ScMultiBlockUndo::ShowBlock(), ScFormulaReferenceHelper::ShowSimpleReference(), ScHTMLLayoutParser::SkipLocked(), ScTable::SortReorderByRowRefUpdate(), ScVbaRange::SpecialCells(), ScFormulaListener::startListening(), oox::xls::AddressConverter::toApiSequence(), ScClipParam::transpose(), ScUndoDragDrop::Undo(), ScDocShell::UnlockPaint_Impl(), ScDocument::UpdateChartArea(), ScGridWindow::UpdateCopySourceOverlay(), ScConditionalFormat::UpdateDeleteTab(), ScConditionalFormat::UpdateInsertTab(), ScConditionalFormat::UpdateMoveTab(), ScChart2DataSequence::UpdateTokensFromRanges(), ScTabViewShell::UseSubTotal(), oox::xls::AddressConverter::validateCellRangeList(), XclExpAddressConverter::ValidateRangeList(), and XclExpLabelranges::XclExpLabelranges().

void ScRangeList::swap ( ScRangeList r)

Definition at line 1151 of file rangelst.cxx.

References maRanges, and mnMaxRowUsed.

Referenced by lcl_collectAllPredOrSuccRanges(), and sc::QueryRange::swapRanges().

bool ScRangeList::UpdateReference ( UpdateRefMode  eUpdateRefMode,
const ScDocument pDoc,
const ScRange rWhere,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)

Member Data Documentation

::std::vector<ScRange> ScRangeList::maRanges
private
SCROW ScRangeList::mnMaxRowUsed
private

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