Lines Matching refs:nPos
352 Rectangle StatusBar::ImplGetItemRectPos( sal_uInt16 nPos ) const in ImplGetItemRectPos()
356 pItem = mpItemList->GetObject( nPos ); in ImplGetItemRectPos()
379 for( sal_uInt16 nPos = 0; nPos < mpItemList->Count(); nPos++ ) in ImplGetFirstVisiblePos() local
381 pItem = mpItemList->GetObject( nPos ); in ImplGetFirstVisiblePos()
385 return nPos; in ImplGetFirstVisiblePos()
408 sal_uInt16 nPos = aStr.Search( _LF ); in ImplDrawText() local
409 if ( nPos != STRING_NOTFOUND ) in ImplDrawText()
410 aStr.Erase( nPos ); in ImplDrawText()
431 void StatusBar::ImplDrawItem( sal_Bool bOffScreen, sal_uInt16 nPos, sal_Bool bDrawText, sal_Bool bD… in ImplDrawItem() argument
433 Rectangle aRect = ImplGetItemRectPos( nPos ); in ImplDrawItem()
439 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in ImplDrawItem()
510 else if( nPos != ImplGetFirstVisiblePos() ) in ImplDrawItem()
1013 long nOffset, sal_uInt16 nPos ) in InsertItem() argument
1036 mpItemList->Insert( pItem, nPos ); in InsertItem()
1049 sal_uInt16 nPos = GetItemPos( nItemId ); in RemoveItem() local
1050 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in RemoveItem()
1052 ImplStatusItem* pItem = mpItemList->Remove( nPos ); in RemoveItem()
1067 sal_uInt16 nPos = GetItemPos( nItemId ); in ShowItem() local
1069 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in ShowItem()
1071 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in ShowItem()
1089 sal_uInt16 nPos = GetItemPos( nItemId ); in HideItem() local
1091 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in HideItem()
1093 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in HideItem()
1111 sal_uInt16 nPos = GetItemPos( nItemId ); in IsItemVisible() local
1113 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in IsItemVisible()
1114 return mpItemList->GetObject( nPos )->mbVisible; in IsItemVisible()
1208 sal_uInt16 StatusBar::GetItemId( sal_uInt16 nPos ) const in GetItemId()
1210 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in GetItemId()
1240 sal_uInt16 nPos; in GetItemId() local
1241 for ( nPos = 0; nPos < nItemCount; nPos++ ) in GetItemId()
1244 Rectangle aRect = ImplGetItemRectPos( nPos ); in GetItemId()
1246 return mpItemList->GetObject( nPos )->mnId; in GetItemId()
1261 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemRect() local
1262 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemRect()
1265 aRect = ImplGetItemRectPos( nPos ); in GetItemRect()
1284 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemTextPos() local
1285 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemTextPos()
1288 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in GetItemTextPos()
1289 Rectangle aRect = ImplGetItemRectPos( nPos ); in GetItemTextPos()
1312 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemWidth() local
1314 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemWidth()
1315 return mpItemList->GetObject( nPos )->mnWidth; in GetItemWidth()
1324 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemBits() local
1326 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemBits()
1327 return mpItemList->GetObject( nPos )->mnBits; in GetItemBits()
1336 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemOffset() local
1338 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemOffset()
1339 return mpItemList->GetObject( nPos )->mnOffset; in GetItemOffset()
1348 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemText() local
1350 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in SetItemText()
1352 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in SetItemText()
1374 ImplDrawItem( sal_True, nPos, sal_True, sal_False ); in SetItemText()
1385 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemText() local
1387 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemText()
1388 return mpItemList->GetObject( nPos )->maText; in GetItemText()
1397 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemCommand() local
1399 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in SetItemCommand()
1401 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in SetItemCommand()
1412 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemCommand() local
1414 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemCommand()
1415 return mpItemList->GetObject( nPos )->maCommand; in GetItemCommand()
1424 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemData() local
1426 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in SetItemData()
1428 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in SetItemData()
1436 ImplDrawItem( sal_True, nPos, sal_False, sal_False ); in SetItemData()
1447 sal_uInt16 nPos = GetItemPos( nItemId ); in RedrawItem() local
1448 if ( nPos == STATUSBAR_ITEM_NOTFOUND ) in RedrawItem()
1451 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in RedrawItem()
1456 ImplDrawItem( sal_True, nPos, sal_False, sal_False ); in RedrawItem()
1465 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemData() local
1467 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetItemData()
1468 return mpItemList->GetObject( nPos )->mpUserData; in GetItemData()
1477 sal_uInt16 nPos = GetItemPos( nItemId ); in SetHelpText() local
1479 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in SetHelpText()
1480 mpItemList->GetObject( nPos )->maHelpText = rText; in SetHelpText()
1487 sal_uInt16 nPos = GetItemPos( nItemId ); in GetHelpText() local
1489 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetHelpText()
1491 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in GetHelpText()
1514 sal_uInt16 nPos = GetItemPos( nItemId ); in SetQuickHelpText() local
1516 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in SetQuickHelpText()
1517 mpItemList->GetObject( nPos )->maQuickHelpText = rText; in SetQuickHelpText()
1524 sal_uInt16 nPos = GetItemPos( nItemId ); in GetQuickHelpText() local
1526 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetQuickHelpText()
1528 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in GetQuickHelpText()
1539 sal_uInt16 nPos = GetItemPos( nItemId ); in SetHelpId() local
1541 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in SetHelpId()
1542 mpItemList->GetObject( nPos )->maHelpId = rHelpId; in SetHelpId()
1549 sal_uInt16 nPos = GetItemPos( nItemId ); in GetHelpId() local
1552 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetHelpId()
1554 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in GetHelpId()
1791 sal_uInt16 nPos = GetItemPos( nItemId ); in SetAccessibleName() local
1793 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in SetAccessibleName()
1795 ImplStatusItem* pItem = mpItemList->GetObject( nPos ); in SetAccessibleName()
1809 sal_uInt16 nPos = GetItemPos( nItemId ); in GetAccessibleName() local
1811 if ( nPos != STATUSBAR_ITEM_NOTFOUND ) in GetAccessibleName()
1812 return mpItemList->GetObject( nPos )->maAccessibleName; in GetAccessibleName()