LibreOffice Module editeng (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvxAutoCorrectLanguageLists Class Reference

#include <svxacorr.hxx>

Collaboration diagram for SvxAutoCorrectLanguageLists:
[legend]

Public Member Functions

 SvxAutoCorrectLanguageLists (SvxAutoCorrect &rParent, OUString aShareAutoCorrectFile, OUString aUserAutoCorrectFile)
 
 ~SvxAutoCorrectLanguageLists ()
 
SvxAutocorrWordListLoadAutocorrWordList ()
 
const SvxAutocorrWordListGetAutocorrWordList ()
 
SvStringsISortDtorLoadCplSttExceptList ()
 
void SaveCplSttExceptList ()
 
SvStringsISortDtorGetCplSttExceptList ()
 
bool AddToCplSttExceptList (const OUString &rNew)
 
SvStringsISortDtorLoadWordStartExceptList ()
 
void SaveWordStartExceptList ()
 
SvStringsISortDtorGetWordStartExceptList ()
 
bool AddToWordStartExceptList (const OUString &rNew)
 
bool PutText (const OUString &rShort, const OUString &rLong)
 
void PutText (const OUString &rShort, SfxObjectShell &)
 
bool MakeCombinedChanges (std::vector< SvxAutocorrWord > &aNewEntries, std::vector< SvxAutocorrWord > &aDeleteEntries)
 

Private Member Functions

bool IsFileChanged_Imp ()
 
void LoadXMLExceptList_Imp (std::unique_ptr< SvStringsISortDtor > &rpLst, const OUString &sStrmName, tools::SvRef< SotStorage > &rStg)
 
bool MakeBlocklist_Imp (SotStorage &rStg)
 
void RemoveStream_Imp (const OUString &rName)
 
void MakeUserStorage_Impl ()
 

Static Private Member Functions

static void SaveExceptList_Imp (const SvStringsISortDtor &rLst, const OUString &sStrmName, tools::SvRef< SotStorage > const &rStg, bool bConvert=false)
 

Private Attributes

OUString sShareAutoCorrFile
 
OUString sUserAutoCorrFile
 
Date aModifiedDate
 
tools::Time aModifiedTime
 
tools::Time aLastCheckTime
 
std::unique_ptr< SvStringsISortDtorpCplStt_ExcptLst
 
std::unique_ptr< SvStringsISortDtorpWordStart_ExcptLst
 
std::unique_ptr< SvxAutocorrWordListpAutocorr_List
 
SvxAutoCorrectrAutoCorrect
 
ACFlags nFlags
 

Detailed Description

Definition at line 186 of file svxacorr.hxx.

Constructor & Destructor Documentation

◆ SvxAutoCorrectLanguageLists()

SvxAutoCorrectLanguageLists::SvxAutoCorrectLanguageLists ( SvxAutoCorrect rParent,
OUString  aShareAutoCorrectFile,
OUString  aUserAutoCorrectFile 
)

Definition at line 2186 of file svxacorr.cxx.

References EMPTY, NONE, and Time.

◆ ~SvxAutoCorrectLanguageLists()

SvxAutoCorrectLanguageLists::~SvxAutoCorrectLanguageLists ( )

Definition at line 2200 of file svxacorr.cxx.

Member Function Documentation

◆ AddToCplSttExceptList()

bool SvxAutoCorrectLanguageLists::AddToCplSttExceptList ( const OUString &  rNew)

◆ AddToWordStartExceptList()

bool SvxAutoCorrectLanguageLists::AddToWordStartExceptList ( const OUString &  rNew)

◆ GetAutocorrWordList()

const SvxAutocorrWordList * SvxAutoCorrectLanguageLists::GetAutocorrWordList ( )

◆ GetCplSttExceptList()

SvStringsISortDtor * SvxAutoCorrectLanguageLists::GetCplSttExceptList ( )

◆ GetWordStartExceptList()

SvStringsISortDtor * SvxAutoCorrectLanguageLists::GetWordStartExceptList ( )

◆ IsFileChanged_Imp()

bool SvxAutoCorrectLanguageLists::IsFileChanged_Imp ( )
private

◆ LoadAutocorrWordList()

SvxAutocorrWordList * SvxAutoCorrectLanguageLists::LoadAutocorrWordList ( )

◆ LoadCplSttExceptList()

SvStringsISortDtor * SvxAutoCorrectLanguageLists::LoadCplSttExceptList ( )

◆ LoadWordStartExceptList()

SvStringsISortDtor * SvxAutoCorrectLanguageLists::LoadWordStartExceptList ( )

◆ LoadXMLExceptList_Imp()

void SvxAutoCorrectLanguageLists::LoadXMLExceptList_Imp ( std::unique_ptr< SvStringsISortDtor > &  rpLst,
const OUString &  sStrmName,
tools::SvRef< SotStorage > &  rStg 
)
private

◆ MakeBlocklist_Imp()

bool SvxAutoCorrectLanguageLists::MakeBlocklist_Imp ( SotStorage rStg)
private

◆ MakeCombinedChanges()

bool SvxAutoCorrectLanguageLists::MakeCombinedChanges ( std::vector< SvxAutocorrWord > &  aNewEntries,
std::vector< SvxAutocorrWord > &  aDeleteEntries 
)

◆ MakeUserStorage_Impl()

void SvxAutoCorrectLanguageLists::MakeUserStorage_Impl ( )
private

◆ PutText() [1/2]

bool SvxAutoCorrectLanguageLists::PutText ( const OUString &  rShort,
const OUString &  rLong 
)

◆ PutText() [2/2]

void SvxAutoCorrectLanguageLists::PutText ( const OUString &  rShort,
SfxObjectShell rShell 
)

◆ RemoveStream_Imp()

void SvxAutoCorrectLanguageLists::RemoveStream_Imp ( const OUString &  rName)
private

◆ SaveCplSttExceptList()

void SvxAutoCorrectLanguageLists::SaveCplSttExceptList ( )

◆ SaveExceptList_Imp()

void SvxAutoCorrectLanguageLists::SaveExceptList_Imp ( const SvStringsISortDtor rLst,
const OUString &  sStrmName,
tools::SvRef< SotStorage > const &  rStg,
bool  bConvert = false 
)
staticprivate

◆ SaveWordStartExceptList()

void SvxAutoCorrectLanguageLists::SaveWordStartExceptList ( )

Member Data Documentation

◆ aLastCheckTime

tools::Time SvxAutoCorrectLanguageLists::aLastCheckTime
private

◆ aModifiedDate

Date SvxAutoCorrectLanguageLists::aModifiedDate
private

◆ aModifiedTime

tools::Time SvxAutoCorrectLanguageLists::aModifiedTime
private

◆ nFlags

ACFlags SvxAutoCorrectLanguageLists::nFlags
private

◆ pAutocorr_List

std::unique_ptr<SvxAutocorrWordList> SvxAutoCorrectLanguageLists::pAutocorr_List
private

◆ pCplStt_ExcptLst

std::unique_ptr<SvStringsISortDtor> SvxAutoCorrectLanguageLists::pCplStt_ExcptLst
private

◆ pWordStart_ExcptLst

std::unique_ptr<SvStringsISortDtor> SvxAutoCorrectLanguageLists::pWordStart_ExcptLst
private

◆ rAutoCorrect

SvxAutoCorrect& SvxAutoCorrectLanguageLists::rAutoCorrect
private

Definition at line 196 of file svxacorr.hxx.

Referenced by LoadAutocorrWordList(), and PutText().

◆ sShareAutoCorrFile

OUString SvxAutoCorrectLanguageLists::sShareAutoCorrFile
private

◆ sUserAutoCorrFile

OUString SvxAutoCorrectLanguageLists::sUserAutoCorrFile
private

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