xref: /trunk/main/sw/inc/itabenum.hxx (revision 1d2dbeb0)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _ITABENUM_HXX
24 #define _ITABENUM_HXX
25 
26 #include <tools/solar.h>
27 
28 namespace tabopts
29 {
30     const sal_uInt16 DEFAULT_BORDER     = 0x01;
31     const sal_uInt16 HEADLINE           = 0x02;
32 //    const sal_uInt16 REPEAT             = 0x04;
33 //    const sal_uInt16 HEADLINE_REPEAT    = 0x06;  // Headline + Repeat
34     const sal_uInt16 SPLIT_LAYOUT       = 0x08;
35     const sal_uInt16 HEADLINE_NO_BORDER = HEADLINE | SPLIT_LAYOUT;
36     const sal_uInt16 ALL_TBL_INS_ATTR   = DEFAULT_BORDER | HEADLINE | SPLIT_LAYOUT;
37 }
38 
39 struct SwInsertTableOptions
40 {
41     sal_uInt16 mnInsMode;
42     sal_uInt16 mnRowsToRepeat;
43 
SwInsertTableOptionsSwInsertTableOptions44     SwInsertTableOptions( sal_uInt16 nInsMode, sal_uInt16 nRowsToRepeat ) :
45         mnInsMode( nInsMode ), mnRowsToRepeat( nRowsToRepeat ) {};
46 };
47 
48 
49 #endif
50 
51