1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_EDITENG_MEMBERIDS_H
21 #define INCLUDED_EDITENG_MEMBERIDS_H
23 #define MID_LOCATION 0x3c
24 #define MID_TRANSPARENT 0x4b
25 #define MID_BG_COLOR 0x22
26 #define MID_FLAGS 0x2e
27 #define MID_DISTANCE 0x29
28 #define MID_FG_COLOR 0x2c
29 #define MID_OUTER_WIDTH 0x41
30 #define MID_INNER_WIDTH 0x35
31 #define MID_LINESPACE 0x3b
32 #define MID_LINE_STYLE 0x90
41 #define MID_TABSTOPS 0
43 #define MID_TABSTOP_DEFAULT_DISTANCE 2
46 #define MID_IS_HYPHEN 0
47 #define MID_HYPHEN_MIN_LEAD 1
48 #define MID_HYPHEN_MIN_TRAIL 2
49 #define MID_HYPHEN_MAX_HYPHENS 3
50 #define MID_HYPHEN_NO_CAPS 4
51 #define MID_HYPHEN_NO_LAST_WORD 5
52 #define MID_HYPHEN_MIN_WORD_LENGTH 6
53 #define MID_HYPHEN_ZONE 7
54 #define MID_HYPHEN_KEEP 8
55 #define MID_HYPHEN_KEEP_TYPE 9
56 #define MID_HYPHEN_COMPOUND_MIN_LEAD 10
59 #define MID_HORIZONTAL 1
60 #define MID_VERTICAL 2
61 #define MID_VALIDFLAGS 4
64 #define MID_PARA_ADJUST 0
65 #define MID_LAST_LINE_ADJUST 1
66 #define MID_EXPAND_SINGLE 2
69 // Don't use 0 as it used for the whole struct
70 #define MID_FONT_FAMILY_NAME 1
71 #define MID_FONT_STYLE_NAME 2
72 #define MID_FONT_FAMILY 3
73 #define MID_FONT_CHAR_SET 4
74 #define MID_FONT_PITCH 5
81 #define MID_FITTOLINE 1
85 #define MID_ESC_HEIGHT 1
86 #define MID_AUTO_ESC 2
89 #define MID_FONTHEIGHT 1
90 #define MID_FONTHEIGHT_PROP 2
91 #define MID_FONTHEIGHT_DIFF 3
94 #define MID_TEXTLINED 0
95 #define MID_TL_STYLE 1
96 #define MID_TL_COLOR 2
97 #define MID_TL_HASCOLOR 3
98 #define MID_TL_COMPLEX_COLOR 4
101 #define MID_CROSSED_OUT 0
102 #define MID_CROSS_OUT 1
106 #define MID_POSTURE 1
113 #define MID_LANG_INT 0
114 #define MID_LANG_LOCALE 1
116 //SvxEmphasisMarkItem
117 #define MID_EMPHASIS 0
120 #define MID_TWOLINES 0
121 #define MID_START_BRACKET 1
122 #define MID_END_BRACKET 2
125 #define MID_UP_MARGIN 3
126 #define MID_LO_MARGIN 4
127 #define MID_UP_REL_MARGIN 5
128 #define MID_LO_REL_MARGIN 6
129 #define MID_CTX_MARGIN 7
132 #define MID_L_MARGIN 4
133 #define MID_R_MARGIN 5
134 #define MID_L_REL_MARGIN 6
135 #define MID_R_REL_MARGIN 7
136 #define MID_FIRST_LINE_INDENT 8
137 #define MID_FIRST_LINE_REL_INDENT 9
138 #define MID_FIRST_AUTO 10
139 #define MID_TXT_LMARGIN 11
140 #define MID_GUTTER_MARGIN 12
141 #define MID_FIRST_LINE_UNIT_INDENT 13
142 #define MID_R_UNIT_MARGIN 14
143 #define MID_L_UNIT_MARGIN 15
146 #define MID_PROTECT_CONTENT 0
147 #define MID_PROTECT_SIZE 1
148 #define MID_PROTECT_POSITION 2
151 #define LEFT_BORDER 1
152 #define RIGHT_BORDER 2
154 #define BOTTOM_BORDER 4
155 #define BORDER_DISTANCE 5
156 #define LEFT_BORDER_DISTANCE 6
157 #define RIGHT_BORDER_DISTANCE 7
158 #define TOP_BORDER_DISTANCE 8
159 #define BOTTOM_BORDER_DISTANCE 9
160 #define MID_LEFT_BORDER 10
161 #define MID_RIGHT_BORDER 11
162 #define MID_TOP_BORDER 12
163 #define MID_BOTTOM_BORDER 13
164 #define LINE_STYLE 14
165 #define LINE_WIDTH 15
166 #define MID_BORDER_BOTTOM_COLOR 16
167 #define MID_BORDER_LEFT_COLOR 17
168 #define MID_BORDER_RIGHT_COLOR 18
169 #define MID_BORDER_TOP_COLOR 19
172 #define MID_BACK_COLOR 0
173 #define MID_GRAPHIC_POSITION 1
174 #define MID_GRAPHIC 2
175 #define MID_GRAPHIC_TRANSPARENT 3
176 #define MID_GRAPHIC_URL 4
177 #define MID_GRAPHIC_FILTER 5
178 #define MID_GRAPHIC_REPEAT 6
179 #define MID_GRAPHIC_TRANSPARENCY 7
180 #define MID_BACK_COLOR_R_G_B 8
181 #define MID_BACK_COLOR_TRANSPARENCY 9
182 #define MID_SHADING_VALUE 10
183 #define MID_BACKGROUND_COMPLEX_COLOR 11
186 #define MID_BREAK_BEFORE 0
187 #define MID_BREAK_AFTER 1
190 #define MID_HORJUST_HORJUST 0
191 #define MID_HORJUST_ADJUST 1
194 #define MID_SHADOW_TRANSPARENCE 1
197 #define MID_COLOR_RGB 0
198 #define MID_COLOR_ALPHA 1
199 //#define MID_GRAPHIC_TRANSPARENT 3 // used, but already defined above
200 #define MID_COLOR_THEME_INDEX 4
201 #define MID_COLOR_TINT_OR_SHADE 5
202 #define MID_COLOR_LUM_MOD 6
203 #define MID_COLOR_LUM_OFF 7
204 #define MID_COMPLEX_COLOR_JSON 8
205 #define MID_COMPLEX_COLOR 9
210 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */