LibreOffice Module editeng (master) 1
|
#include <svxacorr.hxx>
Classes | |
struct | CompareSvxAutocorrWordList |
struct | Impl |
Public Types | |
typedef std::vector< SvxAutocorrWord > | AutocorrWordSetType |
Public Member Functions | |
SvxAutocorrWordList () | |
~SvxAutocorrWordList () | |
void | DeleteAndDestroyAll () |
const SvxAutocorrWord * | Insert (SvxAutocorrWord aWord) const |
std::optional< SvxAutocorrWord > | FindAndRemove (const SvxAutocorrWord *pWord) |
void | LoadEntry (const OUString &sWrong, const OUString &sRight, bool bOnlyTxt) |
bool | empty () const |
const AutocorrWordSetType & | getSortedContent () const |
const SvxAutocorrWord * | SearchWordsInList (std::u16string_view rTxt, sal_Int32 &rStt, sal_Int32 nEndPos) const |
Private Member Functions | |
SvxAutocorrWordList (const SvxAutocorrWordList &)=delete | |
const SvxAutocorrWordList & | operator= (const SvxAutocorrWordList &)=delete |
const SvxAutocorrWord * | WordMatches (const SvxAutocorrWord *pFnd, std::u16string_view rTxt, sal_Int32 &rStt, sal_Int32 nEndPos) const |
Private Attributes | |
std::unique_ptr< Impl > | mpImpl |
Definition at line 157 of file svxacorr.hxx.
typedef std::vector<SvxAutocorrWord> SvxAutocorrWordList::AutocorrWordSetType |
Definition at line 180 of file svxacorr.hxx.
|
privatedelete |
SvxAutocorrWordList::SvxAutocorrWordList | ( | ) |
Definition at line 2889 of file svxacorr.cxx.
SvxAutocorrWordList::~SvxAutocorrWordList | ( | ) |
Definition at line 2891 of file svxacorr.cxx.
void SvxAutocorrWordList::DeleteAndDestroyAll | ( | ) |
Definition at line 2895 of file svxacorr.cxx.
References mpImpl.
bool SvxAutocorrWordList::empty | ( | ) | const |
Definition at line 2929 of file svxacorr.cxx.
References mpImpl.
std::optional< SvxAutocorrWord > SvxAutocorrWordList::FindAndRemove | ( | const SvxAutocorrWord * | pWord | ) |
Definition at line 2934 of file svxacorr.cxx.
References SvxAutocorrWord::GetShort(), and mpImpl.
const SvxAutocorrWordList::AutocorrWordSetType & SvxAutocorrWordList::getSortedContent | ( | ) | const |
Definition at line 2961 of file svxacorr.cxx.
References mpImpl.
Referenced by SvXMLAutoCorrectExport::exportDoc().
const SvxAutocorrWord * SvxAutocorrWordList::Insert | ( | SvxAutocorrWord | aWord | ) | const |
Definition at line 2901 of file svxacorr.cxx.
References CollatorWrapper::compareString(), GetCollatorWrapper(), SvxAutocorrWord::GetShort(), inserted(), and mpImpl.
Referenced by LoadEntry(), and WordMatches().
void SvxAutocorrWordList::LoadEntry | ( | const OUString & | sWrong, |
const OUString & | sRight, | ||
bool | bOnlyTxt | ||
) |
Definition at line 2924 of file svxacorr.cxx.
References Insert().
Referenced by SvXMLWordContext::SvXMLWordContext().
|
privatedelete |
References Insert().
const SvxAutocorrWord * SvxAutocorrWordList::SearchWordsInList | ( | std::u16string_view | rTxt, |
sal_Int32 & | rStt, | ||
sal_Int32 | nEndPos | ||
) | const |
Definition at line 3108 of file svxacorr.cxx.
References mpImpl, and WordMatches().
Referenced by lcl_SearchWordsInList().
|
private |
Definition at line 2987 of file svxacorr.cxx.
References GetIgnoreTranslWrapper(), SvxAutocorrWord::GetLong(), SvxAutocorrWord::GetShort(), Insert(), IsWordDelim(), and u.
Referenced by SearchWordsInList().
|
private |
Definition at line 160 of file svxacorr.hxx.
Referenced by DeleteAndDestroyAll(), empty(), FindAndRemove(), getSortedContent(), Insert(), and SearchWordsInList().