summaryrefslogtreecommitdiffstats
path: root/sc/inc/scabstdlg.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-08 05:10:33 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-11 08:01:25 +0200
commit76f5ca40207448dfb5a7c87ba2c27076e024a50f (patch)
treee7eedc3d82a247581d87d0f160bafca34b623d42 /sc/inc/scabstdlg.hxx
parentfix cond format import from ods (diff)
downloadcore-76f5ca40207448dfb5a7c87ba2c27076e024a50f.tar.gz
core-76f5ca40207448dfb5a7c87ba2c27076e024a50f.zip
use the result of the dialog and apply it to the document
Change-Id: I01dd992ccd3ddd6b8fc61ce0549ec71b5ff257c0
Diffstat (limited to 'sc/inc/scabstdlg.hxx')
-rw-r--r--sc/inc/scabstdlg.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx
index f91be6650197..496ab89cec59 100644
--- a/sc/inc/scabstdlg.hxx
+++ b/sc/inc/scabstdlg.hxx
@@ -57,6 +57,7 @@ class ScDPObject;
struct ScDPFuncData;
struct ScDPNumGroupInfo;
class ScTabViewShell;
+class ScConditionalFormat;
namespace com { namespace sun { namespace star { namespace sheet {
struct DataPilotFieldReference;
@@ -87,6 +88,8 @@ public:
class AbstractScCondFormatDlg : public VclAbstractDialog
{
+public:
+ virtual ScConditionalFormat* GetConditionalFormat() = 0;
};
class AbstractScDataBarSettingsDlg : public VclAbstractDialog
@@ -356,8 +359,8 @@ public:
sal_Bool bColDefault = sal_True ) = 0;
virtual VclAbstractDialog * CreateScSortWarningDlg ( Window* pParent, const String& rExtendText, const String& rCurrentText, int nId ) = 0; //add for ScSortWarningDlg
- virtual AbstractScCondFormatDlg* CreateScCondFormatDlg (Window* pParent, ScDocument* pDoc, ScConditionalFormat* pFormat,
- const ScRangeList& rList, int nId ) = 0; //add for ScCondFormatDlg
+ virtual AbstractScCondFormatDlg* CreateScCondFormatDlg (Window* pParent, ScDocument* pDoc, const ScConditionalFormat* pFormat,
+ const ScRangeList& rList, const ScAddress& rPos, int nId ) = 0; //add for ScCondFormatDlg
virtual AbstractScDataBarSettingsDlg* CreateScDataBarSetttingsDlg (Window* pParent ,int nId ) = 0; //add for ScDataBarSettingsDlg