summaryrefslogtreecommitdiff
path: root/sw/inc/fesh.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-09-09 09:15:17 +0000
committerOliver Bolte <obo@openoffice.org>2004-09-09 09:15:17 +0000
commit1c17a9a93861553f1b5abc69475c3d34ee29e4f4 (patch)
tree35075214baa6d46f7942373cd2e3e22a18777a0a /sw/inc/fesh.hxx
parent1d43fcf71962854ee2f22e48eeb42c871b14adf9 (diff)
INTEGRATION: CWS enhselect (1.38.70); FILE MERGED
2004/08/19 12:09:56 fme 1.38.70.3: RESYNC: (1.38-1.40); FILE MERGED 2004/08/04 11:54:35 fme 1.38.70.2: #i32329# Enhanced table selection 2004/08/04 11:45:06 fme 1.38.70.1: #i32329# Enhanced table selection
Diffstat (limited to 'sw/inc/fesh.hxx')
-rw-r--r--sw/inc/fesh.hxx33
1 files changed, 25 insertions, 8 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 1035a3a6151a..916e78795274 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fesh.hxx,v $
*
- * $Revision: 1.41 $
+ * $Revision: 1.42 $
*
- * last change: $Author: rt $ $Date: 2004-08-23 10:56:16 $
+ * last change: $Author: obo $ $Date: 2004-09-09 10:15:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -207,11 +207,22 @@ struct SwGetCurColNumPara
#define SW_MOVE_LEFT 2
#define SW_MOVE_RIGHT 3
-#define SW_TABCOL_NONE 0
-#define SW_TABCOL_HORI 1
-#define SW_TABCOL_VERT 2
-#define SW_TABROW_HORI 3
-#define SW_TABROW_VERT 4
+#define SW_TABCOL_NONE 0
+#define SW_TABCOL_HORI 1
+#define SW_TABCOL_VERT 2
+#define SW_TABROW_HORI 3
+#define SW_TABROW_VERT 4
+// --> FME 2004-07-30 #i32329# Enhanced table selection
+#define SW_TABSEL_HORI 5
+#define SW_TABSEL_HORI_RTL 6
+#define SW_TABROWSEL_HORI 7
+#define SW_TABROWSEL_HORI_RTL 8
+#define SW_TABCOLSEL_HORI 9
+#define SW_TABSEL_VERT 10
+#define SW_TABROWSEL_VERT 11
+#define SW_TABCOLSEL_VERT 12
+// <--
+
class SW_DLLPUBLIC SwFEShell : public SwEditShell
{
@@ -230,7 +241,9 @@ class SW_DLLPUBLIC SwFEShell : public SwEditShell
// OD 25.06.2003 #108784# - correct type of 1st parameter
SW_DLLPRIVATE void ChangeOpaque( SdrLayerID nLayerId );
- SW_DLLPRIVATE const SwFrm *GetBox( const Point &rPt, bool* pbRow = 0 ) const;
+ // Used for mouse operations on a table:
+ // Returns a cell frame that is 'close' to rPt.
+ SW_DLLPRIVATE const SwFrm *GetBox( const Point &rPt, bool* pbRow = 0, bool* pbCol = 0 ) const;
//0 == in keiner Spalte
SW_DLLPRIVATE USHORT _GetCurColNum( const SwFrm *pFrm,
@@ -668,6 +681,10 @@ public:
void SetMouseTabCols( const SwTabCols &rNew, BOOL bCurRowOnly,
const Point &rPt );
+ // --> FME 2004-07-30 #i20126# Enhanced table selection
+ bool SelTblRowCol( const Point& rPt );
+ // <--
+
// #i24134# adjustment of table rows via Ruler
void GetTabRows( SwTabCols &rToFill ) const;
void SetTabRows( const SwTabCols &rNew, BOOL bCurColOnly );