LibreOffice Module i18npool (master) 1
|
#include <breakiteratorImpl.hxx>
Classes | |
struct | lookupTableItem |
Public Member Functions | |
BreakIteratorImpl (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
BreakIteratorImpl () | |
virtual | ~BreakIteratorImpl () 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 | previousCharacters (const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32 &nDone) override |
virtual css::i18n::Boundary SAL_CALL | previousWord (const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 WordType) override |
virtual css::i18n::Boundary SAL_CALL | nextWord (const OUString &Text, sal_Int32 nStartPos, 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_Bool SAL_CALL | isBeginWord (const OUString &Text, sal_Int32 nPos, const css::lang::Locale &nLocale, sal_Int16 WordType) override |
virtual sal_Bool SAL_CALL | isEndWord (const OUString &Text, sal_Int32 nPos, const css::lang::Locale &nLocale, sal_Int16 WordType) override |
virtual sal_Int16 SAL_CALL | getWordType (const OUString &Text, sal_Int32 nPos, const css::lang::Locale &nLocale) override |
virtual sal_Int32 SAL_CALL | beginOfSentence (const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale) override |
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 |
virtual sal_Int16 SAL_CALL | getScriptType (const OUString &Text, sal_Int32 nPos) override |
virtual sal_Int32 SAL_CALL | beginOfScript (const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override |
virtual sal_Int32 SAL_CALL | endOfScript (const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override |
virtual sal_Int32 SAL_CALL | previousScript (const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override |
virtual sal_Int32 SAL_CALL | nextScript (const OUString &Text, sal_Int32 nStartPos, sal_Int16 ScriptType) override |
virtual sal_Int32 SAL_CALL | beginOfCharBlock (const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 CharType) override |
virtual sal_Int32 SAL_CALL | endOfCharBlock (const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 CharType) override |
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 | nextCharBlock (const OUString &Text, sal_Int32 nStartPos, const css::lang::Locale &nLocale, sal_Int16 CharType) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Static Public Member Functions | |
static sal_Int16 | getScriptClass (sal_uInt32 currentChar) |
Protected Attributes | |
css::i18n::Boundary | result |
Private Member Functions | |
bool | createLocaleSpecificBreakIterator (const OUString &aLocaleName) |
const css::uno::Reference< XBreakIterator > & | getLocaleSpecificBreakIterator (const css::lang::Locale &rLocale) |
Private Attributes | |
std::vector< lookupTableItem > | lookupTable |
css::lang::Locale | aLocale |
css::uno::Reference< XBreakIterator > | xBI |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
Definition at line 34 of file breakiteratorImpl.hxx.
i18npool::BreakIteratorImpl::BreakIteratorImpl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
i18npool::BreakIteratorImpl::BreakIteratorImpl | ( | ) |
Definition at line 44 of file breakiteratorImpl.cxx.
|
overridevirtual |
Definition at line 48 of file breakiteratorImpl.cxx.
|
overridevirtual |
Definition at line 399 of file breakiteratorImpl.cxx.
|
overridevirtual |
Definition at line 319 of file breakiteratorImpl.cxx.
References ch, iterateCodePoints(), and Text.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_Unicode.
Definition at line 260 of file breakiteratorImpl.cxx.
|
private |
css::uno::RuntimeException |
Definition at line 573 of file breakiteratorImpl.cxx.
References Locale, and m_xContext.
|
overridevirtual |
Definition at line 411 of file breakiteratorImpl.cxx.
References ch, iterateCodePoints(), and Text.
|
overridevirtual |
Definition at line 337 of file breakiteratorImpl.cxx.
References ch, iterateCodePoints(), and Text.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_Unicode.
Definition at line 269 of file breakiteratorImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_Unicode.
Definition at line 662 of file breakiteratorImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_CJK, i18npool::BreakIterator_th, and i18npool::BreakIterator_Unicode.
Definition at line 278 of file breakiteratorImpl.cxx.
|
private |
css::uno::RuntimeException |
Definition at line 614 of file breakiteratorImpl.cxx.
References m_xContext, u, and v.
|
static |
Definition at line 557 of file breakiteratorImpl.cxx.
Referenced by i18npool::xdictionary::exists().
|
overridevirtual |
Definition at line 285 of file breakiteratorImpl.cxx.
Referenced by i18npool::BreakIterator_CJK::getWordBoundary(), i18npool::BreakIterator_CJK::nextWord(), and i18npool::BreakIterator_CJK::previousWord().
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_Unicode.
Definition at line 674 of file breakiteratorImpl.cxx.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_CJK, and i18npool::BreakIterator_Unicode.
Definition at line 195 of file breakiteratorImpl.cxx.
References LBI, nPos, result, i18npool::skipSpace(), and Text.
|
overridevirtual |
Definition at line 463 of file breakiteratorImpl.cxx.
|
overridevirtual |
Definition at line 228 of file breakiteratorImpl.cxx.
References nPos, result, i18npool::skipSpace(), and Text.
|
overridevirtual |
Definition at line 244 of file breakiteratorImpl.cxx.
References nPos, result, i18npool::skipSpace(), and Text.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_Unicode, and i18npool::BreakIterator_th.
Definition at line 54 of file breakiteratorImpl.cxx.
|
overridevirtual |
Definition at line 425 of file breakiteratorImpl.cxx.
References ch, iterateCodePoints(), and Text.
|
overridevirtual |
Definition at line 377 of file breakiteratorImpl.cxx.
References ch, iterateCodePoints(), and Text.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_CJK, and i18npool::BreakIterator_Unicode.
Definition at line 139 of file breakiteratorImpl.cxx.
References LBI, result, i18npool::skipSpace(), and Text.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_Unicode, and i18npool::BreakIterator_th.
Definition at line 64 of file breakiteratorImpl.cxx.
|
overridevirtual |
Definition at line 442 of file breakiteratorImpl.cxx.
References ch, iterateCodePoints(), and Text.
|
overridevirtual |
Definition at line 356 of file breakiteratorImpl.cxx.
References ch, iterateCodePoints(), and Text.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_CJK, and i18npool::BreakIterator_Unicode.
Definition at line 169 of file breakiteratorImpl.cxx.
References i18npool::isCJK(), LBI, nPos, result, i18npool::skipSpace(), and Text.
|
overridevirtual |
Reimplemented in i18npool::BreakIterator_Unicode.
Definition at line 668 of file breakiteratorImpl.cxx.
References cppu::supportsService().
|
private |
Definition at line 112 of file breakiteratorImpl.hxx.
|
private |
Definition at line 111 of file breakiteratorImpl.hxx.
|
private |
Definition at line 114 of file breakiteratorImpl.hxx.
|
protected |
Definition at line 102 of file breakiteratorImpl.hxx.
Referenced by i18npool::BreakIterator_CJK::getWordBoundary(), i18npool::BreakIterator_CJK::nextWord(), i18npool::BreakIterator_Unicode::nextWord(), and i18npool::BreakIterator_CJK::previousWord().
|
private |
Definition at line 113 of file breakiteratorImpl.hxx.