Lines Matching refs:mpImplLB

103 	delete mpImplLB;  in ~ComboBox()
104 mpImplLB = NULL; in ~ComboBox()
116 mpImplLB = NULL; in ImplInitComboBoxData()
211 mpImplLB = new ImplListBox( pLBParent, nListStyle|WB_SIMPLEMODE ); in ImplInit()
212 mpImplLB->SetPosPixel( Point() ); in ImplInit()
213 mpImplLB->SetSelectHdl( LINK( this, ComboBox, ImplSelectHdl ) ); in ImplInit()
214 mpImplLB->SetCancelHdl( LINK( this, ComboBox, ImplCancelHdl ) ); in ImplInit()
215 mpImplLB->SetDoubleClickHdl( LINK( this, ComboBox, ImplDoubleClickHdl ) ); in ImplInit()
216 mpImplLB->SetUserDrawHdl( LINK( this, ComboBox, ImplUserDrawHdl ) ); in ImplInit()
217 mpImplLB->SetSelectionChangedHdl( LINK( this, ComboBox, ImplSelectionChangedHdl ) ); in ImplInit()
218 mpImplLB->SetListItemSelectHdl( LINK( this, ComboBox, ImplListItemSelectHdl ) ); in ImplInit()
219 mpImplLB->Show(); in ImplInit()
222 mpFloatWin->SetImplListBox( mpImplLB ); in ImplInit()
224 mpImplLB->GetMainWindow()->AllowGrabFocus( sal_True ); in ImplInit()
288 if ( !mpImplLB->GetEntryList()->GetMRUCount() ) in IMPL_LINK()
291 mpImplLB->SelectEntry( 0 , sal_True ); in IMPL_LINK()
298 if( mpImplLB ) in IMPL_LINK()
299 mpImplLB->GetMainWindow()->ImplClearLayoutData(); in IMPL_LINK()
310 …if ( !mpImplLB->GetEntryList()->IsEntryPosSelected( mpFloatWin->GetPopupModeStartSaveSelection() )… in IMPL_LINK()
312 mpImplLB->SelectEntry( mpFloatWin->GetPopupModeStartSaveSelection(), sal_True ); in IMPL_LINK()
313 sal_Bool bTravelSelect = mpImplLB->IsTravelSelect(); in IMPL_LINK()
314 mpImplLB->SetTravelSelect( sal_True ); in IMPL_LINK()
316 mpImplLB->SetTravelSelect( bTravelSelect ); in IMPL_LINK()
321 if( mpImplLB ) in IMPL_LINK()
322 mpImplLB->GetMainWindow()->ImplClearLayoutData(); in IMPL_LINK()
344 sal_uInt16 nStart = mpImplLB->GetCurrentPos(); in IMPL_LINK()
355 nStart = nStart ? nStart - 1 : mpImplLB->GetEntryList()->GetEntryCount()-1; in IMPL_LINK()
362 nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, nStart, bForward, sal_True ); in IMPL_LINK()
365 …nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, bForward ? 0 : (mpImplLB->GetEntry… in IMPL_LINK()
370 … nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, nStart, bForward, sal_False ); in IMPL_LINK()
373 …nPos = mpImplLB->GetEntryList()->FindMatchingEntry( aStartText, bForward ? 0 : (mpImplLB->GetEntry… in IMPL_LINK()
377 XubString aText = mpImplLB->GetEntryList()->GetEntryText( nPos ); in IMPL_LINK()
392 if ( mpImplLB->IsSelectionChanged() || bPopup ) in IMPL_LINK()
407 sal_uInt16 nP = mpImplLB->GetEntryList()->FindEntry( aToken ); in IMPL_LINK()
408 if ( (nP != LISTBOX_ENTRY_NOTFOUND) && (!mpImplLB->GetEntryList()->IsEntryPosSelected( nP )) ) in IMPL_LINK()
423 lcl_GetSelectedEntries( aSelInText, aText, mcMultiSep, mpImplLB->GetEntryList() ); in IMPL_LINK()
424 sal_uInt16 nSelectedEntries = mpImplLB->GetEntryList()->GetSelectEntryCount(); in IMPL_LINK()
427 sal_uInt16 nP = mpImplLB->GetEntryList()->GetSelectEntryPos( n ); in IMPL_LINK()
434 aText += mpImplLB->GetEntryList()->GetEntryText( nP ); in IMPL_LINK()
443 aText = mpImplLB->GetEntryList()->GetSelectEntry( 0 ); in IMPL_LINK()
458 if ( bPopup && !mpImplLB->IsTravelSelect() && in IMPL_LINK()
459 ( !IsMultiSelectionEnabled() || !mpImplLB->GetSelectModifier() ) ) in IMPL_LINK()
495 if ( !mpImplLB->IsTrackingSelect() ) in IMPL_LINK()
498 if ( !mpSubEdit->IsReadOnly() && mpImplLB->GetEntryList()->IsEntryPosSelected( nChanged ) ) in IMPL_LINK()
499 mpSubEdit->SetText( mpImplLB->GetEntryList()->GetEntryText( nChanged ) ); in IMPL_LINK()
523 if ( !mpImplLB->GetEntryList()->GetMRUCount() ) in ToggleDropDown()
526 mpImplLB->SelectEntry( 0 , sal_True ); in ToggleDropDown()
689 mpImplLB->SetPosSizePixel( 0, mnDDHeight, aOutSz.Width(), aOutSz.Height() - mnDDHeight ); in Resize()
707 Control* pMainWindow = mpImplLB->GetMainWindow(); in FillLayoutData()
732 mpImplLB->SetReadOnly( IsReadOnly() ); in StateChanged()
739 mpImplLB->Enable( IsEnabled() && !IsReadOnly() ); in StateChanged()
746 mpImplLB->SetUpdateMode( IsUpdateMode() ); in StateChanged()
750 mpImplLB->SetZoom( GetZoom() ); in StateChanged()
757 mpImplLB->SetControlFont( GetControlFont() ); in StateChanged()
764 mpImplLB->SetControlForeground( GetControlForeground() ); in StateChanged()
769 mpImplLB->SetControlBackground( GetControlBackground() ); in StateChanged()
775 mpImplLB->GetMainWindow()->EnableSort( ( GetStyle() & WB_SORT ) ? sal_True : sal_False ); in StateChanged()
785 mpImplLB->EnableRTL( IsRTLEnabled() ); in StateChanged()
807mpImplLB->Resize(); // Wird nicht durch ComboBox::Resize() gerufen, wenn sich die ImplLB nicht aen… in DataChanged()
843 if ( mpImplLB->GetEntryList()->GetMRUCount() ) in Notify()
844 mpImplLB->SelectEntry( 0 , sal_True ); in Notify()
857 nDone = mpImplLB->ProcessKeyInput( aKeyEvt ); in Notify()
866 mpImplLB->ProcessKeyInput( aKeyEvt ); in Notify()
891 nDone = mpImplLB->HandleWheelAsCursorTravel( *rNEvt.GetCommandEvent() ); in Notify()
898 …else if( ( rNEvt.GetType() == EVENT_MOUSEBUTTONDOWN ) && ( rNEvt.GetWindow() == mpImplLB->GetMainW… in Notify()
941 mpImplLB->SetCallSelectionChangedHdl( sal_False ); in ImplUpdateFloatSelection()
948 if ( mpImplLB->GetCurrentPos() != LISTBOX_ENTRY_NOTFOUND ) in ImplUpdateFloatSelection()
950 XubString aCurrent = mpImplLB->GetEntryList()->GetEntryText( mpImplLB->GetCurrentPos() ); in ImplUpdateFloatSelection()
952 nSelect = mpImplLB->GetCurrentPos(); in ImplUpdateFloatSelection()
956 nSelect = mpImplLB->GetEntryList()->FindEntry( aSearchStr ); in ImplUpdateFloatSelection()
959 nSelect = mpImplLB->GetEntryList()->FindMatchingEntry( aSearchStr ); in ImplUpdateFloatSelection()
965 if ( !mpImplLB->IsVisible( nSelect ) ) in ImplUpdateFloatSelection()
966 mpImplLB->ShowProminentEntry( nSelect ); in ImplUpdateFloatSelection()
967 mpImplLB->SelectEntry( nSelect, bSelect ); in ImplUpdateFloatSelection()
971 nSelect = mpImplLB->GetEntryList()->GetSelectEntryPos( 0 ); in ImplUpdateFloatSelection()
973 mpImplLB->SelectEntry( nSelect, sal_False ); in ImplUpdateFloatSelection()
974 mpImplLB->ResetCurrentPos(); in ImplUpdateFloatSelection()
980 lcl_GetSelectedEntries( aSelInText, mpSubEdit->GetText(), mcMultiSep, mpImplLB->GetEntryList() ); in ImplUpdateFloatSelection()
981 for ( sal_uInt16 n = 0; n < mpImplLB->GetEntryList()->GetEntryCount(); n++ ) in ImplUpdateFloatSelection()
982 mpImplLB->SelectEntry( n, aSelInText.IsKeyValid( ImplCreateKey( n ) ) ); in ImplUpdateFloatSelection()
984 mpImplLB->SetCallSelectionChangedHdl( sal_True ); in ImplUpdateFloatSelection()
991 …sal_uInt16 nRealPos = mpImplLB->InsertEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), rStr … in InsertEntry()
992 nRealPos = sal::static_int_cast<sal_uInt16>(nRealPos - mpImplLB->GetEntryList()->GetMRUCount()); in InsertEntry()
1001 …sal_uInt16 nRealPos = mpImplLB->InsertEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), rStr,… in InsertEntry()
1002 nRealPos = sal::static_int_cast<sal_uInt16>(nRealPos - mpImplLB->GetEntryList()->GetMRUCount()); in InsertEntry()
1018 mpImplLB->RemoveEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in RemoveEntry()
1026 mpImplLB->Clear(); in Clear()
1033 if ( mpImplLB->GetEntryList()->HasEntryImage( nPos ) ) in GetEntryImage()
1034 return mpImplLB->GetEntryList()->GetEntryImage( nPos ); in GetEntryImage()
1042 sal_uInt16 nPos = mpImplLB->GetEntryList()->FindEntry( rStr ); in GetEntryPos()
1044 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos()
1052 sal_uInt16 nPos = mpImplLB->GetEntryList()->FindEntry( pData ); in GetEntryPos()
1054 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos()
1062 return mpImplLB->GetEntryList()->GetEntryText( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in GetEntry()
1069 return mpImplLB->GetEntryList()->GetEntryCount() - mpImplLB->GetEntryList()->GetMRUCount(); in GetEntryCount()
1076 return mpImplLB->IsTravelSelect(); in IsTravelSelect()
1090 mpImplLB->EnableMultiSelection( bMulti, sal_False ); in EnableMultiSelection()
1091 mpImplLB->SetMultiSelectionSimpleMode( sal_True ); in EnableMultiSelection()
1098 return mpImplLB->IsMultiSelectionEnabled(); in IsMultiSelectionEnabled()
1105 return mpImplLB->GetEntryHeight() * nLines; in CalcWindowSizePixel()
1127 aSz = mpImplLB->CalcSize( mpImplLB->GetEntryList()->GetEntryCount() ); in CalcMinimumSize()
1132 aSz.Height() = mpImplLB->CalcSize( 1 ).Height(); in CalcMinimumSize()
1133 aSz.Width() = mpImplLB->GetMaxEntryWidth(); in CalcMinimumSize()
1180 aSz.Height() = mpImplLB->CalcSize( nLines ).Height() + mnDDHeight; in CalcSize()
1215 Size aOutSz = mpImplLB->GetMainWindow()->GetOutputSizePixel(); in GetMaxVisColumnsAndLines()
1217 rnLines = (sal_uInt16)(aOutSz.Height()/mpImplLB->GetEntryHeight()); in GetMaxVisColumnsAndLines()
1231 mpImplLB->GetMainWindow()->ImplInitSettings( sal_True, sal_True, sal_True ); in Draw()
1235 Font aFont = mpImplLB->GetMainWindow()->GetDrawPixelFont( pDev ); in Draw()
1304 sal_uInt16 nTEntry = IsReallyVisible() ? mpImplLB->GetTopEntry() : 0; in Draw()
1316 pDev->DrawText( aTextRect, mpImplLB->GetEntryList()->GetEntryText( n+nTEntry ), nTextStyle ); in Draw()
1351 mpImplLB->GetMainWindow()->SetUserItemSize( rSz ); in SetUserItemSize()
1358 return mpImplLB->GetMainWindow()->GetUserItemSize(); in GetUserItemSize()
1365 mpImplLB->GetMainWindow()->EnableUserDraw( bUserDraw ); in EnableUserDraw()
1372 return mpImplLB->GetMainWindow()->IsUserDrawEnabled(); in IsUserDrawEnabled()
1379 DBG_ASSERT( rEvt.GetDevice() == mpImplLB->GetMainWindow(), "DrawEntry?!" ); in DrawEntry()
1380mpImplLB->GetMainWindow()->DrawEntry( rEvt.GetItemId(), bDrawImage, bDrawText, bDrawTextAtImagePos… in DrawEntry()
1387 mpImplLB->SetSeparatorPos( n ); in SetSeparatorPos()
1394 mpImplLB->SetSeparatorPos( LISTBOX_ENTRY_NOTFOUND ); in SetSeparatorPos()
1401 return mpImplLB->GetSeparatorPos(); in GetSeparatorPos()
1408 mpImplLB->SetMRUEntries( rEntries, cSep ); in SetMRUEntries()
1415 return mpImplLB->GetMRUEntries( cSep ); in GetMRUEntries()
1422 mpImplLB->SetMaxMRUCount( n ); in SetMaxMRUCount()
1429 return mpImplLB->GetMaxMRUCount(); in GetMaxMRUCount()
1434 return mpImplLB->GetEntryList()->GetMRUCount(); in GetMRUCount()
1440 return mpImplLB->GetDisplayLineCount(); in GetDisplayLineCount()
1447 mpImplLB->SetEntryData( nPos + mpImplLB->GetEntryList()->GetMRUCount(), pNewData ); in SetEntryData()
1454 return mpImplLB->GetEntryList()->GetEntryData( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in GetEntryData()
1461 mpImplLB->SetTopEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in SetTopEntry()
1468 mpImplLB->ShowProminentEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() ); in ShowProminentEntry()
1475 sal_uInt16 nPos = GetEntryCount() ? mpImplLB->GetTopEntry() : LISTBOX_ENTRY_NOTFOUND; in GetTopEntry()
1476 if ( nPos < mpImplLB->GetEntryList()->GetMRUCount() ) in GetTopEntry()
1485 mpImplLB->SetProminentEntryType( eType ); in SetProminentEntryType()
1492 return mpImplLB->GetProminentEntryType(); in GetProminentEntryType()
1506 …return mpFloatWin ? Rectangle() : mpImplLB->GetMainWindow()->GetWindowExtentsRelative( const_cast<… in GetListPosSizePixel()
1527 return mpImplLB->GetEntryList()->GetSelectEntryCount(); in GetSelectEntryCount()
1532 sal_uInt16 nPos = mpImplLB->GetEntryList()->GetSelectEntryPos( nIndex ); in GetSelectEntryPos()
1535 if ( nPos < mpImplLB->GetEntryList()->GetMRUCount() ) in GetSelectEntryPos()
1536 nPos = mpImplLB->GetEntryList()->FindEntry( mpImplLB->GetEntryList()->GetEntryText( nPos ) ); in GetSelectEntryPos()
1537 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetSelectEntryPos()
1544 …return mpImplLB->GetEntryList()->IsEntryPosSelected( nPos + mpImplLB->GetEntryList()->GetMRUCount(… in IsEntryPosSelected()
1549 if ( nPos < mpImplLB->GetEntryList()->GetEntryCount() ) in SelectEntryPos()
1550 mpImplLB->SelectEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), bSelect ); in SelectEntryPos()
1555 mpImplLB->SetNoSelection(); in SetNoSelection()
1561 Rectangle aRect = mpImplLB->GetMainWindow()->GetBoundingRectangle( nItem ); in GetBoundingRectangle()
1562 Rectangle aOffset = mpImplLB->GetMainWindow()->GetWindowExtentsRelative( (Window*)this ); in GetBoundingRectangle()
1574 mpImplLB->SetBorderStyle( nBorderStyle ); in SetBorderStyle()
1590 ImplListBoxWindow* pMain = mpImplLB->GetMainWindow(); in GetIndexForPoint()