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 __com_sun_star_i18n_UnicodeType_idl__
24#define __com_sun_star_i18n_UnicodeType_idl__
25
26//============================================================================
27
28module com {  module sun {  module star {  module i18n {
29
30//============================================================================
31
32/**
33    Constants to classify Unicode characters, returned by
34    <member>XCharacterClassification::getType()</member>
35 */
36
37published constants UnicodeType
38{
39    const short UNASSIGNED             = 0;
40    const short UPPERCASE_LETTER       = 1;
41    const short LOWERCASE_LETTER       = 2;
42    const short TITLECASE_LETTER       = 3;
43    const short MODIFIER_LETTER        = 4;
44    const short OTHER_LETTER           = 5;
45    const short NON_SPACING_MARK       = 6;
46    const short ENCLOSING_MARK         = 7;
47    const short COMBINING_SPACING_MARK = 8;
48    const short DECIMAL_DIGIT_NUMBER   = 9;
49    const short LETTER_NUMBER          = 10;
50    const short OTHER_NUMBER           = 11;
51    const short SPACE_SEPARATOR        = 12;
52    const short LINE_SEPARATOR         = 13;
53    const short PARAGRAPH_SEPARATOR    = 14;
54    const short CONTROL                = 15;
55    const short FORMAT                 = 16;
56    const short PRIVATE_USE            = 17;
57    const short SURROGATE              = 18;
58    const short DASH_PUNCTUATION       = 19;
59    const short INITIAL_PUNCTUATION    = 20;
60    const short FINAL_PUNCTUATION      = 21;
61    const short CONNECTOR_PUNCTUATION  = 22;
62    const short OTHER_PUNCTUATION      = 23;
63    const short MATH_SYMBOL            = 24;
64    const short CURRENCY_SYMBOL        = 25;
65    const short MODIFIER_SYMBOL        = 26;
66    const short OTHER_SYMBOL           = 27;
67    const short START_PUNCTUATION      = 28;
68    const short END_PUNCTUATION        = 29;
69    const short GENERAL_TYPES_COUNT    = 30;
70};
71
72//============================================================================
73}; }; }; };
74
75#endif
76