Lines Matching refs:rEnd
176 bool CellCursor::GetMergedSelection( CellPos& rStart, CellPos& rEnd ) in GetMergedSelection() argument
179 rEnd.mnCol = mnRight; rEnd.mnRow = mnBottom; in GetMergedSelection()
196 findMergeOrigin( mxTable, mnRight, mnBottom, rEnd.mnCol, rEnd.mnRow ); in GetMergedSelection()
198 if( rEnd == rStart ) in GetMergedSelection()
200 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rEnd.mnCol, rEnd.mnRow ).get() ) ); in GetMergedSelection()
205 rEnd.mnCol += xCell->getColumnSpan()-1; in GetMergedSelection()
206 rEnd.mnRow += xCell->getRowSpan()-1; in GetMergedSelection()
211 for( nRow = rStart.mnRow; nRow <= rEnd.mnRow; nRow++ ) in GetMergedSelection()
213 for( nCol = rStart.mnCol; nCol <= rEnd.mnCol; nCol++ ) in GetMergedSelection()
233 if( (nOriginCol > rEnd.mnCol) || (nOriginRow > rEnd.mnRow) ) in GetMergedSelection()
238 …else if( ((nCol + xCell->getColumnSpan() - 1) > rEnd.mnCol) || ((nRow + xCell->getRowSpan() - 1 ) … in GetMergedSelection()