diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-03 11:33:42 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-03 11:33:42 +0000 |
commit | 3b743e7da6a82f0c6f2e74248bfa36881284eb01 (patch) | |
tree | 8b790e8eccb9d5d7ccb76d1a9c8e43c25bd0956b /sc/inc/dpsave.hxx | |
parent | 7281a43488ab3079a8e1c1c926ef41d79affd164 (diff) |
INTEGRATION: CWS grouping (1.3.4); FILE MERGED
2004/06/10 13:02:10 nn 1.3.4.3: RESYNC: (1.3-1.4); FILE MERGED
2004/04/29 15:26:32 nn 1.3.4.2: #i25110# renaming of group dimensions and groups
2004/04/26 15:54:04 nn 1.3.4.1: #i25110# functions to manipulate groups
Diffstat (limited to 'sc/inc/dpsave.hxx')
-rw-r--r-- | sc/inc/dpsave.hxx | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx index de41e0bc7a50..528a18634a9f 100644 --- a/sc/inc/dpsave.hxx +++ b/sc/inc/dpsave.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dpsave.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2004-07-23 12:51:46 $ + * last change: $Author: hr $ $Date: 2004-08-03 12:33:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,6 +82,7 @@ namespace com { namespace sun { namespace star { namespace sheet { } } } } class SvStream; +class ScDPDimensionSaveData; // -------------------------------------------------------------------- // @@ -112,6 +113,8 @@ public: void SetShowDetails(BOOL bSet); BOOL GetShowDetails() const { return BOOL(nShowDetailsMode); } + void SetName( const String& rNew ); // used if the source member was renamed (groups) + void WriteToSource( const com::sun::star::uno::Reference< com::sun::star::uno::XInterface>& xMember ); @@ -157,6 +160,8 @@ public: const String& GetName() const { return aName; } BOOL IsDataLayout() const { return bIsDataLayout; } + void SetName( const String& rNew ); // used if the source dim was renamed (groups) + void SetOrientation(USHORT nNew); void SetSubTotals(BOOL bSet); // to be removed! void SetSubTotals(long nCount, const USHORT* pFuncs); @@ -203,6 +208,7 @@ class ScDPSaveData { private: List aDimList; + ScDPDimensionSaveData* pDimensionData; // settings that create new dimensions USHORT nColumnGrandMode; USHORT nRowGrandMode; USHORT nIgnoreEmptyMode; @@ -231,9 +237,12 @@ public: ScDPSaveDimension* GetExistingDimensionByName(const String& rName); ScDPSaveDimension* GetNewDimensionByName(const String& rName); + void RemoveDimensionByName(const String& rName); + ScDPSaveDimension* GetInnermostDimension(USHORT nOrientation); long GetDataDimensionCount() const; + void SetPosition( ScDPSaveDimension* pDim, long nNew ); void SetColumnGrand( BOOL bSet ); BOOL GetColumnGrand() const { return BOOL(nColumnGrandMode); } @@ -256,6 +265,10 @@ public: void Load( SvStream& rStream ); BOOL IsEmpty() const; + + const ScDPDimensionSaveData* GetExistingDimensionData() const { return pDimensionData; } + ScDPDimensionSaveData* GetDimensionData(); // create if not there + void SetDimensionData( const ScDPDimensionSaveData* pNew ); // copied }; |