/trunk/main/sw/source/ui/ribbar/ |
H A D | workctrl.cxx | 219 pPopup(0), in SwTbxAutoTextCtrl() 262 pPopup->RemoveItem(pPopup->GetItemPos(FN_INSERT_FLD_PGCOUNT)); in CreatePopupWindow() 263 pPopup->RemoveItem(pPopup->GetItemPos(FN_INSERT_FLD_TOPIC)); in CreatePopupWindow() 268 pPopup = new PopupMenu; in CreatePopupWindow() 409 if(pPopup) in DelPopup() 415 PopupMenu* pSubPopup = pPopup->GetPopupMenu(pPopup->GetItemId(i)); in DelPopup() 419 delete pPopup; in DelPopup() 420 pPopup = 0; in DelPopup() 665 pPopup = new in Click() 671 SetPopupWindow( pPopup ); in Click() [all …]
|
/trunk/main/svx/source/mnuctrls/ |
H A D | clipboardctl.cxx | 54 pPopup (0), in SvxClipBoardControl() 77 if (pPopup) in CreatePopupWindow() 78 pPopup->Clear(); in CreatePopupWindow() 80 pPopup = new PopupMenu; in CreatePopupWindow() 89 pPopup->InsertItem( (sal_uInt16)nFmtID, aFmtStr ); in CreatePopupWindow() 96 pPopup->Execute( &rBox, rBox.GetItemRect( nId ), in CreatePopupWindow() 102 SfxUInt32Item aItem( SID_CLIPBOARD_FORMAT_ITEMS, pPopup->GetCurItemId() ); in CreatePopupWindow() 150 if(pPopup) in DelPopup() 152 delete pPopup; in DelPopup() 153 pPopup = 0; in DelPopup()
|
/trunk/main/sfx2/source/menu/ |
H A D | virtmenu.cxx | 398 PopupMenu* pPopup = pSVMenu->GetPopupMenu(nSlotId); in CreateFromSVMenu() local 403 DELETEZ( pPopup ); in CreateFromSVMenu() 409 if ( pPopup ) in CreateFromSVMenu() 420 if ( pSVMenu->GetPopupMenu( nSlotId ) == pPopup ) in CreateFromSVMenu() 422 delete pPopup; in CreateFromSVMenu() 423 pPopup = 0; in CreateFromSVMenu() 715 if ( pPopup ) in UpdateImages() 716 UpdateImages( pPopup ); in UpdateImages() 735 PopupMenu* pPopup = pMenu->GetPopupMenu( nSlotId ); in RemoveMenuImages() local 738 if ( pPopup ) in RemoveMenuImages() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | edit.cxx | 2095 PopupMenu* pPopup = Edit::CreatePopupMenu(); in Command() local 2102 pPopup->EnableItem( SV_MENU_EDIT_CUT, sal_False ); in Command() 2103 pPopup->EnableItem( SV_MENU_EDIT_COPY, sal_False ); in Command() 2109 pPopup->EnableItem( SV_MENU_EDIT_CUT, sal_False ); in Command() 2131 pPopup->EnableItem( SV_MENU_EDIT_PASTE, bData ); in Command() 2135 pPopup->EnableItem( SV_MENU_EDIT_UNDO, sal_False ); in Command() 2141 pPopup->RemoveItem( nPos ); in Command() 2142 pPopup->RemoveItem( nPos-1 ); in Command() 2154 sal_uInt16 n = pPopup->Execute( this, aPos ); in Command() 2155 Edit::DeletePopupMenu( pPopup ); in Command() [all …]
|
/trunk/main/cui/source/customize/ |
H A D | cfg.cxx | 2467 pPopup->EnableItem( ID_RENAME, sal_False ); in UpdateButtonStates() 2486 pPopup->EnableItem( ID_DELETE, sal_True ); in UpdateButtonStates() 2495 pPopup->EnableItem( ID_DELETE, sal_True ); in UpdateButtonStates() 2496 pPopup->EnableItem( ID_RENAME, sal_True ); in UpdateButtonStates() 4572 pPopup->EnableItem( ID_DELETE, sal_False ); in UpdateButtonStates() 4591 pPopup->EnableItem( ID_DELETE, sal_True ); in UpdateButtonStates() 4595 pPopup->EnableItem( ID_DELETE, sal_True ); in UpdateButtonStates() 4596 pPopup->EnableItem( ID_RENAME, sal_True ); in UpdateButtonStates() 4657 pPopup->CheckItem( ID_ICONS_ONLY ); in IMPL_LINK() 4662 pPopup->CheckItem( ID_TEXT_ONLY ); in IMPL_LINK() [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | svmedit.cxx | 856 PopupMenu* pPopup = Edit::CreatePopupMenu(); in Command() local 862 pPopup->EnableItem( SV_MENU_EDIT_CUT, sal_False ); in Command() 863 pPopup->EnableItem( SV_MENU_EDIT_COPY, sal_False ); in Command() 864 pPopup->EnableItem( SV_MENU_EDIT_DELETE, sal_False ); in Command() 868 pPopup->EnableItem( SV_MENU_EDIT_CUT, sal_False ); in Command() 869 pPopup->EnableItem( SV_MENU_EDIT_PASTE, sal_False ); in Command() 875 pPopup->EnableItem( SV_MENU_EDIT_UNDO, sal_False ); in Command() 884 pPopup->RemoveItem( nPos ); in Command() 885 pPopup->RemoveItem( nPos-1 ); in Command() 897 sal_uInt16 n = pPopup->Execute( this, aPos ); in Command() [all …]
|
/trunk/main/framework/source/uielement/ |
H A D | menubarmanager.cxx | 1324 PopupMenu* pPopup = pMenu->GetPopupMenu( nItemId ); in FillMenuManager() local 1330 if ( pPopup ) in FillMenuManager() 1341 pPopup->GetItemCount() == 0 && in FillMenuManager() 1355 delete pPopup; in FillMenuManager() 1385 CheckAndAddMenuExtension( pPopup ); in FillMenuManager() 1395 if ( pPopup->GetItemType( nCount-1 ) != MENUITEM_SEPARATOR ) in FillMenuManager() 1396 pPopup->InsertSeparator(); in FillMenuManager() 1400 pPopup->InsertItem( ITEMID_ADDONLIST, aAddonsStrRes ); in FillMenuManager() 1401 pPopup->SetPopupMenu( ITEMID_ADDONLIST, pSubMenu ); in FillMenuManager() 1407 pPopup->SetItemCommand( ITEMID_ADDONLIST, aNewItemCommand ); in FillMenuManager() [all …]
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | dbtreelistbox.cxx | 542 PopupMenu* pPopup = _rMenu.GetPopupMenu( nId ); in lcl_adjustMenuItemIDs() local 543 if ( pPopup ) in lcl_adjustMenuItemIDs() 545 lcl_adjustMenuItemIDs( *pPopup, _rCommandController ); in lcl_adjustMenuItemIDs() 580 PopupMenu* pPopup = _rMenu.GetPopupMenu( nId ); in lcl_insertMenuItemImages() local 581 if ( pPopup ) in lcl_insertMenuItemImages() 583 lcl_insertMenuItemImages( *pPopup, _rCommandController ); in lcl_insertMenuItemImages()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewling.cxx | 738 std::auto_ptr< SwSpellPopup > pPopup; in ExecSpellPopup() local 743 …pPopup = std::auto_ptr< SwSpellPopup >(new SwSpellPopup( pWrtShell, aGrammarCheckRes, nErrorInResu… in ExecSpellPopup() 746 … pPopup = std::auto_ptr< SwSpellPopup >(new SwSpellPopup( pWrtShell, xAlt, aParaText )); in ExecSpellPopup() 757 if(TryContextMenuInterception( *pPopup, sMenuName, pMenu, aEvent )) in ExecSpellPopup() 770 pPopup->Execute(nId); in ExecSpellPopup() 815 pPopup->Execute( aToFill.SVRect(), pEditWin ); in ExecSpellPopup()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | navipi.cxx | 505 SwScrollNaviPopup* pPopup = new in CreateNavigationTool() local 512 …aT1 = pPopup->GetParent()->OutputToScreenPixel(pPopup->GetParent()->AbsoluteScreenToOutputPixel(aC… in CreateNavigationTool() 514 pPopup->StartPopupMode(aRect, FLOATWIN_POPUPMODE_RIGHT|FLOATWIN_POPUPMODE_ALLOWTEAROFF); in CreateNavigationTool() 515 SetPopupWindow( pPopup ); in CreateNavigationTool() 518 pPopup->EndPopupMode(FLOATWIN_POPUPMODEEND_TEAROFF); in CreateNavigationTool() 519 pPopup->GrabFocus(); in CreateNavigationTool()
|
H A D | uitool.cxx | 760 PopupMenu* pPopup = rMenu.GetPopupMenu( rMenu.GetItemId( nItem ) ); in ExecuteMenuCommand() local 761 if(pPopup) in ExecuteMenuCommand() 763 sCommand = pPopup->GetItemCommand(nId); in ExecuteMenuCommand()
|
/trunk/main/cui/source/tabpages/ |
H A D | tpline.cxx | 1679 PopupMenu* pPopup = new PopupMenu; in IMPL_LINK() local 1717 pPopup->InsertItem(pInfo->nItemId, *pUIName, aImage ); in IMPL_LINK() 1722 pPopup->InsertItem(pInfo->nItemId, *pUIName, aImage ); in IMPL_LINK() 1725 aSymbolMB.GetPopupMenu()->SetPopupMenu( MN_GALLERY, pPopup ); in IMPL_LINK() 1745 PopupMenu* pPopup = new PopupMenu; in IMPL_LINK() local 1800 pPopup->InsertItem(pInfo->nItemId,*pStr,aImage); in IMPL_LINK() 1805 aSymbolMB.GetPopupMenu()->SetPopupMenu( MN_SYMBOLS, pPopup ); in IMPL_LINK() 1819 PopupMenu* pPopup = pThis->aSymbolMB.GetPopupMenu()->GetPopupMenu( MN_GALLERY ); in IMPL_STATIC_LINK() local 1846 pPopup->SetItemImage( pBmpInfo->nItemId, aImage ); in IMPL_STATIC_LINK()
|
H A D | numpages.cxx | 1364 PopupMenu* pPopup = new PopupMenu; in SvxNumOptionsTabPage() local 1365 aBitmapMB.GetPopupMenu()->SetPopupMenu( MN_GALLERY, pPopup ); in SvxNumOptionsTabPage() 1367 pPopup->InsertItem( NUM_NO_GRAPHIC, String(CUI_RES(ST_POPUP_EMPTY_ENTRY)) ); in SvxNumOptionsTabPage() 1368 pPopup->EnableItem( NUM_NO_GRAPHIC, sal_False ); in SvxNumOptionsTabPage() 2332 PopupMenu* pPopup = aBitmapMB.GetPopupMenu()->GetPopupMenu( MN_GALLERY ); in IMPL_LINK() local 2336 pPopup->RemoveItem( pPopup->GetItemPos( NUM_NO_GRAPHIC )); in IMPL_LINK() 2362 pPopup->InsertItem(MN_GALLERY_ENTRY + i, sGrfName, aImage ); in IMPL_LINK() 2367 pPopup->InsertItem( in IMPL_LINK()
|
/trunk/main/automation/source/server/ |
H A D | sta_list.cxx | 562 PopupMenu* pPopup = pBaseMenu->GetPopupMenu( pBaseMenu->GetItemId( i ) ); in GetMatchingMenu() local 563 if ( pPopup && pPopup->GetWindow() ) in GetMatchingMenu() 565 if ( pPopup->GetWindow() == pWin ) in GetMatchingMenu() 566 return pPopup; in GetMatchingMenu() 569 pBaseMenu = pPopup; in GetMatchingMenu()
|
H A D | statemnt.cxx | 513 PopupMenu *pPopup = NULL; in Execute() local 518 if ( pPopup ) in Execute() 522 pPopup->EndExecute(0); in Execute() 2739 PopupMenu *pPopup = NULL; in Execute() local 2891 if ( pPopup ) in Execute() 2892 pPopup->SelectEntry(nNr1); in Execute() 2898 if ( pPopup ) in Execute() 2900 pPopup->EndExecute(nNr1); in Execute() 3673 pMenu = pPopup; in GetCurrentMenues() 3679 pMenu = pPopup; in GetCurrentMenues() [all …]
|
H A D | statemnt.hxx | 254 sal_uInt16 GetCurrentMenues( PopupMenu *&pPopup, MenuBar *&pMenuBar, Menu *&pMenu );
|
/trunk/main/framework/source/dispatch/ |
H A D | menudispatcher.cxx | 279 PopupMenu* pPopup = pMenu->GetPopupMenu(nId); in impl_setAccelerators() local 280 if ( pPopup ) in impl_setAccelerators() 281 impl_setAccelerators( (Menu *)pPopup, aAccel ); in impl_setAccelerators()
|
/trunk/main/sw/source/ui/inc/ |
H A D | workctrl.hxx | 95 PopupMenu* pPopup; member in SwTbxAutoTextCtrl 167 SwScrollNaviPopup* pPopup; member in SwNaviImageButton
|
/trunk/main/svtools/source/uno/ |
H A D | contextmenuhelper.cxx | 247 const PopupMenu* pPopup = lcl_FindPopupFromItemId( pPopupMenu, nItemId ); in lcl_GetItemCommandRecursive() local 248 if ( pPopup ) in lcl_GetItemCommandRecursive() 249 return pPopup->GetItemCommand( nItemId ); in lcl_GetItemCommandRecursive()
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpbox.cxx | 3106 void lcl_DeleteSubPopups(PopupMenu* pPopup) in lcl_DeleteSubPopups() argument 3108 for(sal_uInt16 i = 0; i < pPopup->GetItemCount(); i++) in lcl_DeleteSubPopups() 3110 PopupMenu* pSubPopup = pPopup->GetPopupMenu( pPopup->GetItemId( i )); in lcl_DeleteSubPopups() 3209 PopupMenu* pPopup = pView->CreateContextMenu(); in Command() local 3211 if( pPopup ) in Command() 3214 sal_uInt16 nMenuAction = pPopup->Execute( pView, aPopupPos ); in Command() 3217 lcl_DeleteSubPopups(pPopup); in Command() 3218 delete pPopup; in Command()
|
/trunk/main/vcl/source/window/ |
H A D | menu.cxx | 4414 PopupMenu* pPopup = pActivePopup; in KillActivePopup() local 4416 pPopup->bInCallback = sal_True; in KillActivePopup() 4417 pPopup->Deactivate(); in KillActivePopup() 4418 pPopup->bInCallback = sal_False; in KillActivePopup() 4419 if ( pPopup->ImplGetWindow() ) in KillActivePopup() 4421 pPopup->ImplGetFloatingWindow()->StopExecute(); in KillActivePopup() 4422 pPopup->ImplGetFloatingWindow()->doShutdown(); in KillActivePopup() 4423 pPopup->pWindow->doLazyDelete(); in KillActivePopup() 4424 pPopup->pWindow = NULL; in KillActivePopup() 5482 void MenuBarWindow::PopupClosed( Menu* pPopup ) in PopupClosed() argument [all …]
|
/trunk/main/sfx2/source/inc/ |
H A D | mnucfga.hxx | 41 SfxMenuCfgItemArr* pPopup; // pointer to a popup menu (if any) member
|
/trunk/main/svx/inc/svx/ |
H A D | clipboardctl.hxx | 41 PopupMenu* pPopup; member in SvxClipBoardControl
|
/trunk/main/sfx2/source/view/ |
H A D | viewsh.cxx | 2104 PopupMenu* pPopup = pMenu->GetPopupMenu(nId); in Change() local 2105 if ( pPopup ) in Change() 2107 Change( pPopup, pView ); in Change()
|