Lines Matching refs:mpImplLB

101     delete mpImplLB;  in ~ComboBox()
102 mpImplLB = NULL; in ~ComboBox()
114 mpImplLB = NULL; in ImplInitComboBoxData()
209 mpImplLB = new ImplListBox( pLBParent, nListStyle|WB_SIMPLEMODE ); in ImplInit()
210 mpImplLB->SetPosPixel( Point() ); in ImplInit()
211 mpImplLB->SetSelectHdl( LINK( this, ComboBox, ImplSelectHdl ) ); in ImplInit()
212 mpImplLB->SetCancelHdl( LINK( this, ComboBox, ImplCancelHdl ) ); in ImplInit()
213 mpImplLB->SetDoubleClickHdl( LINK( this, ComboBox, ImplDoubleClickHdl ) ); in ImplInit()
214 mpImplLB->SetUserDrawHdl( LINK( this, ComboBox, ImplUserDrawHdl ) ); in ImplInit()
215 mpImplLB->SetSelectionChangedHdl( LINK( this, ComboBox, ImplSelectionChangedHdl ) ); in ImplInit()
216 mpImplLB->SetListItemSelectHdl( LINK( this, ComboBox, ImplListItemSelectHdl ) ); in ImplInit()
217 mpImplLB->Show(); in ImplInit()
220 mpFloatWin->SetImplListBox( mpImplLB ); in ImplInit()
222 mpImplLB->GetMainWindow()->AllowGrabFocus( sal_True ); in ImplInit()
286 if ( !mpImplLB->GetEntryList()->GetMRUCount() ) in IMPL_LINK()
289 mpImplLB->SelectEntry( 0 , sal_True ); in IMPL_LINK()
296 if( mpImplLB ) in IMPL_LINK()
297 mpImplLB->GetMainWindow()->ImplClearLayoutData(); in IMPL_LINK()
308 …if ( !mpImplLB->GetEntryList()->IsEntryPosSelected( mpFloatWin->GetPopupModeStartSaveSelection() )… in IMPL_LINK()
310 mpImplLB->SelectEntry( mpFloatWin->GetPopupModeStartSaveSelection(), sal_True ); in IMPL_LINK()
311 sal_Bool bTravelSelect = mpImplLB->IsTravelSelect(); in IMPL_LINK()
312 mpImplLB->SetTravelSelect( sal_True ); in IMPL_LINK()
314 mpImplLB->SetTravelSelect( bTravelSelect ); in IMPL_LINK()
319 if( mpImplLB ) in IMPL_LINK()
320 mpImplLB->GetMainWindow()->ImplClearLayoutData(); in IMPL_LINK()
342 sal_uInt16 nStart = mpImplLB->GetCurrentPos(); in IMPL_LINK()
353 nStart = nStart ? nStart - 1 : mpImplLB->GetEntryList()->GetEntryCount()-1; in IMPL_LINK()
360 … nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, nStart, bForward, sal_True ); in IMPL_LINK()
363 …nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, bForward ? 0 : (mpImplLB->GetEntry… in IMPL_LINK()
368 … nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, nStart, bForward, sal_False ); in IMPL_LINK()
371 …nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, bForward ? 0 : (mpImplLB->GetEntry… in IMPL_LINK()
375 XubString aText = mpImplLB->GetEntryList()->GetEntryText( nPos ); in IMPL_LINK()
390 if ( mpImplLB->IsSelectionChanged() || bPopup ) in IMPL_LINK()
405 sal_uInt16 nP = mpImplLB->GetEntryList()->FindEntry( aToken ); in IMPL_LINK()
406 … if ( (nP != LISTBOX_ENTRY_NOTFOUND) && (!mpImplLB->GetEntryList()->IsEntryPosSelected( nP )) ) in IMPL_LINK()
421 lcl_GetSelectedEntries( aSelInText, aText, mcMultiSep, mpImplLB->GetEntryList() ); in IMPL_LINK()
422 sal_uInt16 nSelectedEntries = mpImplLB->GetEntryList()->GetSelectEntryCount(); in IMPL_LINK()
425 sal_uInt16 nP = mpImplLB->GetEntryList()->GetSelectEntryPos( n ); in IMPL_LINK()
432 aText += mpImplLB->GetEntryList()->GetEntryText( nP ); in IMPL_LINK()
441 aText = mpImplLB->GetEntryList()->GetSelectEntry( 0 ); in IMPL_LINK()
456 if ( bPopup && !mpImplLB->IsTravelSelect() && in IMPL_LINK()
457 ( !IsMultiSelectionEnabled() || !mpImplLB->GetSelectModifier() ) ) in IMPL_LINK()
493 if ( !mpImplLB->IsTrackingSelect() ) in IMPL_LINK()
496 if ( !mpSubEdit->IsReadOnly() && mpImplLB->GetEntryList()->IsEntryPosSelected( nChanged ) ) in IMPL_LINK()
497 mpSubEdit->SetText( mpImplLB->GetEntryList()->GetEntryText( nChanged ) ); in IMPL_LINK()
521 if ( !mpImplLB->GetEntryList()->GetMRUCount() ) in ToggleDropDown()
524 mpImplLB->SelectEntry( 0 , sal_True ); in ToggleDropDown()
687 mpImplLB->SetPosSizePixel( 0, mnDDHeight, aOutSz.Width(), aOutSz.Height() - mnDDHeight ); in Resize()
705 Control* pMainWindow = mpImplLB->GetMainWindow(); in FillLayoutData()
730 mpImplLB->SetReadOnly( IsReadOnly() ); in StateChanged()
737 mpImplLB->Enable( IsEnabled() && !IsReadOnly() ); in StateChanged()
744 mpImplLB->SetUpdateMode( IsUpdateMode() ); in StateChanged()
748 mpImplLB->SetZoom( GetZoom() ); in StateChanged()
755 mpImplLB->SetControlFont( GetControlFont() ); in StateChanged()
762 mpImplLB->SetControlForeground( GetControlForeground() ); in StateChanged()
767 mpImplLB->SetControlBackground( GetControlBackground() ); in StateChanged()
773 mpImplLB->GetMainWindow()->EnableSort( ( GetStyle() & WB_SORT ) ? sal_True : sal_False ); in StateChanged()
783 mpImplLB->EnableRTL( IsRTLEnabled() ); in StateChanged()
805mpImplLB->Resize(); // Wird nicht durch ComboBox::Resize() gerufen, wenn sich die ImplLB nicht änd… in DataChanged()
841 if ( mpImplLB->GetEntryList()->GetMRUCount() ) in Notify()
842 mpImplLB->SelectEntry( 0 , sal_True ); in Notify()
855 nDone = mpImplLB->ProcessKeyInput( aKeyEvt ); in Notify()
864 mpImplLB->ProcessKeyInput( aKeyEvt ); in Notify()
889 nDone = mpImplLB->HandleWheelAsCursorTravel( *rNEvt.GetCommandEvent() ); in Notify()
896 …else if( ( rNEvt.GetType() == EVENT_MOUSEBUTTONDOWN ) && ( rNEvt.GetWindow() == mpImplLB->GetMainW… in Notify()
939 mpImplLB->SetCallSelectionChangedHdl( sal_False ); in ImplUpdateFloatSelection()
946 if ( mpImplLB->GetCurrentPos() != LISTBOX_ENTRY_NOTFOUND ) in ImplUpdateFloatSelection()
948 … XubString aCurrent = mpImplLB->GetEntryList()->GetEntryText( mpImplLB->GetCurrentPos() ); in ImplUpdateFloatSelection()
950 nSelect = mpImplLB->GetCurrentPos(); in ImplUpdateFloatSelection()
954 nSelect = mpImplLB->GetEntryList()->FindEntry( aSearchStr ); in ImplUpdateFloatSelection()
957 nSelect = mpImplLB->GetEntryList()->FindMatchingEntry( aSearchStr ); in ImplUpdateFloatSelection()
963 if ( !mpImplLB->IsVisible( nSelect ) ) in ImplUpdateFloatSelection()
964 mpImplLB->ShowProminentEntry( nSelect ); in ImplUpdateFloatSelection()
965 mpImplLB->SelectEntry( nSelect, bSelect ); in ImplUpdateFloatSelection()
969 nSelect = mpImplLB->GetEntryList()->GetSelectEntryPos( 0 ); in ImplUpdateFloatSelection()
971 mpImplLB->SelectEntry( nSelect, sal_False ); in ImplUpdateFloatSelection()
972 mpImplLB->ResetCurrentPos(); in ImplUpdateFloatSelection()
978 … lcl_GetSelectedEntries( aSelInText, mpSubEdit->GetText(), mcMultiSep, mpImplLB->GetEntryList() ); in ImplUpdateFloatSelection()
979 for ( sal_uInt16 n = 0; n < mpImplLB->GetEntryList()->GetEntryCount(); n++ ) in ImplUpdateFloatSelection()
980 mpImplLB->SelectEntry( n, aSelInText.IsKeyValid( ImplCreateKey( n ) ) ); in ImplUpdateFloatSelection()
982 mpImplLB->SetCallSelectionChangedHdl( sal_True ); in ImplUpdateFloatSelection()
989 …sal_uInt16 nRealPos = mpImplLB->InsertEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), rStr … in InsertEntry()
990 nRealPos = sal::static_int_cast<sal_uInt16>(nRealPos - mpImplLB->GetEntryList()->GetMRUCount()); in InsertEntry()
999 …sal_uInt16 nRealPos = mpImplLB->InsertEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), rStr,… in InsertEntry()
1000 nRealPos = sal::static_int_cast<sal_uInt16>(nRealPos - mpImplLB->GetEntryList()->GetMRUCount()); in InsertEntry()
1016 mpImplLB->RemoveEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in RemoveEntry()
1024 mpImplLB->Clear(); in Clear()
1031 if ( mpImplLB->GetEntryList()->HasEntryImage( nPos ) ) in GetEntryImage()
1032 return mpImplLB->GetEntryList()->GetEntryImage( nPos ); in GetEntryImage()
1040 sal_uInt16 nPos = mpImplLB->GetEntryList()->FindEntry( rStr ); in GetEntryPos()
1042 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos()
1050 sal_uInt16 nPos = mpImplLB->GetEntryList()->FindEntry( pData ); in GetEntryPos()
1052 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos()
1060 return mpImplLB->GetEntryList()->GetEntryText( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in GetEntry()
1067 return mpImplLB->GetEntryList()->GetEntryCount() - mpImplLB->GetEntryList()->GetMRUCount(); in GetEntryCount()
1074 return mpImplLB->IsTravelSelect(); in IsTravelSelect()
1088 mpImplLB->EnableMultiSelection( bMulti, sal_False ); in EnableMultiSelection()
1089 mpImplLB->SetMultiSelectionSimpleMode( sal_True ); in EnableMultiSelection()
1096 return mpImplLB->IsMultiSelectionEnabled(); in IsMultiSelectionEnabled()
1103 return mpImplLB->GetEntryHeight() * nLines; in CalcWindowSizePixel()
1125 aSz = mpImplLB->CalcSize( mpImplLB->GetEntryList()->GetEntryCount() ); in CalcMinimumSize()
1130 aSz.Height() = mpImplLB->CalcSize( 1 ).Height(); in CalcMinimumSize()
1131 aSz.Width() = mpImplLB->GetMaxEntryWidth(); in CalcMinimumSize()
1178 aSz.Height() = mpImplLB->CalcSize( nLines ).Height() + mnDDHeight; in CalcSize()
1213 Size aOutSz = mpImplLB->GetMainWindow()->GetOutputSizePixel(); in GetMaxVisColumnsAndLines()
1215 rnLines = (sal_uInt16)(aOutSz.Height()/mpImplLB->GetEntryHeight()); in GetMaxVisColumnsAndLines()
1229 mpImplLB->GetMainWindow()->ImplInitSettings( sal_True, sal_True, sal_True ); in Draw()
1233 Font aFont = mpImplLB->GetMainWindow()->GetDrawPixelFont( pDev ); in Draw()
1302 sal_uInt16 nTEntry = IsReallyVisible() ? mpImplLB->GetTopEntry() : 0; in Draw()
1314 … pDev->DrawText( aTextRect, mpImplLB->GetEntryList()->GetEntryText( n+nTEntry ), nTextStyle ); in Draw()
1349 mpImplLB->GetMainWindow()->SetUserItemSize( rSz ); in SetUserItemSize()
1356 return mpImplLB->GetMainWindow()->GetUserItemSize(); in GetUserItemSize()
1363 mpImplLB->GetMainWindow()->EnableUserDraw( bUserDraw ); in EnableUserDraw()
1370 return mpImplLB->GetMainWindow()->IsUserDrawEnabled(); in IsUserDrawEnabled()
1377 DBG_ASSERT( rEvt.GetDevice() == mpImplLB->GetMainWindow(), "DrawEntry?!" ); in DrawEntry()
1378mpImplLB->GetMainWindow()->DrawEntry( rEvt.GetItemId(), bDrawImage, bDrawText, bDrawTextAtImagePos… in DrawEntry()
1385 mpImplLB->SetSeparatorPos( n ); in SetSeparatorPos()
1392 mpImplLB->SetSeparatorPos( LISTBOX_ENTRY_NOTFOUND ); in SetSeparatorPos()
1399 return mpImplLB->GetSeparatorPos(); in GetSeparatorPos()
1406 mpImplLB->SetMRUEntries( rEntries, cSep ); in SetMRUEntries()
1413 return mpImplLB->GetMRUEntries( cSep ); in GetMRUEntries()
1420 mpImplLB->SetMaxMRUCount( n ); in SetMaxMRUCount()
1427 return mpImplLB->GetMaxMRUCount(); in GetMaxMRUCount()
1432 return mpImplLB->GetEntryList()->GetMRUCount(); in GetMRUCount()
1438 return mpImplLB->GetDisplayLineCount(); in GetDisplayLineCount()
1445 mpImplLB->SetEntryData( nPos + mpImplLB->GetEntryList()->GetMRUCount(), pNewData ); in SetEntryData()
1452 return mpImplLB->GetEntryList()->GetEntryData( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in GetEntryData()
1459 mpImplLB->SetTopEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in SetTopEntry()
1466 mpImplLB->ShowProminentEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in ShowProminentEntry()
1473 sal_uInt16 nPos = GetEntryCount() ? mpImplLB->GetTopEntry() : LISTBOX_ENTRY_NOTFOUND; in GetTopEntry()
1474 if ( nPos < mpImplLB->GetEntryList()->GetMRUCount() ) in GetTopEntry()
1483 mpImplLB->SetProminentEntryType( eType ); in SetProminentEntryType()
1490 return mpImplLB->GetProminentEntryType(); in GetProminentEntryType()
1504 …return mpFloatWin ? Rectangle() : mpImplLB->GetMainWindow()->GetWindowExtentsRelative( const_cast<… in GetListPosSizePixel()
1525 return mpImplLB->GetEntryList()->GetSelectEntryCount(); in GetSelectEntryCount()
1530 sal_uInt16 nPos = mpImplLB->GetEntryList()->GetSelectEntryPos( nIndex ); in GetSelectEntryPos()
1533 if ( nPos < mpImplLB->GetEntryList()->GetMRUCount() ) in GetSelectEntryPos()
1534 … nPos = mpImplLB->GetEntryList()->FindEntry( mpImplLB->GetEntryList()->GetEntryText( nPos ) ); in GetSelectEntryPos()
1535 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetSelectEntryPos()
1542 …return mpImplLB->GetEntryList()->IsEntryPosSelected( nPos + mpImplLB->GetEntryList()->GetMRUCount(… in IsEntryPosSelected()
1547 if ( nPos < mpImplLB->GetEntryList()->GetEntryCount() ) in SelectEntryPos()
1548 mpImplLB->SelectEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), bSelect ); in SelectEntryPos()
1553 mpImplLB->SetNoSelection(); in SetNoSelection()
1559 Rectangle aRect = mpImplLB->GetMainWindow()->GetBoundingRectangle( nItem ); in GetBoundingRectangle()
1560 Rectangle aOffset = mpImplLB->GetMainWindow()->GetWindowExtentsRelative( (Window*)this ); in GetBoundingRectangle()
1572 mpImplLB->SetBorderStyle( nBorderStyle ); in SetBorderStyle()
1588 ImplListBoxWindow* pMain = mpImplLB->GetMainWindow(); in GetIndexForPoint()