21#include <com/sun/star/lang/XServiceInfo.hpp>
22#include <com/sun/star/i18n/XBreakIterator.hpp>
36 css::i18n::XBreakIterator,
37 css::lang::XServiceInfo
45 virtual sal_Int32 SAL_CALL
nextCharacters(
const OUString& Text, sal_Int32 nStartPos,
46 const css::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
47 sal_Int32& nDone )
override;
48 virtual sal_Int32 SAL_CALL
previousCharacters(
const OUString& Text, sal_Int32 nStartPos,
49 const css::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
50 sal_Int32& nDone )
override;
52 virtual css::i18n::Boundary SAL_CALL
previousWord(
const OUString& Text, sal_Int32 nStartPos,
53 const css::lang::Locale& nLocale, sal_Int16 WordType)
override;
54 virtual css::i18n::Boundary SAL_CALL
nextWord(
const OUString& Text, sal_Int32 nStartPos,
55 const css::lang::Locale& nLocale, sal_Int16 WordType)
override;
56 virtual css::i18n::Boundary SAL_CALL
getWordBoundary(
const OUString& Text, sal_Int32 nPos,
57 const css::lang::Locale& nLocale, sal_Int16 WordType,
sal_Bool bDirection )
override;
60 const css::lang::Locale& nLocale, sal_Int16 WordType )
override;
62 const css::lang::Locale& nLocale, sal_Int16 WordType )
override;
63 virtual sal_Int16 SAL_CALL
getWordType(
const OUString& Text, sal_Int32 nPos,
64 const css::lang::Locale& nLocale )
override;
66 virtual sal_Int32 SAL_CALL
beginOfSentence(
const OUString& Text, sal_Int32 nStartPos,
67 const css::lang::Locale& nLocale )
override;
68 virtual sal_Int32 SAL_CALL
endOfSentence(
const OUString& Text, sal_Int32 nStartPos,
69 const css::lang::Locale& nLocale )
override;
71 virtual css::i18n::LineBreakResults SAL_CALL
getLineBreak(
const OUString& Text, sal_Int32 nStartPos,
72 const css::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
73 const css::i18n::LineBreakHyphenationOptions& hOptions,
74 const css::i18n::LineBreakUserOptions& bOptions )
override;
76 virtual sal_Int16 SAL_CALL
getScriptType(
const OUString& Text, sal_Int32 nPos )
override;
77 virtual sal_Int32 SAL_CALL
beginOfScript(
const OUString& Text, sal_Int32 nStartPos,
79 virtual sal_Int32 SAL_CALL
endOfScript(
const OUString& Text, sal_Int32 nStartPos,
81 virtual sal_Int32 SAL_CALL
previousScript(
const OUString& Text, sal_Int32 nStartPos,
83 virtual sal_Int32 SAL_CALL
nextScript(
const OUString& Text, sal_Int32 nStartPos,
86 virtual sal_Int32 SAL_CALL
beginOfCharBlock(
const OUString& Text, sal_Int32 nStartPos,
87 const css::lang::Locale& nLocale, sal_Int16 CharType )
override;
88 virtual sal_Int32 SAL_CALL
endOfCharBlock(
const OUString& Text, sal_Int32 nStartPos,
89 const css::lang::Locale& nLocale, sal_Int16 CharType )
override;
90 virtual sal_Int32 SAL_CALL
previousCharBlock(
const OUString& Text, sal_Int32 nStartPos,
91 const css::lang::Locale& nLocale, sal_Int16 CharType )
override;
92 virtual sal_Int32 SAL_CALL
nextCharBlock(
const OUString& Text, sal_Int32 nStartPos,
93 const css::lang::Locale& nLocale, sal_Int16 CharType )
override;
109 css::uno::Reference < XBreakIterator >
xBI;
113 css::uno::Reference < XBreakIterator >
xBI;
114 css::uno::Reference < css::uno::XComponentContext >
m_xContext;
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual sal_Int32 SAL_CALL previousCharBlock(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 CharType) override
virtual sal_Int32 SAL_CALL endOfScript(const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override
const css::uno::Reference< XBreakIterator > & getLocaleSpecificBreakIterator(const css::lang::Locale &rLocale)
css::uno::Reference< XBreakIterator > xBI
bool createLocaleSpecificBreakIterator(const OUString &aLocaleName)
virtual sal_Int32 SAL_CALL previousCharacters(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32 &nDone) override
virtual sal_Int32 SAL_CALL endOfCharBlock(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 CharType) override
css::i18n::Boundary result
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
static sal_Int16 getScriptClass(sal_uInt32 currentChar)
virtual ~BreakIteratorImpl() override
virtual sal_Bool SAL_CALL isBeginWord(const OUString &Text, sal_Int32 nPos, const css::lang::Locale &nLocale, sal_Int16 WordType) override
virtual css::i18n::Boundary SAL_CALL getWordBoundary(const OUString &Text, sal_Int32 nPos, const css::lang::Locale &nLocale, sal_Int16 WordType, sal_Bool bDirection) override
virtual sal_Int32 SAL_CALL nextScript(const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override
virtual sal_Int16 SAL_CALL getWordType(const OUString &Text, sal_Int32 nPos, const css::lang::Locale &nLocale) override
virtual css::i18n::Boundary SAL_CALL previousWord(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 WordType) override
virtual sal_Int32 SAL_CALL beginOfScript(const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Int32 SAL_CALL previousScript(const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override
virtual sal_Int32 SAL_CALL nextCharacters(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32 &nDone) override
virtual sal_Int32 SAL_CALL nextCharBlock(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 CharType) override
virtual sal_Bool SAL_CALL isEndWord(const OUString &Text, sal_Int32 nPos, const css::lang::Locale &nLocale, sal_Int16 WordType) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Int32 SAL_CALL beginOfCharBlock(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 CharType) override
virtual sal_Int16 SAL_CALL getScriptType(const OUString &Text, sal_Int32 nPos) override
std::vector< lookupTableItem > lookupTable
virtual sal_Int32 SAL_CALL endOfSentence(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale) override
virtual css::i18n::LineBreakResults SAL_CALL getLineBreak(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int32 nMinBreakPos, const css::i18n::LineBreakHyphenationOptions &hOptions, const css::i18n::LineBreakUserOptions &bOptions) override
BreakIteratorImpl(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual sal_Int32 SAL_CALL beginOfSentence(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale) override
virtual css::i18n::Boundary SAL_CALL nextWord(const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 WordType) override
css::lang::Locale aLocale
Constant values shared between i18npool and, for example, the number formatter.
css::uno::Reference< XBreakIterator > xBI
lookupTableItem(css::lang::Locale _aLocale, css::uno::Reference< XBreakIterator > _xBI)
css::lang::Locale aLocale