summaryrefslogtreecommitdiff
path: root/sw/inc/itabenum.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-05-03 12:42:19 +0000
committerRüdiger Timm <rt@openoffice.org>2004-05-03 12:42:19 +0000
commitdbf874e2b76c08ae0dcc18e0ecb9133ee285103e (patch)
tree089d399c75c9993206e2da9802d85c786a282301 /sw/inc/itabenum.hxx
parentb94c9bfacda6dde08db9c05c9781b1651ad567f7 (diff)
INTEGRATION: CWS gt03 (1.1.1.1.534); FILE MERGED
2004/04/08 11:12:50 gt 1.1.1.1.534.4: #i26167# repeated rows 2004/03/11 15:10:25 fme 1.1.1.1.534.3: #26165# Feature - Multiple headline rows in tables 2004/03/11 14:54:25 fme 1.1.1.1.534.2: #26165# Feature - Multiple headline rows in tables 2004/03/11 09:02:20 fme 1.1.1.1.534.1: #26165# Feature - Multiple headline rows in tables
Diffstat (limited to 'sw/inc/itabenum.hxx')
-rw-r--r--sw/inc/itabenum.hxx29
1 files changed, 19 insertions, 10 deletions
diff --git a/sw/inc/itabenum.hxx b/sw/inc/itabenum.hxx
index 92406bda2647..be8a1ccb40a1 100644
--- a/sw/inc/itabenum.hxx
+++ b/sw/inc/itabenum.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: itabenum.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:14:26 $
+ * last change: $Author: rt $ $Date: 2004-05-03 13:42:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,15 +61,24 @@
#ifndef _ITABENUM_HXX
#define _ITABENUM_HXX
-enum SwTableInsMode
+namespace tabopts
{
- DEFAULT_BORDER = 0x01,
- HEADLINE = 0x02,
- REPEAT = 0x04,
- HEADLINE_REPEAT = 0x06, // Headline + Repeat
- SPLIT_LAYOUT = 0x08,
- HEADLINE_NO_BORDER = HEADLINE_REPEAT|SPLIT_LAYOUT,
- ALL_TBL_INS_ATTR = DEFAULT_BORDER|HEADLINE_REPEAT|SPLIT_LAYOUT
+ const USHORT DEFAULT_BORDER = 0x01;
+ const USHORT HEADLINE = 0x02;
+// const USHORT REPEAT = 0x04;
+// const USHORT HEADLINE_REPEAT = 0x06; // Headline + Repeat
+ const USHORT SPLIT_LAYOUT = 0x08;
+ const USHORT HEADLINE_NO_BORDER = HEADLINE | SPLIT_LAYOUT;
+ const USHORT ALL_TBL_INS_ATTR = DEFAULT_BORDER | HEADLINE | SPLIT_LAYOUT;
+};
+
+struct SwInsertTableOptions
+{
+ USHORT mnInsMode;
+ USHORT mnRowsToRepeat;
+
+ SwInsertTableOptions( USHORT nInsMode, USHORT nRowsToRepeat ) :
+ mnInsMode( nInsMode ), mnRowsToRepeat( nRowsToRepeat ) {};
};