summaryrefslogtreecommitdiff
path: root/sc/inc/global.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-08 08:00:46 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-08 08:00:46 +0000
commit4162873b7d464dd8395015a97a29180964348b2a (patch)
tree2c29720fcb1e2e3819c8b96362c25df6f86b92d9 /sc/inc/global.hxx
parent7683634508399c2661487693507d1176e6a39e58 (diff)
#i10000# resolve implementation conflicts pivot.hxx (from CWSs fieldoptions/rowtable)
Diffstat (limited to 'sc/inc/global.hxx')
-rw-r--r--sc/inc/global.hxx78
1 files changed, 2 insertions, 76 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index c61c678e770f..ed0ac3b1a5fc 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: global.hxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: obo $ $Date: 2004-06-04 14:44:19 $
+ * last change: $Author: obo $ $Date: 2004-06-08 09:00:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1086,80 +1086,6 @@ struct ScConsolidateParam
};
// -----------------------------------------------------------------------
-struct PivotField
-{
- SCsCOL nCol;
- USHORT nFuncMask;
- USHORT nFuncCount;
-
- PivotField() :
- nCol(0),nFuncMask(0),nFuncCount(0) {}
-
- PivotField( const PivotField& rCpy ) :
- nCol(rCpy.nCol),nFuncMask(rCpy.nFuncMask),nFuncCount(rCpy.nFuncCount) {}
-
- PivotField(SCsCOL nNewCol, USHORT nNewFuncMask = 0) :
- nCol(nNewCol),nFuncMask(nNewFuncMask),nFuncCount(0) {}
-
- PivotField operator = (const PivotField& r)
- {
- nCol = r.nCol;
- nFuncMask = r.nFuncMask;
- nFuncCount = r.nFuncCount;
- return *this;
- }
-
- BOOL operator == (const PivotField& r) const
- {
- return ( (nCol == r.nCol)
- && (nFuncMask == r.nFuncMask)
- && (nFuncCount == r.nFuncCount));
- }
-};
-
-// -----------------------------------------------------------------------
-struct ScPivotParam
-{
- SCCOL nCol; // Cursor Position /
- SCROW nRow; // bzw. Anfang des Zielbereiches
- SCTAB nTab;
- LabelData** ppLabelArr;
- SCSIZE nLabels;
- PivotField aPageArr[PIVOT_MAXPAGEFIELD];
- PivotField aColArr[PIVOT_MAXFIELD];
- PivotField aRowArr[PIVOT_MAXFIELD];
- PivotField aDataArr[PIVOT_MAXFIELD];
- SCSIZE nPageCount;
- SCSIZE nColCount;
- SCSIZE nRowCount;
- SCSIZE nDataCount;
- BOOL bIgnoreEmptyRows;
- BOOL bDetectCategories;
- BOOL bMakeTotalCol;
- BOOL bMakeTotalRow;
-
- ScPivotParam();
- ScPivotParam( const ScPivotParam& r );
- ~ScPivotParam();
-
- ScPivotParam& operator= ( const ScPivotParam& r );
- BOOL operator== ( const ScPivotParam& r ) const;
- void Clear ();
- void ClearLabelData ();
- void ClearPivotArrays();
- void SetLabelData ( LabelData** ppLabArr,
- SCSIZE nLab );
- void SetPivotArrays ( const PivotField* pPageArr,
- const PivotField* pColArr,
- const PivotField* pRowArr,
- const PivotField* pDataArr,
- SCSIZE nPageCnt,
- SCSIZE nColCnt,
- SCSIZE nRowCnt,
- SCSIZE nDataCnt );
-};
-
-
extern ::utl::TransliterationWrapper* GetScGlobalpTransliteration();//CHINA001
extern const LocaleDataWrapper* GetScGlobalpLocaleData();