LibreOffice Module sfx2 (master) 1
|
#include <newhelp.hxx>
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::ComboBox > | m_xSearchED |
std::unique_ptr< weld::Button > | m_xSearchBtn |
std::unique_ptr< weld::CheckButton > | m_xFullWordsCB |
std::unique_ptr< weld::CheckButton > | m_xScopeCB |
std::unique_ptr< weld::TreeView > | m_xResultsLB |
std::unique_ptr< weld::Button > | m_xOpenBtn |
Link< LinkParamNone *, void > | aDoubleClickHdl |
OUString | aFactory |
css::uno::Reference< css::i18n::XBreakIterator > | xBreakIterator |
Additional Inherited Members | |
Protected Attributes inherited from HelpTabPage_Impl | |
SfxHelpIndexWindow_Impl * | m_pIdxWin |
Protected Attributes inherited from BuilderPage | |
weld::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 149 of file newhelp.hxx.
SearchTabPage_Impl::SearchTabPage_Impl | ( | weld::Widget * | pParent, |
SfxHelpIndexWindow_Impl * | pIdxWin | ||
) |
Definition at line 897 of file newhelp.cxx.
References Any, CONFIGNAME_SEARCHPAGE, CreateBreakIterator(), INetURLObject::decode(), SvtViewOptions::Exists(), o3tl::getToken(), SvtViewOptions::GetUserItem(), LINK, m_xFullWordsCB, m_xOpenBtn, m_xResultsLB, m_xScopeCB, m_xSearchBtn, m_xSearchED, o3tl::toInt32(), USERITEM_NAME, and INetURLObject::WithCharset.
|
overridevirtual |
Definition at line 942 of file newhelp.cxx.
References INetURLObject::All, Any, CONFIGNAME_SEARCHPAGE, INetURLObject::encode(), i, m_xFullWordsCB, m_xOpenBtn, m_xResultsLB, m_xScopeCB, m_xSearchBtn, m_xSearchED, nCount, INetURLObject::PART_UNO_PARAM_VALUE, SvtViewOptions::SetUserItem(), and USERITEM_NAME.
void SearchTabPage_Impl::ClearPage | ( | ) |
Definition at line 1060 of file newhelp.cxx.
References ClearSearchResults(), and m_xSearchED.
|
private |
Definition at line 971 of file newhelp.cxx.
References m_xResultsLB.
Referenced by ClearPage(), and Search().
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 186 of file newhelp.hxx.
References m_xSearchED.
OUString SearchTabPage_Impl::GetSelectedEntry | ( | ) | const |
Definition at line 1055 of file newhelp.cxx.
References m_xResultsLB.
|
inline |
Definition at line 185 of file newhelp.hxx.
References m_xSearchED.
|
inline |
Definition at line 187 of file newhelp.hxx.
References m_xFullWordsCB.
bool SearchTabPage_Impl::OpenKeyword | ( | const OUString & | rKeyword | ) |
Definition at line 1066 of file newhelp.cxx.
References m_xOpenBtn, m_xResultsLB, m_xSearchED, and Search().
|
private |
|
private |
Definition at line 995 of file newhelp.cxx.
References aFactory, AppendConfigToken(), ClearSearchResults(), Application::CreateMessageDialog(), SfxHelpIndexWindow_Impl::GetFrameWeld(), SfxContentHelper::GetResultSet(), HELP_SEARCH_TAG, HELP_URL, HelpTabPage_Impl::m_pIdxWin, BuilderPage::m_xContainer, m_xFullWordsCB, m_xResultsLB, m_xScopeCB, m_xSearchED, sfx2::PrepareSearchString(), RememberSearchText(), SfxResId(), comphelper::string::strip(), and xBreakIterator.
Referenced by OpenKeyword().
void SearchTabPage_Impl::SetDoubleClickHdl | ( | const Link< LinkParamNone *, void > & | rLink | ) |
Definition at line 1050 of file newhelp.cxx.
References aDoubleClickHdl.
|
inline |
Definition at line 181 of file newhelp.hxx.
References aFactory.
Referenced by SfxHelpIndexWindow_Impl::SetFactory().
|
inline |
Definition at line 184 of file newhelp.hxx.
References m_xResultsLB.
|
private |
Definition at line 159 of file newhelp.hxx.
Referenced by SetDoubleClickHdl().
|
private |
Definition at line 161 of file newhelp.hxx.
Referenced by Search(), and SetFactory().
|
private |
Definition at line 154 of file newhelp.hxx.
Referenced by IsFullWordSearch(), Search(), SearchTabPage_Impl(), and ~SearchTabPage_Impl().
|
private |
Definition at line 157 of file newhelp.hxx.
Referenced by OpenKeyword(), SearchTabPage_Impl(), and ~SearchTabPage_Impl().
|
private |
Definition at line 156 of file newhelp.hxx.
Referenced by ClearSearchResults(), GetSelectedEntry(), OpenKeyword(), Search(), SearchTabPage_Impl(), SetFocusOnBox(), and ~SearchTabPage_Impl().
|
private |
Definition at line 155 of file newhelp.hxx.
Referenced by Search(), SearchTabPage_Impl(), and ~SearchTabPage_Impl().
|
private |
Definition at line 153 of file newhelp.hxx.
Referenced by SearchTabPage_Impl(), and ~SearchTabPage_Impl().
|
private |
Definition at line 152 of file newhelp.hxx.
Referenced by ClearPage(), GetSearchText(), HasFocusOnEdit(), OpenKeyword(), RememberSearchText(), Search(), SearchTabPage_Impl(), and ~SearchTabPage_Impl().
|
private |
Definition at line 164 of file newhelp.hxx.
Referenced by Search().