LibreOffice Module i18nutil (master)  1
Static Public Member Functions | List of all members
unicode Class Reference

#include <unicode.hxx>

Static Public Member Functions

static sal_Int16 getUnicodeType (const sal_Unicode ch)
 
static sal_Int16 getUnicodeScriptType (const sal_Unicode ch, const ScriptTypeList *typeList, sal_Int16 unknownType=0)
 
static sal_Unicode getUnicodeScriptStart (css::i18n::UnicodeScript type)
 
static sal_Unicode getUnicodeScriptEnd (css::i18n::UnicodeScript type)
 
static sal_uInt8 getUnicodeDirection (const sal_Unicode ch)
 
static bool isControl (const sal_Unicode ch)
 
static bool isAlpha (const sal_Unicode ch)
 
static bool isSpace (const sal_Unicode ch)
 
static bool isWhiteSpace (const sal_Unicode ch)
 
static bool isIVSSelector (sal_uInt32 nCode)
 Check for Unicode variation sequence selectors. More...
 
static bool isCJKIVSCharacter (sal_uInt32 nCode)
 Check for base characters of a CJK ideographic variation sequence (IVS) More...
 
static sal_Int16 getScriptClassFromUScriptCode (UScriptCode eScript)
 
static OString getExemplarLanguageForUScriptCode (UScriptCode eScript)
 
static OUString formatPercent (double dNumber, const LanguageTag &rLangTag)
 

Detailed Description

Definition at line 37 of file unicode.hxx.

Member Function Documentation

OUString unicode::formatPercent ( double  dNumber,
const LanguageTag rLangTag 
)
static
OString unicode::getExemplarLanguageForUScriptCode ( UScriptCode  eScript)
static

Definition at line 192 of file unicode.cxx.

sal_Int16 unicode::getScriptClassFromUScriptCode ( UScriptCode  eScript)
static

Definition at line 135 of file unicode.cxx.

References SAL_N_ELEMENTS.

sal_uInt8 unicode::getUnicodeDirection ( const sal_Unicode  ch)
static
sal_Unicode unicode::getUnicodeScriptEnd ( css::i18n::UnicodeScript  type)
static

Definition at line 63 of file unicode.cxx.

References UnicodeScriptType, and UnicodeScriptTypeTo.

sal_Unicode unicode::getUnicodeScriptStart ( css::i18n::UnicodeScript  type)
static

Definition at line 58 of file unicode.cxx.

References UnicodeScriptType, and UnicodeScriptTypeFrom.

sal_Int16 unicode::getUnicodeScriptType ( const sal_Unicode  ch,
const ScriptTypeList typeList,
sal_Int16  unknownType = 0 
)
static

Definition at line 53 of file unicode.cxx.

References getScriptType().

Referenced by ScriptTypeDetector::getCTLScriptType().

sal_Int16 unicode::getUnicodeType ( const sal_Unicode  ch)
static
static bool unicode::isAlpha ( const sal_Unicode  ch)
static
static bool unicode::isCJKIVSCharacter ( sal_uInt32  nCode)
inlinestatic

Check for base characters of a CJK ideographic variation sequence (IVS)

Parameters
nCodeA Unicode code point.
Returns
True if code is a Unicode base character part of CJK IVS

Definition at line 69 of file unicode.hxx.

static bool unicode::isControl ( const sal_Unicode  ch)
static
static bool unicode::isIVSSelector ( sal_uInt32  nCode)
inlinestatic

Check for Unicode variation sequence selectors.

Parameters
nCodeA Unicode code point.
Returns
True if code is a Unicode variation sequence selector.

Definition at line 57 of file unicode.hxx.

static bool unicode::isSpace ( const sal_Unicode  ch)
static

Referenced by IsType().

static bool unicode::isWhiteSpace ( const sal_Unicode  ch)
static

The documentation for this class was generated from the following files: