xref: /AOO41X/main/offapi/com/sun/star/i18n/LocaleDataItem.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
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_LocaleDataItem_idl__
24#define __com_sun_star_i18n_LocaleDataItem_idl__
25
26//=============================================================================
27
28module com { module sun { module star { module i18n {
29
30//=============================================================================
31
32/**
33    Locale specific data, for example, separators, quotation marks.
34
35    @see XLocaleData
36        for links to DTD of XML locale data files.
37 */
38
39published struct LocaleDataItem
40{
41        /// internal ID string, not unique, not meaningful to the outer world
42    string unoID;
43    /// date separator, for example, <b>"/"</b> or <b>"."</b> or <b>"-"</b>
44    string dateSeparator;
45    /// group and thousand separator, for example, <b>","</b> or <b>"."</b>
46    string thousandSeparator;
47    /// decimal separator, for example, <b>"."</b> or <b>","</b>
48    string decimalSeparator;
49    /// time separator, for example, <b>":"</b>
50    string timeSeparator;
51    /// time 100th seconds separator, for example, <b>","</b>
52    string time100SecSeparator;
53    /// list separator, for example, <b>";"</b>
54    string listSeparator;
55    /// single quotation mark start
56    string quotationStart;
57    /// single quotation mark end
58    string quotationEnd;
59    /// double quotation mark start
60    string doubleQuotationStart;
61    /// double quotation mark end
62    string doubleQuotationEnd;
63        /// time AM symbol, for example, <b>"AM"</b> or <b>"am"</b>
64    string timeAM;
65        /// time PM symbol, for example, <b>"PM"</b> or <b>"pm"</b>
66    string timePM;
67    /// measurement system, <b>"metric"</b> or <b>"us"</b>
68    string measurementSystem;
69    /// long date day of week separator, for example, <b>", "</b>
70    string LongDateDayOfWeekSeparator;
71    /// long date day separator, for example, <b>", "</b>
72    string LongDateDaySeparator;
73    /// long date month separator, for example, <b>" "</b>
74    string LongDateMonthSeparator;
75    /// long date year separator, for example, <b>" "</b>
76    string LongDateYearSeparator;
77};
78
79}; }; }; };
80
81#endif
82