Lines Matching refs:pMenu
127 void SfxMenuControl::SetOwnMenu( SfxVirtualMenu* pMenu ) in SetOwnMenu() argument
129 pOwnMenu = pMenu; in SetOwnMenu()
131 pSubMenu->SetParentMenu( pMenu ); in SetOwnMenu()
294 Menu* pMenu = pOwnMenu->GetSVMenu(); in StateChanged() local
295 pMenu->SetItemBits( GetId() , pMenu->GetItemBits( GetId() ) | MIB_CHECKABLE); in StateChanged()
304 Menu* pMenu = pOwnMenu->GetSVMenu(); in StateChanged() local
305 pMenu->SetItemBits( GetId() , pMenu->GetItemBits( GetId() ) | MIB_CHECKABLE); in StateChanged()
441 : SfxMenuControl( nPos, rBindings ), pMenu(0) in SfxAppMenuControl_Impl()
454 …pMenu = aConf.CreateBookmarkMenu( aXFrame, GetId() == SID_NEWDOCDIRECT ? BOOKMARK_NEWMENU : BOOKMA… in SfxAppMenuControl_Impl()
455 if( pMenu ) in SfxAppMenuControl_Impl()
457 pMenu->SetSelectHdl( Link( &(this->GetBindings()), Select_Impl ) ); in SfxAppMenuControl_Impl()
458 pMenu->SetActivateHdl( LINK(this, SfxAppMenuControl_Impl, Activate) ); in SfxAppMenuControl_Impl()
459 rMenu.SetPopupMenu( nPos, pMenu ); in SfxAppMenuControl_Impl()
465 delete pMenu; in ~SfxAppMenuControl_Impl()
496 (::framework::MenuConfiguration::Attributes*)pMenu->GetUserValue( nItemId ); in IMPL_LINK()
584 Menu* pMenu = (Menu*)pVoid; in Select_Impl() local
585 String aURL( pMenu->GetItemCommand( pMenu->GetCurItemId() ) ); in Select_Impl()
612 … (::framework::MenuConfiguration::Attributes*)pMenu->GetUserValue( pMenu->GetCurItemId() ); in Select_Impl()