summaryrefslogtreecommitdiff
path: root/sc/inc/olinetab.hxx
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2002-09-18 12:58:31 +0000
committerDaniel Rentz <dr@openoffice.org>2002-09-18 12:58:31 +0000
commitd942efb344a1152d87e0fa08e0d802446bfc2a41 (patch)
treec783c959b7d4865f060de29da06249d6e3465e4b /sc/inc/olinetab.hxx
parent7af6d217d66cb2ec1ec467672add8d3d1477d787 (diff)
#97774# keyboard for ScOutlineWindow
Diffstat (limited to 'sc/inc/olinetab.hxx')
-rw-r--r--sc/inc/olinetab.hxx22
1 files changed, 14 insertions, 8 deletions
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx
index 60bc73817cb5..35ad9c7de67f 100644
--- a/sc/inc/olinetab.hxx
+++ b/sc/inc/olinetab.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: olinetab.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:44:49 $
+ * last change: $Author: dr $ $Date: 2002-09-18 13:58:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -138,22 +138,28 @@ public:
USHORT GetDepth() const { return nDepth; }
BOOL FindTouchedLevel( USHORT nBlockStart, USHORT nBockEnd,
- USHORT& rFindLevel );
+ USHORT& rFindLevel ) const;
BOOL Insert( USHORT nStartCol, USHORT nEndCol, BOOL& rSizeChanged,
BOOL bHidden = FALSE, BOOL bVisible = TRUE );
BOOL Remove( USHORT nBlockStart, USHORT nBlockEnd, BOOL& rSizeChanged );
- ScOutlineEntry* GetEntry( USHORT nLevel, USHORT nIndex );
- USHORT GetCount( USHORT nLevel );
- ScOutlineEntry* GetEntryByPos( USHORT nLevel, USHORT nPos );
+ ScOutlineEntry* GetEntry( USHORT nLevel, USHORT nIndex ) const;
+ USHORT GetCount( USHORT nLevel ) const;
+ ScOutlineEntry* GetEntryByPos( USHORT nLevel, USHORT nPos ) const;
+
+ BOOL GetEntryIndex( USHORT nLevel, USHORT nPos, USHORT& rnIndex ) const;
+ BOOL GetEntryIndexInRange(
+ USHORT nLevel, USHORT nBlockStart, USHORT nBlockEnd,
+ USHORT& rnIndex ) const;
+
void SetVisibleBelow( USHORT nLevel, USHORT nEntry, BOOL bValue,
BOOL bSkipHidden = FALSE );
- void GetRange( USHORT& rStart, USHORT& rEnd );
+ void GetRange( USHORT& rStart, USHORT& rEnd ) const;
void ExtendBlock( USHORT nLevel, USHORT& rBlkStart, USHORT& rBlkEnd );
- BOOL TestInsertSpace( USHORT nSize, USHORT nMaxVal );
+ BOOL TestInsertSpace( USHORT nSize, USHORT nMaxVal ) const;
void InsertSpace( USHORT nStartPos, USHORT nSize );
BOOL DeleteSpace( USHORT nStartPos, USHORT nSize );