diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:11:45 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:11:45 +0000 |
commit | 4c4f16b31ac50efca5fdc106cecb76a63dc4841b (patch) | |
tree | 3ff400658bc215dd92a1af7119fe942cc72a7258 /sc/inc/olinetab.hxx | |
parent | f36f163ae991ecf2b215f28a2f6a601e06b90ec0 (diff) |
INTEGRATION: CWS rowlimit (1.2.304); FILE MERGED
2004/03/11 12:05:48 er 1.2.304.6: #i1967# type correctness
2004/03/07 11:38:44 jmarmion 1.2.304.5: #i1967# step 5 changes.
2004/02/26 19:42:13 er 1.2.304.4: #i1967# type correctness
2004/02/26 17:29:21 jmarmion 1.2.304.3: #i1967# step 5 changes.
2004/02/20 22:54:28 er 1.2.304.2: #i1967# type correctness
2004/01/12 17:15:03 er 1.2.304.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
Diffstat (limited to 'sc/inc/olinetab.hxx')
-rw-r--r-- | sc/inc/olinetab.hxx | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx index 35ad9c7de67f..d2a0761326ab 100644 --- a/sc/inc/olinetab.hxx +++ b/sc/inc/olinetab.hxx @@ -2,9 +2,9 @@ * * $RCSfile: olinetab.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dr $ $Date: 2002-09-18 13:58:31 $ + * last change: $Author: obo $ $Date: 2004-06-04 10:11:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,13 +77,13 @@ class ScMultipleWriteHeader; class ScOutlineEntry : public DataObject { - USHORT nStart; - USHORT nSize; + SCCOLROW nStart; + SCSIZE nSize; BOOL bHidden; BOOL bVisible; public: - ScOutlineEntry( USHORT nNewStart, USHORT nNewSize, + ScOutlineEntry( SCCOLROW nNewStart, SCCOLROW nNewSize, BOOL bNewHidden = FALSE ); ScOutlineEntry( const ScOutlineEntry& rEntry ); ScOutlineEntry( SvStream& rStream, ScMultipleReadHeader& rHdr ); @@ -92,15 +92,15 @@ public: virtual DataObject* Clone() const; - USHORT GetStart() const { return nStart; } - USHORT GetSize() const { return nSize; } - USHORT GetEnd() const { return nStart+nSize-1; } + SCCOLROW GetStart() const { return nStart; } + SCSIZE GetSize() const { return nSize; } + SCCOLROW GetEnd() const { return nStart+nSize-1; } BOOL IsHidden() const { return bHidden; } // Gruppe versteckt BOOL IsVisible() const { return bVisible; } // Control sichtbar? - void Move( short nDelta ); - void SetSize( USHORT nNewSize ); - void SetPosSize( USHORT nNewPos, USHORT nNewSize ); + void Move( SCsCOLROW nDelta ); + void SetSize( SCSIZE nNewSize ); + void SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize ); void SetHidden( BOOL bNewHidden ); void SetVisible( BOOL bNewVisible ); }; @@ -113,7 +113,7 @@ public: virtual short Compare(DataObject* pKey1, DataObject* pKey2) const; - USHORT FindStart( USHORT nMinStart ); + USHORT FindStart( SCCOLROW nMinStart ); }; @@ -126,10 +126,10 @@ private: ScOutlineCollection aCollections[SC_OL_MAXDEPTH]; BOOL DecDepth(); - void FindEntry( USHORT nSearchPos, USHORT& rFindLevel, USHORT& rFindIndex, + void FindEntry( SCCOLROW nSearchPos, USHORT& rFindLevel, USHORT& rFindIndex, USHORT nMaxLevel = SC_OL_MAXDEPTH ); - void RemoveSub( USHORT nStartPos, USHORT nEndPos, USHORT nLevel ); - void PromoteSub( USHORT nStartPos, USHORT nEndPos, USHORT nStartLevel ); + void RemoveSub( SCCOLROW nStartPos, SCCOLROW nEndPos, USHORT nLevel ); + void PromoteSub( SCCOLROW nStartPos, SCCOLROW nEndPos, USHORT nStartLevel ); public: ScOutlineArray(); @@ -137,33 +137,33 @@ public: USHORT GetDepth() const { return nDepth; } - BOOL FindTouchedLevel( USHORT nBlockStart, USHORT nBockEnd, + BOOL FindTouchedLevel( SCCOLROW nBlockStart, SCCOLROW nBlockEnd, USHORT& rFindLevel ) const; - BOOL Insert( USHORT nStartCol, USHORT nEndCol, BOOL& rSizeChanged, + BOOL Insert( SCCOLROW nStartPos, SCCOLROW nEndPos, BOOL& rSizeChanged, BOOL bHidden = FALSE, BOOL bVisible = TRUE ); - BOOL Remove( USHORT nBlockStart, USHORT nBlockEnd, BOOL& rSizeChanged ); + BOOL Remove( SCCOLROW nBlockStart, SCCOLROW nBlockEnd, BOOL& rSizeChanged ); ScOutlineEntry* GetEntry( USHORT nLevel, USHORT nIndex ) const; USHORT GetCount( USHORT nLevel ) const; - ScOutlineEntry* GetEntryByPos( USHORT nLevel, USHORT nPos ) const; + ScOutlineEntry* GetEntryByPos( USHORT nLevel, SCCOLROW nPos ) const; - BOOL GetEntryIndex( USHORT nLevel, USHORT nPos, USHORT& rnIndex ) const; + BOOL GetEntryIndex( USHORT nLevel, SCCOLROW nPos, USHORT& rnIndex ) const; BOOL GetEntryIndexInRange( - USHORT nLevel, USHORT nBlockStart, USHORT nBlockEnd, + USHORT nLevel, SCCOLROW nBlockStart, SCCOLROW nBlockEnd, USHORT& rnIndex ) const; void SetVisibleBelow( USHORT nLevel, USHORT nEntry, BOOL bValue, BOOL bSkipHidden = FALSE ); - void GetRange( USHORT& rStart, USHORT& rEnd ) const; - void ExtendBlock( USHORT nLevel, USHORT& rBlkStart, USHORT& rBlkEnd ); + void GetRange( SCCOLROW& rStart, SCCOLROW& rEnd ) const; + void ExtendBlock( USHORT nLevel, SCCOLROW& rBlkStart, SCCOLROW& rBlkEnd ); - BOOL TestInsertSpace( USHORT nSize, USHORT nMaxVal ) const; - void InsertSpace( USHORT nStartPos, USHORT nSize ); - BOOL DeleteSpace( USHORT nStartPos, USHORT nSize ); + BOOL TestInsertSpace( SCSIZE nSize, SCCOLROW nMaxVal ) const; + void InsertSpace( SCCOLROW nStartPos, SCSIZE nSize ); + BOOL DeleteSpace( SCCOLROW nStartPos, SCSIZE nSize ); - BOOL ManualAction( USHORT nStartPos, USHORT nEndPos, + BOOL ManualAction( SCCOLROW nStartPos, SCCOLROW nEndPos, BOOL bShow, BYTE* pHiddenFlags ); void Load( SvStream& rStream ); @@ -188,12 +188,12 @@ public: const ScOutlineArray* GetRowArray() const { return &aRowOutline; } ScOutlineArray* GetRowArray() { return &aRowOutline; } - BOOL TestInsertCol( USHORT nSize ); - void InsertCol( USHORT nStartCol, USHORT nSize ); - BOOL DeleteCol( USHORT nStartCol, USHORT nSize ); // TRUE: Undo nur ueber Original - BOOL TestInsertRow( USHORT nSize ); - void InsertRow( USHORT nStartRow, USHORT nSize ); - BOOL DeleteRow( USHORT nStartRow, USHORT nSize ); + BOOL TestInsertCol( SCSIZE nSize ); + void InsertCol( SCCOL nStartCol, SCSIZE nSize ); + BOOL DeleteCol( SCCOL nStartCol, SCSIZE nSize ); // TRUE: Undo nur ueber Original + BOOL TestInsertRow( SCSIZE nSize ); + void InsertRow( SCROW nStartRow, SCSIZE nSize ); + BOOL DeleteRow( SCROW nStartRow, SCSIZE nSize ); void Load( SvStream& rStream ); void Store( SvStream& rStream ); @@ -204,8 +204,8 @@ class ScSubOutlineIterator { private: ScOutlineArray* pArray; - USHORT nStart; - USHORT nEnd; + SCCOLROW nStart; + SCCOLROW nEnd; USHORT nSubLevel; USHORT nSubEntry; USHORT nCount; |