summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/conditio.hxx2
-rw-r--r--sc/inc/globstr.hrc3
-rw-r--r--sc/inc/sc.hrc3
-rw-r--r--sc/inc/scabstdlg.hxx10
4 files changed, 16 insertions, 2 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index 2938ca7c54b8..eaeccf5a8f14 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -314,7 +314,7 @@ public:
// List of areas and formats:
//
-class ScConditionalFormatList
+class SC_DLLPUBLIC ScConditionalFormatList
{
private:
boost::ptr_set<ScConditionalFormat> maConditionalFormats;
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index 28031aac34ef..5ebcb62ddc96 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -589,8 +589,9 @@
#define STR_UNSAVED_EXT_REF 465
#define STR_CLOSE_WITH_UNSAVED_REFS 466
#define STR_PIVOT_GROUP 467
+#define STR_HEADER_COND 468
-#define STR_COUNT 468
+#define STR_COUNT 469
#endif
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index b3f194ae0dad..dc7b2f593727 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -247,6 +247,7 @@
#define SID_OPENDLG_CONDFRMT (SC_MESSAGE_START + 59)
#define SID_OPENDLG_OPTSOLVER (SC_MESSAGE_START + 60)
#define SID_VALIDITY_REFERENCE (SC_MESSAGE_START + 61)
+#define SID_OPENDLG_CONDFRMT_MANAGER (SC_MESSAGE_START + 62)
#define SC_HINT_NAVIGATOR_UPDATEALL (SC_MESSAGE_START + 65)
// functions
@@ -1080,6 +1081,8 @@
#define RID_COND_ENTRY (SC_DIALOGS_START + 156)
#define RID_SCDLG_FORMULA_CALCOPTIONS (SC_DIALOGS_START + 157)
+#define RID_SCDLG_COND_FORMAT_MANAGER (SC_DIALOGS_START + 158)
+
#define SC_DIALOGS_END (SC_DIALOGS_START + 160)
#ifndef STD_MASKCOLOR
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx
index 375bb98cfd37..7ecad756e22a 100644
--- a/sc/inc/scabstdlg.hxx
+++ b/sc/inc/scabstdlg.hxx
@@ -57,6 +57,7 @@ struct ScDPFuncData;
struct ScDPNumGroupInfo;
class ScTabViewShell;
class ScConditionalFormat;
+class ScConditionalFormatList;
namespace com { namespace sun { namespace star { namespace sheet {
struct DataPilotFieldReference;
@@ -91,6 +92,12 @@ public:
virtual ScConditionalFormat* GetConditionalFormat() = 0;
};
+class AbstractScCondFormatManagerDlg : public VclAbstractDialog
+{
+public:
+ virtual ScConditionalFormatList* GetConditionalFormatList() = 0;
+};
+
class AbstractScDataBarSettingsDlg : public VclAbstractDialog
{
};
@@ -361,6 +368,9 @@ public:
virtual AbstractScCondFormatDlg* CreateScCondFormatDlg (Window* pParent, ScDocument* pDoc, const ScConditionalFormat* pFormat,
const ScRangeList& rList, const ScAddress& rPos, int nId ) = 0; //add for ScCondFormatDlg
+ virtual AbstractScCondFormatManagerDlg* CreateScCondFormatMgrDlg(Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList,
+ const ScRangeList& rList, const ScAddress& rPos, int nId ) = 0;
+
virtual AbstractScDataBarSettingsDlg* CreateScDataBarSetttingsDlg (Window* pParent, ScDocument* pDoc, int nId ) = 0; //add for ScDataBarSettingsDlg
virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg (Window* pParent ,int nId ) = 0; //add for ScDataPilotDatabaseDlg