LibreOffice Module i18npool (master)
1
|
#include <memory>
#include <mutex>
#include <string_view>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <comphelper/sequence.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <localedata.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <sal/macros.h>
#include <o3tl/string_view.hxx>
Go to the source code of this file.
Namespaces | |
com::sun::star::uno | |
i18npool | |
Constant values shared between i18npool and, for example, the number formatter. | |
Macros | |
#define | REF_DAYS 0 |
#define | REF_MONTHS 1 |
#define | REF_GMONTHS 2 |
#define | REF_PMONTHS 3 |
#define | REF_ERAS 4 |
#define | REF_OFFSET_COUNT 5 |
#define | COLLATOR_OFFSET_ALGO 0 |
#define | COLLATOR_OFFSET_DEFAULT 1 |
#define | COLLATOR_OFFSET_RULE 2 |
#define | COLLATOR_ELEMENTS 3 |
Typedefs | |
typedef sal_Unicode **(* | MyFunc_Type) (sal_Int16 &) |
typedef sal_Unicode const ***(* | MyFunc_Type2) (sal_Int16 &, sal_Int16 &) |
typedef sal_Unicode const ****(* | MyFunc_Type3) (sal_Int16 &, sal_Int16 &, sal_Int16 &) |
typedef sal_Unicode const *const *(* | MyFunc_FormatCode) (sal_Int16 &, sal_Unicode const *&, sal_Unicode const *&) |
Functions | |
static void | i18npool::thisModule () |
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | com_sun_star_i18n_LocaleDataImpl_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
Variables | |
static const char * | lcl_DATA_EN = "localedata_en" |
static const char * | lcl_DATA_ES = "localedata_es" |
static const char * | lcl_DATA_EURO = "localedata_euro" |
static const char * | lcl_DATA_OTHERS = "localedata_others" |
struct { | |
const char * pLocale | |
const char * pLib | |
} | aLibTable [] |
const sal_Unicode | cUnder = '_' |
const sal_Unicode | cHyphen = '-' |
const sal_Int16 | nbOfLocales = SAL_N_ELEMENTS(aLibTable) |
#define COLLATOR_ELEMENTS 3 |
Definition at line 898 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getCollatorImplementations(), and i18npool::LocaleDataImpl::getCollatorRuleByAlgorithm().
#define COLLATOR_OFFSET_ALGO 0 |
Definition at line 895 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getCollatorImplementations(), and i18npool::LocaleDataImpl::getCollatorRuleByAlgorithm().
#define COLLATOR_OFFSET_DEFAULT 1 |
Definition at line 896 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getCollatorImplementations().
#define COLLATOR_OFFSET_RULE 2 |
Definition at line 897 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getCollatorRuleByAlgorithm().
#define REF_DAYS 0 |
Definition at line 617 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getAllCalendars2(), i18npool::LocaleDataImpl::getCalendarItemByName(), and i18npool::LocaleDataImpl::getCalendarItems().
#define REF_ERAS 4 |
Definition at line 621 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getAllCalendars2(), i18npool::LocaleDataImpl::getCalendarItemByName(), and i18npool::LocaleDataImpl::getCalendarItems().
#define REF_GMONTHS 2 |
Definition at line 619 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getAllCalendars2(), i18npool::LocaleDataImpl::getCalendarItemByName(), and i18npool::LocaleDataImpl::getCalendarItems().
#define REF_MONTHS 1 |
Definition at line 618 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getAllCalendars2(), i18npool::LocaleDataImpl::getCalendarItemByName(), and i18npool::LocaleDataImpl::getCalendarItems().
#define REF_OFFSET_COUNT 5 |
Definition at line 622 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getAllCalendars2().
#define REF_PMONTHS 3 |
Definition at line 620 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getAllCalendars2(), i18npool::LocaleDataImpl::getCalendarItemByName(), and i18npool::LocaleDataImpl::getCalendarItems().
typedef sal_Unicode const* const*(* MyFunc_FormatCode) (sal_Int16 &, sal_Unicode const *&, sal_Unicode const *&) |
Definition at line 48 of file localedata.cxx.
typedef sal_Unicode**(* MyFunc_Type) (sal_Int16 &) |
Definition at line 45 of file localedata.cxx.
typedef sal_Unicode const***(* MyFunc_Type2) (sal_Int16 &, sal_Int16 &) |
Definition at line 46 of file localedata.cxx.
typedef sal_Unicode const****(* MyFunc_Type3) (sal_Int16 &, sal_Int16 &, sal_Int16 &) |
Definition at line 47 of file localedata.cxx.
SAL_DLLPUBLIC_EXPORT css::uno::XInterface* com_sun_star_i18n_LocaleDataImpl_get_implementation | ( | css::uno::XComponentContext * | , |
css::uno::Sequence< css::uno::Any > const & | |||
) |
Definition at line 1603 of file localedata.cxx.
const { ... } aLibTable[] |
sal_Unicode cBulletChar |
Definition at line 1313 of file localedata.cxx.
const sal_Unicode cHyphen = '-' |
const sal_Unicode cUnder = '_' |
|
static |
Definition at line 52 of file localedata.cxx.
|
static |
Definition at line 53 of file localedata.cxx.
|
static |
Definition at line 54 of file localedata.cxx.
|
static |
Definition at line 55 of file localedata.cxx.
sal_Int16 m_nCount |
Definition at line 1328 of file localedata.cxx.
std::unique_ptr<const OutlineNumberingLevel_Impl[]> m_pOutlineLevels |
Definition at line 1327 of file localedata.cxx.
::std::vector< LocaleDataLookupTableItem > maLookupTable |
Definition at line 483 of file localedata.cxx.
std::mutex maMutex |
Definition at line 482 of file localedata.cxx.
const sal_Int16 nbOfLocales = SAL_N_ELEMENTS(aLibTable) |
Definition at line 348 of file localedata.cxx.
Referenced by i18npool::LocaleDataImpl::getAllInstalledLocaleNames().
sal_Int32 nFirstLineOffset |
Definition at line 1318 of file localedata.cxx.
sal_Int32 nLeftMargin |
Definition at line 1316 of file localedata.cxx.
sal_Int32 nNatNum |
Definition at line 1320 of file localedata.cxx.
Referenced by i18npool::Calendar_gregorian::getDisplayStringImpl().
sal_Int16 nNumType |
Definition at line 1311 of file localedata.cxx.
sal_Int16 nParentNumbering |
Definition at line 1315 of file localedata.cxx.
sal_Int32 nSymbolTextDistance |
Definition at line 1317 of file localedata.cxx.
const char* pLib |
Definition at line 59 of file localedata.cxx.
const char* pLocale |
Definition at line 58 of file localedata.cxx.
OUString sBulletFontName |
Definition at line 1314 of file localedata.cxx.
OUString sPrefix |
Definition at line 1310 of file localedata.cxx.
OUString sSuffix |
Definition at line 1312 of file localedata.cxx.
OUString sTransliteration |
Definition at line 1319 of file localedata.cxx.