diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-05-31 04:53:18 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-11 08:01:22 +0200 |
commit | 17675467b695967bcb02356be617448949ee60a5 (patch) | |
tree | 4c4c2e124737a11a8cdb72503c69233f4ce42f22 /sc/inc | |
parent | Bin pointless <vcl/sv.h> header (diff) | |
download | core-17675467b695967bcb02356be617448949ee60a5.tar.gz core-17675467b695967bcb02356be617448949ee60a5.zip |
data bar settings menu
Change-Id: I7cf3604392b04c2fdd5070caebf9f9dc1ce178c8
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/sc.hrc | 31 | ||||
-rw-r--r-- | sc/inc/scabstdlg.hxx | 7 | ||||
-rw-r--r-- | sc/inc/sccommands.h | 2 |
3 files changed, 27 insertions, 13 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index 1059d9c7ba5c..5ab3de4b091c 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -374,16 +374,18 @@ #define FID_COL_SHOW (FORMAT_MENU_START + 8) #define FID_TABLE_HIDE (FORMAT_MENU_START + 9) #define FID_TABLE_SHOW (FORMAT_MENU_START + 10) -#define FID_CONDITIONAL_FORMAT (FORMAT_MENU_START + 11) -#define SID_SCSTYLES (FORMAT_MENU_START + 12) -#define FID_MERGE_ON (FORMAT_MENU_START + 13) -#define FID_MERGE_OFF (FORMAT_MENU_START + 14) -#define SID_FORMATPAGE (FORMAT_MENU_START + 15) -#define SID_TEXT_STANDARD (FORMAT_MENU_START + 16) -#define SID_DRAWTEXT_ATTR_DLG (FORMAT_MENU_START + 17) -#define FID_TABLE_VISIBLE (FORMAT_MENU_START + 18) -#define FID_COL_OPT_DIRECT (FORMAT_MENU_START + 19) -#define FORMAT_MENU_END (FORMAT_MENU_START + 20) +#define SID_COLORSCALE (FORMAT_MENU_START + 11) +#define SID_DATABAR (FORMAT_MENU_START + 12) +#define FID_CONDITIONAL_FORMAT (FORMAT_MENU_START + 13) +#define SID_SCSTYLES (FORMAT_MENU_START + 14) +#define FID_MERGE_ON (FORMAT_MENU_START + 15) +#define FID_MERGE_OFF (FORMAT_MENU_START + 16) +#define SID_FORMATPAGE (FORMAT_MENU_START + 17) +#define SID_TEXT_STANDARD (FORMAT_MENU_START + 18) +#define SID_DRAWTEXT_ATTR_DLG (FORMAT_MENU_START + 19) +#define FID_TABLE_VISIBLE (FORMAT_MENU_START + 20) +#define FID_COL_OPT_DIRECT (FORMAT_MENU_START + 21) +#define FORMAT_MENU_END (FORMAT_MENU_START + 22) #define EXTRA_MENU_START (FORMAT_MENU_END) #define FID_VOICE_CONTROL (EXTRA_MENU_START + 1) @@ -420,8 +422,8 @@ #define SID_AUTO_FILTER (DATA_MENU_START + 5) #define SID_UNFILTER (DATA_MENU_START + 6) #define SID_QUERY (DATA_MENU_START + 7) -#define SID_SUBTOTALS (DATA_MENU_START + 8) -#define SID_AUTO_OUTLINE (DATA_MENU_START + 13) +#define SID_SUBTOTALS (DATA_MENU_START + 13) +#define SID_AUTO_OUTLINE (DATA_MENU_START + 14) #define SID_IMPORT_DATA (DATA_MENU_START + 15) #define SID_REIMPORT_DATA (DATA_MENU_START + 16) #define SID_PIVOT_TABLE (DATA_MENU_START + 17) @@ -1231,7 +1233,10 @@ #define RID_SCDLG_FORMULA_CALCOPTIONS (SC_DIALOGS_START + 155) #define RID_SCPAGE_SORTKEY_FIELDS (SC_DIALOGS_START + 156) #define RID_SCDLG_SORTKEY (SC_DIALOGS_START + 157) -#define SC_DIALOGS_END (SC_DIALOGS_START + 158) +#define RID_SCDLG_COLORSCALE (SC_DIALOGS_START + 158) +#define RID_SCDLG_DATABAR (SC_DIALOGS_START + 159) + +#define SC_DIALOGS_END (SC_DIALOGS_START + 160) #ifndef STD_MASKCOLOR #define STD_MASKCOLOR Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; } diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx index 6e5d0010510e..0904646e816d 100644 --- a/sc/inc/scabstdlg.hxx +++ b/sc/inc/scabstdlg.hxx @@ -85,6 +85,10 @@ public: virtual sal_Bool IsRow() = 0; }; +class AbstractScDataBarSettingsDlg : public VclAbstractDialog +{ +}; + class AbstractScDataPilotDatabaseDlg :public VclAbstractDialog //add for ScDataPilotDatabaseDlg { public: @@ -347,6 +351,9 @@ public: int nId, sal_Bool bColDefault = sal_True ) = 0; virtual VclAbstractDialog * CreateScSortWarningDlg ( Window* pParent, const String& rExtendText, const String& rCurrentText, int nId ) = 0; //add for ScSortWarningDlg + + virtual AbstractScDataBarSettingsDlg* CreateScDataBarSetttingsDlg (Window* pParent ,int nId ) = 0; //add for ScDataBarSettingsDlg + virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg (Window* pParent ,int nId ) = 0; //add for ScDataPilotDatabaseDlg virtual AbstractScDataPilotSourceTypeDlg * CreateScDataPilotSourceTypeDlg ( Window* pParent, sal_Bool bEnableExternal, int nId ) = 0; //add for ScDataPilotSourceTypeDlg diff --git a/sc/inc/sccommands.h b/sc/inc/sccommands.h index 3bac2d856bc3..450f57f6ae5c 100644 --- a/sc/inc/sccommands.h +++ b/sc/inc/sccommands.h @@ -67,6 +67,7 @@ #define CMD_SID_DETECTIVE_DEL_PRED ".uno:ClearArrowPrecedents" #define CMD_SID_DETECTIVE_DEL_ALL ".uno:ClearArrows" #define CMD_SID_DELETE_CONTENTS ".uno:ClearContents" +#define CMD_SID_COLORSCALE ".uno:ColorScaleDialog" #define CMD_SID_RANGE_COL ".uno:Column" #define CMD_FID_COL_WIDTH ".uno:ColumnWidth" #define CMD_FID_CHG_COMMENT ".uno:CommentChange" @@ -77,6 +78,7 @@ #define CMD_SID_CREATE_SW_DRAWVIEW ".uno:CreateSWDrawView" #define CMD_SID_RANGE_REGION ".uno:CurrentRegion" #define CMD_SID_REFRESH_DBAREA ".uno:DataAreaRefresh" +#define CMD_SID_DATABAR ".uno:DataBarDialog" #define CMD_SID_OPENDLG_CONSOLIDATE ".uno:DataConsolidate" #define CMD_SID_OPENDLG_PIVOTTABLE ".uno:DataDataPilotRun" #define CMD_SID_AUTO_FILTER ".uno:DataFilterAutoFilter" |