LibreOffice Module editeng (master) 1
memberids.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#ifndef INCLUDED_EDITENG_MEMBERIDS_H
21#define INCLUDED_EDITENG_MEMBERIDS_H
22
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
33
34//NameOrIndex
35#define MID_NAME 16
36
37// SvxPageModelItem
38#define MID_AUTO 1
39
40// SvxTabStop
41#define MID_TABSTOPS 0
42#define MID_STD_TAB 1
43#define MID_TABSTOP_DEFAULT_DISTANCE 2
44
45//SvxHyphenZoneItem
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
55// SvxBoxInfoItem
56#define MID_HORIZONTAL 1
57#define MID_VERTICAL 2
58#define MID_VALIDFLAGS 4
59
60//AdjustItem
61#define MID_PARA_ADJUST 0
62#define MID_LAST_LINE_ADJUST 1
63#define MID_EXPAND_SINGLE 2
64
65//SvxFontItem
66// Don't use 0 as it used for the whole struct
67#define MID_FONT_FAMILY_NAME 1
68#define MID_FONT_STYLE_NAME 2
69#define MID_FONT_FAMILY 3
70#define MID_FONT_CHAR_SET 4
71#define MID_FONT_PITCH 5
72
73// SvxCharReliefItem
74#define MID_RELIEF 0
75
76//SvxCharRotateItem
77#define MID_ROTATE 0
78#define MID_FITTOLINE 1
79
80//SvxEscapementItem
81#define MID_ESC 0
82#define MID_ESC_HEIGHT 1
83#define MID_AUTO_ESC 2
84
85//SvxFontHeightItem
86#define MID_FONTHEIGHT 1
87#define MID_FONTHEIGHT_PROP 2
88#define MID_FONTHEIGHT_DIFF 3
89
90//SvxTextLineItem
91#define MID_TEXTLINED 0
92#define MID_TL_STYLE 1
93#define MID_TL_COLOR 2
94#define MID_TL_HASCOLOR 3
95#define MID_TL_COMPLEX_COLOR 4
96
97//SvxCrossedOutItem
98#define MID_CROSSED_OUT 0
99#define MID_CROSS_OUT 1
100
101//SvxPostureItem
102#define MID_ITALIC 0
103#define MID_POSTURE 1
104
105//SvxBoolItem
106#define MID_BOLD 0
107#define MID_WEIGHT 1
108
109//SvxLanguageItem
110#define MID_LANG_INT 0
111#define MID_LANG_LOCALE 1
112
113//SvxEmphasisMarkItem
114#define MID_EMPHASIS 0
115
116//SvxTwoLinesItem
117#define MID_TWOLINES 0
118#define MID_START_BRACKET 1
119#define MID_END_BRACKET 2
120
121//ULSpaceItem
122#define MID_UP_MARGIN 3
123#define MID_LO_MARGIN 4
124#define MID_UP_REL_MARGIN 5
125#define MID_LO_REL_MARGIN 6
126#define MID_CTX_MARGIN 7
127
128//LRSpaceItem
129#define MID_L_MARGIN 4
130#define MID_R_MARGIN 5
131#define MID_L_REL_MARGIN 6
132#define MID_R_REL_MARGIN 7
133#define MID_FIRST_LINE_INDENT 8
134#define MID_FIRST_LINE_REL_INDENT 9
135#define MID_FIRST_AUTO 10
136#define MID_TXT_LMARGIN 11
137#define MID_GUTTER_MARGIN 12
138
139//ProtectItem
140#define MID_PROTECT_CONTENT 0
141#define MID_PROTECT_SIZE 1
142#define MID_PROTECT_POSITION 2
143
144//SvxBoxItem
145#define LEFT_BORDER 1
146#define RIGHT_BORDER 2
147#define TOP_BORDER 3
148#define BOTTOM_BORDER 4
149#define BORDER_DISTANCE 5
150#define LEFT_BORDER_DISTANCE 6
151#define RIGHT_BORDER_DISTANCE 7
152#define TOP_BORDER_DISTANCE 8
153#define BOTTOM_BORDER_DISTANCE 9
154#define MID_LEFT_BORDER 10
155#define MID_RIGHT_BORDER 11
156#define MID_TOP_BORDER 12
157#define MID_BOTTOM_BORDER 13
158#define LINE_STYLE 14
159#define LINE_WIDTH 15
160#define MID_BORDER_BOTTOM_COLOR 16
161#define MID_BORDER_LEFT_COLOR 17
162#define MID_BORDER_RIGHT_COLOR 18
163#define MID_BORDER_TOP_COLOR 19
164
165//BrushItem
166#define MID_BACK_COLOR 0
167#define MID_GRAPHIC_POSITION 1
168#define MID_GRAPHIC 2
169#define MID_GRAPHIC_TRANSPARENT 3
170#define MID_GRAPHIC_URL 4
171#define MID_GRAPHIC_FILTER 5
172#define MID_GRAPHIC_REPEAT 6
173#define MID_GRAPHIC_TRANSPARENCY 7
174#define MID_BACK_COLOR_R_G_B 8
175#define MID_BACK_COLOR_TRANSPARENCY 9
176#define MID_SHADING_VALUE 10
177#define MID_BACKGROUND_COMPLEX_COLOR 11
178
179//SvxFormatBreakItem
180#define MID_BREAK_BEFORE 0
181#define MID_BREAK_AFTER 1
182
183// SvxHorJustifyItem
184#define MID_HORJUST_HORJUST 0
185#define MID_HORJUST_ADJUST 1
186
187// SvxShadowItem
188#define MID_SHADOW_TRANSPARENCE 1
189
190// SvxColorItem
191#define MID_COLOR_RGB 0
192#define MID_COLOR_ALPHA 1
193//#define MID_GRAPHIC_TRANSPARENT 3 // used, but already defined above
194#define MID_COLOR_THEME_INDEX 4
195#define MID_COLOR_TINT_OR_SHADE 5
196#define MID_COLOR_LUM_MOD 6
197#define MID_COLOR_LUM_OFF 7
198#define MID_COMPLEX_COLOR_JSON 8
199#define MID_COMPLEX_COLOR 9
200
201
202#endif
203
204/* vim:set shiftwidth=4 softtabstop=4 expandtab: */