Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_I18N_XLOCALEDATA_HDL
2 : : #define INCLUDED_COM_SUN_STAR_I18N_XLOCALEDATA_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/i18n/ForbiddenCharacters.hdl"
7 : : #include "com/sun/star/i18n/FormatElement.hdl"
8 : : #include "com/sun/star/uno/RuntimeException.hdl"
9 : : #include "com/sun/star/i18n/Currency.hdl"
10 : : #include "com/sun/star/lang/Locale.hdl"
11 : : #include "com/sun/star/i18n/LanguageCountryInfo.hdl"
12 : : #include "com/sun/star/i18n/Implementation.hdl"
13 : : #include "com/sun/star/uno/XInterface.hdl"
14 : : #include "com/sun/star/i18n/LocaleDataItem.hdl"
15 : : #include "com/sun/star/i18n/Calendar.hdl"
16 : : #include "com/sun/star/uno/Reference.h"
17 : : #include "com/sun/star/uno/Sequence.h"
18 : : #include "cppu/macros.hxx"
19 : : #include "rtl/ustring.hxx"
20 : :
21 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
22 : :
23 : : namespace com { namespace sun { namespace star { namespace i18n {
24 : :
25 : 406251 : class SAL_NO_VTABLE XLocaleData : public ::com::sun::star::uno::XInterface
26 : : {
27 : : public:
28 : :
29 : : // Methods
30 : : virtual ::com::sun::star::i18n::LanguageCountryInfo SAL_CALL getLanguageCountryInfo( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::i18n::LocaleDataItem SAL_CALL getLocaleItem( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Calendar > SAL_CALL getAllCalendars( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency > SAL_CALL getAllCurrencies( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::FormatElement > SAL_CALL getAllFormats( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Implementation > SAL_CALL getCollatorImplementations( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSearchOptions( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getCollationOptions( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getTransliterations( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::com::sun::star::i18n::ForbiddenCharacters SAL_CALL getForbiddenCharacters( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getReservedWord( const ::com::sun::star::lang::Locale& aLocale ) throw (::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getAllInstalledLocaleNames( ) throw (::com::sun::star::uno::RuntimeException) = 0;
42 : :
43 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
44 : :
45 : : protected:
46 : 406013 : ~XLocaleData() throw () {} // avoid warnings about virtual members and non-virtual dtor
47 : : };
48 : :
49 : :
50 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::i18n::XLocaleData const *);
51 : : } } } }
52 : :
53 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XLocaleData > *) SAL_THROW(());
54 : :
55 : : #endif
|