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

#include <scripttypedetector.hxx>

Static Public Member Functions

static sal_Int32 beginOfScriptDirection (std::u16string_view Text, sal_Int32 nPos, sal_Int16 scriptDirection)
 
static sal_Int32 endOfScriptDirection (std::u16string_view Text, sal_Int32 nPos, sal_Int16 scriptDirection)
 
static sal_Int16 getScriptDirection (std::u16string_view Text, sal_Int32 nPos, sal_Int16 defaultScriptDirection)
 
static sal_Int32 beginOfCTLScriptType (std::u16string_view Text, sal_Int32 nPos)
 
static sal_Int32 endOfCTLScriptType (std::u16string_view Text, sal_Int32 nPos)
 
static sal_Int16 getCTLScriptType (std::u16string_view Text, sal_Int32 nPos)
 

Detailed Description

Definition at line 25 of file scripttypedetector.hxx.

Member Function Documentation

◆ beginOfCTLScriptType()

sal_Int32 ScriptTypeDetector::beginOfCTLScriptType ( std::u16string_view  Text,
sal_Int32  nPos 
)
static

Definition at line 99 of file scripttypedetector.cxx.

References getCTLScriptType(), o3tl::make_unsigned(), nPos, and Text.

◆ beginOfScriptDirection()

sal_Int32 ScriptTypeDetector::beginOfScriptDirection ( std::u16string_view  Text,
sal_Int32  nPos,
sal_Int16  scriptDirection 
)
static

Definition at line 58 of file scripttypedetector.cxx.

References getScriptDirection(), nPos, and Text.

◆ endOfCTLScriptType()

sal_Int32 ScriptTypeDetector::endOfCTLScriptType ( std::u16string_view  Text,
sal_Int32  nPos 
)
static

Definition at line 116 of file scripttypedetector.cxx.

References getCTLScriptType(), o3tl::make_unsigned(), nPos, and Text.

◆ endOfScriptDirection()

sal_Int32 ScriptTypeDetector::endOfScriptDirection ( std::u16string_view  Text,
sal_Int32  nPos,
sal_Int16  scriptDirection 
)
static

Definition at line 71 of file scripttypedetector.cxx.

References getScriptDirection(), nPos, and Text.

◆ getCTLScriptType()

sal_Int16 ScriptTypeDetector::getCTLScriptType ( std::u16string_view  Text,
sal_Int32  nPos 
)
static

Definition at line 85 of file scripttypedetector.cxx.

References unicode::getUnicodeScriptType(), nPos, Text, and typeList.

Referenced by beginOfCTLScriptType(), and endOfCTLScriptType().

◆ getScriptDirection()

sal_Int16 ScriptTypeDetector::getScriptDirection ( std::u16string_view  Text,
sal_Int32  nPos,
sal_Int16  defaultScriptDirection 
)
static

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