/aoo41x/main/vcl/source/control/ |
H A D | edit.cxx | 729 aSelection.Justify(); in ImplDelete() 731 if ( !aSelection.Len() ) in ImplDelete() 745 aSelection.Min() = 0; in ImplDelete() 772 maText.Erase( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in ImplDelete() 863 aSelection.Justify(); in ImplInsertText() 870 if ( aSelection.Len() ) in ImplInsertText() 871 maText.Erase( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in ImplInsertText() 1357 aSelection.Max() = nChar; in ImplSetCursorPos() 1359 aSelection.Min() = aSelection.Max(); in ImplSetCursorPos() 1442 aSelection.Justify(); in MouseButtonDown() [all …]
|
H A D | field2.cxx | 1532 aSelection.Justify(); in ImplDateSpinArea() 1870 aSelection.Justify(); in ImplNewFieldValue() 1875 if ( !aSelection.Len() ) in ImplNewFieldValue() 1876 aSelection.Min() = SELECTION_MAX; in ImplNewFieldValue() 1877 aSelection.Max() = SELECTION_MAX; in ImplNewFieldValue() 1881 ImplSetUserDate( rDate, &aSelection ); in ImplNewFieldValue() 2928 aSelection.Justify(); in ImplNewFieldValue() 2933 if ( !aSelection.Len() ) in ImplNewFieldValue() 2934 aSelection.Min() = SELECTION_MAX; in ImplNewFieldValue() 2935 aSelection.Max() = SELECTION_MAX; in ImplNewFieldValue() [all …]
|
/aoo41x/main/sc/source/ui/unoobj/ |
H A D | fielduno.cxx | 445 aSelection( rSel ) in ScCellFieldObj() 526 aSelection = rSel; in InitDoc() 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() 1131 aSelection( rSel ), in ScHeaderFieldObj() 1214 aSelection = rSel; in InitDoc() 1289 aSelection.nEndPara = aSelection.nStartPara; in DeleteField() 1290 aSelection.nEndPos = aSelection.nStartPos; in DeleteField() 1408 aSelection.nStartPara, aSelection.nStartPos, TYPE(SvxExtFileField) ); in setPropertyValue() [all …]
|
H A D | textuno.cxx | 481 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 …]
|
/aoo41x/main/svx/source/accessibility/ |
H A D | AccessibleTextHelper.cxx | 407 ESelection aSelection; in IsSelected() local 557 ESelection aSelection; in SetFocus() local 619 ESelection aSelection; in UpdateSelection() local 622 if( !maLastSelection.IsEqual( aSelection ) && in UpdateSelection() 683 … this, aSelection.nEndPos, maLastSelection.nEndPos, aSelection.nEndPara, maLastSelection.nEndPara); in UpdateSelection() 705 if ( aSelection.HasRange() ) in UpdateSelection() 719 !aSelection.HasRange() ) in UpdateSelection() 729 aSelection.HasRange() ) in UpdateSelection() 741 aSelection.HasRange() ) in UpdateSelection() 806 maLastSelection = aSelection; in UpdateSelection() [all …]
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | langhelper.cxx | 68 ESelection aSelection = pOLV->GetSelection(); in GetLanguageStatus() local 101 aSeq[3] = SwLangHelper::GetTextForLanguageGuessing( pEditEngine, aSelection ); in GetLanguageStatus() 114 ESelection aSelection = pOLV->GetSelection(); in SetLanguageStatus() local 178 SwLangHelper::SelectPara( rEditView, aSelection ); in SetLanguageStatus() 179 aSelection = pOLV->GetSelection(); in SetLanguageStatus() 193 … SwLangHelper::SetLanguage_None( rSh, pOLV, aSelection, bForSelection, aEditAttr ); in SetLanguageStatus() 195 SwLangHelper::ResetLanguages( rSh, pOLV, aSelection, bForSelection ); in SetLanguageStatus() 197 SwLangHelper::SetLanguage( rSh, pOLV, aSelection, aNewLangTxt, bForSelection, aEditAttr ); in SetLanguageStatus() 279 pEditEngine->QuickSetAttribs( rCoreSet, aSelection); in SetLanguage() 342 pEditEngine->QuickSetAttribs( rCoreSet, aSelection); in SetLanguage_None() [all …]
|
H A D | textsh2.cxx | 91 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()
|
/aoo41x/main/editeng/source/editeng/ |
H A D | textconv.cxx | 325 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 D | impedit2.cxx | 637 aSelection.Adjust(); in Command() 641 aSelection.nEndPos = aSelection.nStartPos; in Command() 657 aSelection.Adjust(); in Command() 659 if ( aSelection.nStartPara != aSelection.nEndPara ) in Command() 662 aSelection.nEndPara = aSelection.nStartPara; in Command() 2183 EditSelection aSelection; in ImpMoveParagraphs() local 2188 return aSelection; in ImpMoveParagraphs() 2292 return aSelection; in ImpMoveParagraphs() 3685 aSelection.Adjust( GetEditDoc() ); in CreateTransferable() 3703 if ( ( aSelection.Min().GetNode() == aSelection.Max().GetNode() ) in CreateTransferable() [all …]
|
H A D | editview.cxx | 268 ESelection aSelection; in GetSelection() local 271 …aSelection.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() 1632 ESelection aSelection( GetSelection() ); in GetSurroundingTextSelection() local 1633 aSelection.Adjust(); in GetSurroundingTextSelection() 1643 return Selection( 0, aSelection.nEndPos - aSelection.nStartPos ); in GetSurroundingTextSelection() [all …]
|
/aoo41x/main/editeng/source/uno/ |
H A D | unotext.cxx | 261 ESelection aSelection; in SvxUnoTextRangeBase() local 1719 ESelection aSelection; in SvxUnoTextBase() local 1721 SetSelection( aSelection ); in SvxUnoTextBase() 1728 ESelection aSelection; in SvxUnoTextBase() local 1883 ESelection aSelection; in insertString() local 1912 ESelection aSelection; in insertControlCharacter() local 2009 aSelection.nStartPara = aSelection.nEndPara; in insertTextContent() 2010 aSelection.nStartPos = aSelection.nEndPos; in insertTextContent() 2024 aSelection.nStartPos = aSelection.nEndPos; in insertTextContent() 2045 ESelection aSelection; in getText() local [all …]
|
/aoo41x/main/extensions/source/propctrlr/ |
H A D | listselectiondlg.cxx | 108 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()
|
/aoo41x/main/starmath/source/ |
H A D | edit.cxx | 713 ESelection aSelection = pEditView->GetSelection(); in InsertCommand() local 714 aSelection.nEndPos = aSelection.nStartPos; in InsertCommand() 715 aSelection.nEndPara = aSelection.nStartPara; in InsertCommand() 723 pEditView->SetSelection(aSelection); in InsertCommand() 728 … aSelection.nEndPos = aSelection.nEndPos + sal::static_int_cast< xub_StrLen >(aText.Len()); in InsertCommand() 729 aSelection.nStartPos = aSelection.nEndPos; in InsertCommand() 730 pEditView->SetSelection(aSelection); in InsertCommand()
|
/aoo41x/main/editeng/source/accessibility/ |
H A D | AccessibleEditableTextPara.cxx | 455 ESelection aSelection; in GetSelection() local 460 if( aSelection.nStartPara < aSelection.nEndPara ) in GetSelection() 463 aSelection.nEndPara < nPara ) in GetSelection() 471 if( nPara == aSelection.nEndPara ) in GetSelection() 472 nEndPos = aSelection.nEndPos; in GetSelection() 479 aSelection.nEndPara > nPara ) in GetSelection() 487 if( nPara == aSelection.nEndPara ) in GetSelection() 488 nEndPos = aSelection.nEndPos; in GetSelection() 1271 ESelection aSelection; in getCaretPosition() local 1283 return aSelection.nEndPos - nBulletLen; in getCaretPosition() [all …]
|
/aoo41x/main/sc/source/filter/excel/ |
H A D | xihelper.cxx | 188 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()
|
/aoo41x/main/sc/source/ui/docshell/ |
H A D | dbdocimp.cxx | 103 ::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()
|
/aoo41x/main/sw/source/ui/ribbar/ |
H A D | inputwin.cxx | 570 Selection aSelection(GetSelection()); in UpdateRange() local 571 sal_uInt16 nSel = (sal_uInt16) aSelection.Len(); in UpdateRange() 575 GetText().GetChar( (sal_uInt16)aSelection.Min() ) != cClose ) ) in UpdateRange() 578 aSelection.Max() = aSelection.Min(); in UpdateRange() 596 sal_uInt16 nPos, nEndPos = 0, nStartPos = (sal_uInt16) aSelection.Min(); in UpdateRange() 623 if( bFound && !( nStartPos < (sal_uInt16)aSelection.Max() && in UpdateRange() 624 (sal_uInt16)aSelection.Max() <= nEndPos + 1 )) in UpdateRange() 639 nPos = (sal_uInt16)aSelection.Min(); in UpdateRange()
|
/aoo41x/main/svtools/source/control/ |
H A D | inettbc.cxx | 772 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()
|
/aoo41x/main/sw/source/ui/dbui/ |
H A D | dbmgr.cxx | 342 Sequence<Any> aSelection; in MergeNew() local 396 if(pImpl->pMergeData->aSelection.getLength()) in MergeNew() 1855 if(pFound->aSelection.getLength()) in GetColumnCnt() 1945 (pParam->aSelection.getLength() && pParam->aSelection.getLength() <= pParam->nSelectionIndex)) in ToNextRecord() 1953 if(pParam->aSelection.getLength()) in ToNextRecord() 2140 if(pFound->aSelection.getLength()) in GetSelectedRecordId() 2144 nSelIndex = pFound->aSelection.getLength() -1; in GetSelectedRecordId() 2502 Sequence<Any> aSelection; in ExecuteFormLetter() local 2513 aDescriptor[daSelection] >>= aSelection; in ExecuteFormLetter() 2664 Sequence<Any> aSelection; in InsertText() local [all …]
|
/aoo41x/main/extensions/source/bibliography/ |
H A D | toolbar.cxx | 343 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;
|
/aoo41x/main/sd/source/ui/animations/ |
H A D | CustomAnimationList.cxx | 814 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()
|
/aoo41x/main/sc/source/filter/rtf/ |
H A D | rtfparse.cxx | 202 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()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | Outliner.cxx | 579 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()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | pfuncache.cxx | 43 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()
|
/aoo41x/main/svx/source/form/ |
H A D | fmPropBrw.cxx | 431 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()
|