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 _EDT_UNOMID_HXX
21 #define _EDT_UNOMID_HXX
23 #include <svl/memberid.hrc>
25 #define MID_LOCATION 0x3c
26 #define MID_TRANSPARENT 0x4b
27 #define MID_BG_COLOR 0x22
28 #define MID_FLAGS 0x2e
29 #define MID_DISTANCE 0x29
30 #define MID_FG_COLOR 0x2c
31 #define MID_OUTER_WIDTH 0x41
32 #define MID_INNER_WIDTH 0x35
33 #define MID_LINESPACE 0x3b
34 #define MID_LINE_STYLE 0x90
39 #define MID_GRAFURL 32
45 #define MID_TABSTOPS 0
49 #define MID_IS_HYPHEN 0
50 #define MID_HYPHEN_MIN_LEAD 1
51 #define MID_HYPHEN_MIN_TRAIL 2
52 #define MID_HYPHEN_MAX_HYPHENS 3
55 #define MID_HORIZONTAL 1
56 #define MID_VERTICAL 2
57 #define MID_VALIDFLAGS 4
60 #define MID_PARA_ADJUST 0
61 #define MID_LAST_LINE_ADJUST 1
62 #define MID_EXPAND_SINGLE 2
65 // Don't use 0 as it used for the whole struct
66 #define MID_FONT_FAMILY_NAME 1
67 #define MID_FONT_STYLE_NAME 2
68 #define MID_FONT_FAMILY 3
69 #define MID_FONT_CHAR_SET 4
70 #define MID_FONT_PITCH 5
77 #define MID_FITTOLINE 1
81 #define MID_ESC_HEIGHT 1
82 #define MID_AUTO_ESC 2
85 #define MID_FONTWIDTH 0
86 #define MID_FONTWIDTH_PROP 1
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
100 #define MID_CROSSED_OUT 0
101 #define MID_CROSS_OUT 1
105 #define MID_POSTURE 1
112 #define MID_LANG_INT 0
113 #define MID_LANG_LOCALE 1
115 //SvxEmphasisMarkItem
116 #define MID_EMPHASIS 0
119 #define MID_TWOLINES 0
120 #define MID_START_BRACKET 1
121 #define MID_END_BRACKET 2
124 #define MID_UP_MARGIN 3
125 #define MID_LO_MARGIN 4
126 #define MID_UP_REL_MARGIN 5
127 #define MID_LO_REL_MARGIN 6
128 #define MID_CTX_MARGIN 7
131 #define MID_L_MARGIN 4
132 #define MID_R_MARGIN 5
133 #define MID_L_REL_MARGIN 6
134 #define MID_R_REL_MARGIN 7
135 #define MID_FIRST_LINE_INDENT 8
136 #define MID_FIRST_LINE_REL_INDENT 9
137 #define MID_FIRST_AUTO 10
138 #define MID_TXT_LMARGIN 11
141 #define MID_PROTECT_CONTENT 0
142 #define MID_PROTECT_SIZE 1
143 #define MID_PROTECT_POSITION 2
146 #define LEFT_BORDER 1
147 #define RIGHT_BORDER 2
149 #define BOTTOM_BORDER 4
150 #define BORDER_DISTANCE 5
151 #define LEFT_BORDER_DISTANCE 6
152 #define RIGHT_BORDER_DISTANCE 7
153 #define TOP_BORDER_DISTANCE 8
154 #define BOTTOM_BORDER_DISTANCE 9
155 #define MID_LEFT_BORDER 10
156 #define MID_RIGHT_BORDER 11
157 #define MID_TOP_BORDER 12
158 #define MID_BOTTOM_BORDER 13
159 #define LINE_STYLE 14
160 #define LINE_WIDTH 15
163 #define MID_BACK_COLOR 0
164 #define MID_GRAPHIC_POSITION 1
165 #define MID_GRAPHIC_LINK 2
166 #define MID_GRAPHIC 3
167 #define MID_GRAPHIC_TRANSPARENT 4
168 #define MID_GRAPHIC_URL 5
169 #define MID_GRAPHIC_FILTER 6
170 #define MID_GRAPHIC_REPEAT 7
171 #define MID_GRAPHIC_TRANSPARENCY 8
172 #define MID_BACK_COLOR_R_G_B 9
173 #define MID_BACK_COLOR_TRANSPARENCY 10
176 #define MID_BREAK_BEFORE 0
177 #define MID_BREAK_AFTER 1
180 #define MID_HORJUST_HORJUST 0
181 #define MID_HORJUST_ADJUST 1
185 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */