diff options
author | Sascha Ballach <sab@openoffice.org> | 2002-09-04 07:27:28 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2002-09-04 07:27:28 +0000 |
commit | dee0a44f18a7718640c030b052fc2a30373f4563 (patch) | |
tree | c825a163c3fd40912cff326617d97c6ae618090b /sc/inc/datauno.hxx | |
parent | 057fbfd97262c1a1ee0e149789ac04d900952251 (diff) |
#97084#; the FilterDescriptor gets now the docshell to get the NumberFormatter of the Document. Also it is a SfxListener to recognize whether the document is dying
Diffstat (limited to 'sc/inc/datauno.hxx')
-rw-r--r-- | sc/inc/datauno.hxx | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/sc/inc/datauno.hxx b/sc/inc/datauno.hxx index 203051c23d37..2d5707ed38be 100644 --- a/sc/inc/datauno.hxx +++ b/sc/inc/datauno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: datauno.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: er $ $Date: 2001-03-12 16:43:25 $ + * last change: $Author: sab $ $Date: 2002-09-04 08:27:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -420,15 +420,19 @@ public: class ScFilterDescriptorBase : public cppu::WeakImplHelper3< com::sun::star::sheet::XSheetFilterDescriptor, com::sun::star::beans::XPropertySet, - com::sun::star::lang::XServiceInfo > + com::sun::star::lang::XServiceInfo >, + public SfxListener { private: SfxItemPropertySet aPropSet; + ScDocShell* pDocSh; public: - ScFilterDescriptorBase(); + ScFilterDescriptorBase(ScDocShell* pDocShell); virtual ~ScFilterDescriptorBase(); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + // in den Ableitungen: // (nField[] hier innerhalb des Bereichs) virtual void GetData( ScQueryParam& rParam ) const = 0; @@ -500,7 +504,7 @@ private: ScQueryParam aStoredParam; // nField[] hier innerhalb des Bereichs public: - ScFilterDescriptor(); + ScFilterDescriptor(ScDocShell* pDocSh); virtual ~ScFilterDescriptor(); // von ScFilterDescriptorBase: @@ -521,7 +525,7 @@ private: ScDatabaseRangeObj* pParent; public: - ScRangeFilterDescriptor(ScDatabaseRangeObj* pPar); + ScRangeFilterDescriptor(ScDocShell* pDocSh, ScDatabaseRangeObj* pPar); virtual ~ScRangeFilterDescriptor(); // von ScFilterDescriptorBase: @@ -538,7 +542,7 @@ private: ScDataPilotDescriptorBase* pParent; public: - ScDataPilotFilterDescriptor(ScDataPilotDescriptorBase* pPar); + ScDataPilotFilterDescriptor(ScDocShell* pDocSh, ScDataPilotDescriptorBase* pPar); virtual ~ScDataPilotFilterDescriptor(); // von ScFilterDescriptorBase: |