Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: i18n ::

interface XLocaleData
Description
Access locale specific data as it is defined in XML locale data files compiled into the binary data libraries liblocaledata*.so respectively localedata*.dll.

For XML locale data files definitions see the DTD file (or the old Attic version for OOo1.0/SO6.0).

Developers Guide
OfficeDev - Overview and Using the API - XLocaleData
OfficeDev - Implementing a New Locale - XLocaleData

Methods' Summary
getLanguageCountryInfo returns the LC_INFO locale information.  
getLocaleItem returns LC_CTYPE separators and markers.  
getAllCalendars returns all LC_CALENDAR calendars for a locale.  
getAllCurrencies returns all LC_CURRENCY currencies for a locale.  
getAllFormats returns all LC_FORMAT format elements for a locale.  
getCollatorImplementations returns all LC_COLLATION collators for a locale.  
getSearchOptions returns all LC_SEARCH search options for a locale.  
getCollationOptions returns all LC_COLLATION collation options for a locale.  
getTransliterations returns all LC_TRANSLITERATION transliterations for a locale.  
getForbiddenCharacters returns all LC_MISC forbidden charatcers for a locale.  
getReservedWord returns all LC_MISC reserved words for a locale.  
getAllInstalledLocaleNames returns all available locales.  
Methods' Details
getLanguageCountryInfo
LanguageCountryInfo
getLanguageCountryInfo( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns the LC_INFO locale information.
getLocaleItem
LocaleDataItem
getLocaleItem( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns LC_CTYPE separators and markers.
getAllCalendars
sequence< Calendar >
getAllCalendars( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_CALENDAR calendars for a locale.
getAllCurrencies
sequence< Currency >
getAllCurrencies( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_CURRENCY currencies for a locale.
getAllFormats
sequence< FormatElement >
getAllFormats( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_FORMAT format elements for a locale.
getCollatorImplementations
sequence< Implementation >
getCollatorImplementations( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_COLLATION collators for a locale.
getSearchOptions
sequence< string >
getSearchOptions( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_SEARCH search options for a locale.
getCollationOptions
sequence< string >
getCollationOptions( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_COLLATION collation options for a locale.
getTransliterations
sequence< string >
getTransliterations( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_TRANSLITERATION transliterations for a locale.
getForbiddenCharacters
ForbiddenCharacters
getForbiddenCharacters( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_MISC forbidden charatcers for a locale.
getReservedWord
sequence< string >
getReservedWord( [in] ::com::sun::star::lang::Locale  aLocale );

Description
returns all LC_MISC reserved words for a locale.
See also
reservedWords
getAllInstalledLocaleNames
sequence< ::com::sun::star::lang::Locale >
getAllInstalledLocaleNames();

Description
returns all available locales.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.