LibreOffice LibreOffice 25.2 SDK API Reference

XLocaleData.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module i18n {
22
23
34published interface XLocaleData: com::sun::star::uno::XInterface
35{
38 LanguageCountryInfo getLanguageCountryInfo(
39 [in] com::sun::star::lang::Locale aLocale );
40
43 LocaleDataItem getLocaleItem(
44 [in] com::sun::star::lang::Locale aLocale );
45
48 sequence<Calendar> getAllCalendars(
49 [in] com::sun::star::lang::Locale aLocale );
50
53 sequence<Currency> getAllCurrencies(
54 [in] com::sun::star::lang::Locale aLocale );
55
58 sequence<FormatElement> getAllFormats(
59 [in] com::sun::star::lang::Locale aLocale );
60
63 sequence<Implementation> getCollatorImplementations(
64 [in] com::sun::star::lang::Locale aLocale );
65
68 sequence<string> getSearchOptions(
69 [in] com::sun::star::lang::Locale aLocale );
70
73 sequence<string> getCollationOptions(
74 [in] com::sun::star::lang::Locale aLocale );
75
78 sequence<string> getTransliterations(
79 [in] com::sun::star::lang::Locale aLocale );
80
83 ForbiddenCharacters getForbiddenCharacters (
84 [in] com::sun::star::lang::Locale aLocale );
85
90 sequence<string> getReservedWord(
91 [in] com::sun::star::lang::Locale aLocale );
92
95 sequence<com::sun::star::lang::Locale> getAllInstalledLocaleNames();
96};
97
98}; }; }; };
99
100/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::i18n::XLocaleData
Access locale specific data as it is defined in XML locale data files compiled into the binary data l...
Definition: XLocaleData.idl:35
com::sun::star::i18n::XLocaleData::getTransliterations
sequence< string > getTransliterations([in] com::sun::star::lang::Locale aLocale)
returns all LC_TRANSLITERATION transliterations for a locale.
com::sun::star::i18n::XLocaleData::getAllFormats
sequence< FormatElement > getAllFormats([in] com::sun::star::lang::Locale aLocale)
returns all LC_FORMAT format elements for a locale.
com::sun::star::i18n::XLocaleData::getLanguageCountryInfo
LanguageCountryInfo getLanguageCountryInfo([in] com::sun::star::lang::Locale aLocale)
returns the LC_INFO locale information.
com::sun::star::i18n::XLocaleData::getCollationOptions
sequence< string > getCollationOptions([in] com::sun::star::lang::Locale aLocale)
returns all LC_COLLATION collation options for a locale.
com::sun::star::i18n::XLocaleData::getCollatorImplementations
sequence< Implementation > getCollatorImplementations([in] com::sun::star::lang::Locale aLocale)
returns all LC_COLLATION collators for a locale.
com::sun::star::i18n::XLocaleData::getLocaleItem
LocaleDataItem getLocaleItem([in] com::sun::star::lang::Locale aLocale)
returns LC_CTYPE separators and markers.
com::sun::star::i18n::XLocaleData::getAllInstalledLocaleNames
sequence< com::sun::star::lang::Locale > getAllInstalledLocaleNames()
returns all available locales.
com::sun::star::i18n::XLocaleData::getSearchOptions
sequence< string > getSearchOptions([in] com::sun::star::lang::Locale aLocale)
returns all LC_SEARCH search options for a locale.
com::sun::star::i18n::XLocaleData::getForbiddenCharacters
ForbiddenCharacters getForbiddenCharacters([in] com::sun::star::lang::Locale aLocale)
returns all LC_MISC forbidden characters for a locale.
com::sun::star::i18n::XLocaleData::getReservedWord
sequence< string > getReservedWord([in] com::sun::star::lang::Locale aLocale)
returns all LC_MISC reserved words for a locale.
com::sun::star::i18n::XLocaleData::getAllCurrencies
sequence< Currency > getAllCurrencies([in] com::sun::star::lang::Locale aLocale)
returns all LC_CURRENCY currencies for a locale.
com::sun::star::i18n::XLocaleData::getAllCalendars
sequence< Calendar > getAllCalendars([in] com::sun::star::lang::Locale aLocale)
returns all LC_CALENDAR calendars for a locale.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com
Definition: Ambiguous.idl:20
com::sun::star::i18n::ForbiddenCharacters
Locale (mostly CJK) dependent characters that are forbidden at the start or end of a line.
Definition: ForbiddenCharacters.idl:34
com::sun::star::i18n::LanguageCountryInfo
The language and country identifiers and descriptive names of the loaded locale data returned by XLoc...
Definition: LanguageCountryInfo.idl:34
com::sun::star::i18n::LocaleDataItem
Locale specific data, for example, separators, quotation marks.
Definition: LocaleDataItem.idl:32
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:34