summaryrefslogtreecommitdiffstats
path: root/include/editeng/editids.hrc
blob: 9ff4884fbcbc47d65e561acc72d8539253d59602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */
#ifndef INCLUDED_EDITENG_EDITIDS_HRC
#define INCLUDED_EDITENG_EDITIDS_HRC

#include <svl/solar.hrc>

class SfxGrabBagItem;
class SfxInt16Item;
class SfxUInt16Item;
class SvxAdjustItem;
class SvxAutoKernItem;
class SvxBoxItem;
class SvxBrushItem;
class SvxCaseMapItem;
class SvxCharHiddenItem;
class SvxCharReliefItem;
class SvxCharRotateItem;
class SvxCharScaleWidthItem;
class SvxColorItem;
class SvxContourItem;
class SvxCrossedOutItem;
class SvxEmphasisMarkItem;
class SvxEscapementItem;
class SvxFontHeightItem;
class SvxFontItem;
class SvxForbiddenRuleItem;
class SvxFormatKeepItem;
class SvxFormatSplitItem;
class SvxFrameDirectionItem;
class SvxHangingPunctuationItem;
class SvxHyphenZoneItem;
class SvxKerningItem;
class SvxLanguageItem;
class SvxLineSpacingItem;
class SvxLRSpaceItem;
class SvxOrphansItem;
class SvxOverlineItem;
class SvxPageModelItem;
class SvxParaVertAlignItem;
class SvxPostureItem;
class SvxScriptSpaceItem;
class SvxShadowItem;
class SvxShadowedItem;
class SvxTabStopItem;
class SvxTwoLinesItem;
class SvxUnderlineItem;
class SvxULSpaceItem;
class SvxWeightItem;
class SvxWidowsItem;
class SvxWordLineModeItem;

/*
  These SID_SVX_START entries came from include/svx/svxids.hrc, avoid
  accidentally colliding entries with include/svx/svxids.hrc and
  include/sfx2/sfxsids.hrc. Only add new SID_SVX_START entries to
  include/svx/svxids.hrc
*/
#define SID_ATTR_BRUSH                                  TypedWhichId<SvxBrushItem>( SID_SVX_START + 1 )
#define SID_ATTR_TABSTOP                                TypedWhichId<SvxTabStopItem>( SID_SVX_START + 2 )
#define SID_ATTR_TABSTOP_DEFAULTS                       TypedWhichId<SfxUInt16Item>( SID_SVX_START + 3 )
#define SID_ATTR_TABSTOP_POS                            TypedWhichId<SfxUInt16Item>( SID_SVX_START + 4 )
#define SID_ATTR_TABSTOP_OFFSET                         TypedWhichId<SfxInt32Item>( SID_SVX_START + 5 )
#define SID_ATTR_CHAR                                   TypedWhichId<SfxStringItem>( SID_SVX_START + 6 )
#define SID_ATTR_CHAR_FONT                              TypedWhichId<SvxFontItem>( SID_SVX_START + 7 )
#define SID_ATTR_CHAR_POSTURE                           TypedWhichId<SvxPostureItem>( SID_SVX_START + 8 )
#define SID_ATTR_CHAR_WEIGHT                            TypedWhichId<SvxWeightItem>( SID_SVX_START + 9 )
#define SID_ATTR_CHAR_SHADOWED                          TypedWhichId<SvxShadowedItem>( SID_SVX_START + 10 )
#define SID_ATTR_CHAR_WORDLINEMODE                      TypedWhichId<SvxWordLineModeItem>( SID_SVX_START + 11 )
#define SID_ATTR_CHAR_CONTOUR                           TypedWhichId<SvxContourItem>( SID_SVX_START + 12 )
#define SID_ATTR_CHAR_STRIKEOUT                         TypedWhichId<SvxCrossedOutItem>( SID_SVX_START + 13 )
#define SID_ATTR_CHAR_UNDERLINE                         TypedWhichId<SvxUnderlineItem>( SID_SVX_START + 14 )
#define SID_ATTR_CHAR_FONTHEIGHT                        TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 15 )
  // free
#define SID_ATTR_CHAR_COLOR                             TypedWhichId<SvxColorItem>( SID_SVX_START + 17 )
#define SID_ATTR_CHAR_KERNING                           TypedWhichId<SvxKerningItem>( SID_SVX_START + 18 )
#define SID_ATTR_CHAR_CASEMAP                           TypedWhichId<SvxCaseMapItem>( SID_SVX_START + 19 )
#define SID_ATTR_CHAR_LANGUAGE                          TypedWhichId<SvxLanguageItem>( SID_SVX_START + 20 )
#define SID_ATTR_CHAR_ESCAPEMENT                        TypedWhichId<SvxEscapementItem>( SID_SVX_START + 21 )
#define SID_ATTR_CHAR_FONTLIST                          ( SID_SVX_START + 22 )
#define SID_ATTR_BORDER_OUTER                           TypedWhichId<SvxBoxItem>( SID_SVX_START + 24 )
#define SID_ATTR_BORDER_SHADOW                          TypedWhichId<SvxShadowItem>( SID_SVX_START + 25 )
#define SID_ATTR_PARA_ADJUST                            TypedWhichId<SvxAdjustItem>( SID_SVX_START + 27 )
#define SID_ATTR_PARA_ADJUST_LEFT                       ( SID_SVX_START + 28 )
#define SID_ATTR_PARA_ADJUST_RIGHT                      ( SID_SVX_START + 29 )
#define SID_ATTR_PARA_ADJUST_CENTER                     ( SID_SVX_START + 30 )
#define SID_ATTR_PARA_ADJUST_BLOCK                      ( SID_SVX_START + 31 )
#define SID_ATTR_PARA_LINESPACE                         TypedWhichId<SvxLineSpacingItem>( SID_SVX_START + 33 )
#define SID_ATTR_PARA_LINESPACE_10                      ( SID_SVX_START + 34 )
#define SID_ATTR_PARA_LINESPACE_15                      ( SID_SVX_START + 35 )
#define SID_ATTR_PARA_LINESPACE_115                     ( SID_SVX_START + 26 )
#define SID_ATTR_PARA_LINESPACE_20                      ( SID_SVX_START + 36 )
#define SID_ATTR_PARA_PAGEBREAK                         ( SID_SVX_START + 37 )
#define SID_ATTR_PARA_HYPHENZONE                        TypedWhichId<SvxHyphenZoneItem>( SID_SVX_START + 38 )
#define SID_ATTR_PARA_SPLIT                             TypedWhichId<SvxFormatSplitItem>( SID_SVX_START + 39 )
#define SID_ATTR_PARA_ORPHANS                           TypedWhichId<SvxOrphansItem>( SID_SVX_START + 40 )
#define SID_ATTR_PARA_WIDOWS                            TypedWhichId<SvxWidowsItem>( SID_SVX_START + 41 )
#define SID_ATTR_PARA_ULSPACE                           ( SID_SVX_START + 42 )
#define SID_ATTR_PARA_LRSPACE                           ( SID_SVX_START + 43 )
#define SID_ATTR_PARA_LEFTSPACE                         ( SID_SVX_START + 44 )
#define SID_ATTR_PARA_RIGHTSPACE                        ( SID_SVX_START + 45 )
#define SID_ATTR_PARA_FIRSTLINESPACE                    ( SID_SVX_START + 46 )
#define SID_ATTR_PARA_BELOWSPACE                        ( SID_SVX_START + 47 )
#define SID_ATTR_LRSPACE                                TypedWhichId<SvxLRSpaceItem>( SID_SVX_START + 48 )
#define SID_ATTR_ULSPACE                                TypedWhichId<SvxULSpaceItem>( SID_SVX_START + 49 )
#define SID_ATTR_PARA_ABOVESPACE                        ( SID_SVX_START + 64 )
#define SID_ATTR_PARA_MODEL                             TypedWhichId<SvxPageModelItem>( SID_SVX_START + 65 )
#define SID_ATTR_PARA_KEEP                              TypedWhichId<SvxFormatKeepItem>( SID_SVX_START + 66 )
#define SID_ATTR_CHAR_AUTOKERN                          TypedWhichId<SvxAutoKernItem>( SID_SVX_START + 67 )
#define SID_HANGING_INDENT                              ( SID_SVX_START + 68 )
#define SID_ATTR_PARA_BULLET                            ( SID_SVX_START + 250 )
#define SID_ATTR_PARA_OUTLLEVEL                         TypedWhichId<SfxInt16Item>( SID_SVX_START + 300 )
#define SID_FIELD                                       ( SID_SVX_START + 363 ) // related to EE_FEATURE_FIELD
#define SID_ATTR_PARA_REGISTER                          ( SID_SVX_START + 413 )
#define SID_ATTR_PARA_PAGENUM                           TypedWhichId<SfxUInt16Item>( SID_SVX_START + 457 )
#define SID_ATTR_PARA_NUMRULE                           ( SID_SVX_START + 587 )
#define SID_ATTR_BRUSH_CHAR                             TypedWhichId<SvxBrushItem>( SID_SVX_START + 591 )
#define SID_ATTR_NUMBERING_RULE                         TypedWhichId<SvxNumBulletItem>( SID_SVX_START + 855 )
#define SID_ATTR_CHAR_CHARSETCOLOR                      ( SID_SVX_START + 877 )
#define SID_ATTR_CHAR_CJK_FONT                          TypedWhichId<SvxFontItem>( SID_SVX_START + 887 )
#define SID_ATTR_CHAR_CJK_FONTHEIGHT                    TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 888 )
#define SID_ATTR_CHAR_CJK_LANGUAGE                      TypedWhichId<SvxLanguageItem>( SID_SVX_START + 889 )
#define SID_ATTR_CHAR_CJK_POSTURE                       TypedWhichId<SvxPostureItem>( SID_SVX_START + 890 )
#define SID_ATTR_CHAR_CJK_WEIGHT                        TypedWhichId<SvxWeightItem>( SID_SVX_START + 891 )
#define SID_ATTR_CHAR_CTL_FONT                          TypedWhichId<SvxFontItem>( SID_SVX_START + 892 )
#define SID_ATTR_CHAR_CTL_FONTHEIGHT                    TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 893 )
#define SID_ATTR_CHAR_CTL_LANGUAGE                      TypedWhichId<SvxLanguageItem>( SID_SVX_START + 894 )
#define SID_ATTR_CHAR_CTL_POSTURE                       TypedWhichId<SvxPostureItem>( SID_SVX_START + 895 )
#define SID_ATTR_CHAR_CTL_WEIGHT                        TypedWhichId<SvxWeightItem>( SID_SVX_START + 896 )
#define SID_ATTR_CHAR_TWO_LINES                         TypedWhichId<SvxTwoLinesItem>( SID_SVX_START + 897 )
#define SID_ATTR_CHAR_CJK_RUBY                          ( SID_SVX_START + 898 )
#define SID_ATTR_CHAR_EMPHASISMARK                      TypedWhichId<SvxEmphasisMarkItem>( SID_SVX_START + 899 )
#define SID_ATTR_PARA_SCRIPTSPACE                       TypedWhichId<SvxScriptSpaceItem>( SID_SVX_START + 901 )
#define SID_ATTR_PARA_HANGPUNCTUATION                   TypedWhichId<SvxHangingPunctuationItem>( SID_SVX_START + 902 )
#define SID_ATTR_PARA_FORBIDDEN_RULES                   TypedWhichId<SvxForbiddenRuleItem>( SID_SVX_START + 903 )
#define SID_ATTR_CHAR_VERTICAL                          ( SID_SVX_START + 905 )
#define SID_ATTR_CHAR_ROTATED                           TypedWhichId<SvxCharRotateItem>( SID_SVX_START + 910 )
#define SID_ATTR_CHAR_SCALEWIDTH                        TypedWhichId<SvxCharScaleWidthItem>( SID_SVX_START + 911 )
#define SID_ATTR_CHAR_WIDTH_FIT_TO_LINE                 TypedWhichId<SfxUInt16Item>( SID_SVX_START + 919 )
#define SID_ATTR_CHAR_RELIEF                            TypedWhichId<SvxCharReliefItem>( SID_SVX_START + 920 )
#define SID_PARA_VERTALIGN                              TypedWhichId<SvxParaVertAlignItem>( SID_SVX_START + 925 )
#define SID_ATTR_FRAMEDIRECTION                         TypedWhichId<SvxFrameDirectionItem>( SID_SVX_START + 944 )
#define SID_ATTR_PARA_SNAPTOGRID                        TypedWhichId<SvxParaGridItem>( SID_SVX_START + 945 )
#define SID_ATTR_PARA_LRSPACE_VERTICAL                  ( SID_SVX_START + 947 )
#define SID_ATTR_PARA_LEFT_TO_RIGHT                     ( SID_SVX_START + 950 )
#define SID_ATTR_PARA_RIGHT_TO_LEFT                     ( SID_SVX_START + 951 )
#define SID_ATTR_CHAR_HIDDEN                            TypedWhichId<SvxCharHiddenItem>( SID_SVX_START + 989 )
#define SID_ATTR_CHAR_LATIN_FONT                        ( SID_SVX_START + 994 )
#define SID_ATTR_CHAR_LATIN_FONTHEIGHT                  TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 995 )
#define SID_ATTR_CHAR_LATIN_LANGUAGE                    ( SID_SVX_START + 996 )
#define SID_ATTR_CHAR_LATIN_POSTURE                     TypedWhichId<SvxPostureItem>( SID_SVX_START + 997 )
#define SID_ATTR_CHAR_LATIN_WEIGHT                      ( SID_SVX_START + 998 )
#define SID_ATTR_CHAR_GRABBAG                           TypedWhichId<SfxGrabBagItem>( SID_SVX_START + 1142 )
#define SID_ATTR_CHAR_BACK_COLOR                        ( SID_SVX_START + 1153 )

// these ID didn't exist prior to the svx split, add new ids here
#define SID_ATTR_CHAR_OVERLINE                          TypedWhichId<SvxOverlineItem>( SID_EDIT_START + 68 )
#define SID_ATTR_ALIGN_HOR_JUSTIFY_METHOD               ( SID_EDIT_START + 69 )
#define SID_ATTR_ALIGN_VER_JUSTIFY_METHOD               ( SID_EDIT_START + 70 )
#define SID_ATTR_ALIGN_HOR_JUSTIFY                      ( SID_EDIT_START + 71 )
#define SID_ATTR_ALIGN_VER_JUSTIFY                      TypedWhichId<SvxVerJustifyItem>( SID_EDIT_START + 72 )
#define SID_ATTR_PARA_OUTLINE_LEVEL                     TypedWhichId<SfxUInt16Item>( SID_EDIT_START + 73 )
#define SID_ATTR_CHAR_PREVIEW_FONT                      TypedWhichId<SvxFontItem>( SID_EDIT_START + 74 )
#define SID_ATTR_CHAR_ENDPREVIEW_FONT                   TypedWhichId<SvxFontItem>( SID_EDIT_START + 75 )
#define SID_ATTR_CHAR_BOX                               ( SID_EDIT_START + 76 )
#define SID_ATTR_CHAR_SHADOW                            ( SID_EDIT_START + 77 )
#define SID_ATTR_PARA_GRABBAG                           TypedWhichId<SfxGrabBagItem>( SID_EDIT_START + 78 )


#if 95 > (SID_EDIT_END-SID_EDIT_START)
#error Resource-Overflow in #line, #file
#endif

#endif

// ******************************************************************* EOF

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */