|
LibreOffice Module sc (master) 1
|
#include <rangelst.hxx>
Public Member Functions | |
| virtual | ~ScRangePairList () override |
| ScRangePairList * | Clone () const |
| void | Append (const ScRangePair &rRangePair) |
| void | Join (const ScRangePair &, bool bIsInList=false) |
| void | UpdateReference (UpdateRefMode, const ScDocument *, const ScRange &rWhere, SCCOL nDx, SCROW nDy, SCTAB nDz) |
| void | DeleteOnTab (SCTAB nTab) |
| ScRangePair * | Find (const ScAddress &) |
| ScRangePair * | Find (const ScRange &) |
| std::vector< const ScRangePair * > | CreateNameSortedArray (ScDocument &) const |
| void | Remove (size_t nPos) |
| void | Remove (const ScRangePair &rAdr) |
| size_t | size () const |
| ScRangePair & | operator[] (size_t idx) |
| const ScRangePair & | operator[] (size_t idx) const |
Public Member Functions inherited from SvRefBase | |
| SvRefBase () | |
| SvRefBase (const SvRefBase &) | |
| SvRefBase & | operator= (const SvRefBase &) |
| void | RestoreNoDelete () |
| void | AddNextRef () |
| void | AddFirstRef () |
| void | ReleaseRef () |
| unsigned int | GetRefCount () const |
Private Attributes | |
| ::std::vector< ScRangePair > | maPairs |
Additional Inherited Members | |
Protected Member Functions inherited from SvRefBase | |
| virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Definition at line 131 of file rangelst.hxx.
|
overridevirtual |
Definition at line 1191 of file rangelst.cxx.
|
inline |
Definition at line 136 of file rangelst.hxx.
| ScRangePairList * ScRangePairList::Clone | ( | ) | const |
Definition at line 1299 of file rangelst.cxx.
References Append(), and maPairs.
Referenced by ScLabelRangesObj::addNew(), ScLabelRangeObj::Modify_Impl(), ScLabelRangesObj::removeByIndex(), and ScColRowNameRangesDlg::ScColRowNameRangesDlg().
| std::vector< const ScRangePair * > ScRangePairList::CreateNameSortedArray | ( | ScDocument & | rDoc | ) | const |
Definition at line 1518 of file rangelst.cxx.
| void ScRangePairList::DeleteOnTab | ( | SCTAB | nTab | ) |
Definition at line 1269 of file rangelst.cxx.
References maPairs.
| ScRangePair * ScRangePairList::Find | ( | const ScAddress & | rAdr | ) |
Definition at line 1279 of file rangelst.cxx.
References maPairs.
Referenced by ScLabelRangeObj::GetData_Impl().
| ScRangePair * ScRangePairList::Find | ( | const ScRange & | rRange | ) |
Definition at line 1289 of file rangelst.cxx.
References maPairs.
| void ScRangePairList::Join | ( | const ScRangePair & | r, |
| bool | bIsInList = false |
||
| ) |
Definition at line 1389 of file rangelst.cxx.
References ScRange::aEnd, Append(), ScRange::aStart, ScAddress::Col(), ScRange::Contains(), ScRangePair::GetRange(), i, maPairs, Remove(), ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), and ScAddress::Tab().
| ScRangePair & ScRangePairList::operator[] | ( | size_t | idx | ) |
Definition at line 1214 of file rangelst.cxx.
| const ScRangePair & ScRangePairList::operator[] | ( | size_t | idx | ) | const |
Definition at line 1219 of file rangelst.cxx.
| void ScRangePairList::Remove | ( | const ScRangePair & | rAdr | ) |
Definition at line 1203 of file rangelst.cxx.
References maPairs.
| void ScRangePairList::Remove | ( | size_t | nPos | ) |
| size_t ScRangePairList::size | ( | ) | const |
Definition at line 1224 of file rangelst.cxx.
References maPairs.
Referenced by ScLabelRangesObj::getCount(), ScCompiler::HandleColRowName(), ScCompiler::ParseColRowName(), and ScLabelRangesObj::removeByIndex().
| void ScRangePairList::UpdateReference | ( | UpdateRefMode | eUpdateRefMode, |
| const ScDocument * | pDoc, | ||
| const ScRange & | rWhere, | ||
| SCCOL | nDx, | ||
| SCROW | nDy, | ||
| SCTAB | nDz | ||
| ) |
Definition at line 1229 of file rangelst.cxx.
References ScRange::aEnd, ScRange::aStart, ScRange::GetVars(), maPairs, ScAddress::Set(), ScRefUpdate::Update(), and UR_NOTHING.
|
private |
Definition at line 158 of file rangelst.hxx.
Referenced by Clone(), CreateNameSortedArray(), DeleteOnTab(), Find(), Join(), operator[](), Remove(), size(), and UpdateReference().