LibreOffice Module i18npool (master) 1
Namespaces | Macros | Typedefs | Functions | Variables
localedata.cxx File Reference
#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>
Include dependency graph for localedata.cxx:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::uno
 
namespace  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)
 

Macro Definition Documentation

◆ COLLATOR_ELEMENTS

#define COLLATOR_ELEMENTS   3

Definition at line 900 of file localedata.cxx.

◆ COLLATOR_OFFSET_ALGO

#define COLLATOR_OFFSET_ALGO   0

Definition at line 897 of file localedata.cxx.

◆ COLLATOR_OFFSET_DEFAULT

#define COLLATOR_OFFSET_DEFAULT   1

Definition at line 898 of file localedata.cxx.

◆ COLLATOR_OFFSET_RULE

#define COLLATOR_OFFSET_RULE   2

Definition at line 899 of file localedata.cxx.

◆ REF_DAYS

#define REF_DAYS   0

Definition at line 619 of file localedata.cxx.

◆ REF_ERAS

#define REF_ERAS   4

Definition at line 623 of file localedata.cxx.

◆ REF_GMONTHS

#define REF_GMONTHS   2

Definition at line 621 of file localedata.cxx.

◆ REF_MONTHS

#define REF_MONTHS   1

Definition at line 620 of file localedata.cxx.

◆ REF_OFFSET_COUNT

#define REF_OFFSET_COUNT   5

Definition at line 624 of file localedata.cxx.

◆ REF_PMONTHS

#define REF_PMONTHS   3

Definition at line 622 of file localedata.cxx.

Typedef Documentation

◆ MyFunc_FormatCode

typedef sal_Unicode const *const *(* MyFunc_FormatCode) (sal_Int16 &, sal_Unicode const *&, sal_Unicode const *&)

Definition at line 48 of file localedata.cxx.

◆ MyFunc_Type

typedef sal_Unicode **(* MyFunc_Type) (sal_Int16 &)

Definition at line 45 of file localedata.cxx.

◆ MyFunc_Type2

typedef sal_Unicode const ***(* MyFunc_Type2) (sal_Int16 &, sal_Int16 &)

Definition at line 46 of file localedata.cxx.

◆ MyFunc_Type3

typedef sal_Unicode const ****(* MyFunc_Type3) (sal_Int16 &, sal_Int16 &, sal_Int16 &)

Definition at line 47 of file localedata.cxx.

Function Documentation

◆ com_sun_star_i18n_LocaleDataImpl_get_implementation()

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 1605 of file localedata.cxx.

Variable Documentation

◆ 

const struct { ... } aLibTable[]

◆ cBulletChar

sal_Unicode cBulletChar

Definition at line 1315 of file localedata.cxx.

◆ cHyphen

const sal_Unicode cHyphen = '-'

◆ cUnder

const sal_Unicode cUnder = '_'

◆ lcl_DATA_EN

const char* lcl_DATA_EN = "localedata_en"
static

Definition at line 52 of file localedata.cxx.

◆ lcl_DATA_ES

const char* lcl_DATA_ES = "localedata_es"
static

Definition at line 53 of file localedata.cxx.

◆ lcl_DATA_EURO

const char* lcl_DATA_EURO = "localedata_euro"
static

Definition at line 54 of file localedata.cxx.

◆ lcl_DATA_OTHERS

const char* lcl_DATA_OTHERS = "localedata_others"
static

Definition at line 55 of file localedata.cxx.

◆ m_nCount

sal_Int16 m_nCount
private

Definition at line 1330 of file localedata.cxx.

◆ m_pOutlineLevels

std::unique_ptr<const OutlineNumberingLevel_Impl[]> m_pOutlineLevels
private

Definition at line 1329 of file localedata.cxx.

◆ maLookupTable

::std::vector< LocaleDataLookupTableItem > maLookupTable
private

Definition at line 485 of file localedata.cxx.

◆ maMutex

std::mutex maMutex
private

Definition at line 484 of file localedata.cxx.

◆ nbOfLocales

const sal_Int16 nbOfLocales = SAL_N_ELEMENTS(aLibTable)

◆ nFirstLineOffset

sal_Int32 nFirstLineOffset

Definition at line 1320 of file localedata.cxx.

◆ nLeftMargin

sal_Int32 nLeftMargin

Definition at line 1318 of file localedata.cxx.

◆ nNatNum

sal_Int32 nNatNum

Definition at line 1322 of file localedata.cxx.

Referenced by i18npool::Calendar_gregorian::getDisplayStringImpl().

◆ nNumType

sal_Int16 nNumType

Definition at line 1313 of file localedata.cxx.

◆ nParentNumbering

sal_Int16 nParentNumbering

Definition at line 1317 of file localedata.cxx.

◆ nSymbolTextDistance

sal_Int32 nSymbolTextDistance

Definition at line 1319 of file localedata.cxx.

◆ pLib

const char* pLib

Definition at line 59 of file localedata.cxx.

◆ pLocale

const char* pLocale

Definition at line 58 of file localedata.cxx.

◆ sBulletFontName

OUString sBulletFontName

Definition at line 1316 of file localedata.cxx.

◆ sPrefix

OUString sPrefix

Definition at line 1312 of file localedata.cxx.

◆ sSuffix

OUString sSuffix

Definition at line 1314 of file localedata.cxx.

◆ sTransliteration

OUString sTransliteration

Definition at line 1321 of file localedata.cxx.