24#include <com/sun/star/i18n/Boundary.hpp>
29#define DEFAULT_SIZE 256
67#ifdef DICT_JA_ZH_IN_DATAFILE
68 oslFileHandle m_aFileHandle;
69 sal_uInt64 m_nFileSize;
76 css::i18n::Boundary
nextWord(
const OUString& rText, sal_Int32 nPos, sal_Int16 wordType);
77 css::i18n::Boundary
previousWord(
const OUString& rText, sal_Int32 nPos, sal_Int16 wordType);
78 css::i18n::Boundary
const &
getWordBoundary(
const OUString& rText, sal_Int32 nPos, sal_Int16 wordType,
bool bDirection );
88 bool exists(
const sal_uInt32 u)
const;
css::i18n::Boundary nextWord(const OUString &rText, sal_Int32 nPos, sal_Int16 wordType)
css::i18n::Boundary boundary
sal_Int32 getLongestMatch(const sal_Unicode *text, sal_Int32 len) const
void initDictionaryData(const char *lang)
css::i18n::Boundary previousWord(const OUString &rText, sal_Int32 nPos, sal_Int16 wordType)
WordBreakCache cache[CACHE_MAX]
css::i18n::Boundary const & getWordBoundary(const OUString &rText, sal_Int32 nPos, sal_Int16 wordType, bool bDirection)
bool seekSegment(const OUString &rText, sal_Int32 pos, css::i18n::Boundary &boundary)
WordBreakCache & getCache(const sal_Unicode *text, css::i18n::Boundary const &boundary)
css::i18n::Boundary segmentCachedBoundary
void setJapaneseWordBreak()
OUString segmentCachedString
bool exists(const sal_uInt32 u) const
xdictionary(const char *lang)
Constant values shared between i18npool and, for example, the number formatter.
bool equals(const sal_Unicode *str, css::i18n::Boundary const &boundary) const
const sal_Unicode * dataArea
const sal_Int32 * lenArray
const sal_uInt8 * existMark