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

#include <newhelp.hxx>

Collaboration diagram for SfxHelpIndexWindow_Impl:
[legend]

Public Member Functions

 SfxHelpIndexWindow_Impl (SfxHelpWindow_Impl *pParent, weld::Container *pContainer)
 
 ~SfxHelpIndexWindow_Impl ()
 
void SetDoubleClickHdl (const Link< LinkParamNone *, void > &rLink)
 
void SetSelectFactoryHdl (const Link< SfxHelpIndexWindow_Impl *, void > &rLink)
 
void SetFactory (const OUString &rFactory, bool bActive)
 
OUString const & GetFactory () const
 
OUString GetSelectedEntry () const
 
void AddBookmarks (const OUString &rTitle, const OUString &rURL)
 
bool IsValidFactory (std::u16string_view _rFactory)
 
OUString GetActiveFactoryTitle () const
 
void ClearSearchPage ()
 
void GrabFocusBack ()
 
bool HasFocusOnEdit () const
 
OUString GetSearchText () const
 
bool IsFullWordSearch () const
 
void OpenKeyword (const OUString &rKeyword)
 
void SelectExecutableEntry ()
 
weld::WindowGetFrameWeld () const
 

Private Member Functions

void Initialize ()
 
void SetActiveFactory ()
 
HelpTabPage_ImplGetPage (std::u16string_view)
 
ContentTabPage_ImplGetContentPage ()
 
IndexTabPage_ImplGetIndexPage ()
 
SearchTabPage_ImplGetSearchPage ()
 
BookmarksTabPage_ImplGetBookmarksPage ()
 
 DECL_LINK (ActivatePageHdl, const OUString &, void)
 
 DECL_LINK (SelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (InitHdl, Timer *, void)
 
 DECL_LINK (SelectFactoryHdl, Timer *, void)
 
 DECL_LINK (KeywordHdl, IndexTabPage_Impl &, void)
 
 DECL_LINK (ContentTabPageDoubleClickHdl, LinkParamNone *, void)
 
 DECL_LINK (TabPageDoubleClickHdl, LinkParamNone *, void)
 
 DECL_LINK (IndexTabPageDoubleClickHdl, LinkParamNone *, void)
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< weld::ComboBoxm_xActiveLB
 
std::unique_ptr< weld::Notebookm_xTabCtrl
 
Idle aIdle
 
Link< SfxHelpIndexWindow_Impl *, void > aSelectFactoryLink
 
Link< LinkParamNone *, void > aPageDoubleClickLink
 
Link< IndexTabPage_Impl &, void > aIndexKeywordLink
 
OUString sKeyword
 
VclPtr< SfxHelpWindow_ImplpParentWin
 
std::unique_ptr< ContentTabPage_ImplxCPage
 
std::unique_ptr< IndexTabPage_ImplxIPage
 
std::unique_ptr< SearchTabPage_ImplxSPage
 
std::unique_ptr< BookmarksTabPage_ImplxBPage
 
bool bIsInitDone
 

Detailed Description

Definition at line 220 of file newhelp.hxx.

Constructor & Destructor Documentation

◆ SfxHelpIndexWindow_Impl()

SfxHelpIndexWindow_Impl::SfxHelpIndexWindow_Impl ( SfxHelpWindow_Impl pParent,
weld::Container pContainer 
)
explicit

◆ ~SfxHelpIndexWindow_Impl()

SfxHelpIndexWindow_Impl::~SfxHelpIndexWindow_Impl ( )

Member Function Documentation

◆ AddBookmarks()

void SfxHelpIndexWindow_Impl::AddBookmarks ( const OUString &  rTitle,
const OUString &  rURL 
)

Definition at line 1488 of file newhelp.cxx.

References BookmarksTabPage_Impl::AddBookmarks(), and GetBookmarksPage().

◆ ClearSearchPage()

void SfxHelpIndexWindow_Impl::ClearSearchPage ( )

Definition at line 1508 of file newhelp.cxx.

References xSPage.

◆ DECL_LINK() [1/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( ActivatePageHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( ContentTabPageDoubleClickHdl  ,
LinkParamNone ,
void   
)
private

◆ DECL_LINK() [3/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( IndexTabPageDoubleClickHdl  ,
LinkParamNone ,
void   
)
private

◆ DECL_LINK() [4/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( InitHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [5/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( KeywordHdl  ,
IndexTabPage_Impl ,
void   
)
private

◆ DECL_LINK() [6/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( SelectFactoryHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [7/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [8/8]

SfxHelpIndexWindow_Impl::DECL_LINK ( TabPageDoubleClickHdl  ,
LinkParamNone ,
void   
)
private

◆ GetActiveFactoryTitle()

OUString SfxHelpIndexWindow_Impl::GetActiveFactoryTitle ( ) const
inline

Definition at line 273 of file newhelp.hxx.

References m_xActiveLB.

◆ GetBookmarksPage()

BookmarksTabPage_Impl * SfxHelpIndexWindow_Impl::GetBookmarksPage ( )
inlineprivate

Definition at line 318 of file newhelp.hxx.

References LINK, m_xTabCtrl, and xBPage.

Referenced by AddBookmarks(), GetPage(), and SfxHelpIndexWindow_Impl().

◆ GetContentPage()

ContentTabPage_Impl * SfxHelpIndexWindow_Impl::GetContentPage ( )
inlineprivate

Definition at line 287 of file newhelp.hxx.

References LINK, m_xTabCtrl, and xCPage.

Referenced by GetPage(), and SfxHelpIndexWindow_Impl().

◆ GetFactory()

OUString const & SfxHelpIndexWindow_Impl::GetFactory ( ) const
inline

Definition at line 269 of file newhelp.hxx.

References xIPage.

Referenced by SetFactory().

◆ GetFrameWeld()

weld::Window * SfxHelpIndexWindow_Impl::GetFrameWeld ( ) const

Definition at line 1571 of file newhelp.cxx.

References pParentWin.

Referenced by IndexTabPage_Impl::InitializeIndex(), and SearchTabPage_Impl::Search().

◆ GetIndexPage()

IndexTabPage_Impl * SfxHelpIndexWindow_Impl::GetIndexPage ( )
inlineprivate

Definition at line 297 of file newhelp.hxx.

References aIndexKeywordLink, LINK, m_xTabCtrl, and xIPage.

Referenced by GetPage(), SetFactory(), and SfxHelpIndexWindow_Impl().

◆ GetPage()

HelpTabPage_Impl * SfxHelpIndexWindow_Impl::GetPage ( std::u16string_view  rName)
private

Definition at line 1367 of file newhelp.cxx.

References GetBookmarksPage(), GetContentPage(), GetIndexPage(), GetSearchPage(), and u.

◆ GetSearchPage()

SearchTabPage_Impl * SfxHelpIndexWindow_Impl::GetSearchPage ( )
inlineprivate

Definition at line 308 of file newhelp.hxx.

References LINK, m_xTabCtrl, and xSPage.

Referenced by GetPage(), SetFactory(), and SfxHelpIndexWindow_Impl().

◆ GetSearchText()

OUString SfxHelpIndexWindow_Impl::GetSearchText ( ) const

Definition at line 1539 of file newhelp.cxx.

References m_xTabCtrl, sName, and xSPage.

◆ GetSelectedEntry()

OUString SfxHelpIndexWindow_Impl::GetSelectedEntry ( ) const

Definition at line 1462 of file newhelp.cxx.

References m_xTabCtrl, sName, xBPage, xCPage, xIPage, and xSPage.

◆ GrabFocusBack()

void SfxHelpIndexWindow_Impl::GrabFocusBack ( )

Definition at line 1514 of file newhelp.cxx.

References m_xTabCtrl, sName, xBPage, xCPage, xIPage, and xSPage.

◆ HasFocusOnEdit()

bool SfxHelpIndexWindow_Impl::HasFocusOnEdit ( ) const

Definition at line 1528 of file newhelp.cxx.

References m_xTabCtrl, sName, xIPage, and xSPage.

◆ Initialize()

void SfxHelpIndexWindow_Impl::Initialize ( )
private

◆ IsFullWordSearch()

bool SfxHelpIndexWindow_Impl::IsFullWordSearch ( ) const

Definition at line 1548 of file newhelp.cxx.

References m_xTabCtrl, sName, and xSPage.

◆ IsValidFactory()

bool SfxHelpIndexWindow_Impl::IsValidFactory ( std::u16string_view  _rFactory)

Definition at line 1493 of file newhelp.cxx.

References i, and m_xActiveLB.

Referenced by IndexTabPage_Impl::SetFactory().

◆ OpenKeyword()

void SfxHelpIndexWindow_Impl::OpenKeyword ( const OUString &  rKeyword)

Definition at line 1557 of file newhelp.cxx.

References DBG_ASSERT, sKeyword, and xIPage.

◆ SelectExecutableEntry()

void SfxHelpIndexWindow_Impl::SelectExecutableEntry ( )

Definition at line 1564 of file newhelp.cxx.

References m_xTabCtrl, sName, and xIPage.

◆ SetActiveFactory()

void SfxHelpIndexWindow_Impl::SetActiveFactory ( )
private

◆ SetDoubleClickHdl()

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

Definition at line 1434 of file newhelp.cxx.

References aPageDoubleClickLink.

◆ SetFactory()

void SfxHelpIndexWindow_Impl::SetFactory ( const OUString &  rFactory,
bool  bActive 
)

◆ SetSelectFactoryHdl()

void SfxHelpIndexWindow_Impl::SetSelectFactoryHdl ( const Link< SfxHelpIndexWindow_Impl *, void > &  rLink)
inline

Definition at line 267 of file newhelp.hxx.

References aSelectFactoryLink.

Member Data Documentation

◆ aIdle

Idle SfxHelpIndexWindow_Impl::aIdle
private

Definition at line 228 of file newhelp.hxx.

Referenced by SetActiveFactory(), and SfxHelpIndexWindow_Impl().

◆ aIndexKeywordLink

Link<IndexTabPage_Impl&,void> SfxHelpIndexWindow_Impl::aIndexKeywordLink
private

Definition at line 232 of file newhelp.hxx.

Referenced by GetIndexPage().

◆ aPageDoubleClickLink

Link<LinkParamNone*,void> SfxHelpIndexWindow_Impl::aPageDoubleClickLink
private

Definition at line 231 of file newhelp.hxx.

Referenced by SetDoubleClickHdl().

◆ aSelectFactoryLink

Link<SfxHelpIndexWindow_Impl*,void> SfxHelpIndexWindow_Impl::aSelectFactoryLink
private

Definition at line 230 of file newhelp.hxx.

Referenced by SetActiveFactory(), and SetSelectFactoryHdl().

◆ bIsInitDone

bool SfxHelpIndexWindow_Impl::bIsInitDone
private

Definition at line 242 of file newhelp.hxx.

Referenced by SetActiveFactory().

◆ m_xActiveLB

std::unique_ptr<weld::ComboBox> SfxHelpIndexWindow_Impl::m_xActiveLB
private

◆ m_xBuilder

std::unique_ptr<weld::Builder> SfxHelpIndexWindow_Impl::m_xBuilder
private

Definition at line 223 of file newhelp.hxx.

◆ m_xContainer

std::unique_ptr<weld::Container> SfxHelpIndexWindow_Impl::m_xContainer
private

Definition at line 224 of file newhelp.hxx.

Referenced by SfxHelpIndexWindow_Impl().

◆ m_xTabCtrl

std::unique_ptr<weld::Notebook> SfxHelpIndexWindow_Impl::m_xTabCtrl
private

◆ pParentWin

VclPtr<SfxHelpWindow_Impl> SfxHelpIndexWindow_Impl::pParentWin
private

Definition at line 235 of file newhelp.hxx.

Referenced by GetFrameWeld().

◆ sKeyword

OUString SfxHelpIndexWindow_Impl::sKeyword
private

Definition at line 233 of file newhelp.hxx.

Referenced by OpenKeyword().

◆ xBPage

std::unique_ptr<BookmarksTabPage_Impl> SfxHelpIndexWindow_Impl::xBPage
private

◆ xCPage

std::unique_ptr<ContentTabPage_Impl> SfxHelpIndexWindow_Impl::xCPage
private

◆ xIPage

std::unique_ptr<IndexTabPage_Impl> SfxHelpIndexWindow_Impl::xIPage
private

◆ xSPage

std::unique_ptr<SearchTabPage_Impl> SfxHelpIndexWindow_Impl::xSPage
private

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