/trunk/main/sw/source/ui/index/ |
H A D | cnttab.cxx | 3526 Selection aSel = ((SwTOXEdit*)pActiveCtrl)->GetSelection(); in InsertAtSelection() local 3527 aSel.Justify(); in InsertAtSelection() 3529 String sLeft = sEditText.Copy( 0, static_cast< sal_uInt16 >(aSel.A()) ); in InsertAtSelection() 3530 String sRight = sEditText.Copy( static_cast< sal_uInt16 >(aSel.B()), in InsertAtSelection() 3531 static_cast< sal_uInt16 >(sEditText.Len() - aSel.B())); in InsertAtSelection() 3984 Selection aSel(0, 0); in IMPL_LINK() local 3988 aSel.A() = nLen; in IMPL_LINK() 3989 aSel.B() = nLen; in IMPL_LINK() 3991 ((SwTOXEdit*)pNextPrev)->SetSelection(aSel); in IMPL_LINK()
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 341 aSel.Justify(); in GetTextLen() 474 aSel.Justify(); in GetText() 623 aSel.Justify(); in ImpDeleteText() 2627 …aWord = pNode->GetText().Copy( aSel.GetStart().GetIndex(), aSel.GetEnd().GetIndex() - aSel.GetStar… in GetWord() 2640 TextSelection aSel; in Read() local 2642 aSel = *pSel; in Read() 2651 aSel = ImpDeleteText( aSel ); in Read() 2658 aSel = ImpInsertText( aSel, aTmpStr ); in Read() 2662 aSel = ImpInsertParaBreak( aSel.GetEnd() ); in Read() 2667 TextSelection aNewSel( aSel.GetEnd(), aSel.GetEnd() ); in Read() [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit2.cxx | 300 aSel.Adjust( aEditDoc ); in GetSelected() 512 aSel = DeleteSelected( aSel ); in Command() 513 aSel = AutoCorrect( aSel, nCharCode, mpIMEInfos->bWasCursorOverwrite ); in Command() 544 aSel = DeleteSelected( aSel ); in Command() 545 aSel = ImpInsertText( aSel, pData->GetText() ); in Command() 2162 aSel.Max().GetIndex() = aSel.Max().GetIndex() + nChars; in ImpRemoveChars() 2501 if ( !aSel.HasRange() ) in ImpDeleteSelection() 2502 return aSel.Min(); in ImpDeleteSelection() 2610 if ( aSel.HasRange() ) in AutoCorrect() 2661 return aSel.Max(); in AutoCorrect() [all …]
|
H A D | impedit.hxx | 631 EditPaM ReadText( SvStream& rInput, EditSelection aSel ); 632 EditPaM ReadRTF( SvStream& rInput, EditSelection aSel ); 633 EditPaM ReadXML( SvStream& rInput, EditSelection aSel ); 635 EditPaM ReadBin( SvStream& rInput, EditSelection aSel ); 796 EditTextObject* CreateTextObject( EditSelection aSel ); 1065 EditSelection aSel; in CreateSel() local 1066 aSel.Min().SetNode( aEditDoc[ rSel.nStartPara ] ); in CreateSel() 1067 aSel.Min().SetIndex( rSel.nStartPos ); in CreateSel() 1068 aSel.Max().SetNode( aEditDoc[ rSel.nEndPara ] ); in CreateSel() 1069 aSel.Max().SetIndex( rSel.nEndPos ); in CreateSel() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdedxv.cxx | 2277 ESelection aSel( pOLV->GetSelection() ); in ApplyFormatPaintBrush() local 2278 if( !aSel.HasRange() ) in ApplyFormatPaintBrush() 2279 …pOLV->SetSelection( rEditEngine.GetWord( aSel, com::sun::star::i18n::WordType::DICTIONARY_WORD ) ); in ApplyFormatPaintBrush()
|
H A D | svdview.cxx | 1268 ESelection aSel(pTextEditOutlinerView->GetSelection()); in GetStatusText() local 1269 long nPar=aSel.nEndPara,nLin=0,nCol=aSel.nEndPos; in GetStatusText() 1270 if (aSel.nEndPara>0) { in GetStatusText() 1271 for (sal_uInt32 nParaNum=0; nParaNum<aSel.nEndPara; nParaNum++) { in GetStatusText() 1280 sal_uIntPtr nParaLineAnz=pTextEditOutliner->GetLineCount(aSel.nEndPara); in GetStatusText() 1283 sal_uInt16 nLen=pTextEditOutliner->GetLineLen(aSel.nEndPara,nParaLine); in GetStatusText() 1299 aStr += UniString::CreateFromInt32( pTextEditOutliner->GetDepth( aSel.nEndPara ) ); in GetStatusText()
|
/trunk/main/sw/source/ui/shells/ |
H A D | annotsh.cxx | 364 ESelection aSel = pOLV->GetSelection(); in Exec() local 365 aSel.nEndPos++; in Exec() 366 pOLV->SetSelection(aSel); in Exec() 1762 ESelection aSel(pOLV->GetSelection()); in InsertSymbol() local 1763 aSel.nStartPara = aSel.nEndPara; in InsertSymbol() 1764 aSel.nStartPos = aSel.nEndPos; in InsertSymbol() 1765 pOLV->SetSelection(aSel); in InsertSymbol()
|
H A D | drwtxtsh.cxx | 876 ESelection aSel(pOLV->GetSelection()); in InsertSymbol() local 877 aSel.nStartPara = aSel.nEndPara; in InsertSymbol() 878 aSel.nStartPos = aSel.nEndPos; in InsertSymbol() 879 pOLV->SetSelection(aSel); in InsertSymbol()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 504 TextSelection aSel = pTextView->GetSelection(); in GetState() local 505 aPos += String::CreateFromInt32( aSel.GetEnd().GetPara()+1 ); in GetState() 508 aPos += String::CreateFromInt32( aSel.GetEnd().GetIndex()+1 ); in GetState() 643 TextSelection aSel; in StartSearchAndReplace() local 654 aSel = pTextView->GetSelection(); in StartSearchAndReplace() 692 pTextView->SetSelection( aSel ); in StartSearchAndReplace()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8graf.cxx | 773 ESelection aSel(GetESelection(aIter->GetStartPos()-nStartCp, in InsertAttrsAsDrawingAttrs() local 775 String aString(mpDrawEditEngine->GetText(aSel)); in InsertAttrsAsDrawingAttrs() 785 mpDrawEditEngine->QuickInsertField(SvxFieldItem(aURL, EE_FEATURE_FIELD), aSel); in InsertAttrsAsDrawingAttrs() 790 mpDrawEditEngine->QuickInsertText(aString, aSel); in InsertAttrsAsDrawingAttrs()
|
/trunk/main/sw/source/ui/docvw/ |
H A D | srcedtw.cxx | 334 TextSelection aSel(TextPaM( nStartLine, 0 ), TextPaM( nStartLine, 0x0 )); in Resize() local 335 pTextView->SetSelection(aSel); in Resize() 627 TextSelection aSel = pTextView->GetSelection(); in IMPL_LINK() local 628 sal_uInt32 nCur = aSel.GetStart().GetPara(); in IMPL_LINK()
|
/trunk/main/svx/source/sdr/properties/ |
H A D | textproperties.cxx | 489 ESelection aSel(nPara, 0); in ForceStyleToHardAttributes() local 497 aSel.nEndPos = aAttrib.nStart; in ForceStyleToHardAttributes() 499 if(aSel.nStartPos != aSel.nEndPos) in ForceStyleToHardAttributes() 501 pEditEngine->QuickSetAttribs(aColorSet, aSel); in ForceStyleToHardAttributes() 504 aSel.nStartPos = aAttrib.nEnd; in ForceStyleToHardAttributes() 508 aSel.nEndPos = pEditEngine->GetTextLen(nPara); in ForceStyleToHardAttributes() 510 if(aSel.nStartPos != aSel.nEndPos) in ForceStyleToHardAttributes() 512 pEditEngine->QuickSetAttribs( aColorSet, aSel ); in ForceStyleToHardAttributes()
|
/trunk/main/starmath/source/ |
H A D | accessibility.cxx | 1535 ESelection aSel( nPara, pEditEngine->GetTextLen( nPara ) ); in AppendTextPortion() local 1536 pEditEngine->QuickInsertText( rText, aSel ); in AppendTextPortion() 1539 nRes = aSel.nEndPos = pEditEngine->GetTextLen( nPara ); in AppendTextPortion() 1540 pEditEngine->QuickSetAttribs( rSet, aSel ); in AppendTextPortion()
|
H A D | edit.cxx | 78 void SmGetLeftSelectionPart(const ESelection aSel, in SmGetLeftSelectionPart() argument 83 if ( aSel.nStartPara < aSel.nEndPara in SmGetLeftSelectionPart() 84 || (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) ) in SmGetLeftSelectionPart() 85 { nPara = aSel.nStartPara; in SmGetLeftSelectionPart() 86 nPos = aSel.nStartPos; in SmGetLeftSelectionPart() 89 { nPara = aSel.nEndPara; in SmGetLeftSelectionPart() 90 nPos = aSel.nEndPos; in SmGetLeftSelectionPart()
|
/trunk/main/sd/source/ui/view/ |
H A D | drtxtob.cxx | 464 ESelection aSel = pOLV->GetSelection(); in GetAttrState() local 465 aSel.Adjust(); in GetAttrState() 466 sal_uLong nStartPara = aSel.nStartPara; in GetAttrState() 467 sal_uLong nEndPara = aSel.nEndPara; in GetAttrState() 468 if( !aSel.HasRange() ) in GetAttrState()
|
H A D | drtxtob1.cxx | 145 ESelection aSel = pOLV->GetSelection(); in Execute() local 146 aSel.Adjust(); in Execute() 147 sal_uLong nStartPara = aSel.nStartPara; in Execute() 148 sal_uLong nEndPara = aSel.nEndPara; in Execute() 149 if( !aSel.HasRange() ) in Execute()
|
H A D | outlnvs2.cxx | 360 if ( aSel.nStartPos <= aSel.nEndPos ) in FuTemporaryModify() 361 aSel.nEndPos = aSel.nStartPos + 1; in FuTemporaryModify() 363 aSel.nStartPos = aSel.nEndPos + 1; in FuTemporaryModify() 364 pOutlinerView->SetSelection( aSel ); in FuTemporaryModify() 557 if( aSel.nStartPos == aSel.nEndPos ) in FuTemporaryModify() 558 aSel.nEndPos++; in FuTemporaryModify() 559 pOutlinerView->SetSelection( aSel ); in FuTemporaryModify() 594 if( aSel.nStartPos == aSel.nEndPos ) in FuTemporaryModify() 597 aSel.nEndPos++; in FuTemporaryModify() 599 pOutlinerView->SetSelection( aSel ); in FuTemporaryModify() [all …]
|
H A D | outlnvsh.cxx | 448 ESelection aSel = pOLV->GetSelection(); in GetCtrlState() local 449 if ( abs( aSel.nEndPos - aSel.nStartPos ) == 1 ) in GetCtrlState() 1617 ESelection aSel = pOutlinerView->GetSelection(); in GetSelectionText() local 1621 aStrSelection = pOl->GetWord( aSel.nEndPara, aSel.nEndPos ); in GetSelectionText()
|
/trunk/main/sd/source/ui/annotations/ |
H A D | annotationmanager.cxx | 496 ESelection aSel; in ExecuteReplyToAnnotation() local 497 aSel.nEndPara = pOutliner->GetParagraphCount()-2; in ExecuteReplyToAnnotation() 498 aSel.nEndPos = pOutliner->GetText( pOutliner->GetParagraph( aSel.nEndPara ) ).Len(); in ExecuteReplyToAnnotation() 500 pOutliner->QuickSetAttribs( aAnswerSet, aSel ); in ExecuteReplyToAnnotation()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | headerfooterdlg.cxx | 808 …ESelection aSel( aFieldInfo.aPosition.nPara, aFieldInfo.aPosition.nIndex, aFieldInfo.aPosition.nPa… in GetOrSetDateTimeLanguage() local 809 pEdit->QuickSetAttribs( aSet, aSel ); in GetOrSetDateTimeLanguage()
|
/trunk/main/sd/source/ui/notes/ |
H A D | EditWindow.cxx | 111 void SmGetLeftSelectionPart(const ESelection aSel, in SmGetLeftSelectionPart() argument 117 (aSel.nStartPara < aSel.nEndPara) || in SmGetLeftSelectionPart() 118 (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) in SmGetLeftSelectionPart() 120 { nPara = aSel.nStartPara; in SmGetLeftSelectionPart() 121 nPos = aSel.nStartPos; in SmGetLeftSelectionPart() 124 { nPara = aSel.nEndPara; in SmGetLeftSelectionPart() 125 nPos = aSel.nEndPos; in SmGetLeftSelectionPart()
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unosrch.cxx | 596 ESelection aSel; in Search() local 600 aSel = GetSelection( xRangeRef ); in Search() 606 if( pConvertPara[nStartPos] == aSel.nStartPara && pConvertPos[nStartPos] == aSel.nStartPos ) in Search() 676 ESelection aSel; in GetSelection() local 680 aSel = pRange->GetSelection(); in GetSelection() 682 return aSel; in GetSelection()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | drtxtob.cxx | 219 pOutView->SetSelection( aSel ); in Execute() 293 aSel.Adjust(); in Execute() 294 aSel.nEndPara = aSel.nStartPara; in Execute() 295 aSel.nEndPos = aSel.nStartPos + 1; in Execute() 310 if ( aSel.nStartPos == aSel.nEndPos && aSel.nStartPos > 0 ) in Execute() 314 --aSel.nStartPos; in Execute() 635 ESelection aSel = aOldSel; in lcl_RemoveFields() local 636 aSel.Adjust(); in lcl_RemoveFields() 647 if ( nPar >= aSel.nStartPara && nPar <= aSel.nEndPara ) in lcl_RemoveFields() 660 ( nPar > aSel.nStartPara || nStart >= aSel.nStartPos ) && in lcl_RemoveFields() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | editsh.cxx | 516 aFinder.ToggleRel( aSel.nStartPos, aSel.nEndPos ); in Execute() 559 ESelection aSel = pTableView->GetSelection(); in Execute() local 560 aSel.Adjust(); in Execute() 561 aSel.nEndPara = aSel.nStartPara; in Execute() 562 aSel.nEndPos = aSel.nStartPos + 1; in Execute() 563 pTableView->SetSelection( aSel ); in Execute() 577 aSel = pTopView->GetSelection(); in Execute() 578 aSel.nEndPara = aSel.nStartPara; in Execute() 579 aSel.nEndPos = aSel.nStartPos + 1; in Execute() 580 pTopView->SetSelection( aSel ); in Execute() [all …]
|
H A D | output2.cxx | 811 ESelection aSel( 0, 0, rEngine.GetParagraphCount(), 0 ); in lcl_SetEditColor() local 814 rEngine.QuickSetAttribs( aSet, aSel ); in lcl_SetEditColor() 1979 ESelection aSel( nPar, nStart, nPar, nEnd ); in lcl_ScaleFonts() local 1980 SfxItemSet aAttribs = rEngine.GetAttribs( aSel ); in lcl_ScaleFonts() 1994 … rEngine.QuickSetAttribs( aAttribs, aSel ); //! remove paragraph attributes from aAttribs? in lcl_ScaleFonts()
|