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

#include <newhelp.hxx>

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

Public Member Functions

 SearchTabPage_Impl (weld::Widget *pParent, SfxHelpIndexWindow_Impl *pIdxWin)
 
virtual ~SearchTabPage_Impl () override
 
void SetDoubleClickHdl (const Link< LinkParamNone *, void > &rLink)
 
void SetFactory (const OUString &rFactory)
 
OUString GetSelectedEntry () const
 
void ClearPage ()
 
void SetFocusOnBox ()
 
bool HasFocusOnEdit () const
 
OUString GetSearchText () const
 
bool IsFullWordSearch () const
 
bool OpenKeyword (const OUString &rKeyword)
 
- 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 ClearSearchResults ()
 
void RememberSearchText (const OUString &rSearchText)
 
void Search ()
 
 DECL_LINK (ClickHdl, weld::Button &, void)
 
 DECL_LINK (OpenHdl, weld::Button &, void)
 
 DECL_LINK (ModifyHdl, weld::ComboBox &, void)
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (ActivateHdl, weld::ComboBox &, bool)
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xSearchED
 
std::unique_ptr< weld::Buttonm_xSearchBtn
 
std::unique_ptr< weld::CheckButtonm_xFullWordsCB
 
std::unique_ptr< weld::CheckButtonm_xScopeCB
 
std::unique_ptr< weld::TreeViewm_xResultsLB
 
std::unique_ptr< weld::Buttonm_xOpenBtn
 
Link< LinkParamNone *, void > aDoubleClickHdl
 
OUString aFactory
 
css::uno::Reference< css::i18n::XBreakIterator > xBreakIterator
 

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 149 of file newhelp.hxx.

Constructor & Destructor Documentation

◆ SearchTabPage_Impl()

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

◆ ~SearchTabPage_Impl()

SearchTabPage_Impl::~SearchTabPage_Impl ( )
overridevirtual

Member Function Documentation

◆ ClearPage()

void SearchTabPage_Impl::ClearPage ( )

Definition at line 1060 of file newhelp.cxx.

References ClearSearchResults(), and m_xSearchED.

◆ ClearSearchResults()

void SearchTabPage_Impl::ClearSearchResults ( )
private

Definition at line 971 of file newhelp.cxx.

References m_xResultsLB.

Referenced by ClearPage(), and Search().

◆ DECL_LINK() [1/5]

SearchTabPage_Impl::DECL_LINK ( ActivateHdl  ,
weld::ComboBox ,
bool   
)
private

◆ DECL_LINK() [2/5]

SearchTabPage_Impl::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/5]

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

◆ DECL_LINK() [4/5]

SearchTabPage_Impl::DECL_LINK ( ModifyHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/5]

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

◆ GetSearchText()

OUString SearchTabPage_Impl::GetSearchText ( ) const
inline

Definition at line 186 of file newhelp.hxx.

References m_xSearchED.

◆ GetSelectedEntry()

OUString SearchTabPage_Impl::GetSelectedEntry ( ) const

Definition at line 1055 of file newhelp.cxx.

References m_xResultsLB.

◆ HasFocusOnEdit()

bool SearchTabPage_Impl::HasFocusOnEdit ( ) const
inline

Definition at line 185 of file newhelp.hxx.

References m_xSearchED.

◆ IsFullWordSearch()

bool SearchTabPage_Impl::IsFullWordSearch ( ) const
inline

Definition at line 187 of file newhelp.hxx.

References m_xFullWordsCB.

◆ OpenKeyword()

bool SearchTabPage_Impl::OpenKeyword ( const OUString &  rKeyword)

Definition at line 1066 of file newhelp.cxx.

References m_xOpenBtn, m_xResultsLB, m_xSearchED, and Search().

◆ RememberSearchText()

void SearchTabPage_Impl::RememberSearchText ( const OUString &  rSearchText)
private

Definition at line 976 of file newhelp.cxx.

References i, and m_xSearchED.

Referenced by Search().

◆ Search()

void SearchTabPage_Impl::Search ( )
private

◆ SetDoubleClickHdl()

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

Definition at line 1050 of file newhelp.cxx.

References aDoubleClickHdl.

◆ SetFactory()

void SearchTabPage_Impl::SetFactory ( const OUString &  rFactory)
inline

Definition at line 181 of file newhelp.hxx.

References aFactory.

Referenced by SfxHelpIndexWindow_Impl::SetFactory().

◆ SetFocusOnBox()

void SearchTabPage_Impl::SetFocusOnBox ( )
inline

Definition at line 184 of file newhelp.hxx.

References m_xResultsLB.

Member Data Documentation

◆ aDoubleClickHdl

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

Definition at line 159 of file newhelp.hxx.

Referenced by SetDoubleClickHdl().

◆ aFactory

OUString SearchTabPage_Impl::aFactory
private

Definition at line 161 of file newhelp.hxx.

Referenced by Search(), and SetFactory().

◆ m_xFullWordsCB

std::unique_ptr<weld::CheckButton> SearchTabPage_Impl::m_xFullWordsCB
private

Definition at line 154 of file newhelp.hxx.

Referenced by IsFullWordSearch(), Search(), SearchTabPage_Impl(), and ~SearchTabPage_Impl().

◆ m_xOpenBtn

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

Definition at line 157 of file newhelp.hxx.

Referenced by OpenKeyword(), SearchTabPage_Impl(), and ~SearchTabPage_Impl().

◆ m_xResultsLB

std::unique_ptr<weld::TreeView> SearchTabPage_Impl::m_xResultsLB
private

◆ m_xScopeCB

std::unique_ptr<weld::CheckButton> SearchTabPage_Impl::m_xScopeCB
private

Definition at line 155 of file newhelp.hxx.

Referenced by Search(), SearchTabPage_Impl(), and ~SearchTabPage_Impl().

◆ m_xSearchBtn

std::unique_ptr<weld::Button> SearchTabPage_Impl::m_xSearchBtn
private

Definition at line 153 of file newhelp.hxx.

Referenced by SearchTabPage_Impl(), and ~SearchTabPage_Impl().

◆ m_xSearchED

std::unique_ptr<weld::ComboBox> SearchTabPage_Impl::m_xSearchED
private

◆ xBreakIterator

css::uno::Reference< css::i18n::XBreakIterator > SearchTabPage_Impl::xBreakIterator
private

Definition at line 164 of file newhelp.hxx.

Referenced by Search().


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