Lines Matching refs:pRange
68 ScRange* pRange = pMarkedRanges->First(); in CalcScAddressFromRangeList() local
69 if (pRange) in CalcScAddressFromRangeList()
73 const int nColNum = pRange->aEnd.Col() - pRange->aStart.Col() + 1; in CalcScAddressFromRangeList()
76 …return ScMyAddress(static_cast<SCCOL>(pRange->aStart.Col() + nCurCol), pRange->aStart.Row() + nCur… in CalcScAddressFromRangeList()
84 ScRange* pRange = pMarkedRanges->First(); in CalcScAddressFromRangeList() local
85 while (pRange) in CalcScAddressFromRangeList()
87 if (pRange->aStart.Tab() != pRange->aEnd.Tab()) in CalcScAddressFromRangeList()
89 if ((maActiveCell.Tab() >= pRange->aStart.Tab()) || in CalcScAddressFromRangeList()
90 maActiveCell.Tab() <= pRange->aEnd.Tab()) in CalcScAddressFromRangeList()
92 m_vecTempRange.push_back(pRange); in CalcScAddressFromRangeList()
93 nMinRow = std::min(pRange->aStart.Row(),nMinRow); in CalcScAddressFromRangeList()
94 nMaxRow = std::max(pRange->aEnd.Row(),nMaxRow); in CalcScAddressFromRangeList()
99 else if(pRange->aStart.Tab() == maActiveCell.Tab()) in CalcScAddressFromRangeList()
101 m_vecTempRange.push_back(pRange); in CalcScAddressFromRangeList()
102 nMinRow = std::min(pRange->aStart.Row(),nMinRow); in CalcScAddressFromRangeList()
103 nMaxRow = std::max(pRange->aEnd.Row(),nMaxRow); in CalcScAddressFromRangeList()
107 pRange = pMarkedRanges->Next(); in CalcScAddressFromRangeList()
223 ScRange* pRange = pSrc->First(); in CalcScRangeListDifferenceMax() local
224 while (pRange) in CalcScRangeListDifferenceMax()
226 for (sal_Int32 row = pRange->aStart.Row(); row <= pRange->aEnd.Row();++row) in CalcScRangeListDifferenceMax()
228 for (sal_uInt16 col = pRange->aStart.Col(); col <= pRange->aEnd.Col();++col) in CalcScRangeListDifferenceMax()
230 vecRet.push_back(ScMyAddress(col,row,pRange->aStart.Tab())); in CalcScRangeListDifferenceMax()
233 pRange = pSrc->Next(); in CalcScRangeListDifferenceMax()
239 ScRange* pRange = pSrc->First(); in CalcScRangeListDifferenceMax() local
240 while (pRange) in CalcScRangeListDifferenceMax()
245 if (CalcScRangeDifferenceMax(pRange,pRangeDest,nMax,vecRet,nSize)) in CalcScRangeListDifferenceMax()
251 pRange = pSrc->Next(); in CalcScRangeListDifferenceMax()