Lines Matching refs:pMenu
855 ::boost::shared_ptr<PopupMenu> pMenu = CreatePopupMenu(rMenuData); in ShowPopupMenu()
856 pMenu->SetSelectHdl(LINK(this, SidebarController, OnMenuItemSelected)); in ShowPopupMenu()
861 pMenu->Execute(mpParentWindow, aBox, POPUPMENU_EXECUTE_DOWN); in ShowPopupMenu()
890 ::boost::shared_ptr<PopupMenu> pMenu (new PopupMenu()); in CreatePopupMenu()
891 FloatingWindow* pMenuWindow = dynamic_cast<FloatingWindow*>(pMenu->GetWindow()); in CreatePopupMenu()
912 pMenu->InsertItem(nMenuIndex, iItem->msDisplayName, MIB_RADIOCHECK); in CreatePopupMenu()
913 pMenu->CheckItem(nMenuIndex, iItem->mbIsCurrentDeck ? sal_True : sal_False); in CreatePopupMenu()
914 … pMenu->EnableItem(nMenuIndex, (iItem->mbIsEnabled&&iItem->mbIsActive) ? sal_True : sal_False); in CreatePopupMenu()
930 pMenu->InsertSeparator(); in CreatePopupMenu()
934 pMenu->InsertItem(MID_LOCK_TASK_PANEL, String(SfxResId(STR_SFX_DOCK))); in CreatePopupMenu()
936 pMenu->InsertItem(MID_UNLOCK_TASK_PANEL, String(SfxResId(STR_SFX_UNDOCK))); in CreatePopupMenu()
941 pMenu->InsertItem(MID_CUSTOMIZATION, String(SfxResId(STRING_CUSTOMIZATION))); in CreatePopupMenu()
942 pMenu->SetPopupMenu(MID_CUSTOMIZATION, pCustomizationMenu); in CreatePopupMenu()
944 pMenu->RemoveDisabledEntries(sal_False, sal_False); in CreatePopupMenu()
946 return pMenu; in CreatePopupMenu()
952 IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu) in IMPL_LINK() argument
954 if (pMenu == NULL) in IMPL_LINK()
956 … OSL_ENSURE(pMenu!=NULL, "sfx2::sidebar::SidebarController::OnMenuItemSelected: illegal menu!"); in IMPL_LINK()
960 pMenu->Deactivate(); in IMPL_LINK()
961 const sal_Int32 nIndex (pMenu->GetCurItemId()); in IMPL_LINK()
983 if (pMenu->GetItemBits(nIndex) == MIB_CHECKABLE) in IMPL_LINK()