1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#ifndef __com_sun_star_i18n_LocaleItem_idl__ 29#define __com_sun_star_i18n_LocaleItem_idl__ 30 31//============================================================================= 32 33module com { module sun { module star { module i18n { 34 35//============================================================================= 36 37/** 38 @deprecated internal 39 Constant values identifying specific locale data items. 40 41 <p> These are not used with the API but with an OOo internal wrapper class 42 that caches the contents of an instance of <type>LocaleDataItem</type> and 43 uses these values to access it's members for faster access. </p> 44 45 <p> Whenever locale data items were added these values and the wrapper 46 class would have to be adjusted to give the application an easier access. 47 </p> 48 */ 49 50published constants LocaleItem 51{ 52 /// @see ::com::sun::star::i18n::LocaleDataItem::dateSeparator 53 const short DATE_SEPARATOR = 0; 54 /// @see com::sun::star::i18n::LocaleDataItem::thousandSeparator 55 const short THOUSAND_SEPARATOR = 1; 56 /// @see com::sun::star::i18n::LocaleDataItem::decimalSeparator 57 const short DECIMAL_SEPARATOR = 2; 58 /// @see com::sun::star::i18n::LocaleDataItem::timeSeparator 59 const short TIME_SEPARATOR = 3; 60 /// @see com::sun::star::i18n::LocaleDataItem::time100SecSeparator 61 const short TIME_100SEC_SEPARATOR = 4; 62 /// @see com::sun::star::i18n::LocaleDataItem::listSeparator 63 const short LIST_SEPARATOR = 5; 64 /// @see com::sun::star::i18n::LocaleDataItem::quotationStart 65 const short SINGLE_QUOTATION_START = 6; 66 /// @see com::sun::star::i18n::LocaleDataItem::quotationEnd 67 const short SINGLE_QUOTATION_END = 7; 68 /// @see com::sun::star::i18n::LocaleDataItem::doubleQuotationStart 69 const short DOUBLE_QUOTATION_START = 8; 70 /// @see com::sun::star::i18n::LocaleDataItem::doubleQuotationEnd 71 const short DOUBLE_QUOTATION_END = 9; 72 /// @see com::sun::star::i18n::LocaleDataItem::timeAM 73 const short MEASUREMENT_SYSTEM = 10; 74 /// @see com::sun::star::i18n::LocaleDataItem::timePM 75 const short TIME_AM = 11; 76 /// @see com::sun::star::i18n::LocaleDataItem::measurementSystem 77 const short TIME_PM = 12; 78 /// @see com::sun::star::i18n::LocaleDataItem::LongDateDayOfWeekSeparator 79 const short LONG_DATE_DAY_OF_WEEK_SEPARATOR = 13; 80 /// @see com::sun::star::i18n::LocaleDataItem::LongDateDaySeparator 81 const short LONG_DATE_DAY_SEPARATOR = 14; 82 /// @see com::sun::star::i18n::LocaleDataItem::LongDateMonthSeparator 83 const short LONG_DATE_MONTH_SEPARATOR = 15; 84 /// @see com::sun::star::i18n::LocaleDataItem::LongDateYearSeparator 85 const short LONG_DATE_YEAR_SEPARATOR = 16; 86 87 //! New values may be inserted here if locale data provides them. 88 //! Do not forget to adjust the COUNT value. 89 90 /// count of items available 91 const short COUNT = 17; 92}; 93 94 95//============================================================================= 96 97}; }; }; }; 98 99//============================================================================= 100 101#endif 102 103