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/Calendar.hdl"
7 : #include "com/sun/star/i18n/Currency.hdl"
8 : #include "com/sun/star/i18n/ForbiddenCharacters.hdl"
9 : #include "com/sun/star/i18n/FormatElement.hdl"
10 : #include "com/sun/star/i18n/Implementation.hdl"
11 : #include "com/sun/star/i18n/LanguageCountryInfo.hdl"
12 : #include "com/sun/star/i18n/LocaleDataItem.hdl"
13 : #include "com/sun/star/lang/Locale.hdl"
14 : #include "com/sun/star/uno/RuntimeException.hdl"
15 : #include "com/sun/star/uno/XInterface.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 46308 : class SAL_NO_VTABLE XLocaleData : public css::uno::XInterface
26 : {
27 : public:
28 :
29 : // Methods
30 : virtual css::i18n::LanguageCountryInfo SAL_CALL getLanguageCountryInfo( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual css::i18n::LocaleDataItem SAL_CALL getLocaleItem( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::com::sun::star::uno::Sequence< css::i18n::Calendar > SAL_CALL getAllCalendars( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Sequence< css::i18n::Currency > SAL_CALL getAllCurrencies( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual ::com::sun::star::uno::Sequence< css::i18n::FormatElement > SAL_CALL getAllFormats( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::com::sun::star::uno::Sequence< css::i18n::Implementation > SAL_CALL getCollatorImplementations( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSearchOptions( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getCollationOptions( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getTransliterations( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual css::i18n::ForbiddenCharacters SAL_CALL getForbiddenCharacters( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getReservedWord( const css::lang::Locale& aLocale ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::com::sun::star::uno::Sequence< css::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 46160 : ~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 css::i18n::XLocaleData const *);
51 : } } } }
52 :
53 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::i18n::XLocaleData > *) SAL_THROW(());
54 :
55 : #endif
|