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 const &rString)
 
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 73 of file acmplwrd.cxx.

Constructor & Destructor Documentation

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

Definition at line 163 of file acmplwrd.cxx.

References copy(), and s_nSwAutoCompleteStringCount.

SwAutoCompleteString::~SwAutoCompleteString ( )
overridevirtual

Definition at line 172 of file acmplwrd.cxx.

References s_nSwAutoCompleteStringCount, and void().

Member Function Documentation

void SwAutoCompleteString::AddDocument ( const SwDoc rDoc)

Definition at line 181 of file acmplwrd.cxx.

References m_aSourceDocs.

Referenced by SwAutoCompleteWord::InsertWord().

static sal_uLong SwAutoCompleteString::GetElementCount ( )
inlinestatic

Definition at line 88 of file acmplwrd.cxx.

References s_nSwAutoCompleteStringCount.

Referenced by SwAutoCompleteWord::~SwAutoCompleteWord().

bool SwAutoCompleteString::RemoveDocument ( const SwDoc rDoc)

Definition at line 189 of file acmplwrd.cxx.

References m_aSourceDocs.

Referenced by SwAutoCompleteWord::DocumentDying().

Member Data Documentation

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

Definition at line 79 of file acmplwrd.cxx.

Referenced by AddDocument(), and RemoveDocument().

sal_uLong SwAutoCompleteString::s_nSwAutoCompleteStringCount = 0
staticprivate

Definition at line 77 of file acmplwrd.cxx.

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


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