LibreOffice Module sc (master) 1
|
#include <bigrange.hxx>
Public Member Functions | |
ScBigRange () | |
ScBigRange (const ScBigRange &r) | |
ScBigRange (ScBigRange &&)=default | |
ScBigRange (const ScRange &r) | |
ScBigRange (sal_Int64 nCol1, sal_Int64 nRow1, sal_Int64 nTab1, sal_Int64 nCol2, sal_Int64 nRow2, sal_Int64 nTab2) | |
void | Set (sal_Int64 nCol1, sal_Int64 nRow1, sal_Int64 nTab1, sal_Int64 nCol2, sal_Int64 nRow2, sal_Int64 nTab2) |
void | GetVars (sal_Int64 &nCol1, sal_Int64 &nRow1, sal_Int64 &nTab1, sal_Int64 &nCol2, sal_Int64 &nRow2, sal_Int64 &nTab2) const |
bool | IsValid (const ScDocument &rDoc) const |
ScRange | MakeRange (const ScDocument &rDoc) const |
bool | Contains (const ScBigAddress &) const |
is Address& in range? More... | |
bool | Contains (const ScBigRange &) const |
is Range& in range? More... | |
bool | Intersects (const ScBigRange &) const |
do two ranges overlap? More... | |
ScBigRange & | operator= (const ScBigRange &r) |
ScBigRange & | operator= (ScBigRange &&)=default |
bool | operator== (const ScBigRange &r) const |
bool | operator!= (const ScBigRange &r) const |
Public Attributes | |
ScBigAddress | aStart |
ScBigAddress | aEnd |
Static Public Attributes | |
static constexpr sal_Int64 | nRangeMin = ::std::numeric_limits<sal_Int64>::min() |
static constexpr sal_Int64 | nRangeMax = ::std::numeric_limits<sal_Int64>::max() |
Definition at line 104 of file bigrange.hxx.
|
inline |
Definition at line 111 of file bigrange.hxx.
|
inline |
Definition at line 112 of file bigrange.hxx.
|
default |
|
inline |
Definition at line 115 of file bigrange.hxx.
|
inline |
Definition at line 117 of file bigrange.hxx.
|
inline |
is Address& in range?
Definition at line 154 of file bigrange.hxx.
References aEnd, aStart, ScBigAddress::Col(), ScBigAddress::Row(), and ScBigAddress::Tab().
Referenced by ScChangeTrack::Dependencies(), ScRefUpdate::Update(), and ScChangeTrack::UpdateReference().
|
inline |
is Range& in range?
Definition at line 162 of file bigrange.hxx.
References aEnd, aStart, ScBigAddress::Col(), ScBigAddress::Row(), and ScBigAddress::Tab().
|
inline |
Definition at line 127 of file bigrange.hxx.
References aEnd, aStart, and ScBigAddress::GetVars().
Referenced by ScChangeTrackingExportHelper::AddDeletionAttributes(), ScChangeTrackingExportHelper::AddInsertionAttributes(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScRefUpdate::Update(), and ScChangeTrackingExportHelper::WriteBigRange().
|
inline |
do two ranges overlap?
Definition at line 170 of file bigrange.hxx.
References aEnd, aStart, ScBigAddress::Col(), ScBigAddress::Row(), and ScBigAddress::Tab().
Referenced by ScChangeTrack::Dependencies(), ScConflictsFinder::DoActionsIntersect(), and ScChangeTrack::UpdateReference().
|
inline |
Definition at line 132 of file bigrange.hxx.
References aEnd, aStart, and ScBigAddress::IsValid().
Referenced by ScChangeAction::GetRefString(), ScChangeActionContent::GetRefString(), IMPL_LINK_NOARG(), ScChangeTrack::Reject(), ScChangeActionIns::Reject(), ScChangeActionDel::Reject(), ScChangeActionMove::Reject(), ScChangeActionContent::Reject(), ScChangeActionContent::Select(), ScRedComDialog::SelectCell(), and ScChangeTrack::SelectContent().
|
inline |
Definition at line 134 of file bigrange.hxx.
References aEnd, aStart, and ScBigAddress::MakeAddress().
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScOutputData::DrawChangeTrack(), ScDocument::GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), ScConflictsDlg::GetConflictString(), ScChangeAction::GetRefString(), IMPL_LINK_NOARG(), ScAcceptChgDlg::InsertChangeActionContent(), ScViewUtil::IsActionShown(), ScDocument::IsCellInChangeTrack(), ScAcceptChgDlg::IsValidAction(), ScDocShell::MergeDocument(), ScChangeTrack::Reject(), ScChangeActionIns::Reject(), ScChangeActionDel::Reject(), ScChangeActionMove::Reject(), ScRedComDialog::SelectCell(), ScChangeTrack::SelectContent(), ScGridWindow::ShowNoteMarker(), ScChangeTrack::Undo(), and ScChangeActionContent::UpdateReference().
|
inline |
Definition at line 146 of file bigrange.hxx.
References operator==().
|
inline |
Definition at line 141 of file bigrange.hxx.
|
default |
|
inline |
Definition at line 144 of file bigrange.hxx.
Referenced by operator!=().
|
inline |
Definition at line 122 of file bigrange.hxx.
References aEnd, aStart, and ScBigAddress::Set().
ScBigAddress ScBigRange::aEnd |
Definition at line 109 of file bigrange.hxx.
Referenced by ScChangeTrack::AppendContentRange(), Contains(), ScChangeActionDel::GetDescription(), ScChangeActionDel::GetOverAllRange(), ScChangeActionContent::GetRefString(), GetVars(), Intersects(), IsValid(), MakeRange(), operator=(), operator==(), ScChangeTrack::Reject(), ScChangeActionDel::ScChangeActionDel(), ScChangeActionIns::ScChangeActionIns(), ScChangeTrack::SelectContent(), Set(), ScChangeTrack::SetLastCutMoveRange(), ScChangeActionDel::UndoCutOffInsert(), ScChangeActionDel::UndoCutOffMoves(), ScRefUpdate::Update(), ScChangeActionContent::UpdateReference(), and ScChangeTrack::UpdateReference().
ScBigAddress ScBigRange::aStart |
Definition at line 108 of file bigrange.hxx.
Referenced by ScChangeTrack::AppendContentRange(), Contains(), ScChangeTrack::Dependencies(), ScOutputData::DrawChangeTrack(), ScDocument::GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), ScChangeActionMove::GetDelta(), ScChangeActionDel::GetDescription(), ScChangeActionMove::GetDescription(), ScChangeActionContent::GetFormulaString(), ScChangeActionMove::GetRefString(), GetVars(), Intersects(), ScDocument::IsCellInChangeTrack(), IsValid(), MakeRange(), ScChangeTrack::MasterLinks(), operator=(), operator==(), ScChangeActionContent::PutValueToDoc(), ScChangeTrack::Reject(), ScChangeActionDel::Reject(), ScChangeActionMove::Reject(), ScChangeActionDel::ScChangeActionDel(), ScChangeActionIns::ScChangeActionIns(), ScChangeActionContent::Select(), ScChangeTrack::SelectContent(), Set(), ScChangeTrack::SetLastCutMoveRange(), ScChangeActionContent::SetNewValue(), ScChangeActionContent::SetOldValue(), ScChangeActionContent::SetValueString(), ScGridWindow::ShowNoteMarker(), ScChangeActionDel::UndoCutOffInsert(), ScChangeActionDel::UndoCutOffMoves(), ScRefUpdate::Update(), ScChangeActionContent::UpdateReference(), ScChangeTrack::UpdateReference(), and XclExpChangeTrack::XclExpChangeTrack().
|
staticconstexpr |
Definition at line 151 of file bigrange.hxx.
Referenced by ScBigAddress::IsValid(), lcl_MoveBig(), ScChangeActionDel::ScChangeActionDel(), ScChangeActionIns::ScChangeActionIns(), ScXMLChangeTrackingImportHelper::SetPosition(), ScRefUpdate::Update(), and ScChangeTrack::UpdateReference().
|
staticconstexpr |
Definition at line 150 of file bigrange.hxx.
Referenced by ScBigAddress::IsValid(), ScChangeActionDel::ScChangeActionDel(), ScChangeActionIns::ScChangeActionIns(), ScXMLChangeTrackingImportHelper::SetPosition(), and ScRefUpdate::Update().