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 <o3tl/string_view.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.

Namespaces

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

Macros

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

Functions

static sal_Int32 i18npool::skipSpace (std::u16string_view 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

◆ isZWSP

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

Definition at line 74 of file breakiteratorImpl.cxx.

◆ LBI

#define LBI   getLocaleSpecificBreakIterator(rLocale)

Definition at line 52 of file breakiteratorImpl.cxx.

◆ scriptListCount

#define scriptListCount   SAL_N_ELEMENTS(scriptList)

Definition at line 508 of file breakiteratorImpl.cxx.

Function Documentation

◆ com_sun_star_i18n_BreakIterator_get_implementation()

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 682 of file breakiteratorImpl.cxx.

Variable Documentation

◆ from

UBlockCode from

◆ script

sal_Int16 script

Definition at line 481 of file breakiteratorImpl.cxx.

Referenced by i18npool::checkScriptType().

◆ to

UBlockCode to