Lines Matching refs:nItemPos
915 sal_uInt16 nItemPos = GetItemPos( nItemId ); in ImplHideSelect() local
916 if ( nItemPos != sal::static_int_cast<sal_uInt16>(LIST_ENTRY_NOTFOUND) ) in ImplHideSelect()
917 aRect = mpImpl->mpItemList->GetObject( nItemPos )->maRect; in ImplHideSelect()
960 sal_uInt16 nItemPos = mnDropPos; in ImplDrawDropPos() local
964 if ( nItemPos >= mpImpl->mpItemList->Count() ) in ImplDrawDropPos()
966 nItemPos = (sal_uInt16)(mpImpl->mpItemList->Count()-1); in ImplDrawDropPos()
972 nItemId1 = GetItemId( nItemPos ); in ImplDrawDropPos()
975 Rectangle aRect2 = mpImpl->mpItemList->GetObject( nItemPos )->maRect; in ImplDrawDropPos()
982 else if ( nItemPos > 0 ) in ImplDrawDropPos()
984 aRect1 = mpImpl->mpItemList->GetObject( nItemPos-1 )->maRect; in ImplDrawDropPos()
985 nItemId2 = GetItemId( nItemPos-1 ); in ImplDrawDropPos()
1431 sal_uInt16 nItemPos = VALUESET_ITEM_NOTFOUND; in KeyInput() local
1453 nItemPos = VALUESET_ITEM_NONEITEM; in KeyInput()
1456 nItemPos = 0; in KeyInput()
1457 while ( ImplGetItem( nItemPos )->meType == VALUESETITEM_SPACE ) in KeyInput()
1458 nItemPos++; in KeyInput()
1463 nItemPos = nLastItem; in KeyInput()
1464 while ( ImplGetItem( nItemPos )->meType == VALUESETITEM_SPACE ) in KeyInput()
1466 if ( nItemPos == 0 ) in KeyInput()
1467 nItemPos = VALUESET_ITEM_NONEITEM; in KeyInput()
1469 nItemPos--; in KeyInput()
1480 nItemPos = nLastItem; in KeyInput()
1484 nItemPos = VALUESET_ITEM_NONEITEM; in KeyInput()
1486 nItemPos = nLastItem; in KeyInput()
1489 nItemPos = nCalcPos-1; in KeyInput()
1490 nCalcPos = nItemPos; in KeyInput()
1492 while ( ImplGetItem( nItemPos )->meType == VALUESETITEM_SPACE ); in KeyInput()
1499 nItemPos = 0; in KeyInput()
1503 nItemPos = VALUESET_ITEM_NONEITEM; in KeyInput()
1505 nItemPos = 0; in KeyInput()
1508 nItemPos = nCalcPos+1; in KeyInput()
1509 nCalcPos = nItemPos; in KeyInput()
1511 while ( ImplGetItem( nItemPos )->meType == VALUESETITEM_SPACE ); in KeyInput()
1527 nItemPos = mnCurCol; in KeyInput()
1530 nItemPos = ((((nLastItem+1)/mnCols)-1)*mnCols)+(mnCurCol%mnCols); in KeyInput()
1531 if ( nItemPos+mnCols <= nLastItem ) in KeyInput()
1532 nItemPos = nItemPos + mnCols; in KeyInput()
1536 nItemPos = sal::static_int_cast< sal_uInt16 >( in KeyInput()
1543 nItemPos = VALUESET_ITEM_NONEITEM; in KeyInput()
1548 nItemPos = nCalcPos; in KeyInput()
1551 nItemPos = ((((nLastItem+1)/mnCols)-1)*mnCols)+(nCalcPos%mnCols); in KeyInput()
1552 if ( nItemPos+mnCols <= nLastItem ) in KeyInput()
1553 nItemPos = nItemPos + mnCols; in KeyInput()
1557 nCalcPos = nItemPos; in KeyInput()
1559 while ( ImplGetItem( nItemPos )->meType == VALUESETITEM_SPACE ); in KeyInput()
1576 nItemPos = mnCurCol; in KeyInput()
1578 nItemPos = sal::static_int_cast< sal_uInt16 >( in KeyInput()
1596 nItemPos = VALUESET_ITEM_NONEITEM; in KeyInput()
1599 nItemPos = nCalcPos%mnCols; in KeyInput()
1602 nCalcPos = nItemPos; in KeyInput()
1604 while ( ImplGetItem( nItemPos )->meType == VALUESETITEM_SPACE ); in KeyInput()
1626 if ( nItemPos != VALUESET_ITEM_NOTFOUND ) in KeyInput()
1629 if ( nItemPos != VALUESET_ITEM_NONEITEM ) in KeyInput()
1630 nItemId = GetItemId( nItemPos ); in KeyInput()
1724 sal_uInt16 nItemPos = ImplGetItem( aPos ); in RequestHelp() local
1725 if ( nItemPos != VALUESET_ITEM_NOTFOUND ) in RequestHelp()
1727 ValueSetItem* pItem = ImplGetItem( nItemPos ); in RequestHelp()
2082 sal_uInt16 nItemPos = ImplGetItem( rPos ); in GetItemId() local
2083 if ( nItemPos != VALUESET_ITEM_NOTFOUND ) in GetItemId()
2084 return GetItemId( nItemPos ); in GetItemId()
2177 sal_uInt16 nItemPos = 0; in SelectItem() local
2181 nItemPos = GetItemPos( nItemId ); in SelectItem()
2182 if ( nItemPos == VALUESET_ITEM_NOTFOUND ) in SelectItem()
2184 if ( mpImpl->mpItemList->GetObject( nItemPos )->meType == VALUESETITEM_SPACE ) in SelectItem()
2205 sal_uInt16 nNewLine = (sal_uInt16)(nItemPos / mnCols); in SelectItem()