summaryrefslogtreecommitdiff
path: root/sw/inc/fesh.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-02-26 10:37:35 +0000
committerKurt Zenker <kz@openoffice.org>2004-02-26 10:37:35 +0000
commit038f5a795db1d16e0f5065763e8990080886b82c (patch)
treed738a0ffa07da9b577453a4c2b7216f090a49462 /sw/inc/fesh.hxx
parent417a9e75d7fc417f1fb554db4e3acc5e43b94131 (diff)
INTEGRATION: CWS os27 (1.30.276); FILE MERGED
2004/02/13 16:52:27 fme 1.30.276.6: RESYNC: (1.31-1.32); FILE MERGED 2004/02/05 15:42:54 fme 1.30.276.5: RESYNC: (1.30-1.31); FILE MERGED 2004/01/28 17:00:46 fme 1.30.276.4: #i24134# Feature - Modify table rows with the ruler 2004/01/26 10:35:20 fme 1.30.276.3: #i24134# Feature - Modify table rows with the rules 2004/01/23 07:43:10 fme 1.30.276.2: #i24134# Feature - Modify table rows with the ruler 2004/01/19 09:27:08 os 1.30.276.1: #i24134# modify table rows with the ruler
Diffstat (limited to 'sw/inc/fesh.hxx')
-rw-r--r--sw/inc/fesh.hxx21
1 files changed, 15 insertions, 6 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 5352b023d976..a03634b96b06 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fesh.hxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: hr $ $Date: 2004-02-02 18:14:00 $
+ * last change: $Author: kz $ $Date: 2004-02-26 11:37:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -203,6 +203,8 @@ struct SwGetCurColNumPara
#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
class SwFEShell : public SwEditShell
{
@@ -223,13 +225,14 @@ class SwFEShell : public SwEditShell
void GetStartEndCell( SwLayoutFrm *&prStart, SwLayoutFrm *&prEnd );
- const SwFrm *GetBox( const Point &rPt ) const;
+ const SwFrm *GetBox( const Point &rPt, bool* pbRow = 0 ) const;
//0 == in keiner Spalte
USHORT _GetCurColNum( const SwFrm *pFrm,
SwGetCurColNumPara* pPara ) const;
void _GetTabCols( SwTabCols &rToFill, const SwFrm *pBox ) const;
+ void _GetTabRows( SwTabCols &rToFill, const SwFrm *pBox ) const;
BOOL ImpEndCreate();
@@ -651,11 +654,17 @@ public:
BOOL GetRowBackground( SvxBrushItem &rToFill ) const; //FALSE uneindeutig
BYTE WhichMouseTabCol( const Point &rPt ) const;
- void GetMouseTabCols( SwTabCols &ToFill, const Point &rPt ) const;
- void SetMouseTabCols( const SwTabCols &rNew, BOOL bCurRowOnly,
- const Point &rPt );
void GetTabCols( SwTabCols &rToFill ) const; //Spalten- und Randinfo.
void SetTabCols( const SwTabCols &rNew, BOOL bCurRowOnly = TRUE );
+ void GetMouseTabCols( SwTabCols &rToFill, const Point &rPt ) const;
+ void SetMouseTabCols( const SwTabCols &rNew, BOOL bCurRowOnly,
+ const Point &rPt );
+
+ // #i24134# adjustment of table rows via Ruler
+ void GetTabRows( SwTabCols &rToFill ) const;
+ void SetTabRows( const SwTabCols &rNew, BOOL bCurColOnly );
+ void GetMouseTabRows( SwTabCols &rToFill, const Point &rPt ) const;
+ void SetMouseTabRows( const SwTabCols &rNew, BOOL bCurColOnly, const Point &rPt );
void ProtectCells(); //Falls eine Tabselektion besteht, wird sie ver-
// nichtet, wenn der Cursor nicht in Readonly darf