LibreOffice Module editeng (master) 1
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxAutocorrWordList Class Reference

#include <svxacorr.hxx>

Classes

struct  CompareSvxAutocorrWordList
 
struct  Impl
 

Public Types

typedef std::vector< SvxAutocorrWordAutocorrWordSetType
 

Public Member Functions

 SvxAutocorrWordList ()
 
 ~SvxAutocorrWordList ()
 
void DeleteAndDestroyAll ()
 
const SvxAutocorrWordInsert (SvxAutocorrWord aWord) const
 
std::optional< SvxAutocorrWordFindAndRemove (const SvxAutocorrWord *pWord)
 
void LoadEntry (const OUString &sWrong, const OUString &sRight, bool bOnlyTxt)
 
bool empty () const
 
const AutocorrWordSetTypegetSortedContent () const
 
const SvxAutocorrWordSearchWordsInList (std::u16string_view rTxt, sal_Int32 &rStt, sal_Int32 nEndPos) const
 

Private Member Functions

 SvxAutocorrWordList (const SvxAutocorrWordList &)=delete
 
const SvxAutocorrWordListoperator= (const SvxAutocorrWordList &)=delete
 
const SvxAutocorrWordWordMatches (const SvxAutocorrWord *pFnd, std::u16string_view rTxt, sal_Int32 &rStt, sal_Int32 nEndPos) const
 

Private Attributes

std::unique_ptr< ImplmpImpl
 

Detailed Description

Definition at line 157 of file svxacorr.hxx.

Member Typedef Documentation

◆ AutocorrWordSetType

Definition at line 180 of file svxacorr.hxx.

Constructor & Destructor Documentation

◆ SvxAutocorrWordList() [1/2]

SvxAutocorrWordList::SvxAutocorrWordList ( const SvxAutocorrWordList )
privatedelete

◆ SvxAutocorrWordList() [2/2]

SvxAutocorrWordList::SvxAutocorrWordList ( )

Definition at line 2889 of file svxacorr.cxx.

◆ ~SvxAutocorrWordList()

SvxAutocorrWordList::~SvxAutocorrWordList ( )

Definition at line 2891 of file svxacorr.cxx.

Member Function Documentation

◆ DeleteAndDestroyAll()

void SvxAutocorrWordList::DeleteAndDestroyAll ( )

Definition at line 2895 of file svxacorr.cxx.

References mpImpl.

◆ empty()

bool SvxAutocorrWordList::empty ( ) const

Definition at line 2929 of file svxacorr.cxx.

References mpImpl.

◆ FindAndRemove()

std::optional< SvxAutocorrWord > SvxAutocorrWordList::FindAndRemove ( const SvxAutocorrWord pWord)

Definition at line 2934 of file svxacorr.cxx.

References SvxAutocorrWord::GetShort(), and mpImpl.

◆ getSortedContent()

const SvxAutocorrWordList::AutocorrWordSetType & SvxAutocorrWordList::getSortedContent ( ) const

Definition at line 2961 of file svxacorr.cxx.

References mpImpl.

Referenced by SvXMLAutoCorrectExport::exportDoc().

◆ Insert()

const SvxAutocorrWord * SvxAutocorrWordList::Insert ( SvxAutocorrWord  aWord) const

◆ LoadEntry()

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().

◆ operator=()

const SvxAutocorrWordList & SvxAutocorrWordList::operator= ( const SvxAutocorrWordList )
privatedelete

References Insert().

◆ SearchWordsInList()

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().

◆ WordMatches()

const SvxAutocorrWord * SvxAutocorrWordList::WordMatches ( const SvxAutocorrWord pFnd,
std::u16string_view  rTxt,
sal_Int32 &  rStt,
sal_Int32  nEndPos 
) const
private

Member Data Documentation

◆ mpImpl

std::unique_ptr<Impl> SvxAutocorrWordList::mpImpl
private

The documentation for this class was generated from the following files: