Lines Matching refs:aSel

285 EditPaM ImpEditEngine::DeleteSelected( EditSelection aSel )  in DeleteSelected()  argument
287 EditPaM aPaM ( ImpDeleteSelection( aSel ) ); in DeleteSelected()
299 EditSelection aSel( rSel ); in GetSelected() local
300 aSel.Adjust( aEditDoc ); in GetSelected()
302 ContentNode* pStartNode = aSel.Min().GetNode(); in GetSelected()
303 ContentNode* pEndNode = aSel.Max().GetNode(); in GetSelected()
318 nStartPos = aSel.Min().GetIndex(); in GetSelected()
320 nEndPos = aSel.Max().GetIndex(); in GetSelected()
502 EditSelection aSel( mpIMEInfos->aPos ); in Command() local
503 aSel.Min().GetIndex() += mpIMEInfos->nLen-1; in Command()
504 aSel.Max().GetIndex() = in Command()
505 aSel.Max().GetIndex() + mpIMEInfos->nLen; in Command()
509 const sal_Unicode nCharCode = aSel.Min().GetNode()->GetChar( aSel.Min().GetIndex() ); in Command()
512 aSel = DeleteSelected( aSel ); in Command()
513 aSel = AutoCorrect( aSel, nCharCode, mpIMEInfos->bWasCursorOverwrite ); in Command()
514 pView->pImpEditView->SetEditSelection( aSel ); in Command()
541 EditSelection aSel( mpIMEInfos->aPos ); in Command() local
542 aSel.Max().GetIndex() = in Command()
543 aSel.Max().GetIndex() + mpIMEInfos->nLen; in Command()
544 aSel = DeleteSelected( aSel ); in Command()
545 aSel = ImpInsertText( aSel, pData->GetText() ); in Command()
710 EditPaM ImpEditEngine::InsertText( EditSelection aSel, const XubString& rStr ) in InsertText() argument
712 EditPaM aPaM = ImpInsertText( aSel, rStr ); in InsertText()
721 EditSelection aSel( aPaM ); in Clear() local
731 pView->pImpEditView->SetEditSelection( aSel ); in Clear()
1898 EditSelection aSel( rSel ); in GetScriptType() local
1899 aSel.Adjust( aEditDoc ); in GetScriptType()
1903 sal_uInt32 nStartPara = GetEditDoc().GetPos( aSel.Min().GetNode() ); in GetScriptType()
1904 sal_uInt32 nEndPara = GetEditDoc().GetPos( aSel.Max().GetNode() ); in GetScriptType()
1917 sal_uInt16 nS = ( nPara == nStartPara ) ? aSel.Min().GetIndex() : 0; in GetScriptType()
1918 sal_uInt16 nE = ( nPara == nEndPara ) ? aSel.Max().GetIndex() : pParaPortion->GetNode()->Len(); in GetScriptType()
2161 EditSelection aSel( rPaM ); in ImpRemoveChars() local
2162 aSel.Max().GetIndex() = aSel.Max().GetIndex() + nChars; in ImpRemoveChars()
2163 EditUndoSetAttribs* pAttrUndo = CreateAttribUndo( aSel, GetEmptyItemSet() ); in ImpRemoveChars()
2499 EditPaM ImpEditEngine::ImpDeleteSelection( EditSelection aSel ) in ImpDeleteSelection() argument
2501 if ( !aSel.HasRange() ) in ImpDeleteSelection()
2502 return aSel.Min(); in ImpDeleteSelection()
2504 aSel.Adjust( aEditDoc ); in ImpDeleteSelection()
2505 EditPaM aStartPaM( aSel.Min() ); in ImpDeleteSelection()
2506 EditPaM aEndPaM( aSel.Max() ); in ImpDeleteSelection()
2605 EditSelection aSel( rCurSel ); in AutoCorrect() local
2610 if ( aSel.HasRange() ) in AutoCorrect()
2611 aSel = ImpDeleteSelection( rCurSel ); in AutoCorrect()
2619 ESelection aESel( CreateESel(aSel) ); in AutoCorrect()
2643 aFirstWordSel.Max().GetIndex() <= aSel.Max().GetIndex() && in AutoCorrect()
2644 aSel.Max().GetIndex() <= aSecondWordSel.Min().GetIndex(); in AutoCorrect()
2650 ContentNode* pNode = aSel.Max().GetNode(); in AutoCorrect()
2651 sal_uInt16 nIndex = aSel.Max().GetIndex(); in AutoCorrect()
2654 aSel.Max().SetIndex( aAuto.GetCursor() ); in AutoCorrect()
2661 return aSel.Max(); in AutoCorrect()
2730 EditSelection aSel( EditPaM( aPaM.GetNode(), (sal_uInt16) nChgPos ), aPaM ); in InsertText() local
2733 return InsertText( aSel, aChgText ); // implicitly handles undo in InsertText()
3644 EditSelection aSel( pActiveView->pImpEditView->GetEditSelection() ); in StopSelectionMode() local
3645 aSel.Min() = aSel.Max(); in StopSelectionMode()
3646 pActiveView->pImpEditView->SetEditSelection( aSel ); in StopSelectionMode()