From 76f5ca40207448dfb5a7c87ba2c27076e024a50f Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 8 Jun 2012 05:10:33 +0200 Subject: use the result of the dialog and apply it to the document Change-Id: I01dd992ccd3ddd6b8fc61ce0549ec71b5ff257c0 --- sc/inc/scabstdlg.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sc/inc/scabstdlg.hxx') 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 -- cgit