LibreOffice Module i18npool (master)  1
Namespaces | Macros | Functions
breakiteratorImpl.cxx File Reference
#include <config_locales.h>
#include <breakiteratorImpl.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <unicode/uchar.h>
#include <i18nutil/unicode.hxx>
#include <com/sun/star/i18n/CharType.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
Include dependency graph for breakiteratorImpl.cxx:

Go to the source code of this file.


 Constant values shared between i18npool and, for example, the number formatter.


#define LBI   getLocaleSpecificBreakIterator(rLocale)
#define isZWSP(c)   (ch == 0x200B)
#define scriptListCount   SAL_N_ELEMENTS(scriptList)


static sal_Int32 i18npool::skipSpace (const OUString &Text, sal_Int32 nPos, sal_Int32 len, sal_Int16 rWordType, bool bDirection)
static bool i18npool::isCJK (const Locale &rLocale)
static sal_Int32 i18npool::iterateCodePoints (const OUString &Text, sal_Int32 &nStartPos, sal_Int32 inc, sal_uInt32 &ch)
 Increments/decrements position first, then obtains character. More...
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_i18n_BreakIterator_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)

Macro Definition Documentation

#define isZWSP (   c)    (ch == 0x200B)

Definition at line 72 of file breakiteratorImpl.cxx.

Referenced by i18npool::skipSpace().

#define LBI   getLocaleSpecificBreakIterator(rLocale)
#define scriptListCount   SAL_N_ELEMENTS(scriptList)

Definition at line 506 of file breakiteratorImpl.cxx.

Function Documentation

SAL_DLLPUBLIC_EXPORT css::uno::XInterface* com_sun_star_i18n_BreakIterator_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   

Definition at line 677 of file breakiteratorImpl.cxx.

Variable Documentation

UBlockCode from
sal_Int16 script

Definition at line 479 of file breakiteratorImpl.cxx.

UBlockCode to