Home
last modified time | relevance | path

Searched refs:pMenu (Results 1 – 25 of 128) sorted by relevance

123456

/aoo41x/main/vcl/source/window/
H A Dmenu.cxx266 aSalMIData.pMenu = pMenu; in Insert()
1204 pMenu = ( pMenu->pStartedFrom != pMenu ) ? pMenu->pStartedFrom : NULL; in ImplCallEventListeners()
4041 if( !bKeyInput && pMenu && pMenu->pStartedFrom && !pMenu->pStartedFrom->bIsMenuBar ) in doShutdown()
4106 if ( pMenu && pMenu->pLogo && !bIncludeLogo ) in ImplCalcClipRegion()
4328 if( pMenu && pMenu->pStartedFrom ) in IMPL_LINK()
4398 if( pMenu && pMenu->pStartedFrom ) in StopExecute()
5000 if ( pMenu && pMenu->pStartedFrom ) in KeyInput()
5228 if ( pMenu && !pMenu->pStartedFrom ) in CreateAccessible()
5307 if( pMenu && pMenu->ImplGetSalMenu() ) in SetMenu()
5395 return pMenu ? ((MenuBar*)pMenu)->GetFloatButtonClickHdl().Call( pMenu ) : 0; in IMPL_LINK()
[all …]
/aoo41x/main/sfx2/source/menu/
H A Dvirtmenu.cxx80 SfxVirtualMenu* pMenu; member in SfxMenuImageControl_Impl
561 if ( pMenu == pSVMenu ) in IMPL_LINK()
689 if ( !pMenu ) in UpdateImages()
731 if ( !pMenu ) in RemoveMenuImages()
885 pMenu->InsertSeparator(); in InsertAddOnsMenuItem()
915 if ( pMenu ) in IMPL_LINK()
927 if ( pMenu == pSVMenu ) in IMPL_LINK()
985 if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MENUITEM_SEPARATOR ) in IMPL_LINK()
986 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in IMPL_LINK()
992 pMenu->InsertSeparator(); in IMPL_LINK()
[all …]
H A Dmnumgr.cxx104 pMenu->SetMenuFlags( pMenu->GetMenuFlags() | MENU_FLAG_HIDEDISABLEDENTRIES ); in TryToHideDisabledEntries_Impl()
111 : pMenu(0), in SfxMenuManager()
127 delete pMenu; in ~SfxMenuManager()
136 pMenu = &rMenu; in Construct()
280 if (pMenu) in UseDefault()
282 pOldVirtMenu = pMenu; in UseDefault()
365 if ( pMenu ) in Construct_Impl()
469 Construct( *pMenu ); in EndInsert()
508 : pMenu(0), in SfxMenuManager()
562 if ( pMenu ) in Popup()
[all …]
H A Dmnuitem.cxx129 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()
455 if( pMenu ) in SfxAppMenuControl_Impl()
465 delete pMenu; in ~SfxAppMenuControl_Impl()
584 Menu* pMenu = (Menu*)pVoid; in Select_Impl() local
585 String aURL( pMenu->GetItemCommand( pMenu->GetCurItemId() ) ); in Select_Impl()
[all …]
/aoo41x/main/framework/source/classes/
H A Dmenumanager.cxx146 m_pVCLMenu = pMenu; in MenuManager()
685 pMenu->RemoveItem( n ); in UpdateSpecialFileMenu()
689 if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MENUITEM_SEPARATOR ) in UpdateSpecialFileMenu()
690 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in UpdateSpecialFileMenu()
706 pMenu->InsertSeparator(); in UpdateSpecialFileMenu()
821 if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MENUITEM_SEPARATOR ) in UpdateSpecialWindowMenu()
822 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in UpdateSpecialWindowMenu()
828 pMenu->InsertSeparator(); in UpdateSpecialWindowMenu()
888 if ( pMenu == m_pVCLMenu ) in IMPL_LINK()
999 if ( pMenu == m_pVCLMenu ) in IMPL_LINK()
[all …]
/aoo41x/main/framework/source/uielement/
H A Dmenubarmanager.cxx849 if ( pMenu == m_pVCLMenu ) in IMPL_LINK()
859 sal_uInt16 nFlag = pMenu->GetMenuFlags(); in IMPL_LINK()
864 pMenu->SetMenuFlags( nFlag ); in IMPL_LINK()
1050 if ( pMenu == m_pVCLMenu ) in IMPL_LINK()
1095 if ( pMenu == m_pVCLMenu && in IMPL_LINK()
1264 m_pVCLMenu = pMenu; in FillMenuManager()
1279 if ( pMenu->IsMenuBar() && rFrame.is() ) in FillMenuManager()
1367 lcl_CheckForChildren(pMenu, nItemId); in FillMenuManager()
1810 pMenu->HideItem( nId ); in FillMenu()
1840 pMenu->InsertSeparator(); in FillMenu()
[all …]
H A Dmenubarmerger.cxx96 Menu* pMenu ) in FindReferencePath() argument
100 Menu* pCurrMenu( pMenu ); in FindReferencePath()
204 Menu* pMenu, in MergeMenuItems() argument
221 pMenu->InsertSeparator( nPos+nModIndex+nIndex ); in MergeMenuItems()
230 pMenu->SetPopupMenu( nItemId, pSubMenu ); in MergeMenuItems()
246 Menu* pMenu, in ReplaceMenuItem() argument
254 pMenu->RemoveItem( nPos ); in ReplaceMenuItem()
260 Menu* pMenu, in RemoveMenuItems() argument
270 while (( nPos < pMenu->GetItemCount() ) && ( i < nCount )) in RemoveMenuItems()
272 pMenu->RemoveItem( nPos ); in RemoveMenuItems()
[all …]
H A Dgenerictoolbarcontroller.cxx329 …viceManager, rFrame, pToolBar, nID, aCommand ), m_xMenuDesc( xMenuDesc ), pMenu( NULL ), m_aModule… in MenuToolbarController()
341 if ( pMenu ) in ~MenuToolbarController()
343 delete pMenu; in ~MenuToolbarController()
344 pMenu = NULL; in ~MenuToolbarController()
374 if ( !pMenu ) in createPopupWindow()
378 pMenu = new Toolbarmenu(); in createPopupWindow()
379 …erviceManager, m_xFrame, xURLTransformer, xDispatch, m_aModuleIdentifier, pMenu, sal_True, sal_Tru… in createPopupWindow()
387 if ( !pMenu || !m_pToolbar ) in createPopupWindow()
390 OSL_ENSURE ( pMenu->GetItemCount(), "Empty PopupMenu!" ); in createPopupWindow()
393 pMenu->Execute( m_pToolbar, aRect, POPUPMENU_EXECUTE_DOWN ); in createPopupWindow()
/aoo41x/main/dbaccess/source/ui/control/
H A Dtoolboxcontroller.cxx204 ::std::auto_ptr<PopupMenu> pMenu = getMenu(); in statusChanged()
205 sal_uInt16 nCount = pMenu->GetItemCount(); in statusChanged()
225 ::std::auto_ptr<PopupMenu> pMenu; in getMenu()
244 sal_uInt16 nCount = pMenu->GetItemCount(); in getMenu()
250 sal_uInt16 nItemId = pMenu->GetItemId(nPos); in getMenu()
251 aSeq[0] = pMenu->GetItemCommand(nItemId); in getMenu()
255 pMenu->SetItemImage(nItemId,aImage); in getMenu()
259 pMenu->EnableItem(nItemId,aFind->second); in getMenu()
272 return pMenu; in getMenu()
282 ::std::auto_ptr<PopupMenu> pMenu = getMenu(); in createPopupWindow()
[all …]
/aoo41x/main/sfx2/source/appl/
H A Dshutdowniconunx.cxx96 gtk_menu_popdown( GTK_MENU( pMenu ) ); in menu_deactivate_cb()
238 static void populate_menu( GtkWidget *pMenu ) in populate_menu() argument
300 gtk_widget_show_all( pMenu ); in populate_menu()
303 static void refresh_menu( GtkWidget *pMenu ) in refresh_menu() argument
306 populate_menu( pMenu ); in refresh_menu()
315 gpointer pMenu ) in activate_cb() argument
317 refresh_menu( GTK_WIDGET( pMenu ) ); in activate_cb()
327 gpointer pMenu) in popup_menu_cb() argument
332 refresh_menu( GTK_WIDGET( pMenu ) ); in popup_menu_cb()
378 GtkWidget *pMenu = gtk_menu_new(); in plugin_init_sys_tray() local
[all …]
H A Dsfxpicklist.cxx154 pMenu->SetItemText( nItemId, aPickEntry ); in CreatePicklistMenuTitle()
155 pMenu->SetTipHelpText( nItemId, aTipHelpText ); in CreatePicklistMenuTitle()
156 pMenu->SetAccessibleName( nItemId, aAccessibleName ); in CreatePicklistMenuTitle()
263 void SfxPickList::CreateMenuEntries( Menu* pMenu ) in CreateMenuEntries() argument
276 pMenu->RemoveItem( pMenu->GetItemPos( nId ) ); in CreateMenuEntries()
278 if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MENUITEM_SEPARATOR ) in CreateMenuEntries()
279 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in CreateMenuEntries()
282 pMenu->GetItemType( pMenu->GetItemCount()-1 ) in CreateMenuEntries()
284 pMenu->InsertSeparator(); in CreateMenuEntries()
291 pMenu->InsertItem( (sal_uInt16)(START_ITEMID_PICKLIST + i), aEmptyString ); in CreateMenuEntries()
[all …]
/aoo41x/main/sd/source/ui/dlg/
H A Dnavigatr.cxx348 PopupMenu *pMenu = new PopupMenu; in IMPL_LINK() local
380 pMenu->CheckItem( (sal_uInt16)meDragType ); in IMPL_LINK()
385 delete pMenu; in IMPL_LINK()
391 PopupMenu *pMenu = new PopupMenu; in IMPL_LINK() local
393 pMenu->InsertItem( in IMPL_LINK()
396 pMenu->InsertItem( in IMPL_LINK()
408 delete pMenu; in IMPL_LINK()
510 if( pMenu ) in IMPL_LINK()
511 nMenuId = pMenu->GetCurItemId(); in IMPL_LINK()
543 if (pMenu != NULL) in IMPL_LINK()
[all …]
/aoo41x/main/framework/source/fwe/helper/
H A Dactiontriggerhelper.cxx272 OUString aLabel = pMenu->GetItemText( nItemId ); in CreateActionTrigger()
276 OUString aCommandURL = pMenu->GetItemCommand( nItemId ); in CreateActionTrigger()
287 Image aImage = pMenu->GetItemImage( nItemId ); in CreateActionTrigger()
334 for ( sal_uInt16 nPos = 0; nPos < pMenu->GetItemCount(); nPos++ ) in FillActionTriggerContainerWithMenu()
336 sal_uInt16 nItemId = pMenu->GetItemId( nPos ); in FillActionTriggerContainerWithMenu()
337 MenuItemType nType = pMenu->GetItemType( nPos ); in FillActionTriggerContainerWithMenu()
353 xPropSet = CreateActionTrigger( nItemId, pMenu, rActionTriggerContainer ); in FillActionTriggerContainerWithMenu()
358 PopupMenu* pPopupMenu = pMenu->GetPopupMenu( nItemId ); in FillActionTriggerContainerWithMenu()
388 const Menu* pMenu ) in FillActionTriggerContainerFromMenu() argument
390 FillActionTriggerContainerWithMenu( pMenu, xActionTriggerContainer ); in FillActionTriggerContainerFromMenu()
[all …]
/aoo41x/main/svtools/source/uno/
H A Dcontextmenuhelper.cxx327 PopupMenu* pMenu ) in executePopupMenu() argument
329 if ( pMenu ) in executePopupMenu()
601 Menu* pMenu ) in completeMenuProperties() argument
609 if ( pMenu ) in completeMenuProperties()
625 sal_uInt16 nId = pMenu->GetItemId( nPos ); in completeMenuProperties()
626 PopupMenu* pPopupMenu = pMenu->GetPopupMenu( nId ); in completeMenuProperties()
629 if ( pMenu->GetItemType( nPos ) != MENUITEM_SEPARATOR ) in completeMenuProperties()
638 pMenu->SetItemImage( nId, aImage ); in completeMenuProperties()
641 pMenu->SetItemImage( nId, Image() ); in completeMenuProperties()
643 if ( pMenu->GetItemText( nId ).Len() == 0 ) in completeMenuProperties()
[all …]
/aoo41x/main/sfx2/source/sidebar/
H A DSidebarController.cxx859 pMenu->Execute(mpParentWindow, aBox, POPUPMENU_EXECUTE_DOWN); in ShowPopupMenu()
888 ::boost::shared_ptr<PopupMenu> pMenu (new PopupMenu()); in CreatePopupMenu()
928 pMenu->InsertSeparator(); in CreatePopupMenu()
940 pMenu->SetPopupMenu(MID_CUSTOMIZATION, pCustomizationMenu); in CreatePopupMenu()
942 pMenu->RemoveDisabledEntries(sal_False, sal_False); in CreatePopupMenu()
944 return pMenu; in CreatePopupMenu()
950 IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu) in IMPL_LINK() argument
952 if (pMenu == NULL) in IMPL_LINK()
958 pMenu->Deactivate(); in IMPL_LINK()
959 const sal_Int32 nIndex (pMenu->GetCurItemId()); in IMPL_LINK()
[all …]
/aoo41x/main/sd/source/ui/annotations/
H A Dannotationmanager.cxx1017 pMenu->SetItemText( SID_DELETEALLBYAUTHOR_POSTIT, aStr ); in ExecuteAnnotationContextMenu()
1021 pMenu->EnableItem( SID_DELETEALL_POSTIT, !bReadOnly ); in ExecuteAnnotationContextMenu()
1027 pMenu->EnableItem( SID_ATTR_CHAR_WEIGHT, sal_False ); in ExecuteAnnotationContextMenu()
1031 pMenu->EnableItem( SID_PASTE, sal_False ); in ExecuteAnnotationContextMenu()
1040 pMenu->CheckItem( SID_ATTR_CHAR_WEIGHT ); in ExecuteAnnotationContextMenu()
1046 pMenu->CheckItem( SID_ATTR_CHAR_POSTURE ); in ExecuteAnnotationContextMenu()
1052 pMenu->CheckItem( SID_ATTR_CHAR_UNDERLINE ); in ExecuteAnnotationContextMenu()
1058 pMenu->CheckItem( SID_ATTR_CHAR_STRIKEOUT ); in ExecuteAnnotationContextMenu()
1076 nId = pMenu->GetItemId( nPos ); in ExecuteAnnotationContextMenu()
1077 if( pMenu->IsItemEnabled( nId ) ) in ExecuteAnnotationContextMenu()
[all …]
/aoo41x/main/svx/source/mnuctrls/
H A Dfntctl.cxx56 pMenu ( new FontNameMenu ), in SvxFontMenuControl()
59 rMenu.SetPopupMenu( _nId, pMenu ); in SvxFontMenuControl()
60 pMenu->SetSelectHdl( LINK( this, SvxFontMenuControl, MenuSelect ) ); in SvxFontMenuControl()
83 pMenu->Fill( pList ); in FillMenu()
108 if ( !pMenu->GetItemCount() ) in StateChanged()
115 pMenu->SetCurName( aFont ); in StateChanged()
162 delete pMenu; in IMPL_LINK_INLINE_END()
174 return pMenu; in GetPopup()
H A Dfntszctl.cxx114 pMenu->SetCurHeight( nVal ); in StateChanged()
134 pMenu->Fill( aFntInf, pList ); in StateChanged()
153 pMenu->Fill( pList->GetFontName(0), pList ); in StateChanged()
174 pMenu ( new FontSizeMenu ), in SvxFontSizeMenuControl()
179 rMenu.SetPopupMenu( _nId, pMenu ); in SvxFontSizeMenuControl()
180 pMenu->SetSelectHdl( LINK( this, SvxFontSizeMenuControl, MenuSelect ) ); in SvxFontSizeMenuControl()
192 delete pMenu; in ~SvxFontSizeMenuControl()
204 return pMenu; in GetPopup()
/aoo41x/main/sw/source/ui/lingu/
H A Dolmenu.cxx410 PopupMenu *pMenu = GetPopupMenu(MN_AUTOCORR); in SwSpellPopup() local
411 pMenu->SetMenuFlags(MENU_FLAG_NOAUTOMNEMONICS); in SwSpellPopup()
436 pMenu->InsertItem( nAutoCorrItemId, aEntry ); in SwSpellPopup()
470 pMenu = GetPopupMenu(MN_ADD_TO_DIC); in SwSpellPopup()
515 pMenu->SetItemImage( nItemId, aImage ); in SwSpellPopup()
552 pMenu = GetPopupMenu(MN_SET_LANGUAGE_SELECTION); in SwSpellPopup()
556 pMenu = GetPopupMenu(MN_SET_LANGUAGE_PARAGRAPH); in SwSpellPopup()
685 PopupMenu *pMenu = GetPopupMenu(MN_SET_LANGUAGE_SELECTION); in SwSpellPopup() local
689 pMenu = GetPopupMenu(MN_SET_LANGUAGE_PARAGRAPH); in SwSpellPopup()
822 PopupMenu *pMenu = GetPopupMenu(MN_ADD_TO_DIC); in Execute() local
[all …]
/aoo41x/main/vcl/aqua/source/window/
H A Dsalmenu.cxx311 sal_Int32 removeUnusedItemsRunner(NSMenu * pMenu) in removeUnusedItemsRunner() argument
313 NSArray * elements = [pMenu itemArray]; in removeUnusedItemsRunner()
408 const AquaSalMenu* pMenu = this; in getFrame() local
409 while( pMenu && ! pMenu->mpFrame ) in getFrame()
410 pMenu = pMenu->mpParentSalMenu; in getFrame()
411 return pMenu ? pMenu->mpFrame : NULL; in getFrame()
419 NSMenu* pMenu = [NSApp mainMenu]; in unsetMainMenu() local
421 [pMenu removeItemAtIndex: 1]; in unsetMainMenu()
449 NSMenu* pMenu = [NSApp mainMenu]; in setDefaultMenu() local
459 [pMenu insertItem: pItem atIndex: i+1]; in setDefaultMenu()
[all …]
/aoo41x/main/sfx2/source/dialog/
H A Dtaskpane.cxx1021 ::std::auto_ptr< PopupMenu > pMenu = impl_createPopupMenu(); in IMPL_LINK()
1027 pMenu->Execute( &m_rDockingWindow, aMenuRect, POPUPMENU_EXECUTE_DOWN ); in IMPL_LINK()
1224 ::std::auto_ptr<PopupMenu> pMenu( new PopupMenu ); in impl_createPopupMenu()
1238 pMenu->CheckItem( nIndex, !rPanelDesc.bHidden ); in impl_createPopupMenu()
1240 pMenu->InsertSeparator(); in impl_createPopupMenu()
1244 pMenu->CheckItem( MID_LAYOUT_TABS, impl_getLayout() != LAYOUT_DRAWERS ); in impl_createPopupMenu()
1248 pMenu->InsertSeparator(); in impl_createPopupMenu()
1253 pMenu->InsertItem( in impl_createPopupMenu()
1258 pMenu->InsertItem( in impl_createPopupMenu()
1263 pMenu->RemoveDisabledEntries( sal_False, sal_False ); in impl_createPopupMenu()
[all …]
/aoo41x/main/sw/source/ui/utlui/
H A Dglbltree.cxx434 PopupMenu *pMenu = new PopupMenu; in TbxMenuHdl() local
438 pMenu->SetHelpId(i, aHelpForMenu[i] ); in TbxMenuHdl()
446 pMenu->SetSelectHdl(LINK(this, SwGlobalTree, PopupHdl)); in TbxMenuHdl()
447 pMenu->Execute( pBox, pBox->GetItemRect(nTbxId).BottomLeft()); in TbxMenuHdl()
448 delete pMenu; in TbxMenuHdl()
454 PopupMenu *pMenu = new PopupMenu; in TbxMenuHdl() local
458 pMenu->SetHelpId(i, aHelpForMenu[i] ); in TbxMenuHdl()
461 pMenu->SetSelectHdl(LINK(this, SwGlobalTree, PopupHdl)); in TbxMenuHdl()
463 delete pMenu; in TbxMenuHdl()
859 IMPL_LINK( SwGlobalTree, PopupHdl, Menu* , pMenu) in IMPL_LINK() argument
[all …]
H A Dnavipi.cxx436 PopupMenu *pMenu = new PopupMenu; in IMPL_LINK() local
439 pMenu->InsertItem( i + 1, aContextArr[i] ); in IMPL_LINK()
440 pMenu->SetHelpId(i + 1, aHIDs[i]); in IMPL_LINK()
442 pMenu->CheckItem( nRegionMode + 1 ); in IMPL_LINK()
445 pMenu->Execute( pBox, in IMPL_LINK()
450 delete pMenu; in IMPL_LINK()
456 PopupMenu *pMenu = new PopupMenu; in IMPL_LINK() local
460 pMenu->SetHelpId( i, HID_NAVI_OUTLINES ); in IMPL_LINK()
465 pMenu->Execute( pBox, in IMPL_LINK()
469 delete pMenu; in IMPL_LINK()
[all …]
/aoo41x/main/automation/source/server/
H A Dstatemnt.cxx515 Menu *pMenu; in Execute() local
1038 if ( pMenu ) // Menus in WriteControlData()
2741 Menu *pMenu; in Execute() local
2745 if ( !pMenu ) in Execute()
2767 if ( !pMenu->IsItemEnabled( pMenu->GetItemId( i ) ) ) in Execute()
2797 if ( pMenu->IsItemEnabled( pMenu->GetItemId( i ) ) in Execute()
3660 pMenu = pMenuBar; in GetCurrentMenues()
3667 if ( !pMenu ) in GetCurrentMenues()
3673 pMenu = pPopup; in GetCurrentMenues()
3679 pMenu = pPopup; in GetCurrentMenues()
[all …]
/aoo41x/main/svx/source/dialog/
H A Dhyprlink.cxx407 PopupMenu *pMenu = new PopupMenu; in IMPL_LINK() local
408 pMenu->SetSelectHdl(LINK(this, SvxHyperlinkDlg, SearchPopupSelectHdl)); in IMPL_LINK()
426 pMenu->InsertItem( i + 1, rData.sEngineName, 0, 0); in IMPL_LINK()
427 pMenu->InsertSeparator(1); in IMPL_LINK()
432 pMenu->InsertSeparator(); in IMPL_LINK()
433 pMenu->InsertItem( i + 1, rData.sEngineName); in IMPL_LINK()
440 delete pMenu; in IMPL_LINK()
525 IMPL_LINK( SvxHyperlinkDlg, LinkPopupSelectHdl, Menu *, pMenu ) in IMPL_LINK() argument
527 switch (pMenu->GetCurItemId()) in IMPL_LINK()
544 IMPL_LINK( SvxHyperlinkDlg, SearchPopupSelectHdl, Menu *, pMenu ) in IMPL_LINK() argument
[all …]

Completed in 556 milliseconds

123456