Lines Matching refs:aSel
114 ESelection aSel( pEditView->GetSelection() ); in PostKeyEvent() local
115 sal_Bool bSelection = aSel.HasRange(); in PostKeyEvent()
159 if( aSel.nEndPos == pOwner->pEditEngine->GetTextLen( aSel.nEndPara ) ) in PostKeyEvent()
161 Paragraph* pNext = pOwner->pParaList->GetParagraph( aSel.nEndPara+1 ); in PostKeyEvent()
164 if( !pOwner->ImpCanDeleteSelectedPages( this, aSel.nEndPara, 1 ) ) in PostKeyEvent()
185 ( bSelection || !aSel.nStartPos ) ) in PostKeyEvent()
191 !bSelection && !aSel.nEndPos && pOwner->ImplHasNumberFormat( aSel.nEndPara ) ) in PostKeyEvent()
201 if( !bReadOnly && !bSelection && aSel.nEndPara && !aSel.nEndPos ) in PostKeyEvent()
203 Paragraph* pPara = pOwner->pParaList->GetParagraph( aSel.nEndPara ); in PostKeyEvent()
204 Paragraph* pPrev = pOwner->pParaList->GetParagraph( aSel.nEndPara-1 ); in PostKeyEvent()
209 if(!pOwner->ImpCanDeleteSelectedPages(this, aSel.nEndPara , 1 ) ) in PostKeyEvent()
221 Paragraph* pPara = pOwner->pParaList->GetParagraph( aSel.nEndPara ); in PostKeyEvent()
227 aSel.nEndPos == pOwner->pEditEngine->GetTextLen( aSel.nEndPara ) ) in PostKeyEvent()
233 sal_uLong nTemp = aSel.nEndPara; in PostKeyEvent()
248 ( aSel.nEndPos == pOwner->pEditEngine->GetTextLen(aSel.nEndPara) ) ) in PostKeyEvent()
251 sal_uLong nTemp = aSel.nEndPara; in PostKeyEvent()
358 ESelection aSel((sal_uInt16)nEndPara, 0xffff,(sal_uInt16)nPara, 0 ); in MouseButtonDown() local
359 pEditView->SetSelection( aSel ); in MouseButtonDown()
372 ESelection aSel( pEditView->GetSelection() ); in MouseButtonDown() local
373 nPara = aSel.nStartPara; in MouseButtonDown()
529 ESelection aSel( (sal_uInt16)nPara, 0,(sal_uInt16)(nPara+nChildCount), nEnd ); in Select() local
530 pEditView->SetSelection( aSel ); in Select()
545 ParaRange aSel = ImpGetSelectedParagraphs( sal_False ); in SetAttribs() local
550 for( sal_uInt16 nPara= aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in SetAttribs()
569 ESelection aSel = pEditView->GetSelection(); in ImpGetSelectedParagraphs() local
570 ParaRange aParas( aSel.nStartPara, aSel.nEndPara ); in ImpGetSelectedParagraphs()
610 ParaRange aSel = ImpGetSelectedParagraphs( sal_True ); in Indent() local
611 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in Indent()
663 …if ( ( nPara == aSel.nStartPara ) && aSel.nStartPara && ( pOwner->ImplGetOutlinerMode() != OUTLINE… in Indent()
670 Paragraph* _pPara = pOwner->pParaList->GetParagraph( aSel.nStartPara ); in Indent()
673 Paragraph* pPrev= pOwner->pParaList->GetParagraph( aSel.nStartPara-1 ); in Indent()
715 for ( sal_uInt16 n = aSel.nEndPara+1; n < nParas; n++ ) in Indent()
747 ESelection aSel((sal_uInt16)nStartPara, 0,(sal_uInt16)nEndPara, 0xffff ); in AdjustDepth() local
748 pEditView->SetSelection( aSel ); in AdjustDepth()
759 ESelection aSel( (sal_uInt16)nStartPara, 0, (sal_uInt16)nEndPara, 0xffff ); in AdjustHeight() local
760 pEditView->SetSelection( aSel ); in AdjustHeight()
1072 ParaRange aSel = ImpGetSelectedParagraphs( sal_True ); in SetStyleSheet() local
1073 for( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in SetStyleSheet()
1146 ESelection aSel( (sal_uInt16)nFirst, 0, (sal_uInt16)nLast, 0xffff ); in SelectRange() local
1147 pEditView->SetSelection( aSel ); in SelectRange()
1155 ESelection aSel( pEditView->GetSelection() ); in ImpCalcSelectedPages() local
1156 aSel.Adjust(); in ImpCalcSelectedPages()
1160 sal_uInt16 nStartPara = aSel.nStartPara; in ImpCalcSelectedPages()
1163 for ( sal_uInt16 nPara = nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ImpCalcSelectedPages()
1190 ESelection aSel( pEditView->GetSelection() ); in ToggleBullets() local
1191 aSel.Adjust(); in ToggleBullets()
1199 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ToggleBullets()
1252 pOwner->ImplCheckParagraphs( aSel.nStartPara, nParaCount ); in ToggleBullets()
1253 pOwner->pEditEngine->QuickMarkInvalid( ESelection( aSel.nStartPara, 0, nParaCount, 0 ) ); in ToggleBullets()
1266 ESelection aSel( pEditView->GetSelection() ); in ToggleBulletsNumbering() local
1267 aSel.Adjust(); in ToggleBulletsNumbering()
1273 …_Int16 nBulletNumberingStatus( pOwner->GetBulletsNumberingStatus( aSel.nStartPara, aSel.nEndPara )… in ToggleBulletsNumbering()
1304 ESelection aSel( pEditView->GetSelection() ); in EnableBullets() local
1305 aSel.Adjust(); in EnableBullets()
1310 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in EnableBullets()
1322 pOwner->ImplCheckParagraphs( aSel.nStartPara, nParaCount ); in EnableBullets()
1323 pOwner->pEditEngine->QuickMarkInvalid( ESelection( aSel.nStartPara, 0, nParaCount, 0 ) ); in EnableBullets()
1350 ESelection aSel( pEditView->GetSelection() ); in ApplyBulletsNumbering() local
1351 aSel.Adjust(); in ApplyBulletsNumbering()
1352 nStartPara = aSel.nStartPara; in ApplyBulletsNumbering()
1353 nEndPara = aSel.nEndPara; in ApplyBulletsNumbering()
1473 ESelection aSel( pEditView->GetSelection() ); in SwitchOffBulletsNumbering() local
1474 aSel.Adjust(); in SwitchOffBulletsNumbering()
1475 nStartPara = aSel.nStartPara; in SwitchOffBulletsNumbering()
1476 nEndPara = aSel.nEndPara; in SwitchOffBulletsNumbering()
1534 ESelection aSel = pEditView->GetSelection(); in RemoveAttribs() local
1535 aSel.Adjust(); in RemoveAttribs()
1536 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in RemoveAttribs()