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

SwDocPtrVector aSourceDocs
 

Static Private Attributes

static sal_uLong nSwAutoCompleteStringCount = 0
 

Detailed Description

Definition at line 80 of file acmplwrd.cxx.

Constructor & Destructor Documentation

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

Definition at line 170 of file acmplwrd.cxx.

References copy(), and nSwAutoCompleteStringCount.

SwAutoCompleteString::~SwAutoCompleteString ( )
overridevirtual

Definition at line 179 of file acmplwrd.cxx.

References nSwAutoCompleteStringCount, and void().

Member Function Documentation

void SwAutoCompleteString::AddDocument ( const SwDoc rDoc)

Definition at line 188 of file acmplwrd.cxx.

References aSourceDocs.

Referenced by SwAutoCompleteWord::InsertWord().

static sal_uLong SwAutoCompleteString::GetElementCount ( )
inlinestatic

Definition at line 95 of file acmplwrd.cxx.

References nSwAutoCompleteStringCount.

Referenced by SwAutoCompleteWord::~SwAutoCompleteWord().

bool SwAutoCompleteString::RemoveDocument ( const SwDoc rDoc)

Definition at line 196 of file acmplwrd.cxx.

References aSourceDocs.

Referenced by SwAutoCompleteWord::DocumentDying().

Member Data Documentation

SwDocPtrVector SwAutoCompleteString::aSourceDocs
private

Definition at line 86 of file acmplwrd.cxx.

Referenced by AddDocument(), and RemoveDocument().

sal_uLong SwAutoCompleteString::nSwAutoCompleteStringCount = 0
staticprivate

Definition at line 84 of file acmplwrd.cxx.

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


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