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
24#ifndef __com_sun_star_i18n_LocaleItem_idl__
25#define __com_sun_star_i18n_LocaleItem_idl__
26
27//=============================================================================
28
29module com {  module sun {  module star {  module i18n {
30
31//=============================================================================
32
33/**
34	@deprecated internal
35    Constant values identifying specific locale data items.
36
37    <p> These are not used with the API but with an OpenOffice internal wrapper class
38    that caches the contents of an instance of <type>LocaleDataItem</type> and
39    uses these values to access it's members for faster access. </p>
40
41    <p> Whenever locale data items were added these values and the wrapper
42    class would have to be adjusted to give the application an easier access.
43    </p>
44 */
45
46published constants LocaleItem
47{
48    /// @see ::com::sun::star::i18n::LocaleDataItem::dateSeparator
49	const short DATE_SEPARATOR			= 0;
50    /// @see com::sun::star::i18n::LocaleDataItem::thousandSeparator
51	const short THOUSAND_SEPARATOR		= 1;
52    /// @see com::sun::star::i18n::LocaleDataItem::decimalSeparator
53	const short DECIMAL_SEPARATOR		= 2;
54    /// @see com::sun::star::i18n::LocaleDataItem::timeSeparator
55	const short TIME_SEPARATOR			= 3;
56    /// @see com::sun::star::i18n::LocaleDataItem::time100SecSeparator
57	const short TIME_100SEC_SEPARATOR	= 4;
58    /// @see com::sun::star::i18n::LocaleDataItem::listSeparator
59	const short LIST_SEPARATOR			= 5;
60    /// @see com::sun::star::i18n::LocaleDataItem::quotationStart
61	const short SINGLE_QUOTATION_START	= 6;
62    /// @see com::sun::star::i18n::LocaleDataItem::quotationEnd
63	const short SINGLE_QUOTATION_END	= 7;
64    /// @see com::sun::star::i18n::LocaleDataItem::doubleQuotationStart
65	const short DOUBLE_QUOTATION_START	= 8;
66    /// @see com::sun::star::i18n::LocaleDataItem::doubleQuotationEnd
67	const short DOUBLE_QUOTATION_END	= 9;
68    /// @see com::sun::star::i18n::LocaleDataItem::timeAM
69	const short MEASUREMENT_SYSTEM		= 10;
70    /// @see com::sun::star::i18n::LocaleDataItem::timePM
71	const short TIME_AM					= 11;
72    /// @see com::sun::star::i18n::LocaleDataItem::measurementSystem
73	const short TIME_PM					= 12;
74    /// @see com::sun::star::i18n::LocaleDataItem::LongDateDayOfWeekSeparator
75	const short LONG_DATE_DAY_OF_WEEK_SEPARATOR	= 13;
76    /// @see com::sun::star::i18n::LocaleDataItem::LongDateDaySeparator
77	const short LONG_DATE_DAY_SEPARATOR	= 14;
78    /// @see com::sun::star::i18n::LocaleDataItem::LongDateMonthSeparator
79	const short LONG_DATE_MONTH_SEPARATOR	= 15;
80    /// @see com::sun::star::i18n::LocaleDataItem::LongDateYearSeparator
81	const short LONG_DATE_YEAR_SEPARATOR	= 16;
82
83	//! New values may be inserted here if locale data provides them.
84	//! Do not forget to adjust the COUNT value.
85
86	/// count of items available
87	const short COUNT					= 17;
88};
89
90
91//=============================================================================
92
93}; }; }; };
94
95//=============================================================================
96
97#endif
98
99