summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/prevloc.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-04-08 13:59:48 +0000
committerSascha Ballach <sab@openoffice.org>2002-04-08 13:59:48 +0000
commit5174c7aac177e7c44e43299a10cd8ae61a8c2321 (patch)
tree4536f4ce43fa1812dfa4db3a10a4a5d5500edb6e /sc/source/ui/inc/prevloc.hxx
parent4297421422057da8529d976b4ab52e22ccb58090 (diff)
#95584#; add methods to find out the output rectangle of a cell or header cell.
Diffstat (limited to 'sc/source/ui/inc/prevloc.hxx')
-rw-r--r--sc/source/ui/inc/prevloc.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx
index 63e446f2b3a9..f5665c329652 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.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: nn $ $Date: 2002-03-11 19:21:12 $
+ * last change: $Author: sab $ $Date: 2002-04-08 14:58:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -154,6 +154,12 @@ public:
BOOL GetCell( const Point& rPos, ScAddress& rCellPos, Rectangle& rCellRect ) const;
BOOL GetCellPosition( const ScAddress& rCellPos, Rectangle& rCellRect ) const;
+
+ // returns the rectangle where the EditEngine draws the text of a Header Cell
+ // if bColHeader is true it returns the rectangle of the header of the column in rCellPos
+ // otherwise of the header of the row in rCellPos
+ Rectangle GetHeaderCellOutputRect(const Rectangle& rVisRect, const ScAddress& rCellPos, sal_Bool bColHeader) const;
+ Rectangle GetCellOutputRect(const ScAddress& rCellPos) const;
};
#endif