diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-05 10:07:32 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-05 14:57:25 +0200 |
commit | acd09adae4c53cfb6b70ff2146f97043ce1487dd (patch) | |
tree | e981da9253ea8dfabea59b402fa719841f877fa8 /i18npool/inc | |
parent | Actually use table name in getIndexInfo. (firebird-sdbc) (diff) | |
download | core-acd09adae4c53cfb6b70ff2146f97043ce1487dd.tar.gz core-acd09adae4c53cfb6b70ff2146f97043ce1487dd.zip |
added getFirstLocaleServiceName() and getFallbackLocaleServiceNames()
Change-Id: I35d3c5baeb5501feacdfa146f5b7f4e4f1bba876
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/localedata.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index dbab5ca6d32e..43fcdd715ac5 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -75,6 +75,13 @@ public: static com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem > downcastCalendarItems( const com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem2 > & rCi ); static com::sun::star::i18n::Calendar downcastCalendar( const com::sun::star::i18n::Calendar2 & rC ); + /** Generates a <Language>_<Country> or <Variant> (if Language=="qlt") + string suitable as part of service name with all '-' replaced by '_' */ + static OUString getFirstLocaleServiceName( const com::sun::star::lang::Locale & rLocale ); + /** Generates fallback strings suitable as parts of service names, + excluding the one obtained via getFirstLocaleServiceName() */ + static ::std::vector< OUString > getFallbackLocaleServiceNames( const com::sun::star::lang::Locale & rLocale ); + virtual LanguageCountryInfo SAL_CALL getLanguageCountryInfo( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException); virtual LocaleDataItem SAL_CALL getLocaleItem( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException); virtual com::sun::star::uno::Sequence< Calendar2 > SAL_CALL getAllCalendars2( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException); |