make ValueTransfer easier to understand
[LibreOffice.git] / include / editeng / svxenum.hxx
blob6c02165607d799fb369ed2cc3a13ded720158dad
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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_SVXENUM_HXX
20 #define INCLUDED_EDITENG_SVXENUM_HXX
22 #include <com/sun/star/style/NumberingType.hpp>
24 enum class SvxCaseMap
26 NotMapped,
27 Uppercase,
28 Lowercase,
29 Capitalize,
30 SmallCaps,
31 End
34 enum class SvxEscapement
36 Off,
37 Superscript,
38 Subscript,
39 End
42 enum class SvxShadowLocation
44 NONE,
45 TopLeft,
46 TopRight,
47 BottomLeft,
48 BottomRight,
49 End
52 enum class SvxTabAdjust
54 Left,
55 Right,
56 Decimal,
57 Center,
58 Default,
59 End
62 enum class SvxLineSpaceRule
64 Auto,
65 Fix,
66 Min
69 enum class SvxInterLineSpaceRule
71 Off,
72 Prop,
73 Fix
76 enum class SvxAdjust
78 Left,
79 Right,
80 Block,
81 Center,
82 BlockLine,
83 End,
84 LAST = End
87 enum class SvxBreak
89 NONE,
90 ColumnBefore,
91 ColumnAfter,
92 ColumnBoth,
93 PageBefore,
94 PageAfter,
95 PageBoth,
96 End
99 enum class SvxCellHorJustify
101 Standard,
102 Left,
103 Center,
104 Right,
105 Block,
106 Repeat
109 enum class SvxCellJustifyMethod
111 Auto,
112 Distribute
115 enum class SvxCellVerJustify
117 Standard,
118 Top,
119 Center,
120 Bottom,
121 Block
124 enum class SvxCellOrientation
126 Standard,
127 TopBottom,
128 BottomUp,
129 Stacked
132 enum class SvxSpellArea
134 Body = 0,
135 BodyEnd,
136 BodyStart,
137 Other
141 * these must match the values in css::style::NumberingType
143 enum SvxNumType : sal_Int16
145 SVX_NUM_CHARS_UPPER_LETTER = css::style::NumberingType::CHARS_UPPER_LETTER, // Counts from a-z, aa - az, ba - bz, ...
146 SVX_NUM_CHARS_LOWER_LETTER = css::style::NumberingType::CHARS_LOWER_LETTER,
147 SVX_NUM_ROMAN_UPPER = css::style::NumberingType::ROMAN_UPPER,
148 SVX_NUM_ROMAN_LOWER = css::style::NumberingType::ROMAN_LOWER,
149 SVX_NUM_ARABIC = css::style::NumberingType::ARABIC,
150 SVX_NUM_NUMBER_NONE = css::style::NumberingType::NUMBER_NONE,
151 SVX_NUM_CHAR_SPECIAL = css::style::NumberingType::CHAR_SPECIAL, // Bullet
152 SVX_NUM_PAGEDESC = css::style::NumberingType::PAGE_DESCRIPTOR, // Numbering from the page template
153 SVX_NUM_BITMAP = css::style::NumberingType::BITMAP,
154 SVX_NUM_CHARS_UPPER_LETTER_N = css::style::NumberingType::CHARS_UPPER_LETTER_N, // Counts from a-z, aa-zz, aaa-zzz
155 SVX_NUM_CHARS_LOWER_LETTER_N = css::style::NumberingType::CHARS_LOWER_LETTER_N,
156 SVX_NUM_TRANSLITERATION = css::style::NumberingType::TRANSLITERATION,
157 SVX_NUM_NATIVE_NUMBERING = css::style::NumberingType::NATIVE_NUMBERING,
158 SVX_NUM_FULL_WIDTH_ARABIC = css::style::NumberingType::FULLWIDTH_ARABIC,
159 SVX_NUM_CIRCLE_NUMBER = css::style::NumberingType::CIRCLE_NUMBER,
160 SVX_NUM_NUMBER_LOWER_ZH = css::style::NumberingType::NUMBER_LOWER_ZH,
161 SVX_NUM_NUMBER_UPPER_ZH = css::style::NumberingType::NUMBER_UPPER_ZH,
162 SVX_NUM_NUMBER_UPPER_ZH_TW = css::style::NumberingType::NUMBER_UPPER_ZH_TW,
163 SVX_NUM_TIAN_GAN_ZH = css::style::NumberingType::TIAN_GAN_ZH,
164 SVX_NUM_DI_ZI_ZH = css::style::NumberingType::DI_ZI_ZH,
165 SVX_NUM_NUMBER_TRADITIONAL_JA = css::style::NumberingType::NUMBER_TRADITIONAL_JA,
166 SVX_NUM_AIU_FULLWIDTH_JA = css::style::NumberingType::AIU_FULLWIDTH_JA,
167 SVX_NUM_AIU_HALFWIDTH_JA = css::style::NumberingType::AIU_HALFWIDTH_JA,
168 SVX_NUM_IROHA_FULLWIDTH_JA = css::style::NumberingType::IROHA_FULLWIDTH_JA,
169 SVX_NUM_IROHA_HALFWIDTH_JA = css::style::NumberingType::IROHA_HALFWIDTH_JA,
170 SVX_NUM_NUMBER_UPPER_KO = css::style::NumberingType::NUMBER_UPPER_KO,
171 SVX_NUM_NUMBER_HANGUL_KO = css::style::NumberingType::NUMBER_HANGUL_KO,
172 SVX_NUM_HANGUL_JAMO_KO = css::style::NumberingType::HANGUL_JAMO_KO,
173 SVX_NUM_HANGUL_SYLLABLE_KO = css::style::NumberingType::HANGUL_SYLLABLE_KO,
174 SVX_NUM_HANGUL_CIRCLED_JAMO_KO = css::style::NumberingType::HANGUL_CIRCLED_JAMO_KO,
175 SVX_NUM_HANGUL_CIRCLED_SYLLABLE_KO = css::style::NumberingType::HANGUL_CIRCLED_SYLLABLE_KO,
176 SVX_NUM_CHARS_ARABIC = css::style::NumberingType::CHARS_ARABIC,
177 SVX_NUM_CHARS_THAI = css::style::NumberingType::CHARS_THAI,
178 SVX_NUM_CHARS_HEBREW = css::style::NumberingType::CHARS_HEBREW,
179 SVX_NUM_CHARS_NEPALI = css::style::NumberingType::CHARS_NEPALI,
180 SVX_NUM_CHARS_KHMER = css::style::NumberingType::CHARS_KHMER,
181 SVX_NUM_CHARS_LAO = css::style::NumberingType::CHARS_LAO,
182 SVX_NUM_CHARS_TIBETAN = css::style::NumberingType::CHARS_TIBETAN,
183 SVX_NUM_CHARS_CYRILLIC_UPPER_LETTER_BG = css::style::NumberingType::CHARS_CYRILLIC_UPPER_LETTER_BG,
184 SVX_NUM_CHARS_CYRILLIC_LOWER_LETTER_BG = css::style::NumberingType::CHARS_CYRILLIC_LOWER_LETTER_BG,
185 SVX_NUM_CHARS_CYRILLIC_UPPER_LETTER_N_BG = css::style::NumberingType::CHARS_CYRILLIC_UPPER_LETTER_N_BG,
186 SVX_NUM_CHARS_CYRILLIC_LOWER_LETTER_N_BG = css::style::NumberingType::CHARS_CYRILLIC_LOWER_LETTER_N_BG,
187 SVX_NUM_CHARS_CYRILLIC_UPPER_LETTER_RU = css::style::NumberingType::CHARS_CYRILLIC_UPPER_LETTER_RU,
188 SVX_NUM_CHARS_CYRILLIC_LOWER_LETTER_RU = css::style::NumberingType::CHARS_CYRILLIC_LOWER_LETTER_RU,
189 SVX_NUM_CHARS_CYRILLIC_UPPER_LETTER_N_RU = css::style::NumberingType::CHARS_CYRILLIC_UPPER_LETTER_N_RU,
190 SVX_NUM_CHARS_CYRILLIC_LOWER_LETTER_N_RU = css::style::NumberingType::CHARS_CYRILLIC_LOWER_LETTER_N_RU,
191 SVX_NUM_CHARS_PERSIAN = css::style::NumberingType::CHARS_PERSIAN,
192 SVX_NUM_CHARS_MYANMAR = css::style::NumberingType::CHARS_MYANMAR,
193 SVX_NUM_CHARS_CYRILLIC_UPPER_LETTER_SR = css::style::NumberingType::CHARS_CYRILLIC_UPPER_LETTER_SR,
194 SVX_NUM_CHARS_CYRILLIC_LOWER_LETTER_SR = css::style::NumberingType::CHARS_CYRILLIC_LOWER_LETTER_SR,
195 SVX_NUM_CHARS_CYRILLIC_UPPER_LETTER_N_SR = css::style::NumberingType::CHARS_CYRILLIC_UPPER_LETTER_N_SR,
196 SVX_NUM_CHARS_CYRILLIC_LOWER_LETTER_N_SR = css::style::NumberingType::CHARS_CYRILLIC_LOWER_LETTER_N_SR,
197 SVX_NUM_CHARS_GREEK_UPPER_LETTER = css::style::NumberingType::CHARS_GREEK_UPPER_LETTER,
198 SVX_NUM_CHARS_GREEK_LOWER_LETTER = css::style::NumberingType::CHARS_GREEK_LOWER_LETTER,
199 SVX_NUM_CHARS_ARABIC_ABJAD = css::style::NumberingType::CHARS_ARABIC_ABJAD,
200 SVX_NUM_CHARS_PERSIAN_WORD = css::style::NumberingType::CHARS_PERSIAN_WORD,
201 SVX_NUM_NUMBER_HEBREW = css::style::NumberingType::NUMBER_HEBREW,
202 SVX_NUM_NUMBER_ARABIC_INDIC = css::style::NumberingType::NUMBER_ARABIC_INDIC,
203 SVX_NUM_NUMBER_EAST_ARABIC_INDIC = css::style::NumberingType::NUMBER_EAST_ARABIC_INDIC,
204 SVX_NUM_NUMBER_INDIC_DEVANAGARI = css::style::NumberingType::NUMBER_INDIC_DEVANAGARI,
205 SVX_NUM_TEXT_NUMBER = css::style::NumberingType::TEXT_NUMBER,
206 SVX_NUM_TEXT_CARDINAL = css::style::NumberingType::TEXT_CARDINAL,
207 SVX_NUM_TEXT_ORDINAL = css::style::NumberingType::TEXT_ORDINAL,
208 SVX_NUM_SYMBOL_CHICAGO = css::style::NumberingType::SYMBOL_CHICAGO,
209 SVX_NUM_ARABIC_ZERO = css::style::NumberingType::ARABIC_ZERO,
210 SVX_NUM_ARABIC_ZERO3 = css::style::NumberingType::ARABIC_ZERO3,
211 SVX_NUM_ARABIC_ZERO4 = css::style::NumberingType::ARABIC_ZERO4,
212 SVX_NUM_ARABIC_ZERO5 = css::style::NumberingType::ARABIC_ZERO5,
213 SVX_NUM_SZEKELY_ROVAS = css::style::NumberingType::SZEKELY_ROVAS
216 #endif
218 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */