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:
Collaboration diagram for SwAutoCompleteString:

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

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

Definition at line 87 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

Definition at line 78 of file acmplwrd.cxx.

Referenced by AddDocument(), and RemoveDocument().

sal_uLong SwAutoCompleteString::s_nSwAutoCompleteStringCount = 0

Definition at line 76 of file acmplwrd.cxx.

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

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