xref: /aoo42x/main/editeng/inc/editeng/editids.hrc (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * $RCSfile: svxids.hrc,v $
10 * $Revision: 1.10.132.2 $
11 *
12 * This file is part of OpenOffice.org.
13 *
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.
17 *
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).
23 *
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.
28 *
29 ************************************************************************/
30#ifndef _EDIT_SVXIDS_HRC
31#define _EDIT_SVXIDS_HRC
32
33// include ------------------------------------------------------------------
34
35#include <svl/solar.hrc>
36
37#define SID_ATTR_BRUSH                                  ( SID_SVX_START + 1 )
38#define SID_ATTR_TABSTOP                                ( SID_SVX_START + 2 )
39#define SID_ATTR_TABSTOP_DEFAULTS                       ( SID_SVX_START + 3 )
40#define SID_ATTR_TABSTOP_POS                            ( SID_SVX_START + 4 )
41#define SID_ATTR_TABSTOP_OFFSET                         ( SID_SVX_START + 5 )
42#define SID_ATTR_CHAR                                   ( SID_SVX_START + 6 )
43#define SID_ATTR_CHAR_FONT                              ( SID_SVX_START + 7 )
44#define SID_ATTR_CHAR_POSTURE                           ( SID_SVX_START + 8 )
45#define SID_ATTR_CHAR_WEIGHT                            ( SID_SVX_START + 9 )
46#define SID_ATTR_CHAR_SHADOWED                          ( SID_SVX_START + 10 )
47#define SID_ATTR_CHAR_WORDLINEMODE                      ( SID_SVX_START + 11 )
48#define SID_ATTR_CHAR_CONTOUR                           ( SID_SVX_START + 12 )
49#define SID_ATTR_CHAR_STRIKEOUT                         ( SID_SVX_START + 13 )
50#define SID_ATTR_CHAR_UNDERLINE                         ( SID_SVX_START + 14 )
51#define SID_ATTR_CHAR_FONTHEIGHT                        ( SID_SVX_START + 15 )
52#define SID_ATTR_CHAR_PROPSIZE                          ( SID_SVX_START + 16 )
53#define SID_ATTR_CHAR_COLOR                             ( SID_SVX_START + 17 )
54#define SID_ATTR_CHAR_KERNING                           ( SID_SVX_START + 18 )
55#define SID_ATTR_CHAR_CASEMAP                           ( SID_SVX_START + 19 )
56#define SID_ATTR_CHAR_LANGUAGE                          ( SID_SVX_START + 20 )
57#define SID_ATTR_CHAR_ESCAPEMENT                        ( SID_SVX_START + 21 )
58#define SID_ATTR_CHAR_FONTLIST                          ( SID_SVX_START + 22 )
59#define SID_ATTR_BORDER_OUTER                           ( SID_SVX_START + 24 )
60#define SID_ATTR_BORDER_SHADOW                          ( SID_SVX_START + 25 )
61#define SID_ATTR_PARA                                   ( SID_SVX_START + 26 )
62#define SID_ATTR_PARA_ADJUST                            ( SID_SVX_START + 27 )
63#define SID_ATTR_PARA_ADJUST_LEFT                       ( SID_SVX_START + 28 )
64#define SID_ATTR_PARA_ADJUST_RIGHT                      ( SID_SVX_START + 29 )
65#define SID_ATTR_PARA_ADJUST_CENTER                     ( SID_SVX_START + 30 )
66#define SID_ATTR_PARA_ADJUST_BLOCK                      ( SID_SVX_START + 31 )
67#define SID_ATTR_PARA_ADJUST_BLOCKLINE                  ( SID_SVX_START + 32 )
68#define SID_ATTR_PARA_LINESPACE                         ( SID_SVX_START + 33 )
69#define SID_ATTR_PARA_LINESPACE_10                      ( SID_SVX_START + 34 )
70#define SID_ATTR_PARA_LINESPACE_15                      ( SID_SVX_START + 35 )
71#define SID_ATTR_PARA_LINESPACE_20                      ( SID_SVX_START + 36 )
72#define SID_ATTR_PARA_PAGEBREAK                         ( SID_SVX_START + 37 )
73#define SID_ATTR_PARA_HYPHENZONE                        ( SID_SVX_START + 38 )
74#define SID_ATTR_PARA_SPLIT                             ( SID_SVX_START + 39 )
75#define SID_ATTR_PARA_ORPHANS                           ( SID_SVX_START + 40 )
76#define SID_ATTR_PARA_WIDOWS                            ( SID_SVX_START + 41 )
77#define SID_ATTR_PARA_ULSPACE                           ( SID_SVX_START + 42 )
78#define SID_ATTR_PARA_LRSPACE                           ( SID_SVX_START + 43 )
79#define SID_ATTR_LRSPACE                                ( SID_SVX_START + 48 )
80#define SID_ATTR_ULSPACE                                ( SID_SVX_START + 49 )
81#define SID_ATTR_CHAR_MAPTYPE                           ( SID_SVX_START + 64 )
82#define SID_ATTR_PARA_MODEL                             ( SID_SVX_START + 65 )
83#define SID_ATTR_PARA_KEEP                              ( SID_SVX_START + 66 )
84#define SID_ATTR_CHAR_AUTOKERN                          ( SID_SVX_START + 67 )
85#define SID_ATTR_PARA_BULLET                            ( SID_SVX_START + 250 )
86#define SID_ATTR_PARA_OUTLLEVEL                         ( SID_SVX_START + 300 )
87#define SID_FIELD                                       ( SID_SVX_START + 363 )
88#define SID_ATTR_PARA_REGISTER                          ( SID_SVX_START + 413 )
89#define SID_ATTR_PARA_PAGENUM                           ( SID_SVX_START + 457 )
90#define SID_ATTR_PARA_NUMRULE                           ( SID_SVX_START + 587 )
91#define SID_ATTR_BRUSH_CHAR                             ( SID_SVX_START + 591 )
92#define SID_ATTR_NUMBERING_RULE                         ( SID_SVX_START + 855 )
93#define SID_ATTR_CHAR_CHARSETCOLOR                      ( SID_SVX_START + 877 )
94#define SID_ATTR_CHAR_CJK_FONT                          ( SID_SVX_START + 887 )
95#define SID_ATTR_CHAR_CJK_FONTHEIGHT                    ( SID_SVX_START + 888 )
96#define SID_ATTR_CHAR_CJK_LANGUAGE                      ( SID_SVX_START + 889 )
97#define SID_ATTR_CHAR_CJK_POSTURE                       ( SID_SVX_START + 890 )
98#define SID_ATTR_CHAR_CJK_WEIGHT                        ( SID_SVX_START + 891 )
99#define SID_ATTR_CHAR_CTL_FONT                          ( SID_SVX_START + 892 )
100#define SID_ATTR_CHAR_CTL_FONTHEIGHT                    ( SID_SVX_START + 893 )
101#define SID_ATTR_CHAR_CTL_LANGUAGE                      ( SID_SVX_START + 894 )
102#define SID_ATTR_CHAR_CTL_POSTURE                       ( SID_SVX_START + 895 )
103#define SID_ATTR_CHAR_CTL_WEIGHT                        ( SID_SVX_START + 896 )
104#define SID_ATTR_CHAR_TWO_LINES                         ( SID_SVX_START + 897 )
105#define SID_ATTR_CHAR_CJK_RUBY                          ( SID_SVX_START + 898 )
106#define SID_ATTR_CHAR_EMPHASISMARK                      ( SID_SVX_START + 899 )
107#define SID_ATTR_CHAR_SCRIPTTYPE                        ( SID_SVX_START + 900 )
108#define SID_ATTR_PARA_SCRIPTSPACE                       ( SID_SVX_START + 901 )
109#define SID_ATTR_PARA_HANGPUNCTUATION                   ( SID_SVX_START + 902 )
110#define SID_ATTR_PARA_FORBIDDEN_RULES                   ( SID_SVX_START + 903 )
111#define SID_ATTR_CHAR_VERTICAL                          ( SID_SVX_START + 905 )
112#define SID_ATTR_CHAR_ROTATED                           ( SID_SVX_START + 910 )
113#define SID_ATTR_CHAR_SCALEWIDTH                        ( SID_SVX_START + 911 )
114#define SID_ATTR_CHAR_WIDTH_FIT_TO_LINE                 ( SID_SVX_START + 919 )
115#define SID_ATTR_CHAR_RELIEF                            ( SID_SVX_START + 920 )
116#define SID_PARA_VERTALIGN                              ( SID_SVX_START + 925 )
117#define SID_ATTR_FRAMEDIRECTION                         ( SID_SVX_START + 944 )
118#define SID_ATTR_PARA_SNAPTOGRID                        ( SID_SVX_START + 945 )
119#define SID_ATTR_PARA_LRSPACE_VERTICAL                  ( SID_SVX_START + 947 )
120#define SID_ATTR_PARA_LEFT_TO_RIGHT                     ( SID_SVX_START + 950 )
121#define SID_ATTR_PARA_RIGHT_TO_LEFT                     ( SID_SVX_START + 951 )
122#define SID_ATTR_CHAR_HIDDEN                            ( SID_SVX_START + 989 )
123#define SID_ATTR_CHAR_LATIN_FONT                        ( SID_SVX_START + 994 )
124#define SID_ATTR_CHAR_LATIN_FONTHEIGHT                  ( SID_SVX_START + 995 )
125#define SID_ATTR_CHAR_LATIN_LANGUAGE                    ( SID_SVX_START + 996 )
126#define SID_ATTR_CHAR_LATIN_POSTURE                     ( SID_SVX_START + 997 )
127#define SID_ATTR_CHAR_LATIN_WEIGHT                      ( SID_SVX_START + 998 )
128#define SID_ATTR_PARA_OUTLINE_LEVEL                     ( SID_SVX_START +1092 )
129
130// this ID didn't exist prior to the svx split
131#define SID_ATTR_CHAR_OVERLINE              			( SID_EDIT_START + 68 )
132
133/*
134// planned, but not doable: changing value of SIDs will break code that uses them for WhichRanges
135#define SID_PARA_VERTALIGN                              ( SID_EDIT_START )
136#define SID_ATTR_BORDER_OUTER                           ( SID_EDIT_START + 1 )
137#define SID_ATTR_BORDER_SHADOW                          ( SID_EDIT_START + 2 )
138#define SID_ATTR_BRUSH                                  ( SID_EDIT_START + 3 )
139#define SID_ATTR_BRUSH_CHAR                             ( SID_EDIT_START + 4 )
140
141
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*/
231
232#if 94 > (SID_EDIT_END-SID_EDIT_START)
233#error Resource-Ueberlauf in #line, #file
234#endif
235
236#define SID_TEXT_ALIGNLEFT                                SID_ATTR_PARA_ADJUST_LEFT
237#define SID_TEXT_ALIGNRIGHT                               SID_ATTR_PARA_ADJUST_RIGHT
238#define SID_TEXT_ALIGNCENTER                              SID_ATTR_PARA_ADJUST_CENTER
239#define SID_TEXT_ALIGNBLOCK                               SID_ATTR_PARA_ADJUST_BLOCK
240#define SID_DRAW_TEXT_VERTICAL                            SID_ATTR_CHAR_VERTICAL
241
242#endif
243
244// ******************************************************************* EOF
245
246