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

#include <gloslst.hxx>

Inheritance diagram for SwGlossaryList:
[legend]
Collaboration diagram for SwGlossaryList:
[legend]

Public Member Functions

 SwGlossaryList ()
 
virtual ~SwGlossaryList () override
 
void HasLongName (const std::vector< OUString > &rBeginCandidates, std::vector< std::pair< OUString, sal_uInt16 >> &rLongNames)
 
bool GetShortName (const OUString &rLongName, OUString &rShortName, OUString &rGroupName)
 
size_t GetGroupCount ()
 
OUString GetGroupName (size_t nPos)
 
OUString GetGroupTitle (size_t nPos)
 
sal_uInt16 GetBlockCount (size_t nGroup)
 
OUString GetBlockLongName (size_t nGroup, sal_uInt16 nBlock)
 
OUString GetBlockShortName (size_t nGroup, sal_uInt16 nBlock)
 
void Update ()
 
virtual void Invoke () override
 
void ClearGroups ()
 
- Public Member Functions inherited from AutoTimer
 AutoTimer (const sal_Char *pDebugName=nullptr)
 
- Public Member Functions inherited from Timer
 Timer (const sal_Char *pDebugName=nullptr)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
void Invoke (Timer *arg)
 
void SetInvokeHandler (const Link< Timer *, void > &rLink)
 
void ClearInvokeHandler ()
 
void SetTimeout (sal_uInt64 nTimeoutMs)
 
sal_uInt64 GetTimeout () const
 
virtual void Start () override
 
- Public Member Functions inherited from Task
 Task (const sal_Char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
void SetDebugName (const sal_Char *pDebugName)
 
const char * GetDebugName () const
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 

Private Member Functions

AutoTextGroupFindGroup (const OUString &rGroupName)
 

Static Private Member Functions

static void FillGroup (AutoTextGroup *pGroup, SwGlossaries *pGloss)
 

Private Attributes

std::vector< std::unique_ptr< AutoTextGroup > > aGroupArr
 
OUString sPath
 
bool bFilled
 

Additional Inherited Members

- Protected Member Functions inherited from Timer
virtual void SetDeletionFlags () override
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const override
 
 Timer (bool bAuto, const sal_Char *pDebugName)
 
- Protected Member Functions inherited from Task
const ImplSchedulerDataGetSchedulerData () const
 
- Static Protected Member Functions inherited from Task
static void StartTimer (sal_uInt64 nMS)
 

Detailed Description

Definition at line 48 of file gloslst.hxx.

Constructor & Destructor Documentation

SwGlossaryList::SwGlossaryList ( )
SwGlossaryList::~SwGlossaryList ( )
overridevirtual

Definition at line 91 of file gloslst.cxx.

References ClearGroups().

Member Function Documentation

void SwGlossaryList::ClearGroups ( )
void SwGlossaryList::FillGroup ( AutoTextGroup pGroup,
SwGlossaries pGloss 
)
staticprivate
AutoTextGroup * SwGlossaryList::FindGroup ( const OUString &  rGroupName)
private

Definition at line 336 of file gloslst.cxx.

References aGroupArr.

Referenced by Update().

sal_uInt16 SwGlossaryList::GetBlockCount ( size_t  nGroup)

Definition at line 194 of file gloslst.cxx.

References aGroupArr, and AutoTextGroup::nCount.

Referenced by SwTbxAutoTextCtrl::CreatePopupWindow(), and SwGlossaryHdl::Expand().

OUString SwGlossaryList::GetBlockLongName ( size_t  nGroup,
sal_uInt16  nBlock 
)
OUString SwGlossaryList::GetBlockShortName ( size_t  nGroup,
sal_uInt16  nBlock 
)
size_t SwGlossaryList::GetGroupCount ( )

Definition at line 164 of file gloslst.cxx.

References aGroupArr, bFilled, and Update().

Referenced by SwTbxAutoTextCtrl::CreatePopupWindow(), and SwGlossaryHdl::Expand().

OUString SwGlossaryList::GetGroupName ( size_t  nPos)

Definition at line 171 of file gloslst.cxx.

References aGroupArr, and AutoTextGroup::sName.

Referenced by SwGlossaryHdl::Expand(), and IMPL_STATIC_LINK().

OUString SwGlossaryList::GetGroupTitle ( size_t  nPos)

Definition at line 183 of file gloslst.cxx.

References aGroupArr, and AutoTextGroup::sTitle.

Referenced by SwTbxAutoTextCtrl::CreatePopupWindow(), and SwGlossaryHdl::Expand().

bool SwGlossaryList::GetShortName ( const OUString &  rLongName,
OUString &  rShortName,
OUString &  rGroupName 
)
void SwGlossaryList::HasLongName ( const std::vector< OUString > &  rBeginCandidates,
std::vector< std::pair< OUString, sal_uInt16 >> &  rLongNames 
)
void SwGlossaryList::Invoke ( )
overridevirtual

Reimplemented from Timer.

Definition at line 329 of file gloslst.cxx.

References GetActiveView(), and Update().

void SwGlossaryList::Update ( )

Member Data Documentation

std::vector<std::unique_ptr<AutoTextGroup> > SwGlossaryList::aGroupArr
private
bool SwGlossaryList::bFilled
private

Definition at line 52 of file gloslst.hxx.

Referenced by ClearGroups(), GetGroupCount(), GetShortName(), HasLongName(), and Update().

OUString SwGlossaryList::sPath
private

Definition at line 51 of file gloslst.hxx.

Referenced by SwGlossaryList(), and Update().


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