Lines Matching refs:pItem
167 ImplTaskSBFldItem* pItem = mpFieldItemList->First(); in ~TaskStatusBar() local
168 while ( pItem ) in ~TaskStatusBar()
170 delete pItem; in ~TaskStatusBar()
171 pItem = mpFieldItemList->Next(); in ~TaskStatusBar()
198 ImplTaskSBFldItem* pItem = mpFieldItemList->First(); in ImplGetFieldItem() local
199 while ( pItem ) in ImplGetFieldItem()
201 if ( pItem->mnId == nItemId ) in ImplGetFieldItem()
202 return pItem; in ImplGetFieldItem()
204 pItem = mpFieldItemList->Next(); in ImplGetFieldItem()
221 ImplTaskSBFldItem* pItem = mpFieldItemList->First(); in ImplGetFieldItem() local
222 while ( pItem ) in ImplGetFieldItem()
224 if ( nX < pItem->mnOffX+pItem->maItem.GetImage().GetSizePixel().Width() ) in ImplGetFieldItem()
225 return pItem; in ImplGetFieldItem()
227 pItem = mpFieldItemList->Next(); in ImplGetFieldItem()
288 ImplTaskSBFldItem* pItem = mpFieldItemList->First(); in ImplUpdateField() local
292 while ( pItem ) in ImplUpdateField()
295 pItem->mnOffX = mnItemWidth; in ImplUpdateField()
296 mnItemWidth += pItem->maItem.GetImage().GetSizePixel().Width(); in ImplUpdateField()
297 if ( pItem->maItem.GetFlags() & TASKSTATUSFIELDITEM_FLASH ) in ImplUpdateField()
300 pItem = mpFieldItemList->Next(); in ImplUpdateField()
352 ImplTaskSBFldItem* pItem = ImplGetFieldItem( rMEvt.GetPosPixel(), bFieldRect ); in MouseButtonDown() local
360 if ( pItem ) in MouseButtonDown()
362 pNotify = pItem->maItem.GetNotifyObject(); in MouseButtonDown()
363 nItemId = pItem->mnId; in MouseButtonDown()
379 ImplTaskSBFldItem* pItem = ImplGetFieldItem( rMEvt.GetPosPixel(), bFieldRect ); in MouseButtonUp() local
387 if ( pItem ) in MouseButtonUp()
389 pNotify = pItem->maItem.GetNotifyObject(); in MouseButtonUp()
390 nItemId = pItem->mnId; in MouseButtonUp()
406 ImplTaskSBFldItem* pItem = ImplGetFieldItem( rMEvt.GetPosPixel(), bFieldRect ); in MouseMove() local
414 if ( pItem ) in MouseMove()
416 pNotify = pItem->maItem.GetNotifyObject(); in MouseMove()
417 nItemId = pItem->mnId; in MouseMove()
433 ImplTaskSBFldItem* pItem = ImplGetFieldItem( rCEvt.GetMousePosPixel(), bFieldRect ); in Command() local
441 if ( pItem ) in Command()
443 pNotify = pItem->maItem.GetNotifyObject(); in Command()
444 nItemId = pItem->mnId; in Command()
459 …ImplTaskSBFldItem* pItem = ImplGetFieldItem( ScreenToOutputPixel( rHEvt.GetMousePosPixel() ), bFie… in RequestHelp() local
465 if ( pItem ) in RequestHelp()
467 pNotify = pItem->maItem.GetNotifyObject(); in RequestHelp()
468 nItemId = pItem->mnId; in RequestHelp()
483 if ( pItem ) in RequestHelp()
487 XubString aStr = pItem->maItem.GetHelpText(); in RequestHelp()
489 aStr = pItem->maItem.GetQuickHelpText(); in RequestHelp()
493 Help::ShowQuickHelp( this, aItemRect, pItem->maItem.GetQuickHelpText() ); in RequestHelp()
511 if ( pItem ) in RequestHelp()
513 …rtl::OUString aHelpId( rtl::OStringToOUString( pItem->maItem.GetHelpId(), RTL_TEXTENCODING_UTF8 ) … in RequestHelp()
540 ImplTaskSBFldItem* pItem = mpFieldItemList->First(); in UserDraw() local
541 while ( pItem ) in UserDraw()
543 if ( !mbOutInterval || !(pItem->maItem.GetFlags() & TASKSTATUSFIELDITEM_FLASH) ) in UserDraw()
545 const Image& rImage = pItem->maItem.GetImage(); in UserDraw()
547 pDev->DrawImage( Point( aRect.Left()+pItem->mnOffX, in UserDraw()
552 pItem = mpFieldItemList->Next(); in UserDraw()
599 ImplTaskSBFldItem* pItem = new ImplTaskSBFldItem; in AddStatusFieldItem() local
600 pItem->maItem = rItem; in AddStatusFieldItem()
601 pItem->mnId = nItemId; in AddStatusFieldItem()
602 pItem->mnOffX = 0; in AddStatusFieldItem()
603 mpFieldItemList->Insert( pItem, (sal_uLong)nPos ); in AddStatusFieldItem()
612 ImplTaskSBFldItem* pItem = ImplGetFieldItem( nItemId ); in ModifyStatusFieldItem() local
613 if ( pItem ) in ModifyStatusFieldItem()
615 sal_Bool bUpdate = (pItem->maItem.GetImage() != rItem.GetImage()) || in ModifyStatusFieldItem()
616 (pItem->maItem.GetFlags() != rItem.GetFlags()); in ModifyStatusFieldItem()
617 pItem->maItem = rItem; in ModifyStatusFieldItem()
627 ImplTaskSBFldItem* pItem = ImplGetFieldItem( nItemId ); in RemoveStatusFieldItem() local
628 if ( pItem ) in RemoveStatusFieldItem()
630 mpFieldItemList->Remove( pItem ); in RemoveStatusFieldItem()
631 delete pItem; in RemoveStatusFieldItem()
640 ImplTaskSBFldItem* pItem = ImplGetFieldItem( nItemId ); in GetStatusFieldItem() local
641 if ( pItem ) in GetStatusFieldItem()
643 rItem = pItem->maItem; in GetStatusFieldItem()