summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/prevloc.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-04-23 17:19:43 +0000
committerNiklas Nebel <nn@openoffice.org>2002-04-23 17:19:43 +0000
commit84317c8593e7908013778bb6e7f838e457a4cfbd (patch)
tree0d390a2dbf3d6505ba420d5de7bfc8ff144479ae /sc/source/ui/inc/prevloc.hxx
parentca963a86e721479616747d2f5a956a8e591e1730 (diff)
#95584# make missing information about headers and notes available
Diffstat (limited to 'sc/source/ui/inc/prevloc.hxx')
-rw-r--r--sc/source/ui/inc/prevloc.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx
index f5665c329652..b797e7f3a0c8 100644
--- a/sc/source/ui/inc/prevloc.hxx
+++ b/sc/source/ui/inc/prevloc.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prevloc.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: sab $ $Date: 2002-04-08 14:58:54 $
+ * last change: $Author: nn $ $Date: 2002-04-23 18:18:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -139,7 +139,7 @@ public:
void AddCellRange( const Rectangle& rRect, const ScRange& rRange, BOOL bRepCol, BOOL bRepRow );
void AddColHeaders( const Rectangle& rRect, USHORT nStartCol, USHORT nEndCol, BOOL bRepCol );
void AddRowHeaders( const Rectangle& rRect, USHORT nStartRow, USHORT nEndRow, BOOL bRepRow );
- void AddHeaderFooter( const Rectangle& rRect, BOOL bHeader );
+ void AddHeaderFooter( const Rectangle& rRect, BOOL bHeader, BOOL bLeft );
void AddNoteMark( const Rectangle& rRect, const ScAddress& rPos );
void AddNoteText( const Rectangle& rRect, const ScAddress& rPos );
@@ -148,6 +148,12 @@ public:
BOOL GetHeaderPosition( Rectangle& rHeaderRect ) const;
BOOL GetFooterPosition( Rectangle& rFooterRect ) const;
+ BOOL IsHeaderLeft() const;
+ BOOL IsFooterLeft() const;
+
+ long GetNoteCountInRange( const Rectangle& rVisiblePixel, BOOL bNoteMarks ) const;
+ BOOL GetNoteInRange( const Rectangle& rVisiblePixel, long nIndex, BOOL bNoteMarks,
+ ScAddress& rCellPos, Rectangle& rNoteRect ) const;
// Check if any cells (including column/row headers) are in the visible area
BOOL HasCellsInRange( const Rectangle& rVisiblePixel ) const;