LibreOffice Module i18npool (master)  1
Classes | Namespaces | Macros | Typedefs | Functions | Variables
localedata.cxx File Reference
#include <memory>
#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 <rtl/instance.hxx>
#include <sal/macros.h>
Include dependency graph for localedata.cxx:

Go to the source code of this file.

Classes

struct  LocaleDataLookupTableItem
 

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)
 

Macro Definition Documentation

#define COLLATOR_ELEMENTS   3
#define COLLATOR_OFFSET_ALGO   0
#define COLLATOR_OFFSET_DEFAULT   1
#define COLLATOR_OFFSET_RULE   2
#define REF_DAYS   0
#define REF_ERAS   4
#define REF_GMONTHS   2
#define REF_MONTHS   1
#define REF_OFFSET_COUNT   5

Definition at line 647 of file localedata.cxx.

Referenced by i18npool::LocaleDataImpl::getAllCalendars2().

#define REF_PMONTHS   3

Typedef Documentation

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

Definition at line 47 of file localedata.cxx.

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

Definition at line 44 of file localedata.cxx.

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

Definition at line 45 of file localedata.cxx.

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

Definition at line 46 of file localedata.cxx.

Function Documentation

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

Variable Documentation

const { ... } aLibTable[]
sal_Unicode cBulletChar

Definition at line 1323 of file localedata.cxx.

const sal_Unicode cHyphen = '-'
const sal_Unicode cUnder = '_'
const char* lcl_DATA_EN = "localedata_en"
static

Definition at line 51 of file localedata.cxx.

const char* lcl_DATA_ES = "localedata_es"
static

Definition at line 52 of file localedata.cxx.

const char* lcl_DATA_EURO = "localedata_euro"
static

Definition at line 53 of file localedata.cxx.

const char* lcl_DATA_OTHERS = "localedata_others"
static

Definition at line 54 of file localedata.cxx.

sal_Int16 m_nCount

Definition at line 1338 of file localedata.cxx.

std::unique_ptr<const OutlineNumberingLevel_Impl[]> m_pOutlineLevels

Definition at line 1337 of file localedata.cxx.

::std::vector< LocaleDataLookupTableItem > maLookupTable

Definition at line 499 of file localedata.cxx.

::osl::Mutex maMutex

Definition at line 498 of file localedata.cxx.

const sal_Int16 nbOfLocales = SAL_N_ELEMENTS(aLibTable)
sal_Int32 nFirstLineOffset

Definition at line 1328 of file localedata.cxx.

sal_Int32 nLeftMargin

Definition at line 1326 of file localedata.cxx.

sal_Int32 nNatNum

Definition at line 1330 of file localedata.cxx.

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

sal_Int16 nNumType

Definition at line 1321 of file localedata.cxx.

sal_Int16 nParentNumbering

Definition at line 1325 of file localedata.cxx.

sal_Int32 nSymbolTextDistance

Definition at line 1327 of file localedata.cxx.

const char* pLib

Definition at line 62 of file localedata.cxx.

const char* pLocale

Definition at line 61 of file localedata.cxx.

OUString sBulletFontName

Definition at line 1324 of file localedata.cxx.

OUString sPrefix

Definition at line 1320 of file localedata.cxx.

OUString sSuffix

Definition at line 1322 of file localedata.cxx.

OUString sTransliteration

Definition at line 1329 of file localedata.cxx.