Lines Matching refs:mpEntryList

527 	mpEntryList 		= new ImplEntryList( this );  in ImplListBoxWindow()
573 delete mpEntryList; in ~ImplListBoxWindow()
602 for ( sal_uInt16 n = mpEntryList->GetEntryCount(); n; ) in ImplCalcMetrics()
604 ImplEntryType* pEntry = mpEntryList->GetMutableEntryPtr( --n ); in ImplCalcMetrics()
610 … Size aSz( GetOutputSizePixel().Width(), mpEntryList->GetEntryPtr( mnCurrentPos )->mnHeight ); in ImplCalcMetrics()
619 mpEntryList->Clear(); in Clear()
790 sal_uInt16 nNewPos = mpEntryList->InsertEntry( nPos, pNewEntry, mbSort ); in InsertEntry()
804 mpEntryList->RemoveEntry( nPos ); in RemoveEntry()
805 if( mnCurrentPos >= mpEntryList->GetEntryCount() ) in RemoveEntry()
814 mpEntryList->SetEntryFlags( nPos, nFlags ); in SetEntryFlags()
815 ImplEntryType* pEntry = mpEntryList->GetMutableEntryPtr( nPos ); in SetEntryFlags()
849 const ImplEntryType* pEntry = mpEntryList->GetEntryPtr( nSelect ); in GetEntryPosForPoint()
853 pEntry = mpEntryList->GetEntryPtr( ++nSelect ); in GetEntryPosForPoint()
869 if( mpEntryList->GetAddedHeight( i_nEntry, mnTop ) < in IsVisible()
885 sal_uInt16 nCount = mpEntryList->GetEntryCount(); in GetLastVisibleEntry()
887 …for( nDiff = 0; nDiff < nWindowHeight && nPos < nCount; nDiff = mpEntryList->GetAddedHeight( nPos,… in GetLastVisibleEntry()
965 … else if ( ( ( !mbMulti && IsMouseMoveSelect() ) || mbStackMode ) && mpEntryList->GetEntryCount() ) in MouseMove()
975 nSelect = mpEntryList->GetEntryCount() - 1; in MouseMove()
977 nSelect = Min( nSelect, (sal_uInt16) ( mpEntryList->GetEntryCount() - 1 ) ); in MouseMove()
980 mpEntryList->IsEntrySelectable( nSelect ) && in MouseMove()
1013 if ( mbStackMode && ( mpEntryList->GetSelectionAnchor() == LISTBOX_ENTRY_NOTFOUND ) ) in MouseMove()
1014 mpEntryList->SetSelectionAnchor( 0 ); in MouseMove()
1037 …if( (mpEntryList->IsEntryPosSelected( nPos ) != bSelect) && mpEntryList->IsEntrySelectable( nPos )… in SelectEntry()
1054 mpEntryList->SelectEntry( nPos, sal_True ); in SelectEntry()
1077 mpEntryList->SelectEntry( nPos, sal_False ); in SelectEntry()
1091 if( IsEnabled() && mpEntryList->IsEntrySelectable( nSelect ) ) in SelectEntries()
1096 sal_uInt16 nDeselect = mpEntryList->GetSelectEntryPos( 0 ); in SelectEntries()
1100 mpEntryList->SetLastSelected( nSelect ); in SelectEntries()
1108 sal_uInt16 nEntryCount = mpEntryList->GetEntryCount(); in SelectEntries()
1112 if ( mpEntryList->IsEntryPosSelected( nPos ) != bSelect ) in SelectEntries()
1119 mpEntryList->SetLastSelected( nSelect ); in SelectEntries()
1120 mpEntryList->SetSelectionAnchor( nSelect ); in SelectEntries()
1128 …sal_Bool bSelect = ( mbStackMode && IsMouseMoveSelect() ) ? sal_True : !mpEntryList->IsEntryPosSel… in SelectEntries()
1140 for ( n = nSelect+1; n < mpEntryList->GetEntryCount(); n++ ) in SelectEntries()
1145 mpEntryList->SetLastSelected( nSelect ); in SelectEntries()
1146 mpEntryList->SetSelectionAnchor( mbStackMode ? 0 : nSelect ); in SelectEntries()
1147 if ( !mpEntryList->IsEntryPosSelected( nSelect ) ) in SelectEntries()
1148 mpEntryList->SetSelectionAnchor( LISTBOX_ENTRY_NOTFOUND ); in SelectEntries()
1158 sal_uInt16 nAnchor = mpEntryList->GetSelectionAnchor(); in SelectEntries()
1159 …if( ( nAnchor == LISTBOX_ENTRY_NOTFOUND ) && ( mpEntryList->GetSelectEntryCount() || mbStackMode )… in SelectEntries()
1161 …nAnchor = mbStackMode ? 0 : mpEntryList->GetSelectEntryPos( mpEntryList->GetSelectEntryCount() - 1… in SelectEntries()
1170 if ( !mpEntryList->IsEntryPosSelected( n ) ) in SelectEntries()
1178 sal_uInt16 nLast = mpEntryList->GetLastSelected(); in SelectEntries()
1185 if ( mpEntryList->IsEntryPosSelected( n ) ) in SelectEntries()
1196 if ( mpEntryList->IsEntryPosSelected( n ) ) in SelectEntries()
1204 mpEntryList->SetLastSelected( nSelect ); in SelectEntries()
1224 long nHeightDiff = mpEntryList->GetAddedHeight( nSelect, mnTop, 0 ); in SelectEntries()
1227 mpEntryList->GetEntryHeight( nSelect ) ); in SelectEntries()
1266 long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 ); in Tracking()
1269 mpEntryList->GetEntryHeight( mnCurrentPos ) ); in Tracking()
1317 nSelect = Min( (sal_uInt16)(mnCurrentPos+1), (sal_uInt16)(mpEntryList->GetEntryCount()-1) ); in Tracking()
1326 nSelect = Min( nSelect, (sal_uInt16) ( mpEntryList->GetEntryCount() - 1 ) ); in Tracking()
1365 if ( mpEntryList->IsEntryPosSelected( 0 ) ) in Tracking()
1399 long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 ); in Tracking()
1401 Size aSz( maFocusRect.GetWidth(), mpEntryList->GetEntryHeight( mnCurrentPos ) ); in Tracking()
1450 nSelect = mpEntryList->FindFirstSelectable( 0, true ); in ProcessKeyInput()
1455 nSelect = mpEntryList->FindFirstSelectable( mnCurrentPos - 1, false ); in ProcessKeyInput()
1477 nSelect = mpEntryList->FindFirstSelectable( 0, true ); in ProcessKeyInput()
1479 else if ( (mnCurrentPos+1) < mpEntryList->GetEntryCount() ) in ProcessKeyInput()
1482 nSelect = mpEntryList->FindFirstSelectable( mnCurrentPos + 1, true ); in ProcessKeyInput()
1506 nSelect = mpEntryList->FindFirstSelectable( 0, true ); in ProcessKeyInput()
1517 nSelect = mpEntryList->FindFirstSelectable( mnTop, true ); in ProcessKeyInput()
1535 nSelect = mpEntryList->FindFirstSelectable( 0, true ); in ProcessKeyInput()
1537 else if ( (mnCurrentPos+1) < mpEntryList->GetEntryCount() ) in ProcessKeyInput()
1539 sal_uInt16 nCount = mpEntryList->GetEntryCount(); in ProcessKeyInput()
1551 nSelect = mpEntryList->FindFirstSelectable( nTmp, false ); in ProcessKeyInput()
1569 …nSelect = mpEntryList->FindFirstSelectable( mpEntryList->GetEntryCount() ? 0 : LISTBOX_ENTRY_NOTFO… in ProcessKeyInput()
1590 nSelect = mpEntryList->FindFirstSelectable( 0, true ); in ProcessKeyInput()
1592 else if ( (mnCurrentPos+1) < mpEntryList->GetEntryCount() ) in ProcessKeyInput()
1594 sal_uInt16 nCount = mpEntryList->GetEntryCount(); in ProcessKeyInput()
1595 nSelect = mpEntryList->FindFirstSelectable( nCount - 1, false ); in ProcessKeyInput()
1663 sal_uInt16 nEntryCount = mpEntryList->GetEntryCount(); in ProcessKeyInput()
1689 && ( ( !mpEntryList->IsEntryPosSelected( nSelect ) ) in ProcessKeyInput()
1694 …DBG_ASSERT( !mpEntryList->IsEntryPosSelected( nSelect ) || mbMulti, "ImplListBox: Selecting same E… in ProcessKeyInput()
1695 if( nSelect >= mpEntryList->GetEntryCount() ) in ProcessKeyInput()
1696 nSelect = mpEntryList->GetEntryCount()-1; in ProcessKeyInput()
1752 if ( mpEntryList->IsEntryPosSelected( nSelect ) ) in SelectEntry()
1760 … OSL_ENSURE( nSelect < mpEntryList->GetEntryCount(), "ImplListBoxWindow::SelectEntry: how that?" ); in SelectEntry()
1761 if( nSelect >= mpEntryList->GetEntryCount() ) in SelectEntry()
1762 nSelect = mpEntryList->GetEntryCount()-1; in SelectEntry()
1784 const ImplEntryType* pEntry = mpEntryList->GetEntryPtr( nPos ); in ImplPaint()
1789 long nY = mpEntryList->GetAddedHeight( nPos, mnTop ); in ImplPaint()
1794 if( mpEntryList->IsEntryPosSelected( nPos ) ) in ImplPaint()
1834 const ImplEntryType* pEntry = mpEntryList->GetEntryPtr( nPos ); in DrawEntry()
1843 long nY = mpEntryList->GetAddedHeight( nPos, mnTop ); in DrawEntry()
1846 if( bDrawImage && mpEntryList->HasImages() && !bLayout ) in DrawEntry()
1848 Image aImage = mpEntryList->GetEntryImage( nPos ); in DrawEntry()
1892 XubString aStr( mpEntryList->GetEntryText( nPos ) ); in DrawEntry()
1904 … if( !bDrawTextAtImagePos && ( mpEntryList->HasEntryImage(nPos) || IsUserDrawEnabled() ) ) in DrawEntry()
1963 sal_uInt16 nCount = mpEntryList->GetEntryCount(); in ImplDoPaint()
1974 const ImplEntryType* pEntry = mpEntryList->GetEntryPtr( i ); in ImplDoPaint()
1983 long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 ); in ImplDoPaint()
1985 Size aSz( maFocusRect.GetWidth(), mpEntryList->GetEntryHeight( mnCurrentPos ) ); in ImplDoPaint()
2004 sal_uInt16 nCount = mpEntryList->GetEntryCount(); in GetDisplayLineCount()
2025 Size aSz( GetOutputSizePixel().Width(), mpEntryList->GetEntryHeight( mnCurrentPos ) ); in Resize()
2042 long nHeightDiff = mpEntryList->GetAddedHeight( nPos, mnTop, 0 ); in GetFocus()
2044 Size aSz( maFocusRect.GetWidth(), mpEntryList->GetEntryHeight( nPos ) ); in GetFocus()
2074 if( mpEntryList->GetEntryCount() == 0 ) in SetTopEntry()
2079 sal_uInt16 nLastEntry = mpEntryList->GetEntryCount()-1; in SetTopEntry()
2082 const ImplEntryType* pLast = mpEntryList->GetEntryPtr( nLastEntry ); in SetTopEntry()
2083 …while( nTop > 0 && mpEntryList->GetAddedHeight( nLastEntry, nTop-1 ) + pLast->mnHeight <= nWHeight… in SetTopEntry()
2089 long nDiff = mpEntryList->GetAddedHeight( mnTop, nTop, 0 ); in SetTopEntry()
2109 while( nEntryPos > 0 && mpEntryList->GetAddedHeight( nPos+1, nEntryPos ) < nWHeight/2 ) in ShowProminentEntry()
2173 const ImplEntryType* pEntry = mpEntryList->GetEntryPtr( nItem ); in GetBoundingRectangle()
2176 …long nY = mpEntryList->GetAddedHeight( nItem, GetTopEntry() ) + GetEntryList()->GetMRUCount()*GetE… in GetBoundingRectangle()
2242 if ( mpEntryList->HasImages() ) in ImplGetTextStyle()