Global Functions in Global Namespace C++
in Sourcefile locale.h
- rtl_locale_equals
- extern "C"
sal_Int32 rtl_locale_equals(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Returns true if the locals are equal, otherwis false.
- rtl_locale_getCountry
- extern "C"
rtl_uString * rtl_locale_getCountry(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Getter for programmatic name of field,
an uppercased two-letter ISO-3166 code.
- See Also
- #getDisplayCountry
- rtl_locale_getDefault
- extern "C"
rtl_Locale * rtl_locale_getDefault();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Description
- Common method of getting the current default Locale.
Used for the presentation: menus, dialogs, etc.
Generally set once when your applet or application is initialized,
then never reset. (If you do reset the default locale, you
probably want to reload your GUI, so that the change is reflected
in your interface.)
More advanced programs will allow users to use different locales
for different fields, e.g. in a spreadsheet.
Note that the initial setting will match the host system.
- rtl_locale_getLanguage
- extern "C"
rtl_uString * rtl_locale_getLanguage(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Getter for programmatic name of field,
a lowercased two-letter ISO 639-1 or three-letter ISO 639-3 code.
- See Also
- #getDisplayLanguage
- rtl_locale_getVariant
- extern "C"
rtl_uString * rtl_locale_getVariant(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Getter for programmatic name of field.
- See Also
- #getDisplayVariant
- rtl_locale_hashCode
- extern "C"
sal_Int32 rtl_locale_hashCode(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Returns the hash code of the locale This.
- rtl_locale_register
- extern "C"
rtl_Locale * rtl_locale_register(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Register a locale from language, country and variant.
- Parameters
language |
lowercase two-letter ISO 639-1 or three-letter ISO 639-3 code.
|
country |
uppercase two-letter ISO-3166 code. May be null.
|
variant |
vendor and browser specific code. May be null.
|
- rtl_locale_setDefault
- extern "C"
void rtl_locale_setDefault(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Description
- Sets the default.
Normally set once at the beginning of applet or application,
then never reset.
setDefault
does not reset the host locale.
- Parameters
language |
lowercase two-letter ISO 639-1 or three-letter ISO 639-3 code.
|
country |
uppercase two-letter ISO-3166 code.
|
variant |
vendor and browser specific code. See class description.
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.