Lines Matching refs:pMenu
214 Menu* pMenu, sal_uInt16 nPos );
246 Menu* pMenu, sal_uInt16 nPos ) in Insert() argument
266 aSalMIData.pMenu = pMenu; in Insert()
297 aSalMIData.pMenu = NULL; in InsertSeparator()
459 Menu* pMenu; member in MenuFloatingWindow
501 MenuFloatingWindow( Menu* pMenu, Window* pParent, WinBits nStyle );
679 Menu* pMenu; member in MenuBarWindow
731 void SetMenu( MenuBar* pMenu );
734 void PopupClosed( Menu* pMenu );
788 static sal_Bool ImplHandleHelpEvent( Window* pMenuWindow, Menu* pMenu, sal_uInt16 nHighlightedItem,… in ImplHandleHelpEvent() argument
790 if( ! pMenu ) in ImplHandleHelpEvent()
798 MenuItemData* pItemData = pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ); in ImplHandleHelpEvent()
812 if( pMenu->GetHelpText( nId ).Len() ) in ImplHandleHelpEvent()
813 Help::ShowBalloon( pMenuWindow, aPos, pMenu->GetHelpText( nId ) ); in ImplHandleHelpEvent()
819 Help::ShowQuickHelp( pMenuWindow, aRect, pMenu->GetTipHelpText( nId ) ); in ImplHandleHelpEvent()
831 Help::ShowQuickHelp( pMenuWindow, aRect, pMenu->GetTipHelpText( nId ) ); in ImplHandleHelpEvent()
843 String aCommand = pMenu->GetItemCommand( nId ); in ImplHandleHelpEvent()
844 rtl::OString aHelpId( pMenu->GetHelpId( nId ) ); in ImplHandleHelpEvent()
922 if( pFloat->pMenu == this ) in ~Menu()
923 pFloat->pMenu = NULL; in ~Menu()
1195 Menu* pMenu = this; in ImplCallEventListeners() local
1196 while ( pMenu ) in ImplCallEventListeners()
1204 pMenu = ( pMenu->pStartedFrom != pMenu ) ? pMenu->pStartedFrom : NULL; in ImplCallEventListeners()
1635 void Menu::SetPopupMenu( sal_uInt16 nItemId, PopupMenu* pMenu ) in SetPopupMenu() argument
1645 if ( (PopupMenu*)pData->pSubMenu == pMenu ) in SetPopupMenu()
1649 pData->pSubMenu = pMenu; in SetPopupMenu()
1658 if( pMenu ) in SetPopupMenu()
1659 ImplGetSalMenu()->SetSubMenu( pData->pSalMenuItem, pMenu->ImplGetSalMenu(), nPos ); in SetPopupMenu()
3275 Menu* pMenu = (Menu*)this; in GetSystemMenuData() local
3276 if( pData && pMenu->ImplGetSalMenu() ) in GetSystemMenuData()
3278 pMenu->ImplGetSalMenu()->GetSystemMenuData( pData ); in GetSystemMenuData()
3393 Window* MenuBar::ImplCreate( Window* pParent, Window* pWindow, MenuBar* pMenu ) in ImplCreate() argument
3398 pMenu->pStartedFrom = 0; in ImplCreate()
3399 pMenu->pWindow = pWindow; in ImplCreate()
3400 ((MenuBarWindow*)pWindow)->SetMenu( pMenu ); in ImplCreate()
3401 long nHeight = pMenu->ImplCalcSize( pWindow ).Height(); in ImplCreate()
3405 if( !((MenuBar*) pMenu)->IsDisplayable() || in ImplCreate()
3406 ( pMenu->ImplGetSalMenu() && pMenu->ImplGetSalMenu()->VisibleMenuBar() ) ) in ImplCreate()
3413 void MenuBar::ImplDestroy( MenuBar* pMenu, sal_Bool bDelete ) in ImplDestroy() argument
3415 MenuBarWindow* pWindow = (MenuBarWindow*) pMenu->ImplGetWindow(); in ImplDestroy()
3421 pMenu->pWindow = NULL; in ImplDestroy()
3467 sal_Bool MenuBar::HandleMenuActivateEvent( Menu *pMenu ) const in HandleMenuActivateEvent()
3469 if( pMenu ) in HandleMenuActivateEvent()
3473 pMenu->pStartedFrom = (Menu*)this; in HandleMenuActivateEvent()
3474 pMenu->bInCallback = sal_True; in HandleMenuActivateEvent()
3475 pMenu->Activate(); in HandleMenuActivateEvent()
3478 pMenu->bInCallback = sal_False; in HandleMenuActivateEvent()
3483 sal_Bool MenuBar::HandleMenuDeActivateEvent( Menu *pMenu ) const in HandleMenuDeActivateEvent()
3485 if( pMenu ) in HandleMenuDeActivateEvent()
3489 pMenu->pStartedFrom = (Menu*)this; in HandleMenuDeActivateEvent()
3490 pMenu->bInCallback = sal_True; in HandleMenuDeActivateEvent()
3491 pMenu->Deactivate(); in HandleMenuDeActivateEvent()
3493 pMenu->bInCallback = sal_False; in HandleMenuDeActivateEvent()
3498 sal_Bool MenuBar::HandleMenuHighlightEvent( Menu *pMenu, sal_uInt16 nHighlightEventId ) const in HandleMenuHighlightEvent() argument
3500 if( !pMenu ) in HandleMenuHighlightEvent()
3501 pMenu = ((Menu*) this)->ImplFindMenu( nHighlightEventId ); in HandleMenuHighlightEvent()
3502 if( pMenu ) in HandleMenuHighlightEvent()
3504 ImplMenuDelData aDelData( pMenu ); in HandleMenuHighlightEvent()
3507 pMenu->ImplCallEventListeners( VCLEVENT_MENU_DEHIGHLIGHT, mnHighlightedItemPos ); in HandleMenuHighlightEvent()
3511 pMenu->mnHighlightedItemPos = pMenu->GetItemPos( nHighlightEventId ); in HandleMenuHighlightEvent()
3512 pMenu->nSelectedId = nHighlightEventId; in HandleMenuHighlightEvent()
3513 pMenu->pStartedFrom = (Menu*)this; in HandleMenuHighlightEvent()
3514 pMenu->ImplCallHighlight( pMenu->mnHighlightedItemPos ); in HandleMenuHighlightEvent()
3522 sal_Bool MenuBar::HandleMenuCommandEvent( Menu *pMenu, sal_uInt16 nCommandEventId ) const in HandleMenuCommandEvent() argument
3524 if( !pMenu ) in HandleMenuCommandEvent()
3525 pMenu = ((Menu*) this)->ImplFindMenu( nCommandEventId ); in HandleMenuCommandEvent()
3526 if( pMenu ) in HandleMenuCommandEvent()
3528 pMenu->nSelectedId = nCommandEventId; in HandleMenuCommandEvent()
3529 pMenu->pStartedFrom = (Menu*)this; in HandleMenuCommandEvent()
3530 pMenu->ImplSelect(); in HandleMenuCommandEvent()
3814 SalMenu* pMenu = ImplGetSalMenu(); in ImplExecute() local
3815 …if( pMenu && bRealExecute && pMenu->ShowNativePopupMenu( pWin, aRect, nPopupModeFlags | FLOATWIN_P… in ImplExecute()
4001 pMenu = pMen; in MenuFloatingWindow()
4034 if( pMenu ) in doShutdown()
4039 pMenu->ImplCallEventListeners( VCLEVENT_MENU_DEHIGHLIGHT, nHighlightedItem ); in doShutdown()
4040 pMenu->SetHightlightItem(ITEMPOS_INVALID); in doShutdown()
4041 if( !bKeyInput && pMenu && pMenu->pStartedFrom && !pMenu->pStartedFrom->bIsMenuBar ) in doShutdown()
4045 sal_uInt16 i, nCount = (sal_uInt16)pMenu->pStartedFrom->pItemList->Count(); in doShutdown()
4048 pData = pMenu->pStartedFrom->pItemList->GetDataFromPos( i ); in doShutdown()
4049 if( pData && ( pData->pSubMenu == pMenu ) ) in doShutdown()
4054 … MenuFloatingWindow* pPWin = (MenuFloatingWindow*)pMenu->pStartedFrom->ImplGetWindow(); in doShutdown()
4072 pMenu = NULL; in doShutdown()
4090 if( pMenu ) in ImplGetStartY()
4093 nY += pMenu->GetItemList()->GetDataFromPos( n )->aSz.Height(); in ImplGetStartY()
4106 if ( pMenu && pMenu->pLogo && !bIncludeLogo ) in ImplCalcClipRegion()
4107 aRect.Left() += pMenu->pLogo->aBitmap.GetSizePixel().Width(); in ImplCalcClipRegion()
4110 if ( pMenu && pMenu->pLogo && bIncludeLogo && nScrollerHeight ) in ImplCalcClipRegion()
4111 …aRegion.Union( Rectangle( Point(), Size( pMenu->pLogo->aBitmap.GetSizePixel().Width(), aOutSz.Heig… in ImplCalcClipRegion()
4130 if( ! pMenu ) in ImplHighlightItem()
4139 sal_uInt16 nCount = (sal_uInt16)pMenu->pItemList->Count(); in ImplHighlightItem()
4143 if ( pMenu->ImplIsVisible( n ) ) in ImplHighlightItem()
4145 MenuItemData* pItemData = pMenu->pItemList->GetDataFromPos( n ); in ImplHighlightItem()
4148 if ( ( nOldY <= nMouseY ) && ( nY > nMouseY ) && pMenu->ImplIsSelectable( n ) ) in ImplHighlightItem()
4169 MenuItemData* pData = pMenu->pItemList->GetDataFromPos( n ); in ImplHighlightItem()
4209 Menu* pM = pMenu; in IMPL_LINK()
4219 pMenu->bInCallback = sal_True; in IMPL_LINK()
4220 pMenu->Deactivate(); in IMPL_LINK()
4221 pMenu->bInCallback = sal_False; in IMPL_LINK()
4225 if( pMenu ) in IMPL_LINK()
4229 if ( pMenu->pStartedFrom ) in IMPL_LINK()
4233 if ( pMenu->pStartedFrom->bIsMenuBar ) in IMPL_LINK()
4235 MenuBarWindow* p = (MenuBarWindow*) pMenu->pStartedFrom->ImplGetWindow(); in IMPL_LINK()
4237 p->PopupClosed( pMenu ); in IMPL_LINK()
4241 … MenuFloatingWindow* p = (MenuFloatingWindow*) pMenu->pStartedFrom->ImplGetWindow(); in IMPL_LINK()
4243 p->KillActivePopup( (PopupMenu*)pMenu ); in IMPL_LINK()
4263 if( ! pMenu ) in IMPL_LINK()
4266 MenuItemData* pItemData = pMenu->pItemList->GetDataFromPos( nHighlightedItem ); in IMPL_LINK()
4283 pData = pMenu->pItemList->GetDataFromPos( n ); in IMPL_LINK()
4286 pData = pMenu->pItemList->GetDataFromPos( nHighlightedItem ); in IMPL_LINK()
4314 …s, Rectangle( aItemTopLeft, aItemBottomRight ), FLOATWIN_POPUPMODE_RIGHT, pMenu, pTimer ? sal_Fals… in IMPL_LINK()
4328 if( pMenu && pMenu->pStartedFrom ) in IMPL_LINK()
4330 MenuFloatingWindow* pWin = (MenuFloatingWindow*) pMenu->pStartedFrom->GetWindow(); in IMPL_LINK()
4339 if( ! pMenu ) in IMPL_LINK()
4343 pMenu->ImplCallEventListeners( VCLEVENT_MENU_SHOW, ITEMPOS_INVALID ); in IMPL_LINK()
4345 pMenu->ImplCallEventListeners( VCLEVENT_MENU_HIDE, ITEMPOS_INVALID ); in IMPL_LINK()
4361 pSVData->maAppData.mpActivePopupMenu = (PopupMenu*)pMenu; in Execute()
4398 if( pMenu && pMenu->pStartedFrom ) in StopExecute()
4399 … pMenu->pStartedFrom->ImplCallEventListeners( VCLEVENT_MENU_SUBMENUDEACTIVATE, nPosInParent ); in StopExecute()
4433 Menu* pStart = pMenu ? pMenu->ImplGetStartMenu() : NULL; in EndExecute()
4449 pWin->pMenu->pStartedFrom && !pWin->pMenu->pStartedFrom->bIsMenuBar ) in EndExecute()
4451 pWin = ((PopupMenu*)pWin->pMenu->pStartedFrom)->ImplGetFloatingWindow(); in EndExecute()
4457 Menu* pM = pMenu; in EndExecute()
4479 if ( pMenu && pMenu->GetItemList()->GetData( nId, nPos ) ) in EndExecute()
4502 MenuItemData* pData = pMenu ? pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ) : NULL; in MouseButtonUp()
4537 MenuItemData* pData = pMenu ? pMenu->pItemList->GetDataFromPos( nHighlightedItem ) : NULL; in MouseMove()
4569 if( ! pMenu ) in ImplScroll()
4574 pMenu->ImplKillLayoutData(); in ImplScroll()
4578 nFirstEntry = pMenu->ImplGetPrevVisible( nFirstEntry ); in ImplScroll()
4581 long nScrollEntryHeight = pMenu->GetItemList()->GetDataFromPos( nFirstEntry )->aSz.Height(); in ImplScroll()
4591 if ( pMenu->ImplGetPrevVisible( nFirstEntry ) == ITEMPOS_INVALID ) in ImplScroll()
4601 long nScrollEntryHeight = pMenu->GetItemList()->GetDataFromPos( nFirstEntry )->aSz.Height(); in ImplScroll()
4603 nFirstEntry = pMenu->ImplGetNextVisible( nFirstEntry ); in ImplScroll()
4615 ((PopupMenu*)pMenu)->ImplCalcVisEntries( nHeight, nFirstEntry, &nLastVisible ); in ImplScroll()
4616 if ( pMenu->ImplGetNextVisible( nLastVisible ) == ITEMPOS_INVALID ) in ImplScroll()
4676 if( ! pMenu ) in ChangeHighlightItem()
4682 pMenu->ImplCallEventListeners( VCLEVENT_MENU_DEHIGHLIGHT, nHighlightedItem ); in ChangeHighlightItem()
4686 …DBG_ASSERT( pMenu->ImplIsVisible( nHighlightedItem ) || nHighlightedItem == ITEMPOS_INVALID, "Chan… in ChangeHighlightItem()
4689 if( pMenu->pStartedFrom && !pMenu->pStartedFrom->bIsMenuBar ) in ChangeHighlightItem()
4693 sal_uInt16 i, nCount = (sal_uInt16)pMenu->pStartedFrom->pItemList->Count(); in ChangeHighlightItem()
4696 pData = pMenu->pStartedFrom->pItemList->GetDataFromPos( i ); in ChangeHighlightItem()
4697 if( pData && ( pData->pSubMenu == pMenu ) ) in ChangeHighlightItem()
4702 … MenuFloatingWindow* pPWin = (MenuFloatingWindow*)pMenu->pStartedFrom->ImplGetWindow(); in ChangeHighlightItem()
4711 pMenu->SetHightlightItem(nHighlightedItem); in ChangeHighlightItem()
4712 pMenu->ImplCallHighlight( nHighlightedItem ); in ChangeHighlightItem()
4715 pMenu->nSelectedId = 0; in ChangeHighlightItem()
4732 if( ! pMenu ) in HighlightItem()
4740 if ( pMenu->pLogo ) in HighlightItem()
4741 nX = pMenu->pLogo->aBitmap.GetSizePixel().Width(); in HighlightItem()
4746 sal_uInt16 nCount = (sal_uInt16)pMenu->pItemList->Count(); in HighlightItem()
4749 MenuItemData* pData = pMenu->pItemList->GetDataFromPos( n ); in HighlightItem()
4752 DBG_ASSERT( pMenu->ImplIsVisible( n ), "Highlight: Item not visible!" ); in HighlightItem()
4772 MenupopupValue aVal( pMenu->nTextPos-GUTTERBORDER, aItemRect ); in HighlightItem()
4814 pMenu->ImplPaint( this, nScrollerHeight, nStartY, pData, bHighlight ); in HighlightItem()
4827 if( ! pMenu ) in ImplGetItemRect()
4836 if ( pMenu->pLogo ) in ImplGetItemRect()
4837 nX = pMenu->pLogo->aBitmap.GetSizePixel().Width(); in ImplGetItemRect()
4839 sal_uInt16 nCount = (sal_uInt16)pMenu->pItemList->Count(); in ImplGetItemRect()
4842 MenuItemData* pData = pMenu->pItemList->GetDataFromPos( n ); in ImplGetItemRect()
4845 DBG_ASSERT( pMenu->ImplIsVisible( n ), "ImplGetItemRect: Item not visible!" ); in ImplGetItemRect()
4865 if( ! pMenu ) in ImplCursorUpDown()
4876 n = pMenu->GetItemCount()-1; in ImplCursorUpDown()
4886 n = pMenu->GetItemCount(); in ImplCursorUpDown()
4904 n = pMenu->GetItemCount()-1; in ImplCursorUpDown()
4911 if ( n >= pMenu->GetItemCount() ) in ImplCursorUpDown()
4920 MenuItemData* pData = (MenuItemData*)pMenu->GetItemList()->GetDataFromPos( n ); in ImplCursorUpDown()
4922 …&& ( pData->eType != MENUITEM_SEPARATOR ) && pMenu->ImplIsVisible( n ) && pMenu->ImplIsSelectable(… in ImplCursorUpDown()
4934 ((PopupMenu*)pMenu)->ImplCalcVisEntries( aOutSz.Height(), nFirstEntry, &nLastVisible ); in ImplCursorUpDown()
4938 ((PopupMenu*)pMenu)->ImplCalcVisEntries( aOutSz.Height(), nFirstEntry, &nLastVisible ); in ImplCursorUpDown()
4974 if( pMenu ) in KeyInput()
4976 if ( !pMenu->pStartedFrom ) in KeyInput()
4981 else if ( pMenu->pStartedFrom->bIsMenuBar ) in KeyInput()
4984 … ((MenuBarWindow*)((MenuBar*)pMenu->pStartedFrom)->ImplGetWindow())->KeyInput( rKEvent ); in KeyInput()
4989 PopupMenu* pPopupMenu = (PopupMenu*)pMenu->pStartedFrom; in KeyInput()
5000 if ( pMenu && pMenu->pStartedFrom ) in KeyInput()
5003 if ( pMenu->pStartedFrom->bIsMenuBar ) in KeyInput()
5006 … ((MenuBarWindow*)((MenuBar*)pMenu->pStartedFrom)->ImplGetWindow())->KeyInput( rKEvent ); in KeyInput()
5010 … MenuFloatingWindow* pFloat = ((PopupMenu*)pMenu->pStartedFrom)->ImplGetFloatingWindow(); in KeyInput()
5021 if( pMenu ) in KeyInput()
5026 MenuItemData* pData = pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ); in KeyInput()
5035 Menu* pStart = pMenu->ImplGetStartMenu(); in KeyInput()
5047 if( pMenu ) in KeyInput()
5049 MenuItemData* pData = pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ); in KeyInput()
5064 if( pMenu ) in KeyInput()
5066 Menu* pStart = pMenu->ImplGetStartMenu(); in KeyInput()
5080 …MenuItemData* pData = (nCharCode && pMenu) ? pMenu->GetItemList()->SearchItem( nCharCode, rKEvent.… in KeyInput()
5113 if( ! pMenu ) in Paint()
5119 long nX = pMenu->pLogo ? pMenu->pLogo->aBitmap.GetSizePixel().Width() : 0; in Paint()
5122 ImplControlValue aVal( pMenu->nTextPos-GUTTERBORDER ); in Paint()
5136 pMenu->ImplPaint( this, nScrollerHeight, ImplGetStartY() ); in Paint()
5143 if( ! pMenu ) in ImplDrawScroller()
5150 long nX = pMenu->pLogo ? pMenu->pLogo->aBitmap.GetSizePixel().Width() : 0; in ImplDrawScroller()
5168 Menu* pM = pMenu; in RequestHelp()
5228 if ( pMenu && !pMenu->pStartedFrom ) in CreateAccessible()
5229 xAcc = pMenu->GetAccessible(); in CreateAccessible()
5241 pMenu = NULL; in MenuBarWindow()
5293 pMenu = pMen; in SetMenu()
5307 if( pMenu && pMenu->ImplGetSalMenu() ) in SetMenu()
5309 if( pMenu->ImplGetSalMenu()->VisibleMenuBar() ) in SetMenu()
5310 ImplGetFrame()->SetMenu( pMenu->ImplGetSalMenu() ); in SetMenu()
5312 pMenu->ImplGetSalMenu()->SetFrame( ImplGetFrame() ); in SetMenu()
5332 if( ! pMenu ) in IMPL_LINK()
5340 Application::PostUserEvent( ((MenuBar*)pMenu)->GetCloserHdl(), pMenu ); in IMPL_LINK()
5350 aArg.pMenuBar = dynamic_cast<MenuBar*>(pMenu); in IMPL_LINK()
5359 if( ! pMenu ) in IMPL_LINK()
5365 aArg.pMenuBar = dynamic_cast<MenuBar*>(pMenu); in IMPL_LINK()
5383 if( ! pMenu ) in IMPL_LINK()
5387 pMenu->ImplCallEventListeners( VCLEVENT_MENU_SHOW, ITEMPOS_INVALID ); in IMPL_LINK()
5389 pMenu->ImplCallEventListeners( VCLEVENT_MENU_HIDE, ITEMPOS_INVALID ); in IMPL_LINK()
5395 return pMenu ? ((MenuBar*)pMenu)->GetFloatButtonClickHdl().Call( pMenu ) : 0; in IMPL_LINK()
5400 return pMenu ? ((MenuBar*)pMenu)->GetHideButtonClickHdl().Call( pMenu ) : 0; in IMPL_LINK()
5405 … MenuItemData* pItemData = pMenu ? pMenu->GetItemList()->GetDataFromPos( nHighlightedItem ) : NULL; in ImplCreatePopup()
5420 pData = pMenu->GetItemList()->GetDataFromPos( n ); in ImplCreatePopup()
5423 pData = pMenu->pItemList->GetDataFromPos( nHighlightedItem ); in ImplCreatePopup()
5442 …is, Rectangle( aItemTopLeft, aItemBottomRight ), FLOATWIN_POPUPMODE_DOWN, pMenu, bPreSelectFirst ); in ImplCreatePopup()
5533 if( ! pMenu ) in ChangeHighlightItem()
5537 MenuItemData* pNextData = pMenu->pItemList->GetDataFromPos( n ); in ChangeHighlightItem()
5573 pMenu->bInCallback = sal_True; // hier schon setzen, falls Activate ueberladen in ChangeHighlightItem()
5574 pMenu->Activate(); in ChangeHighlightItem()
5575 pMenu->bInCallback = sal_False; in ChangeHighlightItem()
5580 pMenu->bInCallback = sal_True; in ChangeHighlightItem()
5581 pMenu->Deactivate(); in ChangeHighlightItem()
5582 pMenu->bInCallback = sal_False; in ChangeHighlightItem()
5598 pMenu->ImplCallEventListeners( VCLEVENT_MENU_DEHIGHLIGHT, nHighlightedItem ); in ChangeHighlightItem()
5602 …DBG_ASSERT( ( nHighlightedItem == ITEMPOS_INVALID ) || pMenu->ImplIsVisible( nHighlightedItem ), "… in ChangeHighlightItem()
5604 pMenu->SetHightlightItem(nHighlightedItem); in ChangeHighlightItem()
5605 pMenu->ImplCallHighlight( nHighlightedItem ); in ChangeHighlightItem()
5617 if( ! pMenu ) in HighlightItem()
5621 sal_uLong nCount = pMenu->pItemList->Count(); in HighlightItem()
5624 MenuItemData* pData = pMenu->pItemList->GetDataFromPos( n ); in HighlightItem()
5684 pMenu->ImplPaint( this, 0, 0, pData, bHighlight ); in HighlightItem()
5696 if( pMenu ) in ImplGetItemRect()
5699 sal_uLong nCount = pMenu->pItemList->Count(); in ImplGetItemRect()
5702 MenuItemData* pData = pMenu->pItemList->GetDataFromPos( n ); in ImplGetItemRect()
5725 if( ! pMenu ) in ImplHandleKeyEvent()
5728 if ( pMenu->bInCallback ) in ImplHandleKeyEvent()
5771 n = pMenu->GetItemCount()-1; in ImplHandleKeyEvent()
5790 { n = pMenu->GetItemCount(); nLoop = n-1; } in ImplHandleKeyEvent()
5799 n = pMenu->GetItemCount()-1; in ImplHandleKeyEvent()
5804 if ( n >= pMenu->GetItemCount() ) in ImplHandleKeyEvent()
5808 MenuItemData* pData = (MenuItemData*)pMenu->GetItemList()->GetDataFromPos( n ); in ImplHandleKeyEvent()
5809 if ( ( pData->eType != MENUITEM_SEPARATOR ) && pMenu->ImplIsVisible( n ) ) in ImplHandleKeyEvent()
5873 …MenuItemData* pData = pMenu->GetItemList()->SearchItem( nCharCode, rKEvent.GetKeyCode(), nEntry, n… in ImplHandleKeyEvent()
5895 if( ! pMenu ) in Paint()
5899 if( pMenu->ImplGetSalMenu() && pMenu->ImplGetSalMenu()->VisibleMenuBar() ) in Paint()
5917 pMenu->ImplPaint( this, 0 ); in Paint()
5973 if( pMenu ) in ImplFindEntry()
5976 sal_uInt16 nCount = (sal_uInt16)pMenu->pItemList->Count(); in ImplFindEntry()
5979 MenuItemData* pData = pMenu->pItemList->GetDataFromPos( n ); in ImplFindEntry()
5980 if ( pMenu->ImplIsVisible( n ) ) in ImplFindEntry()
5998 if( !ImplHandleHelpEvent( this, pMenu, nId, rHEvt, aHighlightRect ) ) in RequestHelp()
6012 else if( pMenu ) in StateChanged()
6013 pMenu->ImplKillLayoutData(); in StateChanged()
6019 if( pMenu ) in ImplLayoutChanged()
6023 long nHeight = pMenu->ImplCalcSize( this ).Height(); in ImplLayoutChanged()
6027 if( !((MenuBar*) pMenu)->IsDisplayable() || in ImplLayoutChanged()
6028 ( pMenu->ImplGetSalMenu() && pMenu->ImplGetSalMenu()->VisibleMenuBar() ) ) in ImplLayoutChanged()
6035 if( pMenu ) in ImplLayoutChanged()
6036 pMenu->ImplKillLayoutData(); in ImplLayoutChanged()
6090 if ( pMenu ) in CreateAccessible()
6091 xAcc = pMenu->GetAccessible(); in CreateAccessible()
6119 if( pMenu->mpSalMenu ) in AddMenuBarButton()
6120 pMenu->mpSalMenu->AddMenuBarButton( SalMenuButtonItem( nId, i_rImage, i_rToolTip ) ); in AddMenuBarButton()
6137 if( pMenu->mpSalMenu ) in GetMenuBarButtonRectPixel()
6139 … aRect = pMenu->mpSalMenu->GetMenuBarButtonRectPixel( nId, ImplGetWindowImpl()->mpFrame ); in GetMenuBarButtonRectPixel()
6165 if( pMenu->mpSalMenu ) in RemoveMenuBarButton()
6166 pMenu->mpSalMenu->RemoveMenuBarButton( nId ); in RemoveMenuBarButton()
6177 aArg.pMenuBar = dynamic_cast<MenuBar*>(pMenu); in HandleMenuButtonEvent()
6183 ImplMenuDelData::ImplMenuDelData( const Menu* pMenu ) in ImplMenuDelData() argument
6187 if( pMenu ) in ImplMenuDelData()
6188 const_cast< Menu* >( pMenu )->ImplAddDel( *this ); in ImplMenuDelData()