20#ifndef INCLUDED_SW_INC_ACMPLWRD_HXX
21#define INCLUDED_SW_INC_ACMPLWRD_HXX
28#include <rtl/ustring.hxx>
45 std::unique_ptr<SwAutoCompleteWord_Impl>
m_pImpl;
53 editeng::SortedAutoCompleteStrings::size_type nWords,
54 sal_uInt16 nMWrdLen );
62 void SetMaxCount( editeng::SortedAutoCompleteStrings::size_type n );
73 bool GetWordsMatching(std::u16string_view aMatch, std::vector<OUString>& aWords)
const;
std::deque< SwAutoCompleteString * > SwAutoCompleteStringPtrDeque
editeng::SortedAutoCompleteStrings::size_type m_nMaxCount
void SetMinWordLen(sal_uInt16 n)
SwAutoCompleteWord(editeng::SortedAutoCompleteStrings::size_type nWords, sal_uInt16 nMWrdLen)
void SetMaxCount(editeng::SortedAutoCompleteStrings::size_type n)
void CheckChangedList(const editeng::SortedAutoCompleteStrings &rNewLst)
editeng::SortedAutoCompleteStrings m_WordList
contains extended strings carrying source information
bool InsertWord(const OUString &rWord, SwDoc &rDoc)
editeng::Trie m_LookupTree
bool GetWordsMatching(std::u16string_view aMatch, std::vector< OUString > &aWords) const
Return all words matching a given prefix.
std::unique_ptr< SwAutoCompleteWord_Impl > m_pImpl
void DocumentDying(const SwDoc &rDoc)
SwAutoCompleteStringPtrDeque m_aLRUList
bool IsLockWordLstLocked() const
const editeng::SortedAutoCompleteStrings & GetWordList() const
void SetLockWordLstLocked(bool bFlag)
sal_uInt16 GetMinWordLen() const