LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
IndexTabPage_Impl Class Reference

#include <newhelp.hxx>

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

Public Member Functions

 IndexTabPage_Impl (weld::Widget *pParent, SfxHelpIndexWindow_Impl *pIdxWin)
 
virtual ~IndexTabPage_Impl () override
 
virtual void Activate () override
 
void SetDoubleClickHdl (const Link< LinkParamNone *, void > &rLink)
 
void SetFactory (const OUString &rFactory)
 
const OUString & GetFactory () const
 
OUString GetSelectedEntry () const
 
void SetFocusOnBox ()
 
bool HasFocusOnEdit () const
 
void SetKeywordHdl (const Link< IndexTabPage_Impl &, void > &rLink)
 
void SetKeyword (const OUString &rKeyword)
 
bool HasKeyword () const
 
bool HasKeywordIgnoreCase ()
 
void OpenKeyword ()
 
void SelectExecutableEntry ()
 
- Public Member Functions inherited from HelpTabPage_Impl
 HelpTabPage_Impl (weld::Widget *pParent, SfxHelpIndexWindow_Impl *_pIdxWin, const OUString &rID, const OUString &rUIXMLDescription)
 
virtual ~HelpTabPage_Impl () override
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 

Private Member Functions

void InitializeIndex ()
 
void ClearIndex ()
 
 DECL_LINK (OpenHdl, weld::Button &, void)
 
 DECL_LINK (IdleHdl, Timer *, void)
 
 DECL_LINK (AutoCompleteHdl, Timer *, void)
 
 DECL_LINK (TimeoutHdl, Timer *, void)
 
 DECL_LINK (TreeChangeHdl, weld::TreeView &, void)
 
 DECL_LINK (EntryChangeHdl, weld::Entry &, void)
 
 DECL_LINK (ActivateHdl, weld::Entry &, bool)
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (CustomGetSizeHdl, weld::TreeView::get_size_args, Size)
 
 DECL_LINK (CustomRenderHdl, weld::TreeView::render_args, void)
 
 DECL_LINK (ResizeHdl, const Size &, void)
 
int starts_with (const OUString &rStr, int nStartRow, bool bCaseSensitive)
 

Private Attributes

std::unique_ptr< weld::Entrym_xIndexEntry
 
std::unique_ptr< weld::TreeViewm_xIndexList
 
std::unique_ptr< weld::Buttonm_xOpenBtn
 
Idle aFactoryIdle
 
Idle aAutoCompleteIdle
 
Timer aKeywordTimer
 
Link< IndexTabPage_Impl &, void > aKeywordLink
 
OUString sFactory
 
OUString sKeyword
 
bool bIsActivated
 
int nRowHeight
 
int nAllHeight
 
sal_uInt16 nLastCharCode
 
Link< LinkParamNone *, void > aDoubleClickHdl
 

Additional Inherited Members

- Protected Attributes inherited from HelpTabPage_Impl
SfxHelpIndexWindow_Implm_pIdxWin
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 87 of file newhelp.hxx.

Constructor & Destructor Documentation

◆ IndexTabPage_Impl()

IndexTabPage_Impl::IndexTabPage_Impl ( weld::Widget pParent,
SfxHelpIndexWindow_Impl pIdxWin 
)

◆ ~IndexTabPage_Impl()

IndexTabPage_Impl::~IndexTabPage_Impl ( )
overridevirtual

Definition at line 554 of file newhelp.cxx.

References ClearIndex().

Member Function Documentation

◆ Activate()

void IndexTabPage_Impl::Activate ( )
overridevirtual

Reimplemented from BuilderPage.

Definition at line 790 of file newhelp.cxx.

References aFactoryIdle, bIsActivated, and Idle::Start().

◆ ClearIndex()

void IndexTabPage_Impl::ClearIndex ( )
private

Definition at line 691 of file newhelp.cxx.

References i, m_xIndexList, and nCount.

Referenced by SetFactory(), and ~IndexTabPage_Impl().

◆ DECL_LINK() [1/12]

IndexTabPage_Impl::DECL_LINK ( ActivateHdl  ,
weld::Entry ,
bool   
)
private

◆ DECL_LINK() [2/12]

IndexTabPage_Impl::DECL_LINK ( AutoCompleteHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [3/12]

IndexTabPage_Impl::DECL_LINK ( CustomGetSizeHdl  ,
weld::TreeView::get_size_args  ,
Size   
)
private

◆ DECL_LINK() [4/12]

IndexTabPage_Impl::DECL_LINK ( CustomRenderHdl  ,
weld::TreeView::render_args  ,
void   
)
private

◆ DECL_LINK() [5/12]

IndexTabPage_Impl::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [6/12]

IndexTabPage_Impl::DECL_LINK ( EntryChangeHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [7/12]

IndexTabPage_Impl::DECL_LINK ( IdleHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [8/12]

IndexTabPage_Impl::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [9/12]

IndexTabPage_Impl::DECL_LINK ( OpenHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [10/12]

IndexTabPage_Impl::DECL_LINK ( ResizeHdl  ,
const Size ,
void   
)
private

◆ DECL_LINK() [11/12]

IndexTabPage_Impl::DECL_LINK ( TimeoutHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [12/12]

IndexTabPage_Impl::DECL_LINK ( TreeChangeHdl  ,
weld::TreeView ,
void   
)
private

◆ GetFactory()

const OUString & IndexTabPage_Impl::GetFactory ( ) const
inline

Definition at line 135 of file newhelp.hxx.

References sFactory.

◆ GetSelectedEntry()

OUString IndexTabPage_Impl::GetSelectedEntry ( ) const

Definition at line 825 of file newhelp.cxx.

References m_xIndexEntry, and m_xIndexList.

◆ HasFocusOnEdit()

bool IndexTabPage_Impl::HasFocusOnEdit ( ) const
inline

Definition at line 138 of file newhelp.hxx.

References m_xIndexEntry.

◆ HasKeyword()

bool IndexTabPage_Impl::HasKeyword ( ) const

Definition at line 845 of file newhelp.cxx.

References m_xIndexList, nPos, and sKeyword.

◆ HasKeywordIgnoreCase()

bool IndexTabPage_Impl::HasKeywordIgnoreCase ( )

◆ InitializeIndex()

void IndexTabPage_Impl::InitializeIndex ( )
private

◆ OpenKeyword()

void IndexTabPage_Impl::OpenKeyword ( )

◆ SelectExecutableEntry()

void IndexTabPage_Impl::SelectExecutableEntry ( )

Definition at line 369 of file newhelp.cxx.

References m_xIndexEntry, m_xIndexList, nCount, and nPos.

◆ SetDoubleClickHdl()

void IndexTabPage_Impl::SetDoubleClickHdl ( const Link< LinkParamNone *, void > &  rLink)

Definition at line 799 of file newhelp.cxx.

References aDoubleClickHdl.

◆ SetFactory()

void IndexTabPage_Impl::SetFactory ( const OUString &  rFactory)

◆ SetFocusOnBox()

void IndexTabPage_Impl::SetFocusOnBox ( )
inline

Definition at line 137 of file newhelp.hxx.

References m_xIndexEntry.

◆ SetKeyword()

void IndexTabPage_Impl::SetKeyword ( const OUString &  rKeyword)

◆ SetKeywordHdl()

void IndexTabPage_Impl::SetKeywordHdl ( const Link< IndexTabPage_Impl &, void > &  rLink)
inline

Definition at line 140 of file newhelp.hxx.

References aKeywordLink.

◆ starts_with()

int IndexTabPage_Impl::starts_with ( const OUString &  rStr,
int  nStartRow,
bool  bCaseSensitive 
)
private

Member Data Documentation

◆ aAutoCompleteIdle

Idle IndexTabPage_Impl::aAutoCompleteIdle
private

Definition at line 95 of file newhelp.hxx.

Referenced by IndexTabPage_Impl().

◆ aDoubleClickHdl

Link<LinkParamNone*, void> IndexTabPage_Impl::aDoubleClickHdl
private

Definition at line 110 of file newhelp.hxx.

Referenced by OpenKeyword(), and SetDoubleClickHdl().

◆ aFactoryIdle

Idle IndexTabPage_Impl::aFactoryIdle
private

Definition at line 94 of file newhelp.hxx.

Referenced by Activate(), IndexTabPage_Impl(), SetFactory(), and SetKeyword().

◆ aKeywordLink

Link<IndexTabPage_Impl&,void> IndexTabPage_Impl::aKeywordLink
private

Definition at line 97 of file newhelp.hxx.

Referenced by InitializeIndex(), and SetKeywordHdl().

◆ aKeywordTimer

Timer IndexTabPage_Impl::aKeywordTimer
private

Definition at line 96 of file newhelp.hxx.

Referenced by IndexTabPage_Impl(), and SetKeyword().

◆ bIsActivated

bool IndexTabPage_Impl::bIsActivated
private

Definition at line 102 of file newhelp.hxx.

Referenced by Activate(), SetFactory(), and SetKeyword().

◆ m_xIndexEntry

std::unique_ptr<weld::Entry> IndexTabPage_Impl::m_xIndexEntry
private

◆ m_xIndexList

std::unique_ptr<weld::TreeView> IndexTabPage_Impl::m_xIndexList
private

◆ m_xOpenBtn

std::unique_ptr<weld::Button> IndexTabPage_Impl::m_xOpenBtn
private

Definition at line 92 of file newhelp.hxx.

Referenced by IndexTabPage_Impl().

◆ nAllHeight

int IndexTabPage_Impl::nAllHeight
private

Definition at line 104 of file newhelp.hxx.

◆ nLastCharCode

sal_uInt16 IndexTabPage_Impl::nLastCharCode
private

Definition at line 105 of file newhelp.hxx.

◆ nRowHeight

int IndexTabPage_Impl::nRowHeight
private

Definition at line 103 of file newhelp.hxx.

◆ sFactory

OUString IndexTabPage_Impl::sFactory
private

Definition at line 99 of file newhelp.hxx.

Referenced by GetFactory(), InitializeIndex(), and SetFactory().

◆ sKeyword

OUString IndexTabPage_Impl::sKeyword
private

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