xref: /AOO41X/main/editeng/inc/editeng/svxenum.hxx (revision f93e23d7b8211f7ccd359ccaac762db7042f7a07)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _SVX_SVXENUM_HXX
24 #define _SVX_SVXENUM_HXX
25 
26 // -----------------------------------------------------------------------
27 
28 enum SvxCaseMap
29 {
30     SVX_CASEMAP_NOT_MAPPED,
31     SVX_CASEMAP_VERSALIEN,
32     SVX_CASEMAP_GEMEINE,
33     SVX_CASEMAP_TITEL,
34     SVX_CASEMAP_KAPITAELCHEN,
35     SVX_CASEMAP_END
36 };
37 
38 enum SvxEscapement
39 {
40     SVX_ESCAPEMENT_OFF,
41     SVX_ESCAPEMENT_SUPERSCRIPT,
42     SVX_ESCAPEMENT_SUBSCRIPT,
43     SVX_ESCAPEMENT_END
44 };
45 
46 enum SvxShadowLocation
47 {
48     SVX_SHADOW_NONE,
49     SVX_SHADOW_TOPLEFT,
50     SVX_SHADOW_TOPRIGHT,
51     SVX_SHADOW_BOTTOMLEFT,
52     SVX_SHADOW_BOTTOMRIGHT,
53     SVX_SHADOW_END
54 };
55 
56 enum SvxTabAdjust
57 {
58     SVX_TAB_ADJUST_LEFT = 0,
59     SVX_TAB_ADJUST_RIGHT,
60     SVX_TAB_ADJUST_DECIMAL,
61     SVX_TAB_ADJUST_CENTER,
62     SVX_TAB_ADJUST_DEFAULT,
63     SVX_TAB_ADJUST_END
64 };
65 
66 enum SvxLineSpace
67 {
68     SVX_LINE_SPACE_AUTO,
69     SVX_LINE_SPACE_FIX,
70     SVX_LINE_SPACE_MIN,
71     SVX_LINE_SPACE_END
72 };
73 
74 enum SvxInterLineSpace
75 {
76     SVX_INTER_LINE_SPACE_OFF,
77     SVX_INTER_LINE_SPACE_PROP,
78     SVX_INTER_LINE_SPACE_FIX,
79     SVX_INTER_LINE_SPACE_END
80 };
81 
82 enum SvxAdjust
83 {
84     SVX_ADJUST_LEFT,
85     SVX_ADJUST_RIGHT,
86     SVX_ADJUST_BLOCK,
87     SVX_ADJUST_CENTER,
88     SVX_ADJUST_BLOCKLINE,
89     SVX_ADJUST_END
90 };
91 
92 enum SvxSpecialLineSpace
93 {
94     SVX_LINESPACE_USER,
95     SVX_LINESPACE_ONE_LINE,
96     SVX_LINESPACE_ONE_POINT_FIVE_LINES,
97     SVX_LINESPACE_TWO_LINES,
98     SVX_LINESPACE_END
99 };
100 
101 enum SvxBreak
102 {
103     SVX_BREAK_NONE,
104     SVX_BREAK_COLUMN_BEFORE,
105     SVX_BREAK_COLUMN_AFTER,
106     SVX_BREAK_COLUMN_BOTH,
107     SVX_BREAK_PAGE_BEFORE,
108     SVX_BREAK_PAGE_AFTER,
109     SVX_BREAK_PAGE_BOTH,
110     SVX_BREAK_END
111 };
112 
113 enum SvxCellHorJustify
114 {
115     SVX_HOR_JUSTIFY_STANDARD,
116     SVX_HOR_JUSTIFY_LEFT,
117     SVX_HOR_JUSTIFY_CENTER,
118     SVX_HOR_JUSTIFY_RIGHT,
119     SVX_HOR_JUSTIFY_BLOCK,
120     SVX_HOR_JUSTIFY_REPEAT
121 };
122 
123 enum SvxCellVerJustify
124 {
125     SVX_VER_JUSTIFY_STANDARD,
126     SVX_VER_JUSTIFY_TOP,
127     SVX_VER_JUSTIFY_CENTER,
128     SVX_VER_JUSTIFY_BOTTOM
129 };
130 
131 enum SvxCellOrientation
132 {
133     SVX_ORIENTATION_STANDARD,
134     SVX_ORIENTATION_TOPBOTTOM,
135     SVX_ORIENTATION_BOTTOMTOP,
136     SVX_ORIENTATION_STACKED
137 };
138 
139 enum SvxDrawToolEnum
140 {
141     SVX_SNAP_DRAW_SELECT,
142     //
143     SVX_SNAP_DRAW_LINE,
144     SVX_SNAP_DRAW_RECT,
145     SVX_SNAP_DRAW_ELLIPSE,
146     SVX_SNAP_DRAW_POLYGON_NOFILL,
147     SVX_SNAP_DRAW_BEZIER_NOFILL,
148     SVX_SNAP_DRAW_FREELINE_NOFILL,
149     SVX_SNAP_DRAW_ARC,
150     SVX_SNAP_DRAW_PIE,
151     SVX_SNAP_DRAW_CIRCLECUT,
152     SVX_SNAP_DRAW_TEXT,
153     SVX_SNAP_DRAW_TEXT_VERTICAL,
154     SVX_SNAP_DRAW_TEXT_MARQUEE,
155     SVX_SNAP_DRAW_CAPTION,
156     SVX_SNAP_DRAW_CAPTION_VERTICAL
157 };
158 
159 enum SvxDrawAlignEnum
160 {
161     SVX_OBJECT_ALIGN_LEFT,
162     SVX_OBJECT_ALIGN_CENTER,
163     SVX_OBJECT_ALIGN_RIGHT,
164     SVX_OBJECT_ALIGN_UP,
165     SVX_OBJECT_ALIGN_MIDDLE,
166     SVX_OBJECT_ALIGN_DOWN
167 };
168 
169 enum SvxDrawBezierEnum
170 {
171     SVX_BEZIER_MOVE,
172     SVX_BEZIER_INSERT,
173     SVX_BEZIER_DELETE,
174     SVX_BEZIER_CUTLINE,
175     SVX_BEZIER_CONVERT,
176     SVX_BEZIER_EDGE,
177     SVX_BEZIER_SMOOTH,
178     SVX_BEZIER_SYMMTR,
179     SVX_BEZIER_CLOSE,
180     SVX_BEZIER_ELIMINATE_POINTS
181 };
182 
183 enum SvxSpellArea
184 {
185     SVX_SPELL_BODY = 0,
186     SVX_SPELL_BODY_END,
187     SVX_SPELL_BODY_START,
188     SVX_SPELL_OTHER
189 };
190 
191 enum SvxFrameAnchor
192 {
193     SVX_FLY_AT_CNTNT,       //Absatzgebundener Rahmen
194     SVX_FLY_IN_CNTNT,       //Zeichengebundener Rahmen
195     SVX_FLY_PAGE            //Seitengebundener Rahmen
196 };
197 
198 enum SvxExtNumType
199 {
200     SVX_NUM_CHARS_UPPER_LETTER, // zaehlt von a-z, aa - az, ba - bz, ...
201     SVX_NUM_CHARS_LOWER_LETTER,
202     SVX_NUM_ROMAN_UPPER,
203     SVX_NUM_ROMAN_LOWER,
204     SVX_NUM_ARABIC,
205     SVX_NUM_NUMBER_NONE,
206     SVX_NUM_CHAR_SPECIAL,   //Bullet
207     SVX_NUM_PAGEDESC,       // Numerierung aus der Seitenvorlage
208     SVX_NUM_BITMAP,
209     SVX_NUM_CHARS_UPPER_LETTER_N, // zaehlt von  a-z, aa-zz, aaa-zzz
210     SVX_NUM_CHARS_LOWER_LETTER_N,
211     SVX_NUM_TRANSLITERATION,
212     SVX_NUM_NATIVE_NUMBERING,
213     SVX_NUM_FULL_WIDTH_ARABIC,
214     SVX_NUM_CIRCLE_NUMBER,
215     SVX_NUM_NUMBER_LOWER_ZH,
216     SVX_NUM_NUMBER_UPPER_ZH,
217     SVX_NUM_NUMBER_UPPER_ZH_TW,
218     SVX_NUM_TIAN_GAN_ZH,
219     SVX_NUM_DI_ZI_ZH,
220     SVX_NUM_NUMBER_TRADITIONAL_JA,
221     SVX_NUM_AIU_FULLWIDTH_JA,
222     SVX_NUM_AIU_HALFWIDTH_JA,
223     SVX_NUM_IROHA_FULLWIDTH_JA,
224     SVX_NUM_IROHA_HALFWIDTH_JA
225 };
226 
227 
228 #endif
229