(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.