1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: unomid.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _SVX_UNOMID_HXX
31 #define _SVX_UNOMID_HXX
34 #define MID_SIZE_SIZE 0
35 #define MID_SIZE_WIDTH 1
36 #define MID_SIZE_HEIGHT 2
39 #define MID_LR_MARGIN 0
40 #define MID_LRP_MARGIN 1
41 #define MID_LR_REL_MARGIN 2
42 #define MID_LRP_REL_MARGIN 3
43 #define MID_L_MARGIN 4
44 #define MID_R_MARGIN 5
45 #define MID_L_REL_MARGIN 6
46 #define MID_R_REL_MARGIN 7
47 #define MID_FIRST_LINE_INDENT 8
48 #define MID_FIRST_LINE_REL_INDENT 9
49 #define MID_FIRST_AUTO 10
50 #define MID_TXT_LMARGIN 11
53 #define MID_UL_MARGIN 0
54 #define MID_UL_REL_MARGIN 1
55 #define MID_UP_MARGIN 2
56 #define MID_LO_MARGIN 3
57 #define MID_UP_REL_MARGIN 4
58 #define MID_LO_REL_MARGIN 5
69 #define MID_FONTHEIGHT 0
70 #define MID_FONTHEIGHT_PROP 1
71 #define MID_FONTHEIGHT_DIFF 2
74 #define MID_FONTWIDTH 0
75 #define MID_FONTWIDTH_PROP 1
78 #define MID_UNDERLINED 0
79 #define MID_UNDERLINE 1
80 #define MID_UL_COLOR 2
81 #define MID_UL_HASCOLOR 3
84 #define MID_CROSSED_OUT 0
85 #define MID_CROSS_OUT 1
89 #define MID_ESC_HEIGHT 1
90 #define MID_AUTO_ESC 2
93 #define MID_LANGUAGE 0
95 #define MID_LANG_COUNTRY 2
98 #define MID_BACK_COLOR 0
99 #define MID_GRAPHIC_POSITION 1
100 #define MID_GRAPHIC_LINK 2
101 #define MID_GRAPHIC 3
102 #define MID_GRAPHIC_TRANSPARENT 4
103 #define MID_GRAPHIC_URL 5
104 #define MID_GRAPHIC_FILTER 6
105 #define MID_GRAPHIC_REPEAT 7
106 #define MID_GRAPHIC_TRANSPARENCY 8
107 #define MID_BACK_COLOR_R_G_B 9
108 #define MID_BACK_COLOR_TRANSPARENCY 10
111 #define MID_PROTECT_CONTENT 0
112 #define MID_PROTECT_SIZE 1
113 #define MID_PROTECT_POSITION 2
116 #define MID_PARA_ADJUST 0
117 #define MID_LAST_LINE_ADJUST 1
118 #define MID_EXPAND_SINGLE 2
121 #define MID_PAGE_NUMTYPE 0
122 #define MID_PAGE_ORIENTATION 1
123 #define MID_PAGE_LAYOUT 2
126 #define MID_MARGIN_LR_MARGIN 0
127 #define MID_MARGIN_UL_MARGIN 1
128 #define MID_MARGIN_L_MARGIN 2
129 #define MID_MARGIN_R_MARGIN 3
130 #define MID_MARGIN_UP_MARGIN 4
131 #define MID_MARGIN_LO_MARGIN 5
134 #define LEFT_BORDER 0
135 #define RIGHT_BORDER 1
137 #define BOTTOM_BORDER 3
138 #define BORDER_DISTANCE 4
139 #define LEFT_BORDER_DISTANCE 5
140 #define RIGHT_BORDER_DISTANCE 6
141 #define TOP_BORDER_DISTANCE 7
142 #define BOTTOM_BORDER_DISTANCE 8
143 #define MID_LEFT_BORDER 9
144 #define MID_RIGHT_BORDER 10
145 #define MID_TOP_BORDER 11
146 #define MID_BOTTOM_BORDER 12
148 #define ALL_BORDER 10
149 #define ALL_BORDER_PADDING 11
150 #define LEFT_BORDER_PADDING 12
151 #define RIGHT_BORDER_PADDING 13
152 #define TOP_BORDER_PADDING 14
153 #define BOTTOM_BORDER_PADDING 15
154 #define ALL_BORDER_LINE_WIDTH 16
155 #define LEFT_BORDER_LINE_WIDTH 17
156 #define RIGHT_BORDER_LINE_WIDTH 18
157 #define TOP_BORDER_LINE_WIDTH 19
158 #define BOTTOM_BORDER_LINE_WIDTH 20
161 #define MID_FONT_FAMILY_NAME 0
162 #define MID_FONT_STYLE_NAME 1
163 #define MID_FONT_FAMILY 2
164 #define MID_FONT_CHAR_SET 3
165 #define MID_FONT_PITCH 4
168 #define MID_IS_HYPHEN 0
169 #define MID_HYPHEN_MIN_LEAD 1
170 #define MID_HYPHEN_MIN_TRAIL 2
171 #define MID_HYPHEN_MAX_HYPHENS 3
174 #define MID_BREAK_BEFORE 0
175 #define MID_BREAK_AFTER 1
178 #define MID_CASEMAP_VARIANT 0
179 #define MID_CASEMAP_TRANS 1
182 #define MID_LS_FIXED 0
183 #define MID_LS_MINIMUM 1
184 #define MID_LS_DISTANCE 2
187 #define MID_LANG_INT 0
188 #define MID_LANG_LOCALE 1
192 #define MID_GRAFURL 32
195 #define MID_TWOLINES 0
196 #define MID_START_BRACKET 1
197 #define MID_END_BRACKET 2
199 //SvxEmphasisMarkItem
200 #define MID_EMPHASIS 0
204 #define MID_FITTOLINE 1
210 #define MID_TABSTOPS 0
211 #define MID_STD_TAB 1
214 #define MID_HORJUST_HORJUST 0
215 #define MID_HORJUST_ADJUST 1
224 #define MID_START_X 1
225 #define MID_START_Y 2
231 #define MID_HORIZONTAL 1
232 #define MID_VERTICAL 2
233 #define MID_VALIDFLAGS 4
236 #define MID_COLUMNARRAY 7
242 #define MID_FILLGRADIENT 0
243 #define MID_GRADIENT_STYLE 1
244 #define MID_GRADIENT_STARTCOLOR 2
245 #define MID_GRADIENT_ENDCOLOR 3
246 #define MID_GRADIENT_ANGLE 4
247 #define MID_GRADIENT_BORDER 5
248 #define MID_GRADIENT_XOFFSET 6
249 #define MID_GRADIENT_YOFFSET 7
250 #define MID_GRADIENT_STARTINTENSITY 8
251 #define MID_GRADIENT_ENDINTENSITY 9
252 #define MID_GRADIENT_STEPCOUNT 10
255 #define MID_FILLHATCH 0
256 #define MID_HATCH_STYLE 1
257 #define MID_HATCH_COLOR 2
258 #define MID_HATCH_DISTANCE 3
259 #define MID_HATCH_ANGLE 4
262 #define MID_LINEDASH 0
263 #define MID_LINEDASH_STYLE 1
264 #define MID_LINEDASH_DOTS 2
265 #define MID_LINEDASH_DOTLEN 3
266 #define MID_LINEDASH_DASHES 4
267 #define MID_LINEDASH_DASHLEN 5
268 #define MID_LINEDASH_DISTANCE 6