Lines Matching refs:nValue

46 	sal_uInt16 nValue;  member
121 pVal->nValue = rCopy.pValues->GetObject(nPos)->nValue; in SfxAllEnumItem()
170 return pValues->GetObject(nPos)->nValue; in GetValueByPos()
210 if ( pValues->GetObject(nPos)->nValue >= nVal ) in _GetPosByValue()
217 sal_uInt16 SfxAllEnumItem::GetPosByValue( sal_uInt16 nValue ) const in GetPosByValue()
230 return nValue; in GetPosByValue()
232 return SfxEnumItem::GetPosByValue( nValue ); in GetPosByValue()
237 void SfxAllEnumItem::InsertValue( sal_uInt16 nValue, const XubString &rValue ) in InsertValue() argument
241 pVal->nValue = nValue; in InsertValue()
246 else if ( GetPosByValue( nValue ) != USHRT_MAX ) in InsertValue()
248 RemoveValue( nValue ); in InsertValue()
250 pValues->Insert( pTemp, _GetPosByValue(nValue) ); //! doppelte?! in InsertValue()
255 void SfxAllEnumItem::InsertValue( sal_uInt16 nValue ) in InsertValue() argument
259 pVal->nValue = nValue; in InsertValue()
260 pVal->aText = XubString::CreateFromInt32( nValue ); in InsertValue()
265 pValues->Insert( pTemp, _GetPosByValue(nValue) ); //! doppelte?! in InsertValue()
268 void SfxAllEnumItem::DisableValue( sal_uInt16 nValue ) in DisableValue() argument
274 pDisabledValues->Insert( nValue, pDisabledValues->Count() ); in DisableValue()
277 sal_Bool SfxAllEnumItem::IsEnabled( sal_uInt16 nValue ) const in IsEnabled()
282 if ( (*pDisabledValues)[i] == nValue ) in IsEnabled()
291 void SfxAllEnumItem::RemoveValue( sal_uInt16 nValue ) in RemoveValue() argument
294 sal_uInt16 nPos = GetPosByValue(nValue); in RemoveValue()