/aoo42x/main/chart2/source/controller/dialogs/ |
H A D | dlg_DataEditor.cxx | 172 m_aTbxData.EnableItem( TBI_DATA_INSERT_ROW, bIsDataValid && m_apBrwData->MayInsertRow() ); in IMPL_LINK() 175 m_aTbxData.EnableItem( TBI_DATA_DELETE_ROW, m_apBrwData->MayDeleteRow() ); in IMPL_LINK() 176 m_aTbxData.EnableItem( TBI_DATA_DELETE_COL, m_apBrwData->MayDeleteColumn() ); in IMPL_LINK() 179 m_aTbxData.EnableItem( TBI_DATA_SWAP_ROW, bIsDataValid && m_apBrwData->MaySwapRows() ); in IMPL_LINK() 190 m_aTbxData.EnableItem( TBI_DATA_INSERT_ROW, sal_False ); in SetReadOnly() 191 m_aTbxData.EnableItem( TBI_DATA_INSERT_COL, sal_False ); in SetReadOnly() 192 m_aTbxData.EnableItem( TBI_DATA_INSERT_TEXT_COL, sal_False ); in SetReadOnly() 193 m_aTbxData.EnableItem( TBI_DATA_DELETE_ROW, sal_False ); in SetReadOnly() 194 m_aTbxData.EnableItem( TBI_DATA_DELETE_COL, sal_False ); in SetReadOnly() 195 m_aTbxData.EnableItem( TBI_DATA_SWAP_COL, sal_False ); in SetReadOnly() [all …]
|
/aoo42x/main/svx/source/dialog/ |
H A D | imapdlg.cxx | 253 aTbxIMapDlg1.EnableItem( TBI_ACTIVE, sal_False ); in SvxIMapDlg() 254 aTbxIMapDlg1.EnableItem( TBI_MACRO, sal_False ); in SvxIMapDlg() 255 aTbxIMapDlg1.EnableItem( TBI_PROPERTY, sal_False ); in SvxIMapDlg() 776 aTbxIMapDlg1.EnableItem( TBI_ACTIVE, sal_False ); in IMPL_LINK() 777 aTbxIMapDlg1.EnableItem( TBI_MACRO, sal_False ); in IMPL_LINK() 793 aTbxIMapDlg1.EnableItem( TBI_ACTIVE, sal_True ); in IMPL_LINK() 795 aTbxIMapDlg1.EnableItem( TBI_MACRO, sal_True ); in IMPL_LINK() 796 aTbxIMapDlg1.EnableItem( TBI_PROPERTY, sal_True ); in IMPL_LINK() 981 aTbxIMapDlg1.EnableItem( TBI_RECT, bDrawEnabled ); in IMPL_LINK() 983 aTbxIMapDlg1.EnableItem( TBI_POLY, bDrawEnabled ); in IMPL_LINK() [all …]
|
H A D | imapwnd.cxx | 613 aMenu.EnableItem( MN_URL, sal_False ); in Command() 614 aMenu.EnableItem( MN_ACTIVATE, sal_False ); in Command() 615 aMenu.EnableItem( MN_MACRO, sal_False ); in Command() 620 aMenu.EnableItem( MN_POSITION, sal_False ); in Command() 623 aMenu.EnableItem( MN_MOREBACK, sal_False ); in Command() 633 aMenu.EnableItem( MN_URL, sal_True ); in Command() 634 aMenu.EnableItem( MN_ACTIVATE, sal_True ); in Command() 635 aMenu.EnableItem( MN_MACRO, sal_True ); in Command() 639 aMenu.EnableItem( MN_POSITION, sal_True ); in Command() 641 aMenu.EnableItem( MN_MOREFRONT, sal_True ); in Command() [all …]
|
H A D | _contdlg.cxx | 981 aTbx1.EnableItem( TBI_WORKPLACE, !bPipette && bDrawEnabled ); in IMPL_LINK() 983 aTbx1.EnableItem( TBI_SELECT, bDontHide && bDrawEnabled ); in IMPL_LINK() 984 aTbx1.EnableItem( TBI_RECT, bDontHide && bDrawEnabled ); in IMPL_LINK() 985 aTbx1.EnableItem( TBI_CIRCLE, bDontHide && bDrawEnabled ); in IMPL_LINK() 986 aTbx1.EnableItem( TBI_POLY, bDontHide && bDrawEnabled ); in IMPL_LINK() 987 aTbx1.EnableItem( TBI_FREEPOLY, bDontHide && bDrawEnabled ); in IMPL_LINK() 989 aTbx1.EnableItem( TBI_POLYEDIT, bDontHide && bPolyEdit ); in IMPL_LINK() 990 aTbx1.EnableItem( TBI_POLYMOVE, bDontHide && !bDrawEnabled ); in IMPL_LINK() 991 aTbx1.EnableItem( TBI_POLYINSERT, bDontHide && !bDrawEnabled ); in IMPL_LINK() 997 aTbx1.EnableItem( TBI_UNDO, bDontHide && IsUndoPossible() ); in IMPL_LINK() [all …]
|
H A D | hyprlink.cxx | 270 EnableItem( BTN_OPENDIALOG, sal_True ); in StateChanged() 280 EnableItem( BTN_OPENDIALOG, sal_False ); in StateChanged() 290 EnableItem(BTN_TARGET, !bNoDoc); in StateChanged() 399 aLinkPopup.EnableItem(MN_BUTTON, !bHtmlMode); in IMPL_LINK() 642 EnableItem(BTN_LINK, (!bNoDoc) & bEnable); in EnableLink() 798 EnableItem(BTN_INSERT_BOOKMARK, sal_True); in IMPL_LINK() 799 EnableItem(BTN_INET_SEARCH, sal_True); in IMPL_LINK() 818 EnableItem(BTN_INET_SEARCH, bEnable); in IMPL_LINK() 829 EnableItem(BTN_INSERT_BOOKMARK, bEnable); in IMPL_LINK()
|
/aoo42x/main/sw/source/ui/docvw/ |
H A D | romenu.cxx | 95 EnableItem( nMID, sal_True ); in Check() 103 EnableItem(nMID, sal_False); in Check() 107 EnableItem( nMID, sal_False ); in Check() 139 EnableItem( MN_READONLY_SAVEGRAPHIC, sal_False ); in SwReadOnlyPopup() 140 EnableItem( MN_READONLY_COPYGRAPHIC, sal_False ); in SwReadOnlyPopup() 214 EnableItem( MN_READONLY_RELOAD_FRAME, in SwReadOnlyPopup() 216 EnableItem( MN_READONLY_RELOAD, !bReloadFrame); in SwReadOnlyPopup() 234 EnableItem( MN_READONLY_COPY, sal_False ); in SwReadOnlyPopup() 248 EnableItem( MN_READONLY_OPENURL, sal_False ); in SwReadOnlyPopup() 249 EnableItem( MN_READONLY_OPENURLNEW, sal_False ); in SwReadOnlyPopup() [all …]
|
H A D | AnnotationMenuButton.cxx | 80 pButtonPopup->EnableItem( FN_REPLY, false ); in MouseButtonDown() 81 pButtonPopup->EnableItem( FN_DELETE_COMMENT, false ); in MouseButtonDown() 82 pButtonPopup->EnableItem( FN_DELETE_NOTE_AUTHOR, false ); in MouseButtonDown() 83 pButtonPopup->EnableItem( FN_DELETE_ALL_NOTES, false ); in MouseButtonDown() 87 pButtonPopup->EnableItem( FN_DELETE_COMMENT, !mrSidebarWin.IsProtected() ); in MouseButtonDown() 88 pButtonPopup->EnableItem( FN_DELETE_NOTE_AUTHOR, true ); in MouseButtonDown() 89 pButtonPopup->EnableItem( FN_DELETE_ALL_NOTES, true ); in MouseButtonDown() 94 pButtonPopup->EnableItem( FN_REPLY, false ); in MouseButtonDown() 110 pButtonPopup->EnableItem( FN_REPLY, false ); in MouseButtonDown() 114 pButtonPopup->EnableItem( FN_REPLY, true ); in MouseButtonDown()
|
/aoo42x/main/svx/source/gallery2/ |
H A D | galbrws2.cxx | 206 pAddMenu->EnableItem( MN_ADD, sal_False ); in statusChanged() 272 maPopupMenu.EnableItem( MN_PREVIEW, bValidURL ); in ExecutePopup() 278 maPopupMenu.EnableItem( MN_DELETE, sal_False ); in ExecutePopup() 279 maPopupMenu.EnableItem( MN_TITLE, sal_False ); in ExecutePopup() 289 maPopupMenu.EnableItem( MN_DELETE, !mbPreview ); in ExecutePopup() 290 maPopupMenu.EnableItem( MN_TITLE, sal_True ); in ExecutePopup() 355 pAddMenu->EnableItem( MN_BACKGROUND, sal_False ); in ExecutePopup() 358 pAddMenu->EnableItem( MN_BACKGROUND, sal_True ); in ExecutePopup() 365 maPopupMenu.EnableItem( MN_ADDMENU, sal_False ); in ExecutePopup() 853 maViewBox.EnableItem( TBX_ID_ICON, sal_True ); in SelectTheme() [all …]
|
H A D | galbrws1.cxx | 680 …aMenu.EnableItem( MN_ACTUALIZE, ::std::find( aExecVector.begin(), aExecVector.end(), MN_ACTUALIZE … in IMPL_LINK() 681 …aMenu.EnableItem( MN_RENAME, ::std::find( aExecVector.begin(), aExecVector.end(), MN_RENAME ) != a… in IMPL_LINK() 682 …aMenu.EnableItem( MN_DELETE, ::std::find( aExecVector.begin(), aExecVector.end(), MN_DELETE ) != a… in IMPL_LINK() 683 …aMenu.EnableItem( MN_ASSIGN_ID, ::std::find( aExecVector.begin(), aExecVector.end(), MN_ASSIGN_ID … in IMPL_LINK() 684 …aMenu.EnableItem( MN_PROPERTIES, ::std::find( aExecVector.begin(), aExecVector.end(), MN_PROPERTIE… in IMPL_LINK()
|
/aoo42x/main/basic/workben/ |
H A D | mgrtest.cxx | 222 aToolBox.EnableItem( TB_ORG, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 224 aToolBox.EnableItem( TB_CREATELIB1, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 225 aToolBox.EnableItem( TB_CREATELIB2, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 228 aToolBox.EnableItem( TB_LOADLIB1, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 229 aToolBox.EnableItem( TB_LOADLIB2, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 230 aToolBox.EnableItem( TB_LOADLIB3, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 232 aToolBox.EnableItem( TB_STORELIBX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 233 aToolBox.EnableItem( TB_EXECX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 234 aToolBox.EnableItem( TB_UNLOADX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() 235 aToolBox.EnableItem( TB_LOADX, (sal_Bool)(sal_uIntPtr)pBasMgr ); in UpdateToolBox() [all …]
|
/aoo42x/main/sw/source/ui/utlui/ |
H A D | glbltree.cxx | 382 pSubPop2->EnableItem(CTX_UPDATE_SEL, 0 != (nEnableFlags & ENABLE_UPDATE_SEL)); in CreateContextMenu() 415 pPop->EnableItem(CTX_UPDATE, 0 != (nEnableFlags & ENABLE_UPDATE)); in CreateContextMenu() 416 pPop->EnableItem(CTX_INSERT, 0 != (nEnableFlags & ENABLE_INSERT_IDX)); in CreateContextMenu() 417 pPop->EnableItem(CTX_EDIT, 0 != (nEnableFlags & ENABLE_EDIT)); in CreateContextMenu() 418 pPop->EnableItem(CTX_DELETE, 0 != (nEnableFlags & ENABLE_DELETE)); in CreateContextMenu() 460 pMenu->EnableItem(CTX_UPDATE_SEL, 0 != (nEnableFlags & ENABLE_UPDATE_SEL)); in TbxMenuHdl() 563 pNavi->aGlobalToolBox.EnableItem(FN_GLOBAL_EDIT, nSelCount == 1 && !bReadonly); in SelectHdl() 564 pNavi->aGlobalToolBox.EnableItem(FN_GLOBAL_OPEN, nSelCount <= 1 && !bReadonly); in SelectHdl() 565 pNavi->aGlobalToolBox.EnableItem(FN_GLOBAL_UPDATE, GetEntryCount() > 0 && !bReadonly); in SelectHdl() 566 pNavi->aGlobalToolBox.EnableItem(FN_ITEM_UP, in SelectHdl() [all …]
|
/aoo42x/main/sd/source/ui/dlg/ |
H A D | navigatr.cxx | 218 maToolbox.EnableItem(TBI_SHAPE_FILTER, sal_False); in InitTreeLB() 220 maToolbox.EnableItem(TBI_SHAPE_FILTER); in InitTreeLB() 375 pMenu->EnableItem( NAVIGATOR_DRAGTYPE_LINK, sal_False ); in IMPL_LINK() 376 pMenu->EnableItem( NAVIGATOR_DRAGTYPE_URL, sal_False ); in IMPL_LINK() 952 pNavigatorWin->maToolbox.EnableItem( TBI_PEN ); in StateChanged() 955 pNavigatorWin->maToolbox.EnableItem( TBI_PEN, sal_False ); in StateChanged() 970 pNavigatorWin->maToolbox.EnableItem( TBI_FIRST ); in StateChanged() 978 pNavigatorWin->maToolbox.EnableItem( TBI_PREVIOUS ); in StateChanged() 986 pNavigatorWin->maToolbox.EnableItem( TBI_LAST ); in StateChanged() 989 pNavigatorWin->maToolbox.EnableItem( TBI_LAST, sal_False ); in StateChanged() [all …]
|
/aoo42x/main/svx/source/sidebar/text/ |
H A D | TextPropertyPanel.cxx | 927 mpToolBoxIncDec->EnableItem(TBI_DECREASE, bIsEnabled && nValue>60); in NotifyItemUpdate() 980 mpToolBoxFont->EnableItem(TBI_BOLD, mbWeightAvailable && bIsEnabled); in NotifyItemUpdate() 995 mpToolBoxFont->EnableItem(TBI_ITALIC, mbPostureAvailable && bIsEnabled); in NotifyItemUpdate() 1013 mpToolBoxFont->EnableItem(TBI_UNDERLINE, bIsEnabled); in NotifyItemUpdate() 1027 mpToolBoxFont->EnableItem(TBI_SHADOWED, bIsEnabled); in NotifyItemUpdate() 1041 mpToolBoxFont->EnableItem(TBI_STRIKEOUT, bIsEnabled); in NotifyItemUpdate() 1091 mpToolBoxScriptSw->EnableItem(TBI_SUPER_SW, bIsItemEnabled && bIsEnabled); in NotifyItemUpdate() 1092 mpToolBoxScriptSw->EnableItem(TBI_SUB_SW, bIsItemEnabled && bIsEnabled); in NotifyItemUpdate() 1106 mpToolBoxScript->EnableItem(TBI_SUB, bIsEnabled); in NotifyItemUpdate() 1120 mpToolBoxScript->EnableItem(TBI_SUPER, bIsEnabled); in NotifyItemUpdate() [all …]
|
/aoo42x/main/svx/source/sidebar/paragraph/ |
H A D | ParaPropertyPanel.cxx | 700 mpTBxVertAlign->EnableItem(IID_VERT_TOP, sal_False); in VertStateChanged() 701 mpTBxVertAlign->EnableItem(IID_VERT_CENTER, sal_False); in VertStateChanged() 702 mpTBxVertAlign->EnableItem(IID_VERT_BOTTOM, sal_False); in VertStateChanged() 706 mpTBxVertAlign->EnableItem(IID_VERT_TOP, sal_True); in VertStateChanged() 707 mpTBxVertAlign->EnableItem(IID_VERT_CENTER, sal_True); in VertStateChanged() 708 mpTBxVertAlign->EnableItem(IID_VERT_BOTTOM, sal_True); in VertStateChanged() 1448 mpTbxProDemote->EnableItem(BT_TBX_INDENT_DEMOTE, sal_True); in StateChangeOutLineImpl() 1450 mpTbxProDemote->EnableItem(BT_TBX_INDENT_DEMOTE, sal_False); in StateChangeOutLineImpl() 1453 mpTbxProDemote->EnableItem(BT_TBX_INDENT_PROMOTE, sal_True); in StateChangeOutLineImpl() 1455 mpTbxProDemote->EnableItem(BT_TBX_INDENT_PROMOTE, sal_False); in StateChangeOutLineImpl() [all …]
|
/aoo42x/main/basctl/source/basicide/ |
H A D | bastypes.cxx | 557 aPopup.EnableItem( SID_BASICIDE_DELETECURRENT, sal_False ); in Command() 558 aPopup.EnableItem( SID_BASICIDE_RENAMECURRENT, sal_False ); in Command() 559 aPopup.EnableItem( SID_BASICIDE_HIDECURPAGE, sal_False ); in Command() 564 aPopup.EnableItem(SID_BASICIDE_DELETECURRENT, false); in Command() 565 aPopup.EnableItem( SID_BASICIDE_RENAMECURRENT, false); in Command() 566 aPopup.EnableItem(SID_BASICIDE_MODULEDLG, false); in Command() 579 aPopup.EnableItem( aPopup.GetItemId( 0 ), sal_False ); in Command() 580 aPopup.EnableItem( SID_BASICIDE_DELETECURRENT, sal_False ); in Command() 581 aPopup.EnableItem( SID_BASICIDE_RENAMECURRENT, sal_False ); in Command() 600 aPopup.EnableItem( SID_BASICIDE_DELETECURRENT, sal_False ); in Command() [all …]
|
/aoo42x/main/svx/source/fmcomp/ |
H A D | fmgridcl.cxx | 140 pMenu->EnableItem(nID, bDesignMode); in SetMenuItem() 144 rNewMenu.EnableItem(nID + nOffset, bDesignMode); in SetMenuItem() 720 …pControlMenu->EnableItem(SID_FM_EDIT + nChangeTypeOffset, bDesignMode && (nColType != TYPE_TEXTFIE… in PreExecuteColumnContextMenu() 722 …pControlMenu->EnableItem(SID_FM_LISTBOX + nChangeTypeOffset, bDesignMode && (nColType != TYPE_LIST… in PreExecuteColumnContextMenu() 733 rMenu.EnableItem(SID_FM_INSERTCOL, bDesignMode && xCols.is()); in PreExecuteColumnContextMenu() 734 rMenu.EnableItem(SID_FM_DELETECOL, bDesignMode && bMarked && xCols.is()); in PreExecuteColumnContextMenu() 735 rMenu.EnableItem(SID_FM_CHANGECOL, bDesignMode && bMarked && xCols.is()); in PreExecuteColumnContextMenu() 736 rMenu.EnableItem(SID_FM_SHOW_PROPERTY_BROWSER, bDesignMode && bMarked && xCols.is()); in PreExecuteColumnContextMenu() 767 pShowColsMenu->EnableItem(SID_FM_SHOWCOLS_MORE, xCols.is() && (nHiddenCols > 16)); in PreExecuteColumnContextMenu() 768 pShowColsMenu->EnableItem(SID_FM_SHOWALLCOLS, xCols.is() && (nHiddenCols > 0)); in PreExecuteColumnContextMenu() [all …]
|
/aoo42x/main/sd/source/ui/annotations/ |
H A D | annotationmanager.cxx | 1018 pMenu->EnableItem( SID_REPLYTO_POSTIT, (sAuthor != sCurrentAuthor) && !bReadOnly ); in ExecuteAnnotationContextMenu() 1019 … pMenu->EnableItem( SID_DELETE_POSTIT, (xAnnotation.is() && !bReadOnly) ? sal_True : sal_False ); in ExecuteAnnotationContextMenu() 1020 pMenu->EnableItem( SID_DELETEALLBYAUTHOR_POSTIT, !bReadOnly ); in ExecuteAnnotationContextMenu() 1021 pMenu->EnableItem( SID_DELETEALL_POSTIT, !bReadOnly ); in ExecuteAnnotationContextMenu() 1027 pMenu->EnableItem( SID_ATTR_CHAR_WEIGHT, sal_False ); in ExecuteAnnotationContextMenu() 1028 pMenu->EnableItem( SID_ATTR_CHAR_POSTURE, sal_False ); in ExecuteAnnotationContextMenu() 1029 pMenu->EnableItem( SID_ATTR_CHAR_UNDERLINE, sal_False ); in ExecuteAnnotationContextMenu() 1030 pMenu->EnableItem( SID_ATTR_CHAR_STRIKEOUT, sal_False ); in ExecuteAnnotationContextMenu() 1031 pMenu->EnableItem( SID_PASTE, sal_False ); in ExecuteAnnotationContextMenu() 1061 pMenu->EnableItem( SID_PASTE, aDataHelper.GetFormatCount() != 0 ); in ExecuteAnnotationContextMenu() [all …]
|
/aoo42x/main/cui/source/customize/ |
H A D | cfg.cxx | 2467 pPopup->EnableItem( ID_RENAME, sal_False ); in UpdateButtonStates() 2468 pPopup->EnableItem( ID_DELETE, sal_False ); in UpdateButtonStates() 2486 pPopup->EnableItem( ID_DELETE, sal_True ); in UpdateButtonStates() 2488 pPopup->EnableItem( ID_RENAME, sal_False ); in UpdateButtonStates() 2495 pPopup->EnableItem( ID_DELETE, sal_True ); in UpdateButtonStates() 2496 pPopup->EnableItem( ID_RENAME, sal_True ); in UpdateButtonStates() 4571 pPopup->EnableItem( ID_RENAME, sal_False ); 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() [all …]
|
/aoo42x/main/sw/source/ui/lingu/ |
H A D | olmenu.cxx | 451 EnableItem( MN_AUTOCORR, bEnable ); in SwSpellPopup() 523 EnableItem( MN_ADD_TO_DIC, bEnable ); in SwSpellPopup() 554 EnableItem( MN_SET_LANGUAGE_SELECTION, true ); in SwSpellPopup() 558 EnableItem( MN_SET_LANGUAGE_PARAGRAPH, true ); in SwSpellPopup() 636 EnableItem( MN_AUTOCORR, false ); in SwSpellPopup() 655 EnableItem( MN_IGNORE_WORD, false ); in SwSpellPopup() 656 EnableItem( MN_ADD_TO_DIC, false ); in SwSpellPopup() 687 EnableItem( MN_SET_LANGUAGE_SELECTION, true ); in SwSpellPopup() 691 EnableItem( MN_SET_LANGUAGE_PARAGRAPH, true ); in SwSpellPopup()
|
/aoo42x/main/avmedia/source/framework/ |
H A D | mediacontrol.cxx | 312 maPlayToolBox.EnableItem( AVMEDIA_TOOLBOXITEM_INSERT, bValidURL ); in implUpdateToolboxes() 313 maPlayToolBox.EnableItem( AVMEDIA_TOOLBOXITEM_PLAY, bValidURL ); in implUpdateToolboxes() 314 maPlayToolBox.EnableItem( AVMEDIA_TOOLBOXITEM_PLAYFFW, bValidURL ); in implUpdateToolboxes() 315 maPlayToolBox.EnableItem( AVMEDIA_TOOLBOXITEM_PAUSE, bValidURL ); in implUpdateToolboxes() 316 maPlayToolBox.EnableItem( AVMEDIA_TOOLBOXITEM_STOP, bValidURL ); in implUpdateToolboxes() 317 maPlayToolBox.EnableItem( AVMEDIA_TOOLBOXITEM_LOOP, bValidURL ); in implUpdateToolboxes() 318 maMuteToolBox.EnableItem( AVMEDIA_TOOLBOXITEM_MUTE, bValidURL ); in implUpdateToolboxes()
|
/aoo42x/main/dbaccess/source/ui/tabledesign/ |
H A D | TableDesignControl.cxx | 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()
|
/aoo42x/main/svx/source/form/ |
H A D | navigatortree.cxx | 446 pSubMenuNew->EnableItem( SID_FM_NEW_HIDDEN, bSingleSelection && m_nFormsSelected ); in Command() 449 aContextMenu.EnableItem( SID_FM_DELETE, !m_bRootSelected ); in Command() 452 aContextMenu.EnableItem( SID_CUT, !m_bRootSelected && implAllowExchange( DND_ACTION_MOVE ) ); in Command() 453 aContextMenu.EnableItem( SID_COPY, !m_bRootSelected && implAllowExchange( DND_ACTION_COPY ) ); in Command() 454 aContextMenu.EnableItem( SID_PASTE, implAcceptPaste( ) ); in Command() 457 aContextMenu.EnableItem( SID_FM_TAB_DIALOG, bSingleSelection && m_nFormsSelected ); in Command() 469 aContextMenu.EnableItem( SID_FM_SHOW_PROPERTY_BROWSER, in Command() 473 aContextMenu.EnableItem( SID_FM_RENAME_OBJECT, bSingleSelection && !m_bRootSelected ); in Command() 476 aContextMenu.EnableItem( SID_FM_OPEN_READONLY, m_bRootSelected ); in Command() 478 aContextMenu.EnableItem( SID_FM_AUTOCONTROLFOCUS, m_bRootSelected ); in Command() [all …]
|
/aoo42x/main/sw/source/ui/misc/ |
H A D | glossary.cxx | 499 pMn->EnableItem(FN_GL_DEFINE, bSelection && bHasEntry && !bExists); in IMPL_LINK_INLINE_END() 500 pMn->EnableItem(FN_GL_DEFINE_TEXT, bSelection && bHasEntry && !bExists); in IMPL_LINK_INLINE_END() 501 pMn->EnableItem(FN_GL_COPY_TO_CLIPBOARD, bExists); in IMPL_LINK_INLINE_END() 502 pMn->EnableItem(FN_GL_REPLACE, bSelection && bExists && !bIsOld ); in IMPL_LINK_INLINE_END() 503 pMn->EnableItem(FN_GL_REPLACE_TEXT, bSelection && bExists && !bIsOld ); in IMPL_LINK_INLINE_END() 504 pMn->EnableItem(FN_GL_EDIT, bExists ); in IMPL_LINK_INLINE_END() 505 pMn->EnableItem(FN_GL_RENAME, bExists ); in IMPL_LINK_INLINE_END() 506 pMn->EnableItem(FN_GL_DELETE, bExists ); in IMPL_LINK_INLINE_END() 507 pMn->EnableItem(FN_GL_MACRO, bExists && !bIsOld && in IMPL_LINK_INLINE_END() 514 pMn->EnableItem( FN_GL_IMPORT, bEnable ); in IMPL_LINK_INLINE_END()
|
/aoo42x/main/dbaccess/source/ui/dlg/ |
H A D | indexdialog.cxx | 312 m_aActions.EnableItem(ID_INDEX_NEW, !m_aIndexes.IsEditingActive()); in updateToolbox() 322 m_aActions.EnableItem(ID_INDEX_SAVE, aSelectedPos->isModified() || aSelectedPos->isNew()); in updateToolbox() 323 m_aActions.EnableItem(ID_INDEX_RESET, aSelectedPos->isModified() || aSelectedPos->isNew()); in updateToolbox() 328 m_aActions.EnableItem(ID_INDEX_SAVE, sal_False); in updateToolbox() 329 m_aActions.EnableItem(ID_INDEX_RESET, sal_False); in updateToolbox() 331 m_aActions.EnableItem(ID_INDEX_DROP, bSelectedAnything); in updateToolbox() 332 m_aActions.EnableItem(ID_INDEX_RENAME, bSelectedAnything); in updateToolbox()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | templdlg.cxx | 1335 EnableItem(SID_STYLE_WATERCAN,sal_False); in FillTreeBox() 1450 EnableItem(SID_STYLE_WATERCAN,sal_False); in UpdateStyles_Impl() 1519 EnableItem( SID_STYLE_WATERCAN, sal_True ); in SetWaterCanState() 1523 EnableItem(SID_STYLE_WATERCAN, sal_True); in SetWaterCanState() 1525 EnableItem(SID_STYLE_WATERCAN, sal_False); in SetWaterCanState() 2443 EnableItem(nId, bEnable); in EnableExample_Impl() 2462 pMenu->EnableItem( ID_EDIT, bCanEdit ); in CreateContextMenu() 2463 pMenu->EnableItem( ID_DELETE, bCanDel ); in CreateContextMenu() 2464 pMenu->EnableItem( ID_NEW, bCanNew ); in CreateContextMenu() 2534 m_aActionTbL.EnableItem( nId, bEnable ); in EnableFamilyItem() [all …]
|