summaryrefslogtreecommitdiff
path: root/sc/inc/consoli.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-04 09:05:10 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-04 09:05:10 +0000
commitb93b620a3c39b6a09b8da6115a954785470be99a (patch)
tree6fd81f8809fa74adca24d420705a60679651ddd0 /sc/inc/consoli.hxx
parentb1718a6f5fbae0887916bc6186399d0b828ec108 (diff)
INTEGRATION: CWS rowlimit (1.1.1.1.346); FILE MERGED
2004/03/05 17:11:39 er 1.1.1.1.346.4: #i1967# type correctness 2004/02/26 21:02:28 er 1.1.1.1.346.3: #i1967# type correctness 2004/01/12 17:14:54 er 1.1.1.1.346.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short 2003/12/19 20:16:11 er 1.1.1.1.346.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT
Diffstat (limited to 'sc/inc/consoli.hxx')
-rw-r--r--sc/inc/consoli.hxx51
1 files changed, 27 insertions, 24 deletions
diff --git a/sc/inc/consoli.hxx b/sc/inc/consoli.hxx
index f1643dd5a3a5..64a832ee24ef 100644
--- a/sc/inc/consoli.hxx
+++ b/sc/inc/consoli.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: consoli.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:44:48 $
+ * last change: $Author: obo $ $Date: 2004-06-04 10:05:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,9 @@
#ifndef SC_SCGLOB_HXX
#include "global.hxx"
#endif
+#ifndef SC_ADDRESS_HXX
+#include "address.hxx"
+#endif
class ScDocument;
@@ -72,9 +75,9 @@ class ScDocument;
struct ScReferenceEntry // ohne Constructor !
{
- USHORT nCol;
- USHORT nRow;
- USHORT nTab;
+ SCCOL nCol;
+ SCROW nRow;
+ SCTAB nTab;
};
@@ -83,19 +86,19 @@ struct ScReferenceEntry // ohne Constructor !
class ScReferenceList // ohne Constructor !
{
private:
- USHORT nCount;
- USHORT nFullSize; // inkl. Fuell-Eintraege
+ SCSIZE nCount;
+ SCSIZE nFullSize; // inkl. Fuell-Eintraege
ScReferenceEntry* pData;
public:
void Init() { nCount=0; nFullSize=0; pData=NULL; }
void Clear() { delete[] pData; }
- USHORT GetCount() { return nCount; }
- const ScReferenceEntry& GetEntry( USHORT nPos ) { return pData[nPos]; }
- void SetFullSize( USHORT nNew ) { nFullSize = nNew; }
+ SCSIZE GetCount() { return nCount; }
+ const ScReferenceEntry& GetEntry( SCSIZE nPos ) { return pData[nPos]; }
+ void SetFullSize( SCSIZE nNew ) { nFullSize = nNew; }
- void AddEntry( USHORT nCol, USHORT nRow, USHORT nTab );
+ void AddEntry( SCCOL nCol, SCROW nRow, SCTAB nTab );
};
// -----------------------------------------------------------------------
@@ -123,8 +126,8 @@ private:
BOOL bColByName;
BOOL bRowByName;
BOOL bSubTitles;
- USHORT nColCount;
- USHORT nRowCount;
+ SCSIZE nColCount;
+ SCSIZE nRowCount;
BOOL** ppUsed;
double** ppSum;
double** ppCount;
@@ -132,10 +135,10 @@ private:
ScReferenceList** ppRefs;
String** ppColHeaders;
String** ppRowHeaders;
- USHORT nDataCount;
- USHORT nTitleCount;
+ SCSIZE nDataCount;
+ SCSIZE nTitleCount;
String** ppTitles;
- USHORT** ppTitlePos;
+ SCSIZE** ppTitlePos;
BOOL bCornerUsed;
String aCornerText; // nur bei bColByName && bRowByName
@@ -143,24 +146,24 @@ public:
ScConsData();
~ScConsData();
- void SetSize( USHORT nCols, USHORT nRows );
+ void SetSize( SCCOL nCols, SCROW nRows );
void SetFlags( ScSubTotalFunc eFunc, BOOL bColName, BOOL bRowName, BOOL bRef );
void InitData(BOOL bDelete=TRUE);
void DeleteData();
- void AddFields( ScDocument* pSrcDoc, USHORT nTab,
- USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2 );
+ void AddFields( ScDocument* pSrcDoc, SCTAB nTab,
+ SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 );
void DoneFields();
- void AddData( ScDocument* pSrcDoc, USHORT nTab,
- USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2 );
+ void AddData( ScDocument* pSrcDoc, SCTAB nTab,
+ SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 );
void AddName( const String& rName );
- void OutputToDocument( ScDocument* pDestDoc, USHORT nCol, USHORT nRow, USHORT nTab );
+ void OutputToDocument( ScDocument* pDestDoc, SCCOL nCol, SCROW nRow, SCTAB nTab );
- void GetSize( USHORT& rCols, USHORT& rRows ) const;
- USHORT GetInsertCount() const;
+ void GetSize( SCCOL& rCols, SCROW& rRows ) const;
+ SCROW GetInsertCount() const;
};