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_reservedWords_idl__
24#define __com_sun_star_i18n_reservedWords_idl__
25
26//============================================================================
27
28module com {  module sun {  module star {  module i18n {
29
30//============================================================================
31
32/**
33    Offsets into the sequence of strings returned by
34    <member>XLocaleData::getReservedWord()</member>.
35
36    @see XLocaleData
37        for links to DTD of XML locale data files.
38 */
39
40published constants reservedWords
41{
42    /// "true"
43    const short TRUE_WORD             = 0;
44    /// "false"
45    const short FALSE_WORD            = 1;
46    /// "1st quarter"
47    const short QUARTER1_WORD         = 2;
48    /// "2nd quarter"
49    const short QUARTER2_WORD         = 3;
50    /// "3rd quarter"
51    const short QUARTER3_WORD         = 4;
52    /// "4th quarter"
53    const short QUARTER4_WORD         = 5;
54    /// "above"
55    const short ABOVE_WORD            = 6;
56    /// "below"
57    const short BELOW_WORD            = 7;
58    /// "Q1"
59    const short QUARTER1_ABBREVIATION = 8;
60    /// "Q2"
61    const short QUARTER2_ABBREVIATION = 9;
62    /// "Q3"
63    const short QUARTER3_ABBREVIATION = 10;
64    /// "Q4"
65    const short QUARTER4_ABBREVIATION = 11;
66
67    //! Yes, this must be the count of known reserved words and one more than
68    //! the maximum number used above!
69    /// Count of known reserved words.
70    const short COUNT                 = 12;
71};
72
73//============================================================================
74}; }; }; };
75
76#endif
77