LibreOffice Module i18npool (master)
1
|
#include <localedata.hxx>
Public Member Functions | |
LocaleDataImpl () | |
virtual | ~LocaleDataImpl () override |
static::std::vector< OUString > | getFallbackLocaleServiceNames (const css::lang::Locale &rLocale) |
Generates fallback strings suitable as parts of service names, excluding the one obtained via getFirstLocaleServiceName() More... | |
virtual css::i18n::LanguageCountryInfo SAL_CALL | getLanguageCountryInfo (const css::lang::Locale &rLocale) override |
virtual css::i18n::LocaleDataItem SAL_CALL | getLocaleItem (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< css::i18n::Calendar2 > SAL_CALL | getAllCalendars2 (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< css::i18n::Calendar > SAL_CALL | getAllCalendars (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< css::i18n::Currency > SAL_CALL | getAllCurrencies (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< css::i18n::Currency2 > SAL_CALL | getAllCurrencies2 (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< css::i18n::FormatElement > SAL_CALL | getAllFormats (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< css::i18n::Implementation > SAL_CALL | getCollatorImplementations (const css::lang::Locale &rLocale) override |
OUString | getCollatorRuleByAlgorithm (const css::lang::Locale &rLocale, std::u16string_view algorithm) |
virtual css::uno::Sequence< OUString > SAL_CALL | getTransliterations (const css::lang::Locale &rLocale) override |
virtual css::i18n::ForbiddenCharacters SAL_CALL | getForbiddenCharacters (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getReservedWord (const css::lang::Locale &rLocale) override |
css::uno::Sequence< OUString > | getBreakIteratorRules (const css::lang::Locale &rLocale) |
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL | getAllInstalledLocaleNames () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSearchOptions (const css::lang::Locale &rLocale) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getCollationOptions (const css::lang::Locale &rLocale) override |
css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > | getContinuousNumberingLevels (const css::lang::Locale &rLocale) |
css::uno::Sequence< css::uno::Reference< css::container::XIndexAccess > > | getOutlineNumberingLevels (const css::lang::Locale &rLocale) |
virtual css::uno::Sequence< OUString > SAL_CALL | getDateAcceptancePatterns (const css::lang::Locale &rLocale) override |
virtual css::i18n::LocaleDataItem2 SAL_CALL | getLocaleItem2 (const css::lang::Locale &rLocale) override |
css::uno::Sequence< OUString > | getIndexAlgorithm (const css::lang::Locale &rLocale) |
OUString | getDefaultIndexAlgorithm (const css::lang::Locale &rLocale) |
OUString | getIndexKeysByAlgorithm (const css::lang::Locale &rLocale, std::u16string_view algorithm) |
OUString | getIndexModuleByAlgorithm (const css::lang::Locale &rLocale, std::u16string_view algorithm) |
css::uno::Sequence< css::i18n::UnicodeScript > | getUnicodeScripts (const css::lang::Locale &rLocale) |
css::uno::Sequence< OUString > | getFollowPageWords (const css::lang::Locale &rLocale) |
bool | hasPhonetic (const css::lang::Locale &rLocale) |
bool | isPhonetic (const css::lang::Locale &rLocale, std::u16string_view algorithm) |
OUString | getHangingCharacters (const css::lang::Locale &rLocale) |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Static Public Member Functions | |
static rtl::Reference< LocaleDataImpl > | get () |
static css::uno::Sequence< css::i18n::CalendarItem > | downcastCalendarItems (const css::uno::Sequence< css::i18n::CalendarItem2 > &rCi) |
static css::i18n::Calendar | downcastCalendar (const css::i18n::Calendar2 &rC) |
static OUString | getFirstLocaleServiceName (const css::lang::Locale &rLocale) |
Generates a <Language>_<Country> or <Variant> (if Language=="qlt") string suitable as part of service name with all '-' replaced by '_'. More... | |
Private Member Functions | |
oslGenericFunction | getFunctionSymbol (const css::lang::Locale &rLocale, const char *pFunction) |
sal_Unicode ** | getIndexArray (const css::lang::Locale &rLocale, sal_Int16 &indexCount) |
sal_Unicode ** | getIndexArrayForAlgorithm (const css::lang::Locale &rLocale, std::u16string_view rAlgorithm) |
css::uno::Sequence< css::i18n::CalendarItem2 > & | getCalendarItemByName (const OUString &name, const css::lang::Locale &rLocale, const css::uno::Sequence< css::i18n::Calendar2 > &calendarsSeq, sal_Int16 item) |
css::uno::Sequence< css::i18n::CalendarItem2 > | getCalendarItems (sal_Unicode const *const *const allCalendars, sal_Int16 &rnOffset, const sal_Int16 nWhichItem, const sal_Int16 nCalendar, const css::lang::Locale &rLocale, const css::uno::Sequence< css::i18n::Calendar2 > &calendarsSeq) |
Helper to obtain a sequence of days, months, gmonths or eras. More... | |
Private Attributes | |
::std::unique_ptr< LocaleDataLookupTableItem > | cachedItem |
css::i18n::Calendar2 | ref_cal |
OUString | ref_name |
Definition at line 52 of file localedata.hxx.
i18npool::LocaleDataImpl::LocaleDataImpl | ( | ) |
Definition at line 389 of file localedata.cxx.
Referenced by get().
|
overridevirtual |
Definition at line 392 of file localedata.cxx.
|
static |
Definition at line 374 of file localedata.cxx.
Referenced by i18npool::Calendar_gregorian::getLoadedCalendar().
|
static |
Definition at line 367 of file localedata.cxx.
Referenced by i18npool::Calendar_gregorian::getDays(), and i18npool::Calendar_gregorian::getMonths().
|
inlinestatic |
Definition at line 62 of file localedata.hxx.
References LocaleDataImpl().
Referenced by i18npool::BreakIterator_ja::BreakIterator_ja(), i18npool::BreakIterator_ko::BreakIterator_ko(), i18npool::BreakIterator_zh::BreakIterator_zh(), i18npool::BreakIterator_zh_TW::BreakIterator_zh_TW(), i18npool::IndexEntrySupplier::getAlgorithmList(), i18npool::CalendarImpl::getAllCalendars(), i18npool::DefaultNumberingProvider::getDefaultContinuousNumberingLevels(), i18npool::DefaultNumberingProvider::getDefaultOutlineNumberings(), i18npool::Calendar_gregorian::getDisplayName(), i18npool::Calendar_hanja::getDisplayName(), i18npool::Calendar_hanja_yoil::getDisplayName(), i18npool::Calendar_gregorian::getDisplayStringImpl(), i18npool::IndexEntrySupplier::getIndexFollowPageWord(), i18npool::IndexEntrySupplier::getLocaleList(), i18npool::Index::init(), i18npool::IndexEntrySupplier_Common::loadAlgorithm(), i18npool::Calendar_gregorian::loadCalendar(), i18npool::CalendarImpl::loadCalendarTZ(), i18npool::Collator_Unicode::loadCollatorAlgorithm(), i18npool::CalendarImpl::loadDefaultCalendarTZ(), i18npool::BreakIterator_Unicode::loadICUBreakIterator(), i18npool::Index::makeIndexKeys(), and i18npool::IndexEntrySupplier::usePhoneticEntry().
|
overridevirtual |
Definition at line 794 of file localedata.cxx.
References comphelper::containerToSequence().
|
overridevirtual |
Definition at line 748 of file localedata.cxx.
References i, REF_DAYS, REF_ERAS, REF_GMONTHS, REF_MONTHS, REF_OFFSET_COUNT, and REF_PMONTHS.
|
overridevirtual |
Definition at line 838 of file localedata.cxx.
|
overridevirtual |
Definition at line 806 of file localedata.cxx.
References i.
|
overridevirtual |
Definition at line 845 of file localedata.cxx.
References f, from, getFunctionSymbol(), i, Locale, section, and to.
|
overridevirtual |
Definition at line 1484 of file localedata.cxx.
References cHyphen, LanguageTag::convertToLocale(), cUnder, i, name, and nbOfLocales.
Sequence< OUString > i18npool::LocaleDataImpl::getBreakIteratorRules | ( | const css::lang::Locale & | rLocale | ) |
|
private |
css::uno::RuntimeException |
Definition at line 647 of file localedata.cxx.
References cHyphen, LanguageTag::convertToLocale(), cUnder, Locale, REF_DAYS, REF_ERAS, REF_GMONTHS, REF_MONTHS, REF_PMONTHS, and SAL_WARN_IF.
|
private |
Helper to obtain a sequence of days, months, gmonths or eras.
css::uno::RuntimeException |
Definition at line 699 of file localedata.cxx.
References REF_DAYS, REF_ERAS, REF_GMONTHS, REF_MONTHS, and REF_PMONTHS.
|
overridevirtual |
Definition at line 963 of file localedata.cxx.
References i.
|
overridevirtual |
Definition at line 940 of file localedata.cxx.
References COLLATOR_ELEMENTS, COLLATOR_OFFSET_ALGO, COLLATOR_OFFSET_DEFAULT, and i.
OUString i18npool::LocaleDataImpl::getCollatorRuleByAlgorithm | ( | const css::lang::Locale & | rLocale, |
std::u16string_view | algorithm | ||
) |
css::uno::RuntimeException |
Definition at line 925 of file localedata.cxx.
References COLLATOR_ELEMENTS, COLLATOR_OFFSET_ALGO, COLLATOR_OFFSET_RULE, and i.
Sequence< Sequence< beans::PropertyValue > > i18npool::LocaleDataImpl::getContinuousNumberingLevels | ( | const css::lang::Locale & | rLocale | ) |
css::uno::RuntimeException |
Definition at line 1261 of file localedata.cxx.
References i, and nAttributes.
|
overridevirtual |
Definition at line 896 of file localedata.cxx.
References i.
OUString i18npool::LocaleDataImpl::getDefaultIndexAlgorithm | ( | const css::lang::Locale & | rLocale | ) |
std::vector< OUString > i18npool::LocaleDataImpl::getFallbackLocaleServiceNames | ( | const css::lang::Locale & | rLocale | ) |
Generates fallback strings suitable as parts of service names, excluding the one obtained via getFirstLocaleServiceName()
Definition at line 1603 of file localedata.cxx.
References cHyphen, cUnder, LanguageTag::getFallbackStrings(), and I18NLANGTAG_QLT.
Referenced by i18npool::CharacterClassificationImpl::getLocaleSpecificCharacterClassification(), i18npool::IndexEntrySupplier::getLocaleSpecificIndexEntrySupplier(), and i18npool::CollatorImpl::loadCachedCollator().
|
static |
Generates a <Language>_<Country> or <Variant> (if Language=="qlt") string suitable as part of service name with all '-' replaced by '_'.
Definition at line 1592 of file localedata.cxx.
References cHyphen, cUnder, and I18NLANGTAG_QLT.
Referenced by i18npool::CharacterClassificationImpl::getLocaleSpecificCharacterClassification(), i18npool::IndexEntrySupplier::getLocaleSpecificIndexEntrySupplier(), and i18npool::CollatorImpl::loadCachedCollator().
Sequence< OUString > i18npool::LocaleDataImpl::getFollowPageWords | ( | const css::lang::Locale & | rLocale | ) |
|
overridevirtual |
Definition at line 1185 of file localedata.cxx.
|
private |
css::uno::RuntimeException |
Definition at line 1437 of file localedata.cxx.
Referenced by getAllFormats().
OUString i18npool::LocaleDataImpl::getHangingCharacters | ( | const css::lang::Locale & | rLocale | ) |
css::uno::RuntimeException |
Definition at line 1203 of file localedata.cxx.
|
overridevirtual |
Definition at line 1571 of file localedata.cxx.
Sequence< OUString > i18npool::LocaleDataImpl::getIndexAlgorithm | ( | const css::lang::Locale & | rLocale | ) |
|
private |
Definition at line 1003 of file localedata.cxx.
|
private |
Definition at line 1062 of file localedata.cxx.
References i.
OUString i18npool::LocaleDataImpl::getIndexKeysByAlgorithm | ( | const css::lang::Locale & | rLocale, |
std::u16string_view | algorithm | ||
) |
OUString i18npool::LocaleDataImpl::getIndexModuleByAlgorithm | ( | const css::lang::Locale & | rLocale, |
std::u16string_view | algorithm | ||
) |
css::uno::RuntimeException |
Definition at line 1090 of file localedata.cxx.
|
overridevirtual |
Definition at line 1162 of file localedata.cxx.
|
overridevirtual |
Definition at line 398 of file localedata.cxx.
|
overridevirtual |
Definition at line 436 of file localedata.cxx.
References assert().
Sequence< Reference< container::XIndexAccess > > i18npool::LocaleDataImpl::getOutlineNumberingLevels | ( | const css::lang::Locale & | rLocale | ) |
css::uno::RuntimeException |
Definition at line 1366 of file localedata.cxx.
References i, and nAttributes.
|
overridevirtual |
Definition at line 1239 of file localedata.cxx.
References i.
|
overridevirtual |
Definition at line 983 of file localedata.cxx.
References i.
|
overridevirtual |
Definition at line 1582 of file localedata.cxx.
|
overridevirtual |
Definition at line 1137 of file localedata.cxx.
References i.
Sequence< UnicodeScript > i18npool::LocaleDataImpl::getUnicodeScripts | ( | const css::lang::Locale & | rLocale | ) |
css::uno::RuntimeException |
Definition at line 1097 of file localedata.cxx.
bool i18npool::LocaleDataImpl::hasPhonetic | ( | const css::lang::Locale & | rLocale | ) |
bool i18npool::LocaleDataImpl::isPhonetic | ( | const css::lang::Locale & | rLocale, |
std::u16string_view | algorithm | ||
) |
css::uno::RuntimeException |
Definition at line 1076 of file localedata.cxx.
|
overridevirtual |
Definition at line 1576 of file localedata.cxx.
References cppu::supportsService().
|
private |
Definition at line 131 of file localedata.hxx.
|
private |
Definition at line 132 of file localedata.hxx.
|
private |
Definition at line 133 of file localedata.hxx.