Lines Matching refs:rSel
124 void GetSelection( struct ESelection& rSel, SvxTextForwarder* pForwarder ) throw() in GetSelection() argument
133 rSel = ESelection( 0,0, nParaCount, pForwarder->GetTextLen( nParaCount )); in GetSelection()
137 void CheckSelection( struct ESelection& rSel, SvxTextForwarder* pForwarder ) throw() in CheckSelection() argument
142 if( rSel.nStartPara == 0xffff ) in CheckSelection()
144 ::GetSelection( rSel, pForwarder ); in CheckSelection()
152 if( rSel.nStartPara < aMaxSelection.nStartPara ) in CheckSelection()
154 rSel.nStartPara = aMaxSelection.nStartPara; in CheckSelection()
155 rSel.nStartPos = aMaxSelection.nStartPos; in CheckSelection()
157 else if( rSel.nStartPara > aMaxSelection.nEndPara ) in CheckSelection()
159 rSel.nStartPara = aMaxSelection.nEndPara; in CheckSelection()
160 rSel.nStartPos = aMaxSelection.nEndPos; in CheckSelection()
162 else if( rSel.nStartPos > pForwarder->GetTextLen( rSel.nStartPara ) ) in CheckSelection()
164 rSel.nStartPos = pForwarder->GetTextLen( rSel.nStartPara ); in CheckSelection()
168 if( rSel.nEndPara < aMaxSelection.nStartPara ) in CheckSelection()
170 rSel.nEndPara = aMaxSelection.nStartPara; in CheckSelection()
171 rSel.nEndPos = aMaxSelection.nStartPos; in CheckSelection()
173 else if( rSel.nEndPara > aMaxSelection.nEndPara ) in CheckSelection()
175 rSel.nEndPara = aMaxSelection.nEndPara; in CheckSelection()
176 rSel.nEndPos = aMaxSelection.nEndPos; in CheckSelection()
178 else if( rSel.nEndPos > pForwarder->GetTextLen( rSel.nEndPara ) ) in CheckSelection()
180 rSel.nEndPos = pForwarder->GetTextLen( rSel.nEndPara ); in CheckSelection()
1841 …eference< text::XTextCursor > SvxUnoTextBase::createTextCursorBySelection( const ESelection& rSel ) in createTextCursorBySelection() argument
1845 pCursor->SetSelection( rSel ); in createTextCursorBySelection()