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 .
19 #ifndef INCLUDED_EDITENG_EDITIDS_HRC
20 #define INCLUDED_EDITENG_EDITIDS_HRC
22 #include <svl/solar.hrc>
28 class SvxAutoKernItem;
32 class SvxCharHiddenItem;
33 class SvxCharReliefItem;
34 class SvxCharRotateItem;
35 class SvxCharScaleWidthItem;
38 class SvxCrossedOutItem;
39 class SvxEmphasisMarkItem;
40 class SvxEscapementItem;
41 class SvxFontHeightItem;
43 class SvxForbiddenRuleItem;
44 class SvxFormatKeepItem;
45 class SvxFormatSplitItem;
46 class SvxFrameDirectionItem;
47 class SvxHangingPunctuationItem;
48 class SvxHyphenZoneItem;
50 class SvxLanguageItem;
51 class SvxLineSpacingItem;
54 class SvxOverlineItem;
55 class SvxPageModelItem;
56 class SvxParaVertAlignItem;
58 class SvxScriptSpaceItem;
60 class SvxShadowedItem;
62 class SvxTwoLinesItem;
63 class SvxUnderlineItem;
67 class SvxWordLineModeItem;
70 These SID_SVX_START entries came from include/svx/svxids.hrc, avoid
71 accidentally colliding entries with include/svx/svxids.hrc and
72 include/sfx2/sfxsids.hrc. Only add new SID_SVX_START entries to
73 include/svx/svxids.hrc
75 #define SID_ATTR_BRUSH TypedWhichId<SvxBrushItem>( SID_SVX_START + 1 )
76 #define SID_ATTR_TABSTOP TypedWhichId<SvxTabStopItem>( SID_SVX_START + 2 )
77 #define SID_ATTR_TABSTOP_DEFAULTS TypedWhichId<SfxUInt16Item>( SID_SVX_START + 3 )
78 #define SID_ATTR_TABSTOP_POS TypedWhichId<SfxUInt16Item>( SID_SVX_START + 4 )
79 #define SID_ATTR_TABSTOP_OFFSET TypedWhichId<SfxInt32Item>( SID_SVX_START + 5 )
80 #define SID_ATTR_CHAR TypedWhichId<SfxStringItem>( SID_SVX_START + 6 )
81 #define SID_ATTR_CHAR_FONT TypedWhichId<SvxFontItem>( SID_SVX_START + 7 )
82 #define SID_ATTR_CHAR_POSTURE TypedWhichId<SvxPostureItem>( SID_SVX_START + 8 )
83 #define SID_ATTR_CHAR_WEIGHT TypedWhichId<SvxWeightItem>( SID_SVX_START + 9 )
84 #define SID_ATTR_CHAR_SHADOWED TypedWhichId<SvxShadowedItem>( SID_SVX_START + 10 )
85 #define SID_ATTR_CHAR_WORDLINEMODE TypedWhichId<SvxWordLineModeItem>( SID_SVX_START + 11 )
86 #define SID_ATTR_CHAR_CONTOUR TypedWhichId<SvxContourItem>( SID_SVX_START + 12 )
87 #define SID_ATTR_CHAR_STRIKEOUT TypedWhichId<SvxCrossedOutItem>( SID_SVX_START + 13 )
88 #define SID_ATTR_CHAR_UNDERLINE TypedWhichId<SvxUnderlineItem>( SID_SVX_START + 14 )
89 #define SID_ATTR_CHAR_FONTHEIGHT TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 15 )
91 #define SID_ATTR_CHAR_COLOR TypedWhichId<SvxColorItem>( SID_SVX_START + 17 )
92 #define SID_ATTR_CHAR_KERNING TypedWhichId<SvxKerningItem>( SID_SVX_START + 18 )
93 #define SID_ATTR_CHAR_CASEMAP TypedWhichId<SvxCaseMapItem>( SID_SVX_START + 19 )
94 #define SID_ATTR_CHAR_LANGUAGE TypedWhichId<SvxLanguageItem>( SID_SVX_START + 20 )
95 #define SID_ATTR_CHAR_ESCAPEMENT TypedWhichId<SvxEscapementItem>( SID_SVX_START + 21 )
96 #define SID_ATTR_CHAR_FONTLIST ( SID_SVX_START + 22 )
97 #define SID_ATTR_BORDER_OUTER TypedWhichId<SvxBoxItem>( SID_SVX_START + 24 )
98 #define SID_ATTR_BORDER_SHADOW TypedWhichId<SvxShadowItem>( SID_SVX_START + 25 )
99 #define SID_ATTR_PARA_ADJUST TypedWhichId<SvxAdjustItem>( SID_SVX_START + 27 )
100 #define SID_ATTR_PARA_ADJUST_LEFT ( SID_SVX_START + 28 )
101 #define SID_ATTR_PARA_ADJUST_RIGHT ( SID_SVX_START + 29 )
102 #define SID_ATTR_PARA_ADJUST_CENTER ( SID_SVX_START + 30 )
103 #define SID_ATTR_PARA_ADJUST_BLOCK ( SID_SVX_START + 31 )
104 #define SID_ATTR_PARA_LINESPACE TypedWhichId<SvxLineSpacingItem>( SID_SVX_START + 33 )
105 #define SID_ATTR_PARA_LINESPACE_10 ( SID_SVX_START + 34 )
106 #define SID_ATTR_PARA_LINESPACE_15 ( SID_SVX_START + 35 )
107 #define SID_ATTR_PARA_LINESPACE_115 ( SID_SVX_START + 26 )
108 #define SID_ATTR_PARA_LINESPACE_20 ( SID_SVX_START + 36 )
109 #define SID_ATTR_PARA_PAGEBREAK ( SID_SVX_START + 37 )
110 #define SID_ATTR_PARA_HYPHENZONE TypedWhichId<SvxHyphenZoneItem>( SID_SVX_START + 38 )
111 #define SID_ATTR_PARA_SPLIT TypedWhichId<SvxFormatSplitItem>( SID_SVX_START + 39 )
112 #define SID_ATTR_PARA_ORPHANS TypedWhichId<SvxOrphansItem>( SID_SVX_START + 40 )
113 #define SID_ATTR_PARA_WIDOWS TypedWhichId<SvxWidowsItem>( SID_SVX_START + 41 )
114 #define SID_ATTR_PARA_ULSPACE ( SID_SVX_START + 42 )
115 #define SID_ATTR_PARA_LRSPACE ( SID_SVX_START + 43 )
116 #define SID_ATTR_PARA_LEFTSPACE ( SID_SVX_START + 44 )
117 #define SID_ATTR_PARA_RIGHTSPACE ( SID_SVX_START + 45 )
118 #define SID_ATTR_PARA_FIRSTLINESPACE ( SID_SVX_START + 46 )
119 #define SID_ATTR_PARA_BELOWSPACE ( SID_SVX_START + 47 )
120 #define SID_ATTR_LRSPACE TypedWhichId<SvxLRSpaceItem>( SID_SVX_START + 48 )
121 #define SID_ATTR_ULSPACE TypedWhichId<SvxULSpaceItem>( SID_SVX_START + 49 )
122 #define SID_ATTR_PARA_ABOVESPACE ( SID_SVX_START + 64 )
123 #define SID_ATTR_PARA_MODEL TypedWhichId<SvxPageModelItem>( SID_SVX_START + 65 )
124 #define SID_ATTR_PARA_KEEP TypedWhichId<SvxFormatKeepItem>( SID_SVX_START + 66 )
125 #define SID_ATTR_CHAR_AUTOKERN TypedWhichId<SvxAutoKernItem>( SID_SVX_START + 67 )
126 #define SID_HANGING_INDENT ( SID_SVX_START + 68 )
127 #define SID_ATTR_PARA_BULLET ( SID_SVX_START + 250 )
128 #define SID_ATTR_PARA_OUTLLEVEL TypedWhichId<SfxInt16Item>( SID_SVX_START + 300 )
129 #define SID_FIELD ( SID_SVX_START + 363 ) // related to EE_FEATURE_FIELD
130 #define SID_ATTR_PARA_REGISTER ( SID_SVX_START + 413 )
131 #define SID_ATTR_PARA_PAGENUM TypedWhichId<SfxUInt16Item>( SID_SVX_START + 457 )
132 #define SID_ATTR_PARA_NUMRULE ( SID_SVX_START + 587 )
133 #define SID_ATTR_BRUSH_CHAR TypedWhichId<SvxBrushItem>( SID_SVX_START + 591 )
134 #define SID_ATTR_NUMBERING_RULE TypedWhichId<SvxNumBulletItem>( SID_SVX_START + 855 )
135 #define SID_ATTR_CHAR_CHARSETCOLOR ( SID_SVX_START + 877 )
136 #define SID_ATTR_CHAR_CJK_FONT TypedWhichId<SvxFontItem>( SID_SVX_START + 887 )
137 #define SID_ATTR_CHAR_CJK_FONTHEIGHT TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 888 )
138 #define SID_ATTR_CHAR_CJK_LANGUAGE TypedWhichId<SvxLanguageItem>( SID_SVX_START + 889 )
139 #define SID_ATTR_CHAR_CJK_POSTURE TypedWhichId<SvxPostureItem>( SID_SVX_START + 890 )
140 #define SID_ATTR_CHAR_CJK_WEIGHT TypedWhichId<SvxWeightItem>( SID_SVX_START + 891 )
141 #define SID_ATTR_CHAR_CTL_FONT TypedWhichId<SvxFontItem>( SID_SVX_START + 892 )
142 #define SID_ATTR_CHAR_CTL_FONTHEIGHT TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 893 )
143 #define SID_ATTR_CHAR_CTL_LANGUAGE TypedWhichId<SvxLanguageItem>( SID_SVX_START + 894 )
144 #define SID_ATTR_CHAR_CTL_POSTURE TypedWhichId<SvxPostureItem>( SID_SVX_START + 895 )
145 #define SID_ATTR_CHAR_CTL_WEIGHT TypedWhichId<SvxWeightItem>( SID_SVX_START + 896 )
146 #define SID_ATTR_CHAR_TWO_LINES TypedWhichId<SvxTwoLinesItem>( SID_SVX_START + 897 )
147 #define SID_ATTR_CHAR_CJK_RUBY ( SID_SVX_START + 898 )
148 #define SID_ATTR_CHAR_EMPHASISMARK TypedWhichId<SvxEmphasisMarkItem>( SID_SVX_START + 899 )
149 #define SID_ATTR_PARA_SCRIPTSPACE TypedWhichId<SvxScriptSpaceItem>( SID_SVX_START + 901 )
150 #define SID_ATTR_PARA_HANGPUNCTUATION TypedWhichId<SvxHangingPunctuationItem>( SID_SVX_START + 902 )
151 #define SID_ATTR_PARA_FORBIDDEN_RULES TypedWhichId<SvxForbiddenRuleItem>( SID_SVX_START + 903 )
152 #define SID_ATTR_CHAR_VERTICAL ( SID_SVX_START + 905 )
153 #define SID_ATTR_CHAR_ROTATED TypedWhichId<SvxCharRotateItem>( SID_SVX_START + 910 )
154 #define SID_ATTR_CHAR_SCALEWIDTH TypedWhichId<SvxCharScaleWidthItem>( SID_SVX_START + 911 )
155 #define SID_ATTR_CHAR_WIDTH_FIT_TO_LINE TypedWhichId<SfxUInt16Item>( SID_SVX_START + 919 )
156 #define SID_ATTR_CHAR_RELIEF TypedWhichId<SvxCharReliefItem>( SID_SVX_START + 920 )
157 #define SID_PARA_VERTALIGN TypedWhichId<SvxParaVertAlignItem>( SID_SVX_START + 925 )
158 #define SID_ATTR_FRAMEDIRECTION TypedWhichId<SvxFrameDirectionItem>( SID_SVX_START + 944 )
159 #define SID_ATTR_PARA_SNAPTOGRID TypedWhichId<SvxParaGridItem>( SID_SVX_START + 945 )
160 #define SID_ATTR_PARA_LRSPACE_VERTICAL ( SID_SVX_START + 947 )
161 #define SID_ATTR_PARA_LEFT_TO_RIGHT ( SID_SVX_START + 950 )
162 #define SID_ATTR_PARA_RIGHT_TO_LEFT ( SID_SVX_START + 951 )
163 #define SID_ATTR_CHAR_HIDDEN TypedWhichId<SvxCharHiddenItem>( SID_SVX_START + 989 )
164 #define SID_ATTR_CHAR_LATIN_FONT ( SID_SVX_START + 994 )
165 #define SID_ATTR_CHAR_LATIN_FONTHEIGHT TypedWhichId<SvxFontHeightItem>( SID_SVX_START + 995 )
166 #define SID_ATTR_CHAR_LATIN_LANGUAGE ( SID_SVX_START + 996 )
167 #define SID_ATTR_CHAR_LATIN_POSTURE TypedWhichId<SvxPostureItem>( SID_SVX_START + 997 )
168 #define SID_ATTR_CHAR_LATIN_WEIGHT ( SID_SVX_START + 998 )
169 #define SID_ATTR_CHAR_GRABBAG TypedWhichId<SfxGrabBagItem>( SID_SVX_START + 1142 )
170 #define SID_ATTR_CHAR_BACK_COLOR ( SID_SVX_START + 1153 )
172 // these ID didn't exist prior to the svx split, add new ids here
173 #define SID_ATTR_CHAR_OVERLINE TypedWhichId<SvxOverlineItem>( SID_EDIT_START + 68 )
174 #define SID_ATTR_ALIGN_HOR_JUSTIFY_METHOD ( SID_EDIT_START + 69 )
175 #define SID_ATTR_ALIGN_VER_JUSTIFY_METHOD ( SID_EDIT_START + 70 )
176 #define SID_ATTR_ALIGN_HOR_JUSTIFY ( SID_EDIT_START + 71 )
177 #define SID_ATTR_ALIGN_VER_JUSTIFY TypedWhichId<SvxVerJustifyItem>( SID_EDIT_START + 72 )
178 #define SID_ATTR_PARA_OUTLINE_LEVEL TypedWhichId<SfxUInt16Item>( SID_EDIT_START + 73 )
179 #define SID_ATTR_CHAR_PREVIEW_FONT TypedWhichId<SvxFontItem>( SID_EDIT_START + 74 )
180 #define SID_ATTR_CHAR_ENDPREVIEW_FONT TypedWhichId<SvxFontItem>( SID_EDIT_START + 75 )
181 #define SID_ATTR_CHAR_BOX ( SID_EDIT_START + 76 )
182 #define SID_ATTR_CHAR_SHADOW ( SID_EDIT_START + 77 )
183 #define SID_ATTR_PARA_GRABBAG TypedWhichId<SfxGrabBagItem>( SID_EDIT_START + 78 )
186 #if 95 > (SID_EDIT_END-SID_EDIT_START)
187 #error Resource-Overflow in #line, #file
192 // ******************************************************************* EOF
194 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */