xref: /trunk/main/offapi/com/sun/star/i18n/LocaleItem.idl (revision d695a2a0)
1d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5d1766043SAndrew Rist * distributed with this work for additional information
6d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10d1766043SAndrew Rist *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12d1766043SAndrew Rist *
13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14d1766043SAndrew Rist * software distributed under the License is distributed on an
15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17d1766043SAndrew Rist * specific language governing permissions and limitations
18d1766043SAndrew Rist * under the License.
19d1766043SAndrew Rist *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22d1766043SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef __com_sun_star_i18n_LocaleItem_idl__
25cdf0e10cSrcweir#define __com_sun_star_i18n_LocaleItem_idl__
26cdf0e10cSrcweir
27cdf0e10cSrcweir//=============================================================================
28cdf0e10cSrcweir
29cdf0e10cSrcweirmodule com {  module sun {  module star {  module i18n {
30cdf0e10cSrcweir
31cdf0e10cSrcweir//=============================================================================
32cdf0e10cSrcweir
33cdf0e10cSrcweir/**
34cdf0e10cSrcweir	@deprecated internal
35cdf0e10cSrcweir    Constant values identifying specific locale data items.
36cdf0e10cSrcweir
37*d695a2a0SJürgen Schmidt    <p> These are not used with the API but with an OpenOffice internal wrapper class
38cdf0e10cSrcweir    that caches the contents of an instance of <type>LocaleDataItem</type> and
39cdf0e10cSrcweir    uses these values to access it's members for faster access. </p>
40cdf0e10cSrcweir
41cdf0e10cSrcweir    <p> Whenever locale data items were added these values and the wrapper
42cdf0e10cSrcweir    class would have to be adjusted to give the application an easier access.
43cdf0e10cSrcweir    </p>
44cdf0e10cSrcweir */
45cdf0e10cSrcweir
46cdf0e10cSrcweirpublished constants LocaleItem
47cdf0e10cSrcweir{
48cdf0e10cSrcweir    /// @see ::com::sun::star::i18n::LocaleDataItem::dateSeparator
49cdf0e10cSrcweir	const short DATE_SEPARATOR			= 0;
50cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::thousandSeparator
51cdf0e10cSrcweir	const short THOUSAND_SEPARATOR		= 1;
52cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::decimalSeparator
53cdf0e10cSrcweir	const short DECIMAL_SEPARATOR		= 2;
54cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::timeSeparator
55cdf0e10cSrcweir	const short TIME_SEPARATOR			= 3;
56cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::time100SecSeparator
57cdf0e10cSrcweir	const short TIME_100SEC_SEPARATOR	= 4;
58cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::listSeparator
59cdf0e10cSrcweir	const short LIST_SEPARATOR			= 5;
60cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::quotationStart
61cdf0e10cSrcweir	const short SINGLE_QUOTATION_START	= 6;
62cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::quotationEnd
63cdf0e10cSrcweir	const short SINGLE_QUOTATION_END	= 7;
64cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::doubleQuotationStart
65cdf0e10cSrcweir	const short DOUBLE_QUOTATION_START	= 8;
66cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::doubleQuotationEnd
67cdf0e10cSrcweir	const short DOUBLE_QUOTATION_END	= 9;
68cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::timeAM
69cdf0e10cSrcweir	const short MEASUREMENT_SYSTEM		= 10;
70cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::timePM
71cdf0e10cSrcweir	const short TIME_AM					= 11;
72cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::measurementSystem
73cdf0e10cSrcweir	const short TIME_PM					= 12;
74cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::LongDateDayOfWeekSeparator
75cdf0e10cSrcweir	const short LONG_DATE_DAY_OF_WEEK_SEPARATOR	= 13;
76cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::LongDateDaySeparator
77cdf0e10cSrcweir	const short LONG_DATE_DAY_SEPARATOR	= 14;
78cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::LongDateMonthSeparator
79cdf0e10cSrcweir	const short LONG_DATE_MONTH_SEPARATOR	= 15;
80cdf0e10cSrcweir    /// @see com::sun::star::i18n::LocaleDataItem::LongDateYearSeparator
81cdf0e10cSrcweir	const short LONG_DATE_YEAR_SEPARATOR	= 16;
82cdf0e10cSrcweir
83cdf0e10cSrcweir	//! New values may be inserted here if locale data provides them.
84cdf0e10cSrcweir	//! Do not forget to adjust the COUNT value.
85cdf0e10cSrcweir
86cdf0e10cSrcweir	/// count of items available
87cdf0e10cSrcweir	const short COUNT					= 17;
88cdf0e10cSrcweir};
89cdf0e10cSrcweir
90cdf0e10cSrcweir
91cdf0e10cSrcweir//=============================================================================
92cdf0e10cSrcweir
93cdf0e10cSrcweir}; }; }; };
94cdf0e10cSrcweir
95cdf0e10cSrcweir//=============================================================================
96cdf0e10cSrcweir
97cdf0e10cSrcweir#endif
98cdf0e10cSrcweir
99