LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
SwAutoCompleteString Class Reference
Inheritance diagram for SwAutoCompleteString:
[legend]
Collaboration diagram for SwAutoCompleteString:
[legend]

Public Member Functions

 SwAutoCompleteString (const OUString &rStr, sal_Int32 nLen)
 
virtual ~SwAutoCompleteString () override
 
void AddDocument (const SwDoc &rDoc)
 
bool RemoveDocument (const SwDoc &rDoc)
 
- Public Member Functions inherited from editeng::IAutoCompleteString
 IAutoCompleteString (OUString aString)
 
virtual ~IAutoCompleteString ()
 
OUString const & GetAutoCompleteString () const
 

Static Public Member Functions

static sal_uLong GetElementCount ()
 

Private Attributes

std::vector< const SwDoc * > m_aSourceDocs
 

Static Private Attributes

static sal_uLong s_nSwAutoCompleteStringCount = 0
 

Detailed Description

Definition at line 74 of file acmplwrd.cxx.

Constructor & Destructor Documentation

◆ SwAutoCompleteString()

SwAutoCompleteString::SwAutoCompleteString ( const OUString &  rStr,
sal_Int32  nLen 
)

Definition at line 182 of file acmplwrd.cxx.

References copy(), and s_nSwAutoCompleteStringCount.

◆ ~SwAutoCompleteString()

SwAutoCompleteString::~SwAutoCompleteString ( )
overridevirtual

Definition at line 191 of file acmplwrd.cxx.

References s_nSwAutoCompleteStringCount.

Member Function Documentation

◆ AddDocument()

void SwAutoCompleteString::AddDocument ( const SwDoc rDoc)

Definition at line 200 of file acmplwrd.cxx.

References m_aSourceDocs.

Referenced by SwAutoCompleteWord::InsertWord().

◆ GetElementCount()

static sal_uLong SwAutoCompleteString::GetElementCount ( )
inlinestatic

Definition at line 89 of file acmplwrd.cxx.

References s_nSwAutoCompleteStringCount.

Referenced by SwAutoCompleteWord::~SwAutoCompleteWord().

◆ RemoveDocument()

bool SwAutoCompleteString::RemoveDocument ( const SwDoc rDoc)

Definition at line 208 of file acmplwrd.cxx.

References m_aSourceDocs.

Referenced by SwAutoCompleteWord::DocumentDying().

Member Data Documentation

◆ m_aSourceDocs

std::vector<const SwDoc*> SwAutoCompleteString::m_aSourceDocs
private

Definition at line 80 of file acmplwrd.cxx.

Referenced by AddDocument(), and RemoveDocument().

◆ s_nSwAutoCompleteStringCount

sal_uLong SwAutoCompleteString::s_nSwAutoCompleteStringCount = 0
staticprivate

Definition at line 78 of file acmplwrd.cxx.

Referenced by GetElementCount(), SwAutoCompleteString(), and ~SwAutoCompleteString().


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