LibreOffice Module sfx2 (master) 1
|
#include <newhelp.hxx>
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::Window * | GetFrameWeld () const |
Private Member Functions | |
void | Initialize () |
void | SetActiveFactory () |
HelpTabPage_Impl * | GetPage (std::u16string_view) |
ContentTabPage_Impl * | GetContentPage () |
IndexTabPage_Impl * | GetIndexPage () |
SearchTabPage_Impl * | GetSearchPage () |
BookmarksTabPage_Impl * | GetBookmarksPage () |
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::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
std::unique_ptr< weld::ComboBox > | m_xActiveLB |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
Idle | aIdle |
Link< SfxHelpIndexWindow_Impl *, void > | aSelectFactoryLink |
Link< LinkParamNone *, void > | aPageDoubleClickLink |
Link< IndexTabPage_Impl &, void > | aIndexKeywordLink |
OUString | sKeyword |
VclPtr< SfxHelpWindow_Impl > | pParentWin |
std::unique_ptr< ContentTabPage_Impl > | xCPage |
std::unique_ptr< IndexTabPage_Impl > | xIPage |
std::unique_ptr< SearchTabPage_Impl > | xSPage |
std::unique_ptr< BookmarksTabPage_Impl > | xBPage |
bool | bIsInitDone |
Definition at line 220 of file newhelp.hxx.
|
explicit |
Definition at line 1277 of file newhelp.cxx.
References aIdle, CONFIGNAME_INDEXWIN, SvtViewOptions::Exists(), GetBookmarksPage(), GetContentPage(), GetIndexPage(), SvtViewOptions::GetPageID(), GetSearchPage(), LINK, m_xActiveLB, m_xContainer, m_xContainer, m_xTabCtrl, Timer::SetInvokeHandler(), and Idle::Start().
SfxHelpIndexWindow_Impl::~SfxHelpIndexWindow_Impl | ( | ) |
Definition at line 1313 of file newhelp.cxx.
References CONFIGNAME_INDEXWIN, m_xTabCtrl, SvtViewOptions::SetPageID(), xBPage, xCPage, xIPage, and xSPage.
void SfxHelpIndexWindow_Impl::AddBookmarks | ( | const OUString & | rTitle, |
const OUString & | rURL | ||
) |
Definition at line 1488 of file newhelp.cxx.
References BookmarksTabPage_Impl::AddBookmarks(), and GetBookmarksPage().
void SfxHelpIndexWindow_Impl::ClearSearchPage | ( | ) |
Definition at line 1508 of file newhelp.cxx.
References xSPage.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 273 of file newhelp.hxx.
References m_xActiveLB.
|
inlineprivate |
Definition at line 318 of file newhelp.hxx.
References LINK, m_xTabCtrl, and xBPage.
Referenced by AddBookmarks(), GetPage(), and SfxHelpIndexWindow_Impl().
|
inlineprivate |
Definition at line 287 of file newhelp.hxx.
References LINK, m_xTabCtrl, and xCPage.
Referenced by GetPage(), and SfxHelpIndexWindow_Impl().
|
inline |
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().
|
inlineprivate |
Definition at line 297 of file newhelp.hxx.
References aIndexKeywordLink, LINK, m_xTabCtrl, and xIPage.
Referenced by GetPage(), SetFactory(), and SfxHelpIndexWindow_Impl().
|
private |
Definition at line 1367 of file newhelp.cxx.
References GetBookmarksPage(), GetContentPage(), GetIndexPage(), GetSearchPage(), and u.
|
inlineprivate |
Definition at line 308 of file newhelp.hxx.
References LINK, m_xTabCtrl, and xSPage.
Referenced by GetPage(), SetFactory(), and SfxHelpIndexWindow_Impl().
OUString SfxHelpIndexWindow_Impl::GetSearchText | ( | ) | const |
Definition at line 1539 of file newhelp.cxx.
References m_xTabCtrl, sName, and xSPage.
OUString SfxHelpIndexWindow_Impl::GetSelectedEntry | ( | ) | const |
Definition at line 1462 of file newhelp.cxx.
References m_xTabCtrl, sName, xBPage, xCPage, xIPage, and xSPage.
void SfxHelpIndexWindow_Impl::GrabFocusBack | ( | ) |
Definition at line 1514 of file newhelp.cxx.
References m_xTabCtrl, sName, xBPage, xCPage, xIPage, and xSPage.
bool SfxHelpIndexWindow_Impl::HasFocusOnEdit | ( | ) | const |
Definition at line 1528 of file newhelp.cxx.
References m_xTabCtrl, sName, xIPage, and xSPage.
|
private |
Definition at line 1324 of file newhelp.cxx.
References AppendConfigToken(), aURL, SfxContentHelper::GetResultSet(), o3tl::getToken(), HELP_URL, m_xActiveLB, and SetActiveFactory().
bool SfxHelpIndexWindow_Impl::IsFullWordSearch | ( | ) | const |
Definition at line 1548 of file newhelp.cxx.
References m_xTabCtrl, sName, and xSPage.
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().
void SfxHelpIndexWindow_Impl::OpenKeyword | ( | const OUString & | rKeyword | ) |
Definition at line 1557 of file newhelp.cxx.
References DBG_ASSERT, sKeyword, and xIPage.
void SfxHelpIndexWindow_Impl::SelectExecutableEntry | ( | ) |
Definition at line 1564 of file newhelp.cxx.
References m_xTabCtrl, sName, and xIPage.
|
private |
Definition at line 1342 of file newhelp.cxx.
References aIdle, aSelectFactoryLink, bIsInitDone, Link< typename Arg, typename Ret >::Call(), DBG_ASSERT, i, m_xActiveLB, Task::Stop(), and xIPage.
Referenced by Initialize(), and SetFactory().
void SfxHelpIndexWindow_Impl::SetDoubleClickHdl | ( | const Link< LinkParamNone *, void > & | rLink | ) |
Definition at line 1434 of file newhelp.cxx.
References aPageDoubleClickLink.
void SfxHelpIndexWindow_Impl::SetFactory | ( | const OUString & | rFactory, |
bool | bActive | ||
) |
Definition at line 1449 of file newhelp.cxx.
References GetFactory(), GetIndexPage(), GetSearchPage(), SetActiveFactory(), IndexTabPage_Impl::SetFactory(), and SearchTabPage_Impl::SetFactory().
|
inline |
Definition at line 267 of file newhelp.hxx.
References aSelectFactoryLink.
|
private |
Definition at line 228 of file newhelp.hxx.
Referenced by SetActiveFactory(), and SfxHelpIndexWindow_Impl().
|
private |
Definition at line 232 of file newhelp.hxx.
Referenced by GetIndexPage().
|
private |
Definition at line 231 of file newhelp.hxx.
Referenced by SetDoubleClickHdl().
|
private |
Definition at line 230 of file newhelp.hxx.
Referenced by SetActiveFactory(), and SetSelectFactoryHdl().
|
private |
Definition at line 242 of file newhelp.hxx.
Referenced by SetActiveFactory().
|
private |
Definition at line 225 of file newhelp.hxx.
Referenced by GetActiveFactoryTitle(), Initialize(), IsValidFactory(), SetActiveFactory(), and SfxHelpIndexWindow_Impl().
|
private |
Definition at line 223 of file newhelp.hxx.
|
private |
Definition at line 224 of file newhelp.hxx.
Referenced by SfxHelpIndexWindow_Impl().
|
private |
Definition at line 226 of file newhelp.hxx.
Referenced by GetBookmarksPage(), GetContentPage(), GetIndexPage(), GetSearchPage(), GetSearchText(), GetSelectedEntry(), GrabFocusBack(), HasFocusOnEdit(), IsFullWordSearch(), SelectExecutableEntry(), SfxHelpIndexWindow_Impl(), and ~SfxHelpIndexWindow_Impl().
|
private |
Definition at line 235 of file newhelp.hxx.
Referenced by GetFrameWeld().
|
private |
Definition at line 233 of file newhelp.hxx.
Referenced by OpenKeyword().
|
private |
Definition at line 240 of file newhelp.hxx.
Referenced by GetBookmarksPage(), GetSelectedEntry(), GrabFocusBack(), and ~SfxHelpIndexWindow_Impl().
|
private |
Definition at line 237 of file newhelp.hxx.
Referenced by GetContentPage(), GetSelectedEntry(), GrabFocusBack(), and ~SfxHelpIndexWindow_Impl().
|
private |
Definition at line 238 of file newhelp.hxx.
Referenced by GetFactory(), GetIndexPage(), GetSelectedEntry(), GrabFocusBack(), HasFocusOnEdit(), OpenKeyword(), SelectExecutableEntry(), SetActiveFactory(), and ~SfxHelpIndexWindow_Impl().
|
private |
Definition at line 239 of file newhelp.hxx.
Referenced by ClearSearchPage(), GetSearchPage(), GetSearchText(), GetSelectedEntry(), GrabFocusBack(), HasFocusOnEdit(), IsFullWordSearch(), and ~SfxHelpIndexWindow_Impl().