Home
last modified time | relevance | path

Searched refs:aSel (Results 26 – 50 of 121) sorted by relevance

12345

/trunk/main/editeng/source/editeng/
H A Dimpedit2.cxx300 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 Dimpedit.cxx1126 …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 Deertfpar.cxx71 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()
/trunk/main/sc/source/filter/excel/
H A Dxehelper.cxx469 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 …]
/trunk/main/svtools/source/control/
H A Dfmtfield.cxx451 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 …]
/trunk/main/dbaccess/source/ui/control/
H A DSqlNameEdit.cxx72 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()
/trunk/main/sd/source/ui/view/
H A Ddrviewsb.cxx588 ESelection aSel = pOLV->GetSelection(); in FuTemp02() local
589 if( aSel.nStartPos == aSel.nEndPos ) in FuTemp02()
590 aSel.nEndPos++; in FuTemp02()
591 pOLV->SetSelection( aSel ); in FuTemp02()
658 ESelection aSel = pOLV->GetSelection(); in FuTemp02() local
665 if( aSel.nStartPos == aSel.nEndPos ) in FuTemp02()
668 aSel.nEndPos++; in FuTemp02()
669 pOLV->SetSelection( aSel ); in FuTemp02()
675 pOLV->SetSelection( aSel ); in FuTemp02()
694 aSel.nEndPos--; in FuTemp02()
[all …]
H A Ddrviews4.cxx638 ESelection aSel = pOLV->GetSelection(); in Command() local
640 if( aSel.nStartPos == aSel.nEndPos ) in Command()
643 aSel.nEndPos++; in Command()
645 pOLV->SetSelection( aSel ); in Command()
651 aSel.nEndPos--; in Command()
652 pOLV->SetSelection( aSel ); in Command()
/trunk/main/sd/source/ui/notes/
H A DEditWindow.cxx111 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/svx/source/sdr/properties/
H A Dtextproperties.cxx489 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/sc/source/ui/miscdlgs/
H A Dsimpref.cxx141 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()
/trunk/main/sw/source/ui/shells/
H A Ddrwtxtex.cxx519 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()
/trunk/main/sw/source/ui/cctrl/
H A Dactctrl.cxx94 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()
/trunk/main/sc/source/filter/rtf/
H A Deeimpars.cxx180 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()
/trunk/main/starmath/source/
H A Dedit.cxx78 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/chart2/source/controller/main/
H A DChartController_TextEdit.cxx231 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()
/trunk/main/extensions/source/propctrlr/
H A Dstandardcontrol.cxx1145 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()
/trunk/main/sc/source/ui/view/
H A Dtabvwshe.cxx178 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()
/trunk/main/editeng/source/uno/
H A Dunotext.cxx486 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 …]
/trunk/main/basctl/source/basicide/
H A Dbasicrenderable.cxx119 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()
/trunk/main/sfx2/source/doc/
H A Dnew.cxx396 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()
/trunk/main/dbaccess/source/ext/adabas/
H A DASqlNameEdit.cxx66 Selection aSel = GetSelection(); in Modify() local
67 aSel.setMax( aSel.getMin() ); in Modify()
68 SetText( sCorrected, aSel ); in Modify()
/trunk/main/svtools/source/edit/
H A Dtextview.cxx417 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()
1961 TextSelection aSel = mpImpl->maSelection; in IsInSelection() local
1962 aSel.Justify(); in IsInSelection()
1965 sal_uLong nEndNode = aSel.GetEnd().GetPara(); in IsInSelection()
[all …]
/trunk/main/sc/source/ui/pagedlg/
H A Dareasdlg.cxx212 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()
/trunk/main/sc/source/ui/attrdlg/
H A Dcondfrmt.cxx370 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()

Completed in 184 milliseconds

12345