summaryrefslogtreecommitdiff
path: root/sw/inc/tblenum.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 07:13:13 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 07:13:13 +0000
commita95495db8262bd58c9969169cc17b71752eaf928 (patch)
tree54c42ca41b965d1057ac7e7734504a359667de04 /sw/inc/tblenum.hxx
parenteacc35bd948e3822813408a9853de9924e6520a9 (diff)
INTEGRATION: CWS swwarnings (1.2.710); FILE MERGED
2007/03/12 08:31:58 ama 1.2.710.2: #i69287#: warning free code 2007/03/09 15:33:32 ama 1.2.710.1: #i69287#: warning free code
Diffstat (limited to 'sw/inc/tblenum.hxx')
-rw-r--r--sw/inc/tblenum.hxx36
1 files changed, 19 insertions, 17 deletions
diff --git a/sw/inc/tblenum.hxx b/sw/inc/tblenum.hxx
index 354bc64d3697..f907c425015e 100644
--- a/sw/inc/tblenum.hxx
+++ b/sw/inc/tblenum.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tblenum.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 02:19:21 $
+ * last change: $Author: hr $ $Date: 2007-09-27 08:13:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,25 +36,27 @@
#define _TBLENUM_HXX
//fuers aendern der Tabellen/Spalten/Zeilen Breiten/Hoehen
-enum TblChgWidthHeightType
+typedef USHORT TblChgWidthHeightType;
+
+namespace nsTblChgWidthHeightType
{
- WH_COL_LEFT,
- WH_COL_RIGHT,
- WH_ROW_TOP,
- WH_ROW_BOTTOM,
- WH_CELL_LEFT,
- WH_CELL_RIGHT,
- WH_CELL_TOP,
- WH_CELL_BOTTOM,
+ const TblChgWidthHeightType WH_COL_LEFT = 0;
+ const TblChgWidthHeightType WH_COL_RIGHT = 1;
+ const TblChgWidthHeightType WH_ROW_TOP = 2;
+ const TblChgWidthHeightType WH_ROW_BOTTOM = 3;
+ const TblChgWidthHeightType WH_CELL_LEFT = 4;
+ const TblChgWidthHeightType WH_CELL_RIGHT = 5;
+ const TblChgWidthHeightType WH_CELL_TOP = 6;
+ const TblChgWidthHeightType WH_CELL_BOTTOM = 7;
// folgende koennen hinein verodert werden
- WH_FLAG_INSDEL = 0x4000, // Insert/Del-Modus: das Bigger-Flag
- // besagt was passiert:
- // bBigger -> Box wird entfernt
- // !bBigger-> Box wird eingefuegt
- WH_FLAG_BIGGER = 0x8000 // Box wird groesser -> sonst kleiner
-};
+ const TblChgWidthHeightType WH_FLAG_INSDEL = 0x4000; // Insert/Del-Modus: das Bigger-Flag
+ // besagt was passiert:
+ // bBigger -> Box wird entfernt
+ // !bBigger-> Box wird eingefuegt
+ const TblChgWidthHeightType WH_FLAG_BIGGER = 0x8000; // Box wird groesser -> sonst kleiner
+}
enum TblChgMode
{