Home
last modified time | relevance | path

Searched refs:EnableItem (Results 1 – 25 of 121) sorted by relevance

12345

/aoo41x/main/chart2/source/controller/dialogs/
H A Ddlg_DataEditor.cxx172 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 …]
/aoo41x/main/sw/source/ui/docvw/
H A Dromenu.cxx95 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()
247 EnableItem( MN_READONLY_OPENURL, sal_False ); in SwReadOnlyPopup()
248 EnableItem( MN_READONLY_OPENURLNEW, sal_False ); in SwReadOnlyPopup()
[all …]
H A DAnnotationMenuButton.cxx80 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()
/aoo41x/main/svx/source/dialog/
H A Dimapdlg.cxx253 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 Dimapwnd.cxx613 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.cxx981 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 Dhyprlink.cxx270 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()
/aoo41x/main/svx/source/gallery2/
H A Dgalbrws2.cxx206 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 …]
/aoo41x/main/basic/workben/
H A Dmgrtest.cxx222 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 …]
/aoo41x/main/sd/source/ui/dlg/
H A Dnavigatr.cxx218 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 …]
/aoo41x/main/sw/source/ui/utlui/
H A Dglbltree.cxx382 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 …]
/aoo41x/main/svx/source/sidebar/text/
H A DTextPropertyPanel.cxx927 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 …]
/aoo41x/main/svx/source/sidebar/paragraph/
H A DParaPropertyPanel.cxx700 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 …]
/aoo41x/main/basctl/source/basicide/
H A Dbastypes.cxx557 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 …]
/aoo41x/main/svx/source/fmcomp/
H A Dfmgridcl.cxx140 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 …]
/aoo41x/main/sd/source/ui/annotations/
H A Dannotationmanager.cxx1018 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 …]
/aoo41x/main/cui/source/customize/
H A Dcfg.cxx2467 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 …]
/aoo41x/main/sw/source/ui/lingu/
H A Dolmenu.cxx451 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()
/aoo41x/main/avmedia/source/framework/
H A Dmediacontrol.cxx312 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()
/aoo41x/main/dbaccess/source/ui/tabledesign/
H A DTableDesignControl.cxx162 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()
/aoo41x/main/dbaccess/source/ui/dlg/
H A Dindexdialog.cxx312 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()
/aoo41x/main/sw/source/ui/misc/
H A Dglossary.cxx494 pMn->EnableItem(FN_GL_DEFINE, bSelection && bHasEntry && !bExists); in IMPL_LINK_INLINE_END()
495 pMn->EnableItem(FN_GL_DEFINE_TEXT, bSelection && bHasEntry && !bExists); in IMPL_LINK_INLINE_END()
496 pMn->EnableItem(FN_GL_COPY_TO_CLIPBOARD, bExists); in IMPL_LINK_INLINE_END()
497 pMn->EnableItem(FN_GL_REPLACE, bSelection && bExists && !bIsOld ); in IMPL_LINK_INLINE_END()
498 pMn->EnableItem(FN_GL_REPLACE_TEXT, bSelection && bExists && !bIsOld ); in IMPL_LINK_INLINE_END()
499 pMn->EnableItem(FN_GL_EDIT, bExists ); in IMPL_LINK_INLINE_END()
500 pMn->EnableItem(FN_GL_RENAME, bExists ); in IMPL_LINK_INLINE_END()
501 pMn->EnableItem(FN_GL_DELETE, bExists ); in IMPL_LINK_INLINE_END()
502 pMn->EnableItem(FN_GL_MACRO, bExists && !bIsOld && in IMPL_LINK_INLINE_END()
509 pMn->EnableItem( FN_GL_IMPORT, bEnable ); in IMPL_LINK_INLINE_END()
/aoo41x/main/svx/source/form/
H A Dnavigatortree.cxx446 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 …]
/aoo41x/main/sfx2/source/dialog/
H A Dtempldlg.cxx1335 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 …]
/aoo41x/main/soldep/source/
H A Dtbox.cxx429 case WINDOWALIGN_TOP : aPopupMenu.EnableItem( 1, sal_False ); break; in Command()
430 case WINDOWALIGN_BOTTOM : aPopupMenu.EnableItem( 2, sal_False ); break; in Command()
431 case WINDOWALIGN_LEFT : aPopupMenu.EnableItem( 3, sal_False ); break; in Command()
432 case WINDOWALIGN_RIGHT : aPopupMenu.EnableItem( 4, sal_False ); break; in Command()
498 if (!IsItemEnabled( nItemId )) aMenu.EnableItem( nItemId, sal_False ); in InitContextMenu()

Completed in 535 milliseconds

12345