Lines Matching refs:pItemHandler

366             MenuItemHandler* pItemHandler = *p;  in Destroy()  local
367 pItemHandler->xMenuItemDispatch.clear(); in Destroy()
368 pItemHandler->xSubMenuManager.clear(); in Destroy()
369 pItemHandler->xPopupMenu.clear(); in Destroy()
370 delete pItemHandler; in Destroy()
502 MenuItemHandler* pItemHandler = *p; in frameAction() local
503 pItemHandler->xMenuItemDispatch.clear(); in frameAction()
617 MenuItemHandler* pItemHandler = *p; in GetMenuItemHandler() local
618 if ( pItemHandler->nItemId == nItemId ) in GetMenuItemHandler()
619 return pItemHandler; in GetMenuItemHandler()
636 MenuItemHandler* pItemHandler = m_aMenuItemHandlerVector[i]; in RequestImages() local
637 if ( pItemHandler->xSubMenuManager.is() ) in RequestImages()
639 … MenuBarManager* pMenuBarManager = (MenuBarManager*)(pItemHandler->xSubMenuManager.get()); in RequestImages()
660 MenuItemHandler* pItemHandler = *p; in RemoveListener() local
661 if ( pItemHandler->xMenuItemDispatch.is() ) in RemoveListener()
664 aTargetURL.Complete = pItemHandler->aMenuItemURL; in RemoveListener()
667 pItemHandler->xMenuItemDispatch->removeStatusListener( in RemoveListener()
671 pItemHandler->xMenuItemDispatch.clear(); in RemoveListener()
672 if ( pItemHandler->xPopupMenu.is() ) in RemoveListener()
677 m_pVCLMenu->SetPopupMenu( pItemHandler->nItemId, 0 ); in RemoveListener()
680 …Reference< com::sun::star::lang::XEventListener > xEventListener( pItemHandler->xPopupMenuControll… in RemoveListener()
693 … Reference< XComponent > xComponent( pItemHandler->xPopupMenuController, UNO_QUERY ); in RemoveListener()
706 pItemHandler->xPopupMenuController.clear(); in RemoveListener()
707 pItemHandler->xPopupMenu.clear(); in RemoveListener()
710 Reference< XComponent > xComponent( pItemHandler->xSubMenuManager, UNO_QUERY ); in RemoveListener()
1348 … MenuItemHandler* pItemHandler = new MenuItemHandler( nItemId, xStatusListener, xDispatch ); in FillMenuManager() local
1352pItemHandler->xPopupMenu = Reference< com::sun::star::awt::XPopupMenu >( (OWeakObject *)pVCLXPopup… in FillMenuManager()
1353 pItemHandler->aMenuItemURL = aItemCommand; in FillMenuManager()
1354 m_aMenuItemHandlerVector.push_back( pItemHandler ); in FillMenuManager()
1359 if ( CreatePopupMenuController( pItemHandler )) in FillMenuManager()
1360 pItemHandler->xPopupMenuController->updatePopupMenu(); in FillMenuManager()
1476 … MenuItemHandler* pItemHandler = new MenuItemHandler( nItemId, xStatusListener, xDispatch ); in FillMenuManager() local
1477 pItemHandler->aMenuItemURL = aItemCommand; in FillMenuManager()
1487 pMenu->SetPopupMenu( pItemHandler->nItemId, pPopupMenu ); in FillMenuManager()
1488pItemHandler->xPopupMenu = Reference< com::sun::star::awt::XPopupMenu >( (OWeakObject *)pVCLXPopup… in FillMenuManager()
1490 if ( bAccessibilityEnabled && CreatePopupMenuController( pItemHandler ) ) in FillMenuManager()
1492 pItemHandler->xPopupMenuController->updatePopupMenu(); in FillMenuManager()
1495 lcl_CheckForChildren(pMenu, pItemHandler->nItemId); in FillMenuManager()
1498 m_aMenuItemHandlerVector.push_back( pItemHandler ); in FillMenuManager()
1940 MenuItemHandler* pItemHandler = *p; in SetItemContainer() local
1941 pItemHandler->xMenuItemDispatch.clear(); in SetItemContainer()
1942 pItemHandler->xSubMenuManager.clear(); in SetItemContainer()
1943 delete pItemHandler; in SetItemContainer()
1974 MenuItemHandler* pItemHandler = *p; in GetPopupController() local
1975 if ( pItemHandler->xPopupMenuController.is() ) in GetPopupController()
1977 … Reference< XDispatchProvider > xDispatchProvider( pItemHandler->xPopupMenuController, UNO_QUERY ); in GetPopupController()
1986 rtl::OUString aMenuURL( pItemHandler->aMenuItemURL ); in GetPopupController()
2002 if ( pItemHandler->xSubMenuManager.is() ) in GetPopupController()
2004 … MenuBarManager* pMenuBarManager = (MenuBarManager*)(pItemHandler->xSubMenuManager.get()); in GetPopupController()