LibreOffice Module i18npool (master) 1
Functions | Variables
textsearch.cxx File Reference
#include "textsearch.hxx"
#include "levdis.hxx"
#include <com/sun/star/i18n/BreakIterator.hpp>
#include <com/sun/star/util/SearchAlgorithms2.hpp>
#include <com/sun/star/util/SearchFlags.hpp>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
#include <com/sun/star/i18n/CharacterClassification.hpp>
#include <com/sun/star/i18n/KCharacterType.hpp>
#include <com/sun/star/i18n/Transliteration.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include <i18nutil/transliteration.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <unicode/regex.h>
Include dependency graph for textsearch.cxx:

Go to the source code of this file.

Functions

static sal_Int32 FindPosInSeq_Impl (const Sequence< sal_Int32 > &rOff, sal_Int32 nPos)
 
static bool lcl_findRegex (std::unique_ptr< icu::RegexMatcher > const &pRegexMatcher, sal_Int32 nStartPos, sal_Int32 nEndPos, UErrorCode &rIcuErr)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * i18npool_TextSearch_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Variables

const TransliterationFlags COMPLEX_TRANS_MASK
 

Function Documentation

◆ FindPosInSeq_Impl()

static sal_Int32 FindPosInSeq_Impl ( const Sequence< sal_Int32 > &  rOff,
sal_Int32  nPos 
)
static

Definition at line 294 of file textsearch.cxx.

References nPos.

Referenced by TextSearch::searchBackward(), and TextSearch::searchForward().

◆ i18npool_TextSearch_get_implementation()

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

Definition at line 1561 of file textsearch.cxx.

◆ lcl_findRegex()

static bool lcl_findRegex ( std::unique_ptr< icu::RegexMatcher > const &  pRegexMatcher,
sal_Int32  nStartPos,
sal_Int32  nEndPos,
UErrorCode &  rIcuErr 
)
static

Definition at line 901 of file textsearch.cxx.

References SAL_INFO.

Referenced by TextSearch::RESrchBkwrd(), and TextSearch::RESrchFrwrd().

Variable Documentation

◆ COMPLEX_TRANS_MASK

const TransliterationFlags COMPLEX_TRANS_MASK
Initial value:
=
TransliterationFlags::ignoreBaFa_ja_JP |
TransliterationFlags::ignoreIterationMark_ja_JP |
TransliterationFlags::ignoreTiJi_ja_JP |
TransliterationFlags::ignoreHyuByu_ja_JP |
TransliterationFlags::ignoreSeZe_ja_JP |
TransliterationFlags::ignoreIandEfollowedByYa_ja_JP |
TransliterationFlags::ignoreKiKuFollowedBySa_ja_JP |
TransliterationFlags::ignoreProlongedSoundMark_ja_JP

Definition at line 45 of file textsearch.cxx.