Home
last modified time | relevance | path

Searched refs:aSelection (Results 1 – 25 of 134) sorted by relevance

123456

/trunk/main/vcl/source/control/
H A Dedit.cxx728 Selection aSelection( rSelection ); in ImplDelete() local
729 aSelection.Justify(); in ImplDelete()
731 if ( !aSelection.Len() ) in ImplDelete()
738 …i18n::Boundary aBoundary = xBI->getWordBoundary( maText, aSelection.Min(), GetSettings().GetLocale… in ImplDelete()
739 if ( aBoundary.startPos == aSelection.Min() ) in ImplDelete()
740 …aBoundary = xBI->previousWord( maText, aSelection.Min(), GetSettings().GetLocale(), i18n::WordType… in ImplDelete()
741 aSelection.Min() = aBoundary.startPos; in ImplDelete()
745 aSelection.Min() = 0; in ImplDelete()
750aSelection.Min() = xBI->previousCharacters( maText, aSelection.Min(), GetSettings().GetLocale(), i… in ImplDelete()
757 …i18n::Boundary aBoundary = xBI->nextWord( maText, aSelection.Max(), GetSettings().GetLocale(), i18… in ImplDelete()
[all …]
H A Dfield2.cxx1531 Selection aSelection = GetField()->GetSelection(); in ImplDateSpinArea() local
1532 aSelection.Justify(); in ImplDateSpinArea()
1534 if ( (xub_StrLen)aSelection.Len() == aText.Len() ) in ImplDateSpinArea()
1554 if ( nPos >= (sal_uInt16)aSelection.Max() ) in ImplDateSpinArea()
1869 Selection aSelection = GetField()->GetSelection(); in ImplNewFieldValue() local
1870 aSelection.Justify(); in ImplNewFieldValue()
1873 if ( (xub_StrLen)aSelection.Max() == aText.Len() ) in ImplNewFieldValue()
1875 if ( !aSelection.Len() ) in ImplNewFieldValue()
1876 aSelection.Min() = SELECTION_MAX; in ImplNewFieldValue()
1877 aSelection.Max() = SELECTION_MAX; in ImplNewFieldValue()
[all …]
/trunk/main/sc/source/ui/unoobj/
H A Dfielduno.cxx300 ESelection aSelection( nPar, nPos, nPar, nPos+1 ); // Feld ist 1 Zeichen in GetObjectByIndex_Impl() local
301 return new ScCellFieldObj( pDocShell, aCellPos, aSelection ); in GetObjectByIndex_Impl()
445 aSelection( rSel ) in ScCellFieldObj()
526 aSelection = rSel; in InitDoc()
581 pForwarder->QuickInsertText( String(), aSelection ); in DeleteField()
584 aSelection.nEndPara = aSelection.nStartPara; in DeleteField()
585 aSelection.nEndPos = aSelection.nStartPos; in DeleteField()
607 … SvxFieldData* pField = aTempEngine.FindByPos( aSelection.nStartPara, aSelection.nStartPos, 0 ); in getPresentation()
693 … SvxFieldData* pField = aTempEngine.FindByPos( aSelection.nStartPara, aSelection.nStartPos, 0 ); in setPropertyValue()
720 … pEditEngine->QuickInsertField( SvxFieldItem(*pField, EE_FEATURE_FIELD), aSelection ); in setPropertyValue()
[all …]
H A Dtextuno.cxx481 ESelection aSelection(pTextRange->GetSelection()); in insertTextContent() local
486 aSelection.Adjust(); in insertTextContent()
487 aSelection.nStartPara = aSelection.nEndPara; in insertTextContent()
488 aSelection.nStartPos = aSelection.nEndPos; in insertTextContent()
494 pForwarder->QuickInsertField( aItem, aSelection ); in insertTextContent()
498 aSelection.Adjust(); in insertTextContent()
499 aSelection.nEndPara = aSelection.nStartPara; in insertTextContent()
500 aSelection.nEndPos = aSelection.nStartPos + 1; in insertTextContent()
501 pHeaderField->InitDoc( &aTextData.GetContentObj(), aTextData.GetPart(), aSelection ); in insertTextContent()
506 aSelection.nStartPos = aSelection.nEndPos; in insertTextContent()
[all …]
/trunk/main/svx/source/accessibility/
H A DAccessibleTextHelper.cxx397 ESelection aSelection; in IsSelected() local
398 bRet = GetEditViewForwarder().GetSelection( aSelection ); in IsSelected()
547 ESelection aSelection; in SetFocus() local
548 if( GetEditViewForwarder().GetSelection( aSelection ) ) in SetFocus()
549 SetChildFocus( aSelection.nEndPara, bHaveFocus ); in SetFocus()
609 ESelection aSelection; in UpdateSelection() local
610 if( GetEditViewForwarder().GetSelection( aSelection ) ) in UpdateSelection()
612 if( !maLastSelection.IsEqual( aSelection ) && in UpdateSelection()
613 aSelection.nEndPara < maParaManager.GetNum() ) in UpdateSelection()
630 maLastSelection.nEndPara != aSelection.nEndPara ) in UpdateSelection()
[all …]
/trunk/main/sw/source/ui/shells/
H A Dlanghelper.cxx66 ESelection aSelection = pOLV->GetSelection(); in GetLanguageStatus() local
99 aSeq[3] = SwLangHelper::GetTextForLanguageGuessing( pEditEngine, aSelection ); in GetLanguageStatus()
112 ESelection aSelection = pOLV->GetSelection(); in SetLanguageStatus() local
176 SwLangHelper::SelectPara( rEditView, aSelection ); in SetLanguageStatus()
177 aSelection = pOLV->GetSelection(); in SetLanguageStatus()
191 … SwLangHelper::SetLanguage_None( rSh, pOLV, aSelection, bForSelection, aEditAttr ); in SetLanguageStatus()
193 SwLangHelper::ResetLanguages( rSh, pOLV, aSelection, bForSelection ); in SetLanguageStatus()
195 … SwLangHelper::SetLanguage( rSh, pOLV, aSelection, aNewLangTxt, bForSelection, aEditAttr ); in SetLanguageStatus()
244 …void SetLanguage( SwWrtShell &rWrtSh, OutlinerView* pOLV, ESelection aSelection, const String &rLa… in SetLanguage() argument
277 pEditEngine->QuickSetAttribs( rCoreSet, aSelection); in SetLanguage()
[all …]
H A Dtextsh2.cxx91 Sequence<Any> aSelection; member
117 Sequence<Any> aSelection; in ExecDB() local
119 ((SfxUsrAnyItem*)pSelectionItem)->GetValue() >>= aSelection; in ExecDB()
165 pNew->aSelection = aSelection; in ExecDB()
192 aDescriptor[daSelection] <<= aSelection; in ExecDB()
292 pDlg->DataToDoc( pDBStruct->aSelection, xSource, xConnection, xResSet); in IMPL_STATIC_LINK()
/trunk/main/editeng/source/editeng/
H A Dtextconv.cxx325 ESelection aSelection = pEditView->GetSelection(); in SelectNewUnit_impl() local
326 DBG_ASSERT( aSelection.nStartPara == aSelection.nEndPara, in SelectNewUnit_impl()
328 aSelection.nStartPos = (sal_uInt16) (nLastPos + nUnitOffset + nUnitStart); in SelectNewUnit_impl()
329 aSelection.nEndPos = (sal_uInt16) (nLastPos + nUnitOffset + nUnitEnd); in SelectNewUnit_impl()
330 pEditView->SetSelection( aSelection ); in SelectNewUnit_impl()
346 ESelection aSelection = pEditView->GetSelection(); in GetNextPortion() local
347 DBG_ASSERT( aSelection.nStartPara == aSelection.nEndPara, in GetNextPortion()
349 DBG_ASSERT( aSelection.nStartPos <= aSelection.nEndPos, in GetNextPortion()
351 nLastPos = aSelection.nStartPos; in GetNextPortion()
H A Dimpedit2.cxx641 ESelection aSelection = pView->GetSelection(); in Command() local
642 aSelection.Adjust(); in Command()
646 aSelection.nEndPos = aSelection.nStartPos; in Command()
647 aSelection.nStartPos += pData->GetStart(); in Command()
648 aSelection.nEndPos += pData->GetEnd(); in Command()
652 aSelection.nStartPos = pData->GetStart(); in Command()
653 aSelection.nEndPos = pData->GetEnd(); in Command()
655 pView->SetSelection( aSelection ); in Command()
661 ESelection aSelection = pView->GetSelection(); in Command() local
662 aSelection.Adjust(); in Command()
[all …]
H A Deditview.cxx268 ESelection aSelection; in GetSelection() local
270aSelection.nStartPara = PIMPEE->GetEditDoc().GetPos( pImpEditView->GetEditSelection().Min().GetNod… in GetSelection()
271aSelection.nEndPara = PIMPEE->GetEditDoc().GetPos( pImpEditView->GetEditSelection().Max().GetNode(… in GetSelection()
273 aSelection.nStartPos = pImpEditView->GetEditSelection().Min().GetIndex(); in GetSelection()
274 aSelection.nEndPos = pImpEditView->GetEditSelection().Max().GetIndex(); in GetSelection()
276 return aSelection; in GetSelection()
520 EditSelection aSelection( pImpEditView->GetEditSelection() ); in RemoveAttribsKeepLanguages() local
528 PIMPEE->RemoveCharAttribs( aSelection, bRemoveParaAttribs, nWID ); in RemoveAttribsKeepLanguages()
1633 ESelection aSelection( GetSelection() ); in GetSurroundingTextSelection() local
1634 aSelection.Adjust(); in GetSurroundingTextSelection()
[all …]
/trunk/main/editeng/source/uno/
H A Dunotext.cxx261 ESelection aSelection; in SvxUnoTextRangeBase() local
262 ::GetSelection( aSelection, mpEditSource->GetTextForwarder() ); in SvxUnoTextRangeBase()
263 SetSelection( aSelection ); in SvxUnoTextRangeBase()
1719 ESelection aSelection; in SvxUnoTextBase() local
1720 ::GetSelection( aSelection, GetEditSource()->GetTextForwarder() ); in SvxUnoTextBase()
1721 SetSelection( aSelection ); in SvxUnoTextBase()
1728 ESelection aSelection; in SvxUnoTextBase() local
1729 ::GetSelection( aSelection, GetEditSource()->GetTextForwarder() ); in SvxUnoTextBase()
1730 SetSelection( aSelection ); in SvxUnoTextBase()
1883 ESelection aSelection; in insertString() local
[all …]
/trunk/main/editeng/source/accessibility/
H A DAccessibleEditableTextPara.cxx455 ESelection aSelection; in GetSelection() local
457 if( !GetEditViewForwarder().GetSelection( aSelection ) ) in GetSelection()
460 if( aSelection.nStartPara < aSelection.nEndPara ) in GetSelection()
462 if( aSelection.nStartPara > nPara || in GetSelection()
463 aSelection.nEndPara < nPara ) in GetSelection()
466 if( nPara == aSelection.nStartPara ) in GetSelection()
467 nStartPos = aSelection.nStartPos; in GetSelection()
471 if( nPara == aSelection.nEndPara ) in GetSelection()
472 nEndPos = aSelection.nEndPos; in GetSelection()
478 if( aSelection.nStartPara < nPara || in GetSelection()
[all …]
/trunk/main/extensions/source/propctrlr/
H A Dlistselectiondlg.cxx108 Sequence< sal_Int16 > aSelection; in initialize() local
109 OSL_VERIFY( m_xListBox->getPropertyValue( m_sPropertyName ) >>= aSelection ); in initialize()
110 selectEntries( aSelection ); in initialize()
124 Sequence< sal_Int16 > aSelection; in commitSelection() local
125 collectSelection( aSelection ); in commitSelection()
129 m_xListBox->setPropertyValue( m_sPropertyName, makeAny( aSelection ) ); in commitSelection()
/trunk/main/starmath/source/
H A Dedit.cxx712 ESelection aSelection = pEditView->GetSelection(); in InsertCommand() local
713 aSelection.nEndPos = aSelection.nStartPos; in InsertCommand()
714 aSelection.nEndPara = aSelection.nStartPara; in InsertCommand()
722 pEditView->SetSelection(aSelection); in InsertCommand()
727aSelection.nEndPos = aSelection.nEndPos + sal::static_int_cast< xub_StrLen >(aText.Len()); in InsertCommand()
728 aSelection.nStartPos = aSelection.nEndPos; in InsertCommand()
729 pEditView->SetSelection(aSelection); in InsertCommand()
/trunk/main/sc/source/ui/docshell/
H A Ddbdocimp.cxx103 ::svx::ODataAccessDescriptor aSelection; in ShowInBeamer()
104 aSelection.setDataSource(rtl::OUString( rParam.aDBName )); in ShowInBeamer()
105 aSelection[svx::daCommand] <<= rtl::OUString( rParam.aStatement ); in ShowInBeamer()
106 aSelection[svx::daCommandType] <<= nType; in ShowInBeamer()
108 xControllerSelection->select(uno::makeAny(aSelection.createPropertyValueSequence())); in ShowInBeamer()
180 uno::Sequence<uno::Any> aSelection; in DoImport() local
183 (*pDescriptor)[svx::daSelection] >>= aSelection; in DoImport()
184 nListCount = aSelection.getLength(); in DoImport()
342 bEnd = !xLocate->moveToBookmark(aSelection[nListPos]); in DoImport()
347 aSelection[nListPos] >>= nNextRow; in DoImport()
/trunk/main/sc/source/filter/excel/
H A Dxihelper.cxx188 ESelection aSelection; in lclCreateTextObject() local
206 rEE.QuickSetAttribs( aItemSet, aSelection ); in lclCreateTextObject()
219 aSelection.nStartPara = aSelection.nEndPara; in lclCreateTextObject()
220 aSelection.nStartPos = aSelection.nEndPos; in lclCreateTextObject()
226 ++aSelection.nEndPara; in lclCreateTextObject()
227 aSelection.nEndPos = 0; in lclCreateTextObject()
230 ++aSelection.nEndPos; in lclCreateTextObject()
234 rEE.QuickSetAttribs( aItemSet, aSelection ); in lclCreateTextObject()
/trunk/main/sw/source/ui/ribbar/
H A Dinputwin.cxx567 Selection aSelection(GetSelection()); in UpdateRange() local
568 sal_uInt16 nSel = (sal_uInt16) aSelection.Len(); in UpdateRange()
572 GetText().GetChar( (sal_uInt16)aSelection.Min() ) != cClose ) ) in UpdateRange()
575 aSelection.Max() = aSelection.Min(); in UpdateRange()
593 sal_uInt16 nPos, nEndPos = 0, nStartPos = (sal_uInt16) aSelection.Min(); in UpdateRange()
620 if( bFound && !( nStartPos < (sal_uInt16)aSelection.Max() && in UpdateRange()
621 (sal_uInt16)aSelection.Max() <= nEndPos + 1 )) in UpdateRange()
636 nPos = (sal_uInt16)aSelection.Min(); in UpdateRange()
/trunk/main/svtools/source/control/
H A Dinettbc.cxx772 Selection aSelection( GetSelection() ); in TryAutoComplete() local
773 if( aSelection.Max() != aCurText.Len() && !bForce ) in TryAutoComplete()
775 sal_uInt16 nLen = (sal_uInt16)aSelection.Min(); in TryAutoComplete()
979 Selection aSelection( GetSelection() ); in ProcessKey() local
980 SetSelection( Selection( aSelection.Min(), aSelection.Min() ) ); in ProcessKey()
1015 Selection aSelection( GetSelection() ); in ProcessKey() local
1016 if ( bAutoCompleteMode || aSelection.Min() != aSelection.Max() ) in ProcessKey()
1018 SetSelection( Selection( aSelection.Min(), aSelection.Min() ) ); in ProcessKey()
1060 Selection aSelection( GetSelection() ); in PreNotify() local
1061 sal_uInt16 nLen = (sal_uInt16)aSelection.Min(); in PreNotify()
/trunk/main/sw/source/ui/dbui/
H A Ddbmgr.cxx342 Sequence<Any> aSelection; in MergeNew() local
352 rMergeDesc.rDescriptor[daSelection] >>= aSelection; in MergeNew()
361 pImpl->pMergeData = new SwDSParam(aData, xResSet, aSelection); in MergeNew()
396 if(pImpl->pMergeData->aSelection.getLength()) in MergeNew()
399 … pImpl->pMergeData->aSelection.getConstArray()[ pImpl->pMergeData->nSelectionIndex++ ] >>= nPos; in MergeNew()
402 if(pImpl->pMergeData->nSelectionIndex >= pImpl->pMergeData->aSelection.getLength()) in MergeNew()
1855 if(pFound->aSelection.getLength()) in GetColumnCnt()
1858 const Any* pSelection = pFound->aSelection.getConstArray(); in GetColumnCnt()
1860 for(sal_Int32 nPos = 0; !bFound && nPos < pFound->aSelection.getLength(); nPos++) in GetColumnCnt()
1945 … (pParam->aSelection.getLength() && pParam->aSelection.getLength() <= pParam->nSelectionIndex)) in ToNextRecord()
[all …]
/trunk/main/extensions/source/bibliography/
H A Dtoolbar.cxx343 rtl::OUString aSelection = aEdQuery.GetText(); in Select() local
344 pPropertyVal[0].Value <<= aSelection; in Select()
473 rtl::OUString aSelection = aEdQuery.GetText(); in PreNotify() local
474 pPropertyVal[0].Value <<= aSelection; in PreNotify()
500 rtl::OUString aSelection = aEntry; variable
501 pPropertyVal[0].Value <<= aSelection;
527 rtl::OUString aSelection = aEdQuery.GetText(); variable
528 pPropertyVal[0].Value <<= aSelection;
/trunk/main/sd/source/ui/animations/
H A DCustomAnimationList.cxx814 void CustomAnimationList::onSelectionChanged( Any aSelection ) in onSelectionChanged() argument
820 if( aSelection.hasValue() ) in onSelectionChanged()
822 Reference< XIndexAccess > xShapes( aSelection, UNO_QUERY ); in onSelectionChanged()
836 Reference< XShape > xShape( aSelection, UNO_QUERY ); in onSelectionChanged()
881 EffectSequence aSelection; in getSelection() local
888 aSelection.push_back( pEffect ); in getSelection()
901 aSelection.push_back( pChildEffect ); in getSelection()
911 return aSelection; in getSelection()
/trunk/main/sd/source/ui/view/
H A DOutliner.cxx579 ESelection aSelection = mpImpl->GetOutlinerView()->GetSelection (); in Initialize() local
582 aSelection.nEndPara = aSelection.nStartPara; in Initialize()
583 aSelection.nEndPos = aSelection.nStartPos; in Initialize()
587 aSelection.nStartPara = aSelection.nEndPara; in Initialize()
588 aSelection.nStartPos = aSelection.nEndPos; in Initialize()
590 mpImpl->GetOutlinerView()->SetSelection (aSelection); in Initialize()
/trunk/main/sc/source/filter/rtf/
H A Drtfparse.cxx202 if ( pInfo->aSelection.nEndPos ) in IMPL_LINK()
208 pInfo->aSelection.nEndPara++; in IMPL_LINK()
357 EntryEnd( pActEntry, pInfo->aSelection ); in ProcToken()
370 pActEntry->aSel.nStartPara = pInfo->aSelection.nEndPara - 1; in ProcToken()
389 EntryEnd( pActEntry, pInfo->aSelection ); in ProcToken()
/trunk/main/svx/source/form/
H A DfmPropBrw.cxx431 Sequence< Reference< XInterface > > aSelection( _rSelection.size() ); in implSetNewSelection() local
432 ::std::copy( _rSelection.begin(), _rSelection.end(), aSelection.getArray() ); in implSetNewSelection()
434 xInspector->inspect( aSelection ); in implSetNewSelection()
674 InterfaceBag aSelection; in StateChanged() local
676 pShell->GetImpl()->getCurrentSelection( aSelection ); in StateChanged()
681 implSetNewSelection( aSelection ); in StateChanged()
/trunk/main/sc/source/ui/view/
H A Dpfuncache.cxx43 aSelection( rStatus ), in ScPrintFuncCache()
76 … ScPrintFunc aFunc( pDocSh, pPrinter, nTab, nAttrPage, 0, pSelRange, &aSelection.GetOptions() ); in ScPrintFuncCache()
114 …nc aFunc( pDev, pDocSh, nTab, nFirstAttr[nTab], nTotalPages, pSelRange, &aSelection.GetOptions() ); in InitLocations()
160 return aSelection == rStatus; in IsSameSelection()

123456