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

#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 (std::u16string_view 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 char *pDebugName)
 
- Public Member Functions inherited from Timer
 Timer (const char *pDebugName)
 
 Timer (const Timer &rTimer)
 
virtual ~Timer () override
 
Timeroperator= (const Timer &rTimer)
 
virtual void Invoke () override
 
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 (bool bStartTimer=true) override
 
- Public Member Functions inherited from Task
 Task (const char *pDebugName)
 
 Task (const Task &rTask)
 
virtual ~Task () COVERITY_NOEXCEPT_FALSE
 
Taskoperator= (const Task &rTask)
 
void SetPriority (TaskPriority ePriority)
 
TaskPriority GetPriority () const
 
const char * GetDebugName () const
 
virtual void Invoke ()=0
 
virtual void Start (bool bStartTimer=true)
 
void Stop ()
 
bool IsActive () const
 
void SetStatic ()
 
bool IsStatic () const
 

Private Member Functions

AutoTextGroupFindGroup (std::u16string_view rGroupName)
 

Static Private Member Functions

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

Private Attributes

std::vector< std::unique_ptr< AutoTextGroup > > m_aGroupArr
 
OUString m_sPath
 
bool m_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 char *pDebugName)
 
- Protected Member Functions inherited from Task
const ImplSchedulerDataGetSchedulerData () const
 
virtual void SetDeletionFlags ()
 
virtual sal_uInt64 UpdateMinPeriod (sal_uInt64 nTimeNow) const=0
 
- Static Protected Member Functions inherited from Task
static void StartTimer (sal_uInt64 nMS)
 

Detailed Description

Definition at line 47 of file gloslst.hxx.

Constructor & Destructor Documentation

◆ SwGlossaryList()

SwGlossaryList::SwGlossaryList ( )

◆ ~SwGlossaryList()

SwGlossaryList::~SwGlossaryList ( )
overridevirtual

Definition at line 96 of file gloslst.cxx.

References ClearGroups().

Member Function Documentation

◆ ClearGroups()

void SwGlossaryList::ClearGroups ( )

◆ FillGroup()

void SwGlossaryList::FillGroup ( AutoTextGroup pGroup,
SwGlossaries pGloss 
)
staticprivate

◆ FindGroup()

AutoTextGroup * SwGlossaryList::FindGroup ( std::u16string_view  rGroupName)
private

Definition at line 343 of file gloslst.cxx.

References m_aGroupArr.

Referenced by Update().

◆ GetBlockCount()

sal_uInt16 SwGlossaryList::GetBlockCount ( size_t  nGroup)

Definition at line 201 of file gloslst.cxx.

References m_aGroupArr, and AutoTextGroup::nCount.

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

◆ GetBlockLongName()

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

◆ GetBlockShortName()

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

◆ GetGroupCount()

size_t SwGlossaryList::GetGroupCount ( )

Definition at line 171 of file gloslst.cxx.

References m_aGroupArr, m_bFilled, and Update().

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

◆ GetGroupName()

OUString SwGlossaryList::GetGroupName ( size_t  nPos)

Definition at line 178 of file gloslst.cxx.

References m_aGroupArr, nPos, and AutoTextGroup::sName.

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

◆ GetGroupTitle()

OUString SwGlossaryList::GetGroupTitle ( size_t  nPos)

Definition at line 190 of file gloslst.cxx.

References m_aGroupArr, nPos, and AutoTextGroup::sTitle.

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

◆ GetShortName()

bool SwGlossaryList::GetShortName ( std::u16string_view  rLongName,
OUString &  rShortName,
OUString &  rGroupName 
)

◆ HasLongName()

void SwGlossaryList::HasLongName ( const std::vector< OUString > &  rBeginCandidates,
std::vector< std::pair< OUString, sal_uInt16 > > &  rLongNames 
)

◆ Invoke()

void SwGlossaryList::Invoke ( )
overridevirtual

Reimplemented from Timer.

Definition at line 336 of file gloslst.cxx.

References GetActiveView(), and Update().

◆ Update()

void SwGlossaryList::Update ( )

Member Data Documentation

◆ m_aGroupArr

std::vector<std::unique_ptr<AutoTextGroup> > SwGlossaryList::m_aGroupArr
private

◆ m_bFilled

bool SwGlossaryList::m_bFilled
private

Definition at line 51 of file gloslst.hxx.

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

◆ m_sPath

OUString SwGlossaryList::m_sPath
private

Definition at line 50 of file gloslst.hxx.

Referenced by SwGlossaryList(), and Update().


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