Lines Matching refs:bDesignMode
137 …mageList& rList, sal_uInt16 nID, Menu* pMenu, Menu& rNewMenu, sal_Bool bDesignMode = sal_True, sal… in SetMenuItem() argument
140 pMenu->EnableItem(nID, bDesignMode); in SetMenuItem()
144 rNewMenu.EnableItem(nID + nOffset, bDesignMode); in SetMenuItem()
659 sal_Bool bDesignMode = static_cast<FmGridControl*>(GetParent())->IsDesignMode(); in PreExecuteColumnContextMenu() local
686 SetMenuItem(aImageList, SID_FM_EDIT, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
687 SetMenuItem(aImageList, SID_FM_CHECKBOX, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
688 SetMenuItem(aImageList, SID_FM_COMBOBOX, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
689 SetMenuItem(aImageList, SID_FM_LISTBOX, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
690 SetMenuItem(aImageList, SID_FM_DATEFIELD, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
691 SetMenuItem(aImageList, SID_FM_TIMEFIELD, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
692 SetMenuItem(aImageList, SID_FM_NUMERICFIELD, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
693 SetMenuItem(aImageList, SID_FM_CURRENCYFIELD, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
694 SetMenuItem(aImageList, SID_FM_PATTERNFIELD, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
695 SetMenuItem(aImageList, SID_FM_FORMATTEDFIELD, pMenu, *pControlMenu, bDesignMode); in PreExecuteColumnContextMenu()
720 …pControlMenu->EnableItem(SID_FM_EDIT + nChangeTypeOffset, bDesignMode && (nColType != TYPE_TEXTFIE… in PreExecuteColumnContextMenu()
721 …pControlMenu->EnableItem(SID_FM_COMBOBOX + nChangeTypeOffset, bDesignMode && (nColType != TYPE_COM… in PreExecuteColumnContextMenu()
722 …pControlMenu->EnableItem(SID_FM_LISTBOX + nChangeTypeOffset, bDesignMode && (nColType != TYPE_LIST… in PreExecuteColumnContextMenu()
723 …pControlMenu->EnableItem(SID_FM_CHECKBOX + nChangeTypeOffset, bDesignMode && (nColType != TYPE_CHE… in PreExecuteColumnContextMenu()
724 …pControlMenu->EnableItem(SID_FM_DATEFIELD + nChangeTypeOffset, bDesignMode && (nColType != TYPE_DA… in PreExecuteColumnContextMenu()
725 …pControlMenu->EnableItem(SID_FM_NUMERICFIELD + nChangeTypeOffset, bDesignMode && (nColType != TYPE… in PreExecuteColumnContextMenu()
726 …pControlMenu->EnableItem(SID_FM_TIMEFIELD + nChangeTypeOffset, bDesignMode && (nColType != TYPE_TI… in PreExecuteColumnContextMenu()
727 …pControlMenu->EnableItem(SID_FM_CURRENCYFIELD + nChangeTypeOffset, bDesignMode && (nColType != TYP… in PreExecuteColumnContextMenu()
728 …pControlMenu->EnableItem(SID_FM_PATTERNFIELD + nChangeTypeOffset, bDesignMode && (nColType != TYPE… in PreExecuteColumnContextMenu()
729 …pControlMenu->EnableItem(SID_FM_FORMATTEDFIELD + nChangeTypeOffset, bDesignMode && (nColType != TY… 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()
773 …bAllowHide = bAllowHide || (!bDesignMode && (nPos != (sal_uInt16)-1)); // OR we are in alive mode … in PreExecuteColumnContextMenu()