Lines Matching refs:aSel

50 	TextSelection aSel( rCursor );  in MatchGroup()  local
91 aSel.GetStart() = rCursor; in MatchGroup()
92 aSel.GetEnd() = TextPaM( nPara, nCur+1 ); in MatchGroup()
137 aSel.GetStart() = rCursor; in MatchGroup()
138 aSel.GetStart().GetIndex()++; // hinter das Zeichen in MatchGroup()
139 aSel.GetEnd() = TextPaM( nPara, nCur ); in MatchGroup()
144 return aSel; in MatchGroup()
149 TextSelection aSel( rSel ); in Search() local
150 aSel.Justify(); in Search()
154 TextPaM aStartPaM( aSel.GetEnd() ); in Search()
155 …if ( aSel.HasRange() && ( ( bSearchInSelection && bForward ) || ( !bSearchInSelection && !bForward… in Search()
157 aStartPaM = aSel.GetStart(); in Search()
164 nEndNode = bForward ? aSel.GetEnd().GetPara() : aSel.GetStart().GetPara(); in Search()
192 nEndPos = aSel.GetEnd().GetIndex(); in Search()
194 nStartPos = aSel.GetStart().GetIndex(); in Search()
268 TextSelection aSel( GetSelection() ); in Search() local
269 if ( ((ExtTextEngine*)GetTextEngine())->Search( aSel, rSearchOptions, bForward ) ) in Search()
274 SetSelection( aSel.GetStart() ); in Search()
279 aSel = GetSelection().GetEnd(); in Search()
282 SetSelection( aSel ); in Search()
313 TextSelection aSel; in Replace() local
318 aSel = GetSelection(); in Replace()
319 aSel.Justify(); in Replace()
322 TextSelection aSearchSel( aSel ); in Replace()
324 sal_Bool bFound = pTextEngine->Search( aSel, rSearchOptions, sal_True ); in Replace()
331 TextPaM aNewStart = pTextEngine->ImpInsertText( aSel, rSearchOptions.replaceString ); in Replace()
332 aSel = aSearchSel; in Replace()
333 aSel.GetStart() = aNewStart; in Replace()
334 bFound = pTextEngine->Search( aSel, rSearchOptions, sal_True ); in Replace()
338 SetSelection( aSel.GetStart() ); in Replace()
350 TextSelection aSel = GetSelection(); in ImpIndentBlock() local
351 aSel.Justify(); in ImpIndentBlock()
356 sal_uLong nStartPara = aSel.GetStart().GetPara(); in ImpIndentBlock()
357 sal_uLong nEndPara = aSel.GetEnd().GetPara(); in ImpIndentBlock()
358 if ( aSel.HasRange() && !aSel.GetEnd().GetIndex() ) in ImpIndentBlock()
387 sal_Bool bRange = aSel.HasRange(); in ImpIndentBlock()
390 aSel.GetStart().GetIndex()++; in ImpIndentBlock()
391 if ( bRange && ( aSel.GetEnd().GetPara() == nEndPara ) ) in ImpIndentBlock()
392 aSel.GetEnd().GetIndex()++; in ImpIndentBlock()
396 if ( aSel.GetStart().GetIndex() ) in ImpIndentBlock()
397 aSel.GetStart().GetIndex()--; in ImpIndentBlock()
398 if ( bRange && aSel.GetEnd().GetIndex() ) in ImpIndentBlock()
399 aSel.GetEnd().GetIndex()--; in ImpIndentBlock()
402 ImpSetSelection( aSel ); in ImpIndentBlock()