xref: /aoo4110/main/svx/inc/svx/unomid.hxx (revision b1cdbd2c)
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 _SVX_UNOMID_HXX
24 #define _SVX_UNOMID_HXX
25 
26 //AdjustItem
27 #define MID_PARA_ADJUST			0
28 #define MID_LAST_LINE_ADJUST    1
29 #define MID_EXPAND_SINGLE       2
30 
31 //SvxPageItem
32 #define MID_PAGE_NUMTYPE		0
33 #define MID_PAGE_ORIENTATION    1
34 #define MID_PAGE_LAYOUT         2
35 
36 //SvxMarginItem
37 #define MID_MARGIN_LR_MARGIN	0
38 #define MID_MARGIN_UL_MARGIN	1
39 #define MID_MARGIN_L_MARGIN		2
40 #define MID_MARGIN_R_MARGIN		3
41 #define MID_MARGIN_UP_MARGIN	4
42 #define MID_MARGIN_LO_MARGIN	5
43 
44 #define ALL_BORDER					10
45 #define ALL_BORDER_PADDING			11
46 #define LEFT_BORDER_PADDING			12
47 #define RIGHT_BORDER_PADDING		13
48 #define TOP_BORDER_PADDING			14
49 #define BOTTOM_BORDER_PADDING		15
50 #define ALL_BORDER_LINE_WIDTH		16
51 #define LEFT_BORDER_LINE_WIDTH		17
52 #define RIGHT_BORDER_LINE_WIDTH		18
53 #define TOP_BORDER_LINE_WIDTH		19
54 #define BOTTOM_BORDER_LINE_WIDTH	20
55 
56 // XFillBitmapItem (is also a NameOrIndex)
57 #define MID_BITMAP              8
58 
59 // SvxHorJustifyItem
60 #define MID_HORJUST_HORJUST		0
61 #define MID_HORJUST_ADJUST		1
62 
63 // SvxZoomItem
64 #define MID_VALUE               2
65 
66 // SvxObjectItem
67 #define MID_START_X             1
68 #define MID_START_Y             2
69 #define MID_END_X               3
70 #define MID_END_Y               4
71 #define MID_LIMIT               5
72 
73 // SvxColumnItem
74 #define MID_COLUMNARRAY         7
75 #define MID_ACTUAL              4
76 #define MID_TABLE               5
77 #define MID_ORTHO               6
78 
79 // XFillGradientItem
80 // Don't use 0 as it used for the whole struct
81 #define MID_FILLGRADIENT			1
82 #define MID_GRADIENT_STYLE			2
83 #define MID_GRADIENT_STARTCOLOR		3
84 #define	MID_GRADIENT_ENDCOLOR		4
85 #define MID_GRADIENT_ANGLE			5
86 #define MID_GRADIENT_BORDER			6
87 #define MID_GRADIENT_XOFFSET		7
88 #define MID_GRADIENT_YOFFSET		8
89 #define MID_GRADIENT_STARTINTENSITY	9
90 #define MID_GRADIENT_ENDINTENSITY	10
91 #define	MID_GRADIENT_STEPCOUNT		11
92 
93 // XFillHatchItem
94 // Don't use 0 as it used for the whole struct
95 #define MID_FILLHATCH				1
96 #define MID_HATCH_STYLE				2
97 #define MID_HATCH_COLOR				3
98 #define MID_HATCH_DISTANCE			4
99 #define MID_HATCH_ANGLE				5
100 
101 // XLineDashItem
102 // Don't use 0 as it used for the whole struct
103 #define MID_LINEDASH				1
104 #define MID_LINEDASH_STYLE			2
105 #define MID_LINEDASH_DOTS			3
106 #define MID_LINEDASH_DOTLEN			4
107 #define MID_LINEDASH_DASHES			5
108 #define MID_LINEDASH_DASHLEN		6
109 #define MID_LINEDASH_DISTANCE		7
110 
111 #define MID_LEFT                    3
112 
113 #endif
114