Lines Matching refs:aSel

205 				ESelection aSel( 0, nStart, 0, nPos );  in InitRangeFinder()  local
209 pEngine->QuickSetAttribs( aSet, aSel ); in InitRangeFinder()
242 ESelection aSel( 0, nLen, 0, nLen ); in lcl_Replace() local
243 pView->SetSelection( aSel ); // Cursor ans Ende in lcl_Replace()
748 ESelection aSel = pActiveView->GetSelection(); in ShowTipCursor() local
749 aSel.Adjust(); in ShowTipCursor()
751 if( aSel.nEndPos ) in ShowTipCursor()
753 if ( aFormula.Len() < aSel.nEndPos ) in ShowTipCursor()
755 xub_StrLen nPos = aSel.nEndPos; in ShowTipCursor()
886 String aText = pEngine->GetWord( 0, aSel.nEndPos-1 ); in ShowTipCursor()
887 if( aText.GetChar( aSel.nEndPos-1 ) == '=' ) in ShowTipCursor()
971 ESelection aSel = pActiveView->GetSelection(); in UseFormulaData() local
972 aSel.Adjust(); in UseFormulaData()
978 if ( aSel.nEndPos > aTotal.Len() ) in UseFormulaData()
983 if ( aSel.nEndPos > 0 ) in UseFormulaData()
985 xub_StrLen nPos = aSel.nEndPos; in UseFormulaData()
996 String aText = pEngine->GetWord( 0, aSel.nEndPos-1 ); in UseFormulaData()
1152 ESelection aSel = pView->GetSelection(); in lcl_CompleteFunction() local
1153 --aSel.nStartPos; in lcl_CompleteFunction()
1154 --aSel.nEndPos; in lcl_CompleteFunction()
1155 pView->SetSelection(aSel); in lcl_CompleteFunction()
1182 aSel = pView->GetSelection(); in lcl_CompleteFunction()
1183 --aSel.nStartPos; in lcl_CompleteFunction()
1184 --aSel.nEndPos; in lcl_CompleteFunction()
1185 pView->SetSelection(aSel); in lcl_CompleteFunction()
1340 ESelection aSel = pActiveView->GetSelection(); in PasteManualTip() local
1341 aSel.Adjust(); in PasteManualTip()
1342 DBG_ASSERT( !aSel.nStartPara && !aSel.nEndPara, "Zuviele Absaetze in Formel" ); in PasteManualTip()
1343 if ( !aSel.nStartPos ) // Selektion ab Anfang? in PasteManualTip()
1345 if ( aSel.nEndPos == pEngine->GetTextLen(0) ) in PasteManualTip()
1354 else if ( aSel.nEndPos ) in PasteManualTip()
1359 aSel.nStartPos = 1; in PasteManualTip()
1361 pTopView->SetSelection( aSel ); in PasteManualTip()
1363 pTableView->SetSelection( aSel ); in PasteManualTip()
1395 ESelection aSel = pActiveView->GetSelection(); in CursorAtClosingPar() local
1396 xub_StrLen nPos = aSel.nStartPos; in CursorAtClosingPar()
1412 ESelection aSel = pActiveView->GetSelection(); in SkipClosingPar() local
1413 ++aSel.nStartPos; in SkipClosingPar()
1414 ++aSel.nEndPos; in SkipClosingPar()
1420 pTopView->SetSelection( aSel ); in SkipClosingPar()
1422 pTableView->SetSelection( aSel ); in SkipClosingPar()
1459 ESelection aSel = pActiveView->GetSelection(); in UseColData() local
1460 aSel.Adjust(); in UseColData()
1463 if ( aSel.nEndPara+1 == nParCnt ) in UseColData()
1465 xub_StrLen nParLen = pEngine->GetTextLen( aSel.nEndPara ); in UseColData()
1466 if ( aSel.nEndPos == nParLen ) in UseColData()
1489 ESelection aSelection( aSel.nEndPara, aSel.nEndPos + aIns.Len(), in UseColData()
1490 aSel.nEndPara, aSel.nEndPos ); in UseColData()
1533 ESelection aSel = pActiveView->GetSelection(); in NextAutoEntry() local
1534 aSel.Adjust(); in NextAutoEntry()
1536 if ( aSel.nEndPara+1 == nParCnt && aSel.nStartPara == aSel.nEndPara ) in NextAutoEntry()
1539 xub_StrLen nSelLen = aSel.nEndPos - aSel.nStartPos; in NextAutoEntry()
1540 xub_StrLen nParLen = pEngine->GetTextLen( aSel.nEndPara ); in NextAutoEntry()
1541 if ( aSel.nEndPos == nParLen && aText.Len() == aAutoSearch.Len() + nSelLen ) in NextAutoEntry()
1557 aSel.nEndPara, aSel.nStartPos + aIns.Len(), in NextAutoEntry()
1558 aSel.nEndPara, aSel.nStartPos ) ); in NextAutoEntry()
1565 aSel.nEndPara, aSel.nStartPos + aIns.Len(), in NextAutoEntry()
1566 aSel.nEndPara, aSel.nStartPos ) ); in NextAutoEntry()
1603 ESelection aSel = pTableView->GetSelection(); in UpdateParenthesis() local
1604 if (aSel.nStartPos) in UpdateParenthesis()
1608 xub_StrLen nPos = aSel.nStartPos - 1; in UpdateParenthesis()
2045 ESelection aSel = pEditView->GetSelection(); in lcl_SetTopSelection() local
2047 if ( rSel.nStartPara != aSel.nStartPara || rSel.nEndPara != aSel.nEndPara in lcl_SetTopSelection()
2048 || rSel.nStartPos != aSel.nStartPos || rSel.nEndPos != aSel.nEndPos ) in lcl_SetTopSelection()
2054 ESelection aSel; in SyncViews() local
2058 aSel = pSourceView->GetSelection(); in SyncViews()
2060 pTopView->SetSelection( aSel ); in SyncViews()
2062 lcl_SetTopSelection( pTableView, aSel ); in SyncViews()
2066 aSel = pTopView->GetSelection(); in SyncViews()
2067 lcl_SetTopSelection( pTableView, aSel ); in SyncViews()
2153 ESelection aSel = pActiveView->GetSelection(); in DataChanged() local
2154 aSel.Adjust(); in DataChanged()
2155 bNeedGrow = ( aSel.nEndPos != pEngine->GetTextLen(aSel.nEndPara) ); in DataChanged()
2256 ESelection aSel = pActiveView->GetSelection(); in RemoveSelection() local
2257 aSel.nStartPara = aSel.nEndPara; in RemoveSelection()
2258 aSel.nStartPos = aSel.nEndPos; in RemoveSelection()
2260 pTableView->SetSelection( aSel ); in RemoveSelection()
2262 pTopView->SetSelection( aSel ); in RemoveSelection()
2394 …ESelection aSel( nParCnt-1, pEngine->GetTextLen(nParCnt-1) ); // empty selection, cursor at the … in lcl_SelectionToEnd() local
2395 pView->SetSelection( aSel ); in lcl_SelectionToEnd()
2515 ESelection aSel( 0, 0, nParCnt-1, pEngine->GetTextLen(nParCnt-1) ); in EnterHandler() local
2516 SfxItemSet aOldAttribs = pEngine->GetAttribs( aSel ); in EnterHandler()
2833 ESelection aSel = pActiveView->GetSelection(); in SetReference() local
2834 aSel.Adjust(); in SetReference()
2835 if ( aSel.nStartPara == 0 && aSel.nStartPos == 0 ) in SetReference()
2929 ESelection aSel = pTableView->GetSelection(); in InsertFunction() local
2930 --aSel.nStartPos; in InsertFunction()
2931 --aSel.nEndPos; in InsertFunction()
2932 pTableView->SetSelection(aSel); in InsertFunction()
2940 ESelection aSel = pTopView->GetSelection(); in InsertFunction() local
2941 --aSel.nStartPos; in InsertFunction()
2942 --aSel.nEndPos; in InsertFunction()
2943 pTopView->SetSelection(aSel); in InsertFunction()
3670 ESelection aSel( 0,nLen, 1,0 ); in GetTextAndFields() local
3671 rDestEngine.QuickInsertText( ' ', aSel ); // Umbruch durch Space ersetzen in GetTextAndFields()