Lines Matching refs:nItemId

738 	sal_uInt16 nItemId = mnSelItemId;  in ImplDrawSelect()  local
745 nItemId = mnHighItemId; in ImplDrawSelect()
751 if ( nItemId ) in ImplDrawSelect()
752 pItem = mpImpl->mpItemList->GetObject( GetItemPos( nItemId ) ); in ImplDrawSelect()
911 void ValueSet::ImplHideSelect( sal_uInt16 nItemId ) in ImplHideSelect() argument
915 sal_uInt16 nItemPos = GetItemPos( nItemId ); in ImplHideSelect()
935 void ValueSet::ImplHighlightItem( sal_uInt16 nItemId, sal_Bool bIsSelection ) in ImplHighlightItem() argument
937 if ( mnHighItemId != nItemId ) in ImplHighlightItem()
941 mnHighItemId = nItemId; in ImplHighlightItem()
1628 sal_uInt16 nItemId; in KeyInput() local
1630 nItemId = GetItemId( nItemPos ); in KeyInput()
1632 nItemId = 0; in KeyInput()
1634 if ( nItemId != mnSelItemId ) in KeyInput()
1636 SelectItem( nItemId ); in KeyInput()
1831 void ValueSet::InsertItem( sal_uInt16 nItemId, const Image& rImage, sal_uInt16 nPos ) in InsertItem() argument
1833 DBG_ASSERT( nItemId, "ValueSet::InsertItem(): ItemId == 0" ); in InsertItem()
1834 DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND, in InsertItem()
1838 pItem->mnId = nItemId; in InsertItem()
1850 void ValueSet::InsertItem( sal_uInt16 nItemId, const Color& rColor, sal_uInt16 nPos ) in InsertItem() argument
1852 DBG_ASSERT( nItemId, "ValueSet::InsertItem(): ItemId == 0" ); in InsertItem()
1853 DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND, in InsertItem()
1857 pItem->mnId = nItemId; in InsertItem()
1869 void ValueSet::InsertItem( sal_uInt16 nItemId, const Image& rImage, in InsertItem() argument
1872 DBG_ASSERT( nItemId, "ValueSet::InsertItem(): ItemId == 0" ); in InsertItem()
1873 DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND, in InsertItem()
1877 pItem->mnId = nItemId; in InsertItem()
1890 void ValueSet::InsertItem( sal_uInt16 nItemId, const Color& rColor, in InsertItem() argument
1893 DBG_ASSERT( nItemId, "ValueSet::InsertItem(): ItemId == 0" ); in InsertItem()
1894 DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND, in InsertItem()
1898 pItem->mnId = nItemId; in InsertItem()
1910 void ValueSet::InsertItem( sal_uInt16 nItemId, const XubString& rText, sal_uInt16 nPos ) in InsertItem() argument
1912 DBG_ASSERT( nItemId, "ValueSet::InsertItem(): ItemId == 0" ); in InsertItem()
1913 DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND, in InsertItem()
1916 pItem->mnId = nItemId; in InsertItem()
1927 void ValueSet::InsertItem( sal_uInt16 nItemId, sal_uInt16 nPos ) in InsertItem() argument
1929 DBG_ASSERT( nItemId, "ValueSet::InsertItem(): ItemId == 0" ); in InsertItem()
1930 DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND, in InsertItem()
1934 pItem->mnId = nItemId; in InsertItem()
1945 void ValueSet::InsertSpace( sal_uInt16 nItemId, sal_uInt16 nPos ) in InsertSpace() argument
1947 DBG_ASSERT( nItemId, "ValueSet::InsertSpace(): ItemId == 0" ); in InsertSpace()
1948 DBG_ASSERT( GetItemPos( nItemId ) == VALUESET_ITEM_NOTFOUND, in InsertSpace()
1952 pItem->mnId = nItemId; in InsertSpace()
1963 void ValueSet::RemoveItem( sal_uInt16 nItemId ) in RemoveItem() argument
1965 sal_uInt16 nPos = GetItemPos( nItemId ); in RemoveItem()
1973 if ( (mnHighItemId == nItemId) || (mnSelItemId == nItemId) ) in RemoveItem()
2053 sal_uInt16 ValueSet::GetItemPos( sal_uInt16 nItemId ) const in GetItemPos()
2058 if ( pItem->mnId == nItemId ) in GetItemPos()
2091 Rectangle ValueSet::GetItemRect( sal_uInt16 nItemId ) const in GetItemRect()
2093 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemRect()
2175 void ValueSet::SelectItem( sal_uInt16 nItemId ) in SelectItem() argument
2179 if ( nItemId ) in SelectItem()
2181 nItemPos = GetItemPos( nItemId ); in SelectItem()
2188 if ( (mnSelItemId != nItemId) || mbNoSelection ) in SelectItem()
2191 mnSelItemId = nItemId; in SelectItem()
2203 if ( mbScroll && nItemId ) in SelectItem()
2240 const sal_uInt16 nPos = GetItemPos( nItemId ); in SelectItem()
2316 void ValueSet::SetItemBits( sal_uInt16 nItemId, sal_uInt16 nItemBits ) in SetItemBits() argument
2318 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemBits()
2326 sal_uInt16 ValueSet::GetItemBits( sal_uInt16 nItemId ) const in GetItemBits()
2328 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemBits()
2338 void ValueSet::SetItemImage( sal_uInt16 nItemId, const Image& rImage ) in SetItemImage() argument
2340 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemImage()
2360 Image ValueSet::GetItemImage( sal_uInt16 nItemId ) const in GetItemImage()
2362 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemImage()
2372 void ValueSet::SetItemColor( sal_uInt16 nItemId, const Color& rColor ) in SetItemColor() argument
2374 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemColor()
2394 Color ValueSet::GetItemColor( sal_uInt16 nItemId ) const in GetItemColor()
2396 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemColor()
2406 void ValueSet::SetItemData( sal_uInt16 nItemId, void* pData ) in SetItemData() argument
2408 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemData()
2430 void* ValueSet::GetItemData( sal_uInt16 nItemId ) const in GetItemData()
2432 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemData()
2442 void ValueSet::SetItemText( sal_uInt16 nItemId, const XubString& rText ) in SetItemText() argument
2444 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemText()
2468 if ( nTempId == nItemId ) in SetItemText()
2485 XubString ValueSet::GetItemText( sal_uInt16 nItemId ) const in GetItemText()
2487 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemText()