/aoo4110/main/svx/source/form/ |
H A D | navigatortree.cxx | 434 PopupMenu aContextMenu(SVX_RES(RID_FMEXPLORER_POPUPMENU)); in Command() local 435 PopupMenu* pSubMenuNew = aContextMenu.GetPopupMenu( SID_FM_NEW ); in Command() 449 aContextMenu.EnableItem( SID_FM_DELETE, !m_bRootSelected ); in Command() 454 aContextMenu.EnableItem( SID_PASTE, implAcceptPaste( ) ); in Command() 462 … aContextMenu.RemoveItem( aContextMenu.GetItemPos( SID_FM_SHOW_PROPERTY_BROWSER ) ); in Command() 466 aContextMenu.RemoveItem( aContextMenu.GetItemPos( SID_FM_SHOW_PROPERTY_BROWSER ) ); in Command() 469 aContextMenu.EnableItem( SID_FM_SHOW_PROPERTY_BROWSER, in Command() 476 aContextMenu.EnableItem( SID_FM_OPEN_READONLY, m_bRootSelected ); in Command() 494 aContextMenu.EnableItem( SID_FM_CHANGECONTROLTYPE, sal_False ); in Command() 497 aContextMenu.RemoveDisabledEntries(sal_True, sal_True); in Command() [all …]
|
H A D | filtnav.cxx | 1742 PopupMenu aContextMenu(SVX_RES(RID_FM_FILTER_MENU)); in Command() local 1745 aContextMenu.EnableItem( SID_FM_DELETE, !aSelectList.empty() ); in Command() 1751 aContextMenu.EnableItem( SID_FM_FILTER_EDIT, in Command() 1753 aContextMenu.EnableItem( SID_FM_FILTER_IS_NULL, in Command() 1755 aContextMenu.EnableItem( SID_FM_FILTER_IS_NOT_NULL, in Command() 1758 aContextMenu.RemoveDisabledEntries(sal_True, sal_True); in Command() 1759 sal_uInt16 nSlotId = aContextMenu.Execute( this, aWhere ); in Command()
|
/aoo4110/main/dbaccess/source/ui/tabledesign/ |
H A D | TableDesignControl.cxx | 160 PopupMenu aContextMenu(ModuleRes(RID_TABLEDESIGNROWPOPUPMENU)); in Command() local 162 aContextMenu.EnableItem( SID_CUT, nSelectRowCount != 0); in Command() 163 aContextMenu.EnableItem( SID_COPY, nSelectRowCount != 0); in Command() 164 aContextMenu.EnableItem( SID_PASTE, m_bClipboardFilled ); in Command() 165 aContextMenu.EnableItem( SID_DELETE, IsUpdatable() && nSelectRowCount != 0 ); in Command() 166 switch (aContextMenu.Execute(this, rEvt.GetMousePosPixel())) in Command()
|
H A D | TEditControl.cxx | 1681 PopupMenu aContextMenu( ModuleRes( RID_QUERYCOLPOPUPMENU ) ); in Command() local 1682 aContextMenu.EnableItem( SID_DELETE, sal_False ); in Command() 1683 aContextMenu.RemoveDisabledEntries(sal_True, sal_True); in Command() 1684 switch ( aContextMenu.Execute( this, aMenuPos ) ) in Command() 1695 PopupMenu aContextMenu(ModuleRes(RID_TABLEDESIGNROWPOPUPMENU)); in Command() local 1697 aContextMenu.EnableItem( SID_CUT, IsCutAllowed(nRow) ); in Command() 1698 aContextMenu.EnableItem( SID_COPY, IsCopyAllowed(nRow) ); in Command() 1699 aContextMenu.EnableItem( SID_PASTE, IsPasteAllowed(nRow) ); in Command() 1700 aContextMenu.EnableItem( SID_DELETE, IsDeleteAllowed(nRow) ); in Command() 1706 aContextMenu.RemoveDisabledEntries(sal_True, sal_True); in Command() [all …]
|
/aoo4110/main/odk/examples/cpp/complextoolbarcontrols/ |
H A D | MyProtocolHandler.cxx | 384 Sequence< rtl::OUString > aContextMenu( 3 ); in addStatusListener() local 385 aContextMenu[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Command 1" ) ); in addStatusListener() 386 aContextMenu[1] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Command 2" ) ); in addStatusListener() 387 aContextMenu[2] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Command 3" ) ); in addStatusListener() 390 aArgs[0].Value <<= aContextMenu; in addStatusListener() 406 Sequence< rtl::OUString > aContextMenu( 2 ); in addStatusListener() local 407 aContextMenu[0] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Button Enabled" ) ); in addStatusListener() 408 aContextMenu[1] = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Button Disabled" ) ); in addStatusListener() 411 aArgs[0].Value <<= aContextMenu; in addStatusListener()
|
/aoo4110/main/reportdesign/source/ui/dlg/ |
H A D | Navigator.cxx | 314 PopupMenu aContextMenu( ModuleRes( RID_MENU_NAVIGATOR ) ); in Command() local 316 sal_uInt16 nCount = aContextMenu.GetItemCount(); in Command() 319 if ( MENUITEM_SEPARATOR != aContextMenu.GetItemType(i)) in Command() 321 sal_uInt16 nId = aContextMenu.GetItemId(i); in Command() 323 aContextMenu.CheckItem(nId,m_rController.isCommandChecked(nId)); in Command() 326 … aContextMenu.EnableItem(nId,m_rController.isEditable() && (xSupplier.is() || xFunctions.is()) ); in Command() 329 aContextMenu.EnableItem(SID_DELETE,bDeleteAllowed); in Command() 331 aContextMenu.EnableItem(nId,bEnabled); in Command() 334 sal_uInt16 nId = aContextMenu.Execute(this, aWhere); in Command()
|
H A D | GroupsSorting.cxx | 752 PopupMenu aContextMenu(ModuleRes(RID_GROUPSROWPOPUPMENU)); in Command() local 765 aContextMenu.EnableItem( SID_DELETE, IsDeleteAllowed() && bEnable ); in Command() 766 switch (aContextMenu.Execute(this, rEvt.GetMousePosPixel())) in Command()
|
/aoo4110/main/dbaccess/source/ui/querydesign/ |
H A D | SelectionBrowseBox.cxx | 2098 PopupMenu aContextMenu( ModuleRes( RID_QUERYCOLPOPUPMENU ) ); in Command() local 2099 switch (aContextMenu.Execute(this, aMenuPos)) in Command() 2115 PopupMenu aContextMenu(ModuleRes(RID_QUERYFUNCTION_POPUPMENU)); in Command() local 2116 aContextMenu.CheckItem( ID_QUERY_FUNCTION, m_bVisibleRow[BROW_FUNCTION_ROW]); in Command() 2117 aContextMenu.CheckItem( ID_QUERY_TABLENAME, m_bVisibleRow[BROW_TABLE_ROW]); in Command() 2118 aContextMenu.CheckItem( ID_QUERY_ALIASNAME, m_bVisibleRow[BROW_COLUMNALIAS_ROW]); in Command() 2119 …aContextMenu.CheckItem( ID_QUERY_DISTINCT, static_cast<OQueryController&>(getDesignView()->getCont… in Command() 2121 switch (aContextMenu.Execute(this, aMenuPos)) in Command()
|
H A D | TableWindow.cxx | 650 PopupMenu aContextMenu(ModuleRes(RID_MENU_JOINVIEW_TABLE)); in Command() local 651 switch (aContextMenu.Execute(this, ptWhere)) in Command()
|
H A D | JoinTableView.cxx | 1282 PopupMenu aContextMenu( ModuleRes( RID_MENU_JOINVIEW_CONNECTION ) ); in executePopup() local 1283 switch (aContextMenu.Execute(this, _aPos)) in executePopup()
|
/aoo4110/main/svx/source/fmcomp/ |
H A D | gridctrl.cxx | 2911 PopupMenu aContextMenu( SVX_RES( RID_SVXMNU_ROWS ) ); in executeRowContextMenu() local 2913 PreExecuteRowContextMenu( (sal_uInt16)_nRow, aContextMenu ); in executeRowContextMenu() 2914 aContextMenu.RemoveDisabledEntries( sal_True, sal_True ); in executeRowContextMenu() 2915 …PostExecuteRowContextMenu( (sal_uInt16)_nRow, aContextMenu, aContextMenu.Execute( this, _rPreferre… in executeRowContextMenu() 2957 PopupMenu aContextMenu(SVX_RES(RID_SVXMNU_CELL)); in Command() local 2958 aContextMenu.RemoveDisabledEntries(sal_True, sal_True); in Command() 2959 switch (aContextMenu.Execute(this, rEvt.GetMousePosPixel())) in Command()
|
H A D | fmgridcl.cxx | 1002 PopupMenu aContextMenu( SVX_RES( RID_SVXMNU_COLS ) ); in triggerColumnContextMenu() local 1005 PreExecuteColumnContextMenu( nColId, aContextMenu ); in triggerColumnContextMenu() 1006 aContextMenu.RemoveDisabledEntries( sal_True, sal_True ); in triggerColumnContextMenu() 1009 sal_uInt16 nResult = aContextMenu.Execute( this, _rPreferredPos ); in triggerColumnContextMenu() 1012 PostExecuteColumnContextMenu( nColId, aContextMenu, nResult ); in triggerColumnContextMenu()
|
/aoo4110/main/dbaccess/source/ui/misc/ |
H A D | WTypeSelect.cxx | 455 PopupMenu aContextMenu(ModuleRes(RID_SBA_RTF_PKEYPOPUP)); in PreNotify() local 456 switch( aContextMenu.Execute( this, ptWhere ) ) in PreNotify()
|
/aoo4110/main/reportdesign/source/ui/report/ |
H A D | ReportSection.cxx | 493 PopupMenu aContextMenu( ModuleRes( RID_MENU_REPORT ) ); in Command() local 496 lcl_insertMenuItemImages(aContextMenu,rController,xReportDefinition,xFrame,bHiContrast); in Command() 500 const sal_uInt16 nId = aContextMenu.Execute(this, aPos); in Command()
|
/aoo4110/main/chart2/source/controller/main/ |
H A D | ChartController_Window.cxx | 1025 PopupMenu aContextMenu( SchResId( m_pDrawViewWrapper->IsTextEdit() ? in execute_Command() local 1035 aContextMenuHelper.completeAndExecute( aPos, aContextMenu ); in execute_Command()
|