/aoo41x/main/sc/source/filter/excel/ |
H A D | xehelper.cxx | 469 ESelection aSel( nPara, 0 ); in lclCreateFormattedString() local 480 String aXclPortionText( aParaText, aSel.nStartPos, aSel.nEndPos - aSel.nStartPos ); in lclCreateFormattedString() 483 SfxItemSet aEditSet( rEE.GetAttribs( aSel ) ); in lclCreateFormattedString() 491 if( aSel.nStartPos + 1 == aSel.nEndPos ) in lclCreateFormattedString() 540 aSel.nStartPos = aSel.nEndPos; in lclCreateFormattedString() 751 ESelection aSel( nPara, 0 ); in AppendPortion() local 761 if( aSel.nStartPos < aSel.nEndPos ) in AppendPortion() 768 SfxItemSet aEditSet( mrEE.GetAttribs( aSel ) ); in AppendPortion() 847 if( (aSel.nStartPos + 1 == aSel.nEndPos) && // fields are single characters in AppendPortion() 886 String aPortionText( mrEE.GetText( aSel ) ); in AppendPortion() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | fmtfield.cxx | 451 Selection aSel(GetSelection()); in SetTextFormatted() local 452 Selection aNewSel(aSel); in SetTextFormatted() 566 aSel.Justify(); in ImplSetTextImpl() 573 if (aSel.Min() == 0) in ImplSetTextImpl() 575 aSel.Max() = nNewLen; in ImplSetTextImpl() 581 aSel.Min() = aSel.Max(); in ImplSetTextImpl() 582 aSel.Max() = 0; in ImplSetTextImpl() 586 else if (aSel.Max() == aSel.Min()) in ImplSetTextImpl() 588 aSel.Max() = nNewLen; in ImplSetTextImpl() 589 aSel.Min() = nNewLen; in ImplSetTextImpl() [all …]
|
/aoo41x/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() 2157 aSel.Max().GetIndex() = aSel.Max().GetIndex() + nChars; in ImpRemoveChars() 2498 if ( !aSel.HasRange() ) in ImpDeleteSelection() 2499 return aSel.Min(); in ImpDeleteSelection() 2607 if ( aSel.HasRange() ) in AutoCorrect() 2658 return aSel.Max(); in AutoCorrect() [all …]
|
H A D | impedit.cxx | 1126 …bIsWrong = rPaM.GetNode()->GetWrongList()->HasWrong( aSel.Min().GetIndex(), aSel.Max().GetIndex() … in IsWrongSpelledWord() 1130 SetEditSelection( aSel ); in IsWrongSpelledWord() 1321 EditSelection aSel( GetEditSelection() ); in Paste() local 1322 if ( aSel.HasRange() ) in Paste() 1325 aSel = pEditEngine->pImpEditEngine->ImpDeleteSelection( aSel ); in Paste() 1347 aSel = pEditEngine->pImpEditEngine->ImpInsertText( aSel, aText ); in Paste() 1364 SetEditSelection( aSel ); in Paste() 1375 EditSelection aSel = GetEditSelection(); in IsInSelection() local 1376 if ( !aSel.HasRange() ) in IsInSelection() 1379 aSel.Adjust( pEditEngine->pImpEditEngine->GetEditDoc() ); in IsInSelection() [all …]
|
H A D | eertfpar.cxx | 71 EditRTFParser::EditRTFParser( SvStream& rIn, EditSelection aSel, SfxItemPool& rAttrPool, ImpEditEng… in EditRTFParser() argument 76 aCurSel = aSel; in EditRTFParser() 135 EditSelection aSel; in CallParser() local 136 aSel.Min() = EditPaM( pPrevNode, pPrevNode->Len() ); in CallParser() 137 aSel.Max() = EditPaM( pCurNode, 0 ); in CallParser() 138 aCurSel.Max() = pImpEditEngine->ImpDeleteSelection( aSel ); in CallParser() 359 EditSelection aSel( aStartPaM, aEndPaM ); in SetAttrInDoc() local 360 ImportInfo aImportInfo( RTFIMP_SETATTR, this, pImpEditEngine->CreateESel( aSel ) ); in SetAttrInDoc()
|
/aoo41x/main/dbaccess/source/ui/control/ |
H A D | SqlNameEdit.cxx | 72 Selection aSel = GetSelection(); in Modify() local 73 aSel.setMax( aSel.getMin() ); in Modify() 74 SetText( sCorrected, aSel ); in Modify() 86 Selection aSel = GetSelection(); in Modify() local 87 aSel.setMax( aSel.getMin() ); in Modify()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | drviewsb.cxx | 574 ESelection aSel = pOLV->GetSelection(); in FuTemp02() local 575 if( aSel.nStartPos == aSel.nEndPos ) in FuTemp02() 576 aSel.nEndPos++; in FuTemp02() 577 pOLV->SetSelection( aSel ); in FuTemp02() 644 ESelection aSel = pOLV->GetSelection(); in FuTemp02() local 651 if( aSel.nStartPos == aSel.nEndPos ) in FuTemp02() 654 aSel.nEndPos++; in FuTemp02() 655 pOLV->SetSelection( aSel ); in FuTemp02() 661 pOLV->SetSelection( aSel ); in FuTemp02() 680 aSel.nEndPos--; in FuTemp02() [all …]
|
H A D | drviews4.cxx | 632 ESelection aSel = pOLV->GetSelection(); in Command() local 634 if( aSel.nStartPos == aSel.nEndPos ) in Command() 637 aSel.nEndPos++; in Command() 639 pOLV->SetSelection( aSel ); in Command() 645 aSel.nEndPos--; in Command() 646 pOLV->SetSelection( aSel ); in Command()
|
/aoo41x/main/svx/source/sdr/properties/ |
H A D | textproperties.cxx | 489 ESelection aSel((sal_uInt16)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((sal_uInt16)nPara); in ForceStyleToHardAttributes() 510 if(aSel.nStartPos != aSel.nEndPos) in ForceStyleToHardAttributes() 512 pEditEngine->QuickSetAttribs( aColorSet, aSel ); in ForceStyleToHardAttributes()
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | simpref.cxx | 141 Selection aSel = aEdAssign.GetSelection(); in SetReference() local 142 aSel.Justify(); in SetReference() 143 aVal.Erase( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in SetReference() 144 aVal.Insert( aRefStr, (xub_StrLen)aSel.Min() ); in SetReference() 145 Selection aNewSel( aSel.Min(), aSel.Min()+aRefStr.Len() ); in SetReference()
|
/aoo41x/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()
|
/aoo41x/main/sw/source/ui/cctrl/ |
H A D | actctrl.cxx | 94 Selection aSel = GetSelection(); in Modify() local 103 aSel.setMin(aSel.getMin() - nDiff); in Modify() 104 aSel.setMax(aSel.getMin()); in Modify() 106 SetSelection(aSel); in Modify()
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | drwtxtex.cxx | 519 ESelection aSel = pOLV->GetSelection(); in Execute() local 520 aSel.nEndPos++; in Execute() 521 pOLV->SetSelection(aSel); in Execute() 961 ESelection aSel(pOLV->GetSelection()); in ExecClpbrd() local 962 const sal_Bool bCopy = (aSel.nStartPara != aSel.nEndPara) || (aSel.nStartPos != aSel.nEndPos); in ExecClpbrd() 995 ESelection aSel(pOLV->GetSelection()); in StateClpbrd() local 996 const sal_Bool bCopy = (aSel.nStartPara != aSel.nEndPara) || in StateClpbrd() 997 (aSel.nStartPos != aSel.nEndPos); in StateClpbrd()
|
/aoo41x/main/sc/source/filter/rtf/ |
H A D | eeimpars.cxx | 180 SfxItemSet aSet = mpEngine->GetAttribs( pE->aSel ); in WriteToDocument() 189 sal_Bool bSimple = ( pE->aSel.nStartPara == pE->aSel.nEndPara ); in WriteToDocument() 272 String aStr( mpEngine->GetText( pE->aSel ) ); in WriteToDocument() 330 else if ( !pE->aSel.HasRange() ) in WriteToDocument() 341 aStr = mpEngine->GetText( pE->aSel.nStartPara ); in WriteToDocument() 345 aStr = mpEngine->GetText( pE->aSel ); in WriteToDocument() 383 EditTextObject* pObject = mpEngine->CreateTextObject( pE->aSel ); in WriteToDocument() 626 pActEntry->aSel.nStartPara = (pE ? pE->aSel.nEndPara + 1 : 0); in NewActEntry() 627 pActEntry->aSel.nStartPos = 0; in NewActEntry()
|
/aoo41x/main/starmath/source/ |
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()
|
/aoo41x/main/chart2/source/controller/main/ |
H A D | ChartController_TextEdit.cxx | 231 ESelection aSel = pOutlinerView->GetSelection(); in executeDispatch_InsertSpecialCharacter() local 232 aSel.nStartPara = aSel.nEndPara; in executeDispatch_InsertSpecialCharacter() 233 aSel.nStartPos = aSel.nEndPos; in executeDispatch_InsertSpecialCharacter() 234 pOutlinerView->SetSelection(aSel); in executeDispatch_InsertSpecialCharacter()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | tabvwshe.cxx | 178 ESelection aSel = rView.GetSelection(); in lcl_SelectFieldAfterInsert() local 179 if ( aSel.nStartPos == aSel.nEndPos && aSel.nStartPos > 0 ) in lcl_SelectFieldAfterInsert() 183 --aSel.nStartPos; in lcl_SelectFieldAfterInsert() 184 rView.SetSelection( aSel ); in lcl_SelectFieldAfterInsert()
|
/aoo41x/main/basctl/source/basicide/ |
H A D | basicrenderable.cxx | 119 MultiSelection aSel( aPageRange ); in getRendererCount() local 120 long nSelCount = aSel.GetSelectCount(); in getRendererCount() 175 MultiSelection aSel( aPageRange ); in render() local 176 long nSelect = aSel.FirstSelected(); in render() 178 nSelect = aSel.NextSelected(); in render()
|
/aoo41x/main/extensions/source/propctrlr/ |
H A D | standardcontrol.cxx | 1145 Selection aSel = m_pImplEdit->GetSelection(); in PreNotify() local 1146 if ( aSel.Min() != aSel.Max() ) in PreNotify() 1148 aSel.Min() = FindPos( aSel.Min() ); in PreNotify() 1149 aSel.Max() = FindPos( aSel.Max() ); in PreNotify() 1153 aSel.Min() = FindPos( aSel.Min() ); in PreNotify() 1154 aSel.Max() = aSel.Min(); in PreNotify() 1159 m_pFloatingEdit->getEdit()->SetSelection( aSel ); in PreNotify()
|
/aoo41x/main/dbaccess/source/ext/adabas/ |
H A D | ASqlNameEdit.cxx | 66 Selection aSel = GetSelection(); in Modify() local 67 aSel.setMax( aSel.getMin() ); in Modify() 68 SetText( sCorrected, aSel ); in Modify()
|
/aoo41x/main/editeng/source/uno/ |
H A D | unotext.cxx | 486 ESelection aSel( GetSelection() ); in _setPropertyValue() local 506 nPara = aSel.nStartPara; in _setPropertyValue() 507 nEndPara = aSel.nEndPara; in _setPropertyValue() 809 ESelection aSel( GetSelection() ); in _setPropertyValues() local 820 nTempPara = aSel.nStartPara; in _setPropertyValues() 821 nEndPara = aSel.nEndPara; in _setPropertyValues() 1110 ESelection aSel( GetSelection() ); in _getPropertyStates() local 1111 CheckSelection( aSel, pForwarder ); in _getPropertyStates() 2215 pRange->SetSelection( aSel ); in appendParagraph() 2245 pRange->SetSelection( aSel ); in finishParagraph() [all …]
|
/aoo41x/main/sfx2/source/doc/ |
H A D | new.cxx | 396 String aSel=aRegionLb.GetSelectEntry(); in IMPL_LINK() local 397 sal_uInt16 nc=aSel.Search('('); in IMPL_LINK() 399 aSel.Erase(nc-1); in IMPL_LINK() 400 if (aSel.CompareIgnoreCaseToAscii( String(SfxResId(STR_STANDARD)) )==COMPARE_EQUAL) in IMPL_LINK() 483 String aSel=aRegionLb.GetSelectEntry().Copy(); in IMPL_LINK_INLINE_END() local 484 sal_uInt16 nc=aSel.Search('('); in IMPL_LINK_INLINE_END() 486 aSel.Erase(nc-1); in IMPL_LINK_INLINE_END() 487 if (aSel.CompareIgnoreCaseToAscii(String(SfxResId(STR_STANDARD)))!=COMPARE_EQUAL) in IMPL_LINK_INLINE_END()
|
/aoo41x/main/svtools/source/edit/ |
H A D | textview.cxx | 417 TextSelection aSel( rSel ); in ImpHighlight() local 418 aSel.Justify(); in ImpHighlight() 427 sal_uLong nStartPara = aSel.GetStart().GetPara(); in ImpHighlight() 428 sal_uLong nEndPara = aSel.GetEnd().GetPara(); in ImpHighlight() 449 nStartIndex = aSel.GetStart().GetIndex(); in ImpHighlight() 451 nEndIndex = aSel.GetEnd().GetIndex(); in ImpHighlight() 999 aSel.GetEnd().GetIndex() = in Command() 1957 TextSelection aSel = mpImpl->maSelection; in IsInSelection() local 1958 aSel.Justify(); in IsInSelection() 1961 sal_uLong nEndNode = aSel.GetEnd().GetPara(); in IsInSelection() [all …]
|
/aoo41x/main/sc/source/ui/pagedlg/ |
H A D | areasdlg.cxx | 212 Selection aSel = aEdPrintArea.GetSelection(); in SetReference() local 213 aSel.Justify(); in SetReference() 214 aVal.Erase( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in SetReference() 215 aVal.Insert( aStr, (xub_StrLen)aSel.Min() ); in SetReference() 216 Selection aNewSel( aSel.Min(), aSel.Min()+aStr.Len() ); in SetReference()
|
/aoo41x/main/sc/source/ui/attrdlg/ |
H A D | condfrmt.cxx | 370 Selection aSel( pEdActive->GetSelection() ); in SetReference() local 371 aSel.Justify(); in SetReference() 372 aVal.Erase( (xub_StrLen)aSel.Min(), (xub_StrLen)aSel.Len() ); in SetReference() 373 aVal.Insert( aStr, (xub_StrLen)aSel.Min() ); in SetReference() 374 Selection aNewSel( aSel.Min(), aSel.Min()+aStr.Len() ); in SetReference()
|