Branch libreoffice-5-0-4
[LibreOffice.git] / include / editeng / editids.hrc
blob286d7a528dc146f1e18cb144c8d1480bbc4f2aea
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 #ifndef _EDIT_SVXIDS_HRC
20 #define _EDIT_SVXIDS_HRC
22 #include <svl/solar.hrc>
25   These SID_SVX_START entries came from include/svx/svxids.hrc, avoid
26   accidentally colliding entries with include/svx/svxids.hrc and
27   include/sfx2/sfxsids.hrc. Only add new SID_SVX_START entries to
28   include/svx/svxids.hrc
30 #define SID_ATTR_BRUSH                                  ( SID_SVX_START + 1 )
31 #define SID_ATTR_TABSTOP                                ( SID_SVX_START + 2 )
32 #define SID_ATTR_TABSTOP_DEFAULTS                       ( SID_SVX_START + 3 )
33 #define SID_ATTR_TABSTOP_POS                            ( SID_SVX_START + 4 )
34 #define SID_ATTR_TABSTOP_OFFSET                         ( SID_SVX_START + 5 )
35 #define SID_ATTR_CHAR                                   ( SID_SVX_START + 6 )
36 #define SID_ATTR_CHAR_FONT                              ( SID_SVX_START + 7 )
37 #define SID_ATTR_CHAR_POSTURE                           ( SID_SVX_START + 8 )
38 #define SID_ATTR_CHAR_WEIGHT                            ( SID_SVX_START + 9 )
39 #define SID_ATTR_CHAR_SHADOWED                          ( SID_SVX_START + 10 )
40 #define SID_ATTR_CHAR_WORDLINEMODE                      ( SID_SVX_START + 11 )
41 #define SID_ATTR_CHAR_CONTOUR                           ( SID_SVX_START + 12 )
42 #define SID_ATTR_CHAR_STRIKEOUT                         ( SID_SVX_START + 13 )
43 #define SID_ATTR_CHAR_UNDERLINE                         ( SID_SVX_START + 14 )
44 #define SID_ATTR_CHAR_FONTHEIGHT                        ( SID_SVX_START + 15 )
45 #define SID_ATTR_CHAR_PROPSIZE                          ( SID_SVX_START + 16 )
46 #define SID_ATTR_CHAR_COLOR                             ( SID_SVX_START + 17 )
47 #define SID_ATTR_CHAR_KERNING                           ( SID_SVX_START + 18 )
48 #define SID_ATTR_CHAR_CASEMAP                           ( SID_SVX_START + 19 )
49 #define SID_ATTR_CHAR_LANGUAGE                          ( SID_SVX_START + 20 )
50 #define SID_ATTR_CHAR_ESCAPEMENT                        ( SID_SVX_START + 21 )
51 #define SID_ATTR_CHAR_FONTLIST                          ( SID_SVX_START + 22 )
52 #define SID_ATTR_BORDER_OUTER                           ( SID_SVX_START + 24 )
53 #define SID_ATTR_BORDER_SHADOW                          ( SID_SVX_START + 25 )
54 #define SID_ATTR_PARA                                   ( SID_SVX_START + 26 )
55 #define SID_ATTR_PARA_ADJUST                            ( SID_SVX_START + 27 )
56 #define SID_ATTR_PARA_ADJUST_LEFT                       ( SID_SVX_START + 28 )
57 #define SID_ATTR_PARA_ADJUST_RIGHT                      ( SID_SVX_START + 29 )
58 #define SID_ATTR_PARA_ADJUST_CENTER                     ( SID_SVX_START + 30 )
59 #define SID_ATTR_PARA_ADJUST_BLOCK                      ( SID_SVX_START + 31 )
60 #define SID_ATTR_PARA_ADJUST_BLOCKLINE                  ( SID_SVX_START + 32 )
61 #define SID_ATTR_PARA_LINESPACE                         ( SID_SVX_START + 33 )
62 #define SID_ATTR_PARA_LINESPACE_10                      ( SID_SVX_START + 34 )
63 #define SID_ATTR_PARA_LINESPACE_15                      ( SID_SVX_START + 35 )
64 #define SID_ATTR_PARA_LINESPACE_20                      ( SID_SVX_START + 36 )
65 #define SID_ATTR_PARA_PAGEBREAK                         ( SID_SVX_START + 37 )
66 #define SID_ATTR_PARA_HYPHENZONE                        ( SID_SVX_START + 38 )
67 #define SID_ATTR_PARA_SPLIT                             ( SID_SVX_START + 39 )
68 #define SID_ATTR_PARA_ORPHANS                           ( SID_SVX_START + 40 )
69 #define SID_ATTR_PARA_WIDOWS                            ( SID_SVX_START + 41 )
70 #define SID_ATTR_PARA_ULSPACE                           ( SID_SVX_START + 42 )
71 #define SID_ATTR_PARA_LRSPACE                           ( SID_SVX_START + 43 )
72 #define SID_ATTR_LRSPACE                                ( SID_SVX_START + 48 )
73 #define SID_ATTR_ULSPACE                                ( SID_SVX_START + 49 )
74 #define SID_ATTR_CHAR_MAPTYPE                           ( SID_SVX_START + 64 )
75 #define SID_ATTR_PARA_MODEL                             ( SID_SVX_START + 65 )
76 #define SID_ATTR_PARA_KEEP                              ( SID_SVX_START + 66 )
77 #define SID_ATTR_CHAR_AUTOKERN                          ( SID_SVX_START + 67 )
78 #define SID_ATTR_PARA_BULLET                            ( SID_SVX_START + 250 )
79 #define SID_ATTR_PARA_OUTLLEVEL                         ( SID_SVX_START + 300 )
80 #define SID_FIELD                                       ( SID_SVX_START + 363 )
81 #define SID_ATTR_PARA_REGISTER                          ( SID_SVX_START + 413 )
82 #define SID_ATTR_PARA_PAGENUM                           ( SID_SVX_START + 457 )
83 #define SID_ATTR_PARA_NUMRULE                           ( SID_SVX_START + 587 )
84 #define SID_ATTR_BRUSH_CHAR                             ( SID_SVX_START + 591 )
85 #define SID_ATTR_NUMBERING_RULE                         ( SID_SVX_START + 855 )
86 #define SID_ATTR_CHAR_CHARSETCOLOR                      ( SID_SVX_START + 877 )
87 #define SID_ATTR_CHAR_CJK_FONT                          ( SID_SVX_START + 887 )
88 #define SID_ATTR_CHAR_CJK_FONTHEIGHT                    ( SID_SVX_START + 888 )
89 #define SID_ATTR_CHAR_CJK_LANGUAGE                      ( SID_SVX_START + 889 )
90 #define SID_ATTR_CHAR_CJK_POSTURE                       ( SID_SVX_START + 890 )
91 #define SID_ATTR_CHAR_CJK_WEIGHT                        ( SID_SVX_START + 891 )
92 #define SID_ATTR_CHAR_CTL_FONT                          ( SID_SVX_START + 892 )
93 #define SID_ATTR_CHAR_CTL_FONTHEIGHT                    ( SID_SVX_START + 893 )
94 #define SID_ATTR_CHAR_CTL_LANGUAGE                      ( SID_SVX_START + 894 )
95 #define SID_ATTR_CHAR_CTL_POSTURE                       ( SID_SVX_START + 895 )
96 #define SID_ATTR_CHAR_CTL_WEIGHT                        ( SID_SVX_START + 896 )
97 #define SID_ATTR_CHAR_TWO_LINES                         ( SID_SVX_START + 897 )
98 #define SID_ATTR_CHAR_CJK_RUBY                          ( SID_SVX_START + 898 )
99 #define SID_ATTR_CHAR_EMPHASISMARK                      ( SID_SVX_START + 899 )
100 #define SID_ATTR_CHAR_SCRIPTTYPE                        ( SID_SVX_START + 900 )
101 #define SID_ATTR_PARA_SCRIPTSPACE                       ( SID_SVX_START + 901 )
102 #define SID_ATTR_PARA_HANGPUNCTUATION                   ( SID_SVX_START + 902 )
103 #define SID_ATTR_PARA_FORBIDDEN_RULES                   ( SID_SVX_START + 903 )
104 #define SID_ATTR_CHAR_VERTICAL                          ( SID_SVX_START + 905 )
105 #define SID_ATTR_CHAR_ROTATED                           ( SID_SVX_START + 910 )
106 #define SID_ATTR_CHAR_SCALEWIDTH                        ( SID_SVX_START + 911 )
107 #define SID_ATTR_CHAR_WIDTH_FIT_TO_LINE                 ( SID_SVX_START + 919 )
108 #define SID_ATTR_CHAR_RELIEF                            ( SID_SVX_START + 920 )
109 #define SID_PARA_VERTALIGN                              ( SID_SVX_START + 925 )
110 #define SID_ATTR_FRAMEDIRECTION                         ( SID_SVX_START + 944 )
111 #define SID_ATTR_PARA_SNAPTOGRID                        ( SID_SVX_START + 945 )
112 #define SID_ATTR_PARA_LRSPACE_VERTICAL                  ( SID_SVX_START + 947 )
113 #define SID_ATTR_PARA_LEFT_TO_RIGHT                     ( SID_SVX_START + 950 )
114 #define SID_ATTR_PARA_RIGHT_TO_LEFT                     ( SID_SVX_START + 951 )
115 #define SID_ATTR_CHAR_HIDDEN                            ( SID_SVX_START + 989 )
116 #define SID_ATTR_CHAR_LATIN_FONT                        ( SID_SVX_START + 994 )
117 #define SID_ATTR_CHAR_LATIN_FONTHEIGHT                  ( SID_SVX_START + 995 )
118 #define SID_ATTR_CHAR_LATIN_LANGUAGE                    ( SID_SVX_START + 996 )
119 #define SID_ATTR_CHAR_LATIN_POSTURE                     ( SID_SVX_START + 997 )
120 #define SID_ATTR_CHAR_LATIN_WEIGHT                      ( SID_SVX_START + 998 )
121 #define SID_ATTR_CHAR_GRABBAG                           ( SID_SVX_START + 1142 )
122 #define SID_ATTR_CHAR_BACK_COLOR                        ( SID_SVX_START + 1153 )
124 // these ID didn't exist prior to the svx split, add new ids here
125 #define SID_ATTR_CHAR_OVERLINE                          ( SID_EDIT_START + 68 )
126 #define SID_ATTR_ALIGN_HOR_JUSTIFY_METHOD               ( SID_EDIT_START + 69 )
127 #define SID_ATTR_ALIGN_VER_JUSTIFY_METHOD               ( SID_EDIT_START + 70 )
128 #define SID_ATTR_ALIGN_HOR_JUSTIFY                      ( SID_EDIT_START + 71 )
129 #define SID_ATTR_ALIGN_VER_JUSTIFY                      ( SID_EDIT_START + 72 )
130 #define SID_ATTR_PARA_OUTLINE_LEVEL                     ( SID_EDIT_START + 73 )
131 #define SID_ATTR_CHAR_PREVIEW_FONT                      ( SID_EDIT_START + 74 )
132 #define SID_ATTR_CHAR_ENDPREVIEW_FONT                   ( SID_EDIT_START + 75 )
135 // planned, but not doable: changing value of SIDs will break code that uses them for WhichRanges
136 #define SID_PARA_VERTALIGN                              ( SID_EDIT_START )
137 #define SID_ATTR_BORDER_OUTER                           ( SID_EDIT_START + 1 )
138 #define SID_ATTR_BORDER_SHADOW                          ( SID_EDIT_START + 2 )
139 #define SID_ATTR_BRUSH                                  ( SID_EDIT_START + 3 )
140 #define SID_ATTR_BRUSH_CHAR                             ( SID_EDIT_START + 4 )
142 #define SID_FIELD                                       ( SID_EDIT_START + 7 )
143 #define SID_ATTR_FRAMEDIRECTION                         ( SID_EDIT_START + 8 )
144 #define SID_ATTR_PARA                                   ( SID_EDIT_START + 9 )
145 #define SID_ATTR_PARA_ADJUST                            ( SID_EDIT_START + 10 )
146 #define SID_ATTR_PARA_ADJUST_LEFT                       ( SID_EDIT_START + 11 )
147 #define SID_ATTR_PARA_BULLET                            ( SID_EDIT_START + 12 )
148 #define SID_ATTR_PARA_OUTLLEVEL                         ( SID_EDIT_START + 13 )
149 #define SID_ATTR_PARA_REGISTER                          ( SID_EDIT_START + 14 )
150 #define SID_ATTR_PARA_PAGENUM                           ( SID_EDIT_START + 15 )
151 #define SID_ATTR_PARA_NUMRULE                           ( SID_EDIT_START + 16 )
152 #define SID_ATTR_PARA_SCRIPTSPACE                       ( SID_EDIT_START + 17 )
153 #define SID_ATTR_PARA_HANGPUNCTUATION                   ( SID_EDIT_START + 18 )
154 #define SID_ATTR_PARA_FORBIDDEN_RULES                   ( SID_EDIT_START + 19 )
155 #define SID_ATTR_PARA_SNAPTOGRID                        ( SID_EDIT_START + 20 )
156 #define SID_ATTR_PARA_LRSPACE_VERTICAL                  ( SID_EDIT_START + 21 )
157 #define SID_ATTR_PARA_LEFT_TO_RIGHT                     ( SID_EDIT_START + 22 )
158 #define SID_ATTR_PARA_RIGHT_TO_LEFT                     ( SID_EDIT_START + 23 )
159 #define SID_ATTR_PARA_OUTLINE_LEVEL                     ( SID_EDIT_START + 24 )
160 #define SID_ATTR_PARA_ADJUST_RIGHT                      ( SID_EDIT_START + 25 )
161 #define SID_ATTR_PARA_ADJUST_CENTER                     ( SID_EDIT_START + 26 )
162 #define SID_ATTR_PARA_ADJUST_BLOCK                      ( SID_EDIT_START + 27 )
163 #define SID_ATTR_PARA_ADJUST_BLOCKLINE                  ( SID_EDIT_START + 28 )
164 #define SID_ATTR_PARA_LINESPACE                         ( SID_EDIT_START + 29 )
165 #define SID_ATTR_PARA_LINESPACE_10                      ( SID_EDIT_START + 30 )
166 #define SID_ATTR_PARA_LINESPACE_15                      ( SID_EDIT_START + 31 )
167 #define SID_ATTR_PARA_LINESPACE_20                      ( SID_EDIT_START + 32 )
168 #define SID_ATTR_PARA_PAGEBREAK                         ( SID_EDIT_START + 33 )
169 #define SID_ATTR_PARA_HYPHENZONE                        ( SID_EDIT_START + 34 )
170 #define SID_ATTR_PARA_SPLIT                             ( SID_EDIT_START + 35 )
171 #define SID_ATTR_PARA_ORPHANS                           ( SID_EDIT_START + 36 )
172 #define SID_ATTR_PARA_WIDOWS                            ( SID_EDIT_START + 37 )
173 #define SID_ATTR_PARA_ULSPACE                           ( SID_EDIT_START + 38 )
174 #define SID_ATTR_PARA_LRSPACE                           ( SID_EDIT_START + 39 )
175 #define SID_ATTR_PARA_MODEL                             ( SID_EDIT_START + 40 )
176 #define SID_ATTR_PARA_KEEP                              ( SID_EDIT_START + 41 )
177 #define SID_ATTR_NUMBERING_RULE                         ( SID_EDIT_START + 42 )
178 #define SID_ATTR_LRSPACE                                ( SID_EDIT_START + 43 )
179 #define SID_ATTR_ULSPACE                                ( SID_EDIT_START + 44 )
180 #define SID_ATTR_TABSTOP                                ( SID_EDIT_START + 45 )
181 #define SID_ATTR_TABSTOP_DEFAULTS                       ( SID_EDIT_START + 46 )
182 #define SID_ATTR_TABSTOP_POS                            ( SID_EDIT_START + 47 )
183 #define SID_ATTR_TABSTOP_OFFSET                         ( SID_EDIT_START + 48 )
184 #define SID_ATTR_CHAR                                   ( SID_EDIT_START + 49 )
185 #define SID_ATTR_CHAR_FONT                              ( SID_EDIT_START + 50 )
186 #define SID_ATTR_CHAR_POSTURE                           ( SID_EDIT_START + 51 )
187 #define SID_ATTR_CHAR_WEIGHT                            ( SID_EDIT_START + 52 )
188 #define SID_ATTR_CHAR_SHADOWED                          ( SID_EDIT_START + 53 )
189 #define SID_ATTR_CHAR_WORDLINEMODE                      ( SID_EDIT_START + 54 )
190 #define SID_ATTR_CHAR_CONTOUR                           ( SID_EDIT_START + 55 )
191 #define SID_ATTR_CHAR_STRIKEOUT                         ( SID_EDIT_START + 56 )
192 #define SID_ATTR_CHAR_UNDERLINE                         ( SID_EDIT_START + 57 )
193 #define SID_ATTR_CHAR_FONTHEIGHT                        ( SID_EDIT_START + 58 )
194 #define SID_ATTR_CHAR_PROPSIZE                          ( SID_EDIT_START + 59 )
195 #define SID_ATTR_CHAR_COLOR                             ( SID_EDIT_START + 60 )
196 #define SID_ATTR_CHAR_KERNING                           ( SID_EDIT_START + 61 )
197 #define SID_ATTR_CHAR_CASEMAP                           ( SID_EDIT_START + 62 )
198 #define SID_ATTR_CHAR_LANGUAGE                          ( SID_EDIT_START + 63 )
199 #define SID_ATTR_CHAR_ESCAPEMENT                        ( SID_EDIT_START + 64 )
200 #define SID_ATTR_CHAR_FONTLIST                          ( SID_EDIT_START + 65 )
201 #define SID_ATTR_CHAR_MAPTYPE                           ( SID_EDIT_START + 66 )
202 #define SID_ATTR_CHAR_AUTOKERN                          ( SID_EDIT_START + 67 )
203 #define SID_ATTR_CHAR_OVERLINE                          ( SID_EDIT_START + 68 )
204 #define SID_ATTR_CHAR_CHARSETCOLOR                      ( SID_EDIT_START + 69 )
205 #define SID_ATTR_CHAR_CJK_FONT                          ( SID_EDIT_START + 70 )
206 #define SID_ATTR_CHAR_CJK_FONTHEIGHT                    ( SID_EDIT_START + 71 )
207 #define SID_ATTR_CHAR_CJK_LANGUAGE                      ( SID_EDIT_START + 72 )
208 #define SID_ATTR_CHAR_CJK_POSTURE                       ( SID_EDIT_START + 73 )
209 #define SID_ATTR_CHAR_CJK_WEIGHT                        ( SID_EDIT_START + 74 )
210 #define SID_ATTR_CHAR_CTL_FONT                          ( SID_EDIT_START + 75 )
211 #define SID_ATTR_CHAR_CTL_FONTHEIGHT                    ( SID_EDIT_START + 76 )
212 #define SID_ATTR_CHAR_CTL_LANGUAGE                      ( SID_EDIT_START + 77 )
213 #define SID_ATTR_CHAR_CTL_POSTURE                       ( SID_EDIT_START + 78 )
214 #define SID_ATTR_CHAR_CTL_WEIGHT                        ( SID_EDIT_START + 79 )
215 #define SID_ATTR_CHAR_TWO_LINES                         ( SID_EDIT_START + 80 )
216 #define SID_ATTR_CHAR_CJK_RUBY                          ( SID_EDIT_START + 81 )
217 #define SID_ATTR_CHAR_EMPHASISMARK                      ( SID_EDIT_START + 82 )
218 #define SID_ATTR_CHAR_SCRIPTTYPE                        ( SID_EDIT_START + 83 )
219 #define SID_ATTR_CHAR_VERTICAL                          ( SID_EDIT_START + 84 )
220 #define SID_ATTR_CHAR_ROTATED                           ( SID_EDIT_START + 85 )
221 #define SID_ATTR_CHAR_SCALEWIDTH                        ( SID_EDIT_START + 86 )
222 #define SID_ATTR_CHAR_WIDTH_FIT_TO_LINE                 ( SID_EDIT_START + 87 )
223 #define SID_ATTR_CHAR_RELIEF                            ( SID_EDIT_START + 88 )
224 #define SID_ATTR_CHAR_HIDDEN                            ( SID_EDIT_START + 89 )
225 #define SID_ATTR_CHAR_LATIN_FONT                        ( SID_EDIT_START + 90 )
226 #define SID_ATTR_CHAR_LATIN_FONTHEIGHT                  ( SID_EDIT_START + 91 )
227 #define SID_ATTR_CHAR_LATIN_LANGUAGE                    ( SID_EDIT_START + 92 )
228 #define SID_ATTR_CHAR_LATIN_POSTURE                     ( SID_EDIT_START + 93 )
229 #define SID_ATTR_CHAR_LATIN_WEIGHT                      ( SID_EDIT_START + 94 )
230 #define SID_ATTR_CHAR_BACK_COLOR                        ( SID_EDIT_START + 95 )
233 #if 95 > (SID_EDIT_END-SID_EDIT_START)
234 #error Resource-Overflow in #line, #file
235 #endif
237 #define SID_DRAW_TEXT_VERTICAL                            SID_ATTR_CHAR_VERTICAL
239 #endif
241 // ******************************************************************* EOF
243 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */