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_KCharacterType_idl__
24#define __com_sun_star_i18n_KCharacterType_idl__
25
26//============================================================================
27
28module com {  module sun {  module star {  module i18n {
29
30//============================================================================
31
32/**
33	Constants to identify the character type.
34
35    <p> Returned by
36    <member>XCharacterClassification::getCharacterType()</member> and
37    <member>XCharacterClassification::getStringType()</member> </p>
38 */
39
40published constants KCharacterType
41{
42    /// digit
43    const long DIGIT      = 0x00000001;
44
45    /// upper case alpha letter
46    const long UPPER      = 0x00000002;
47
48    /// lower case alpha letter
49    const long LOWER      = 0x00000004;
50
51    /// title case alpha letter
52    const long TITLE_CASE = 0x00000008;
53
54    /// any alpha, ALPHA = UPPER | LOWER | TITLE_CASE
55    const long ALPHA      = 0x0000000E;
56
57    /// control character
58    const long CONTROL    = 0x00000010;
59
60    /// printable character
61    const long PRINTABLE  = 0x00000020;
62
63    /// base form
64    const long BASE_FORM  = 0x00000040;
65
66    /** any <type>UnicodeType</type>::..._LETTER.
67        Note that a LETTER must not necessarily be ALPHA */
68    const long LETTER     = 0x00000080;
69};
70
71//============================================================================
72}; }; }; };
73
74#endif
75