LibreOffice Module sfx2 (master) 1
|
#include <newhelp.hxx>
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::Entry > | m_xIndexEntry |
std::unique_ptr< weld::TreeView > | m_xIndexList |
std::unique_ptr< weld::Button > | m_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_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 87 of file newhelp.hxx.
IndexTabPage_Impl::IndexTabPage_Impl | ( | weld::Widget * | pParent, |
SfxHelpIndexWindow_Impl * | pIdxWin | ||
) |
Definition at line 390 of file newhelp.cxx.
References aAutoCompleteIdle, aFactoryIdle, aKeywordTimer, LINK, m_xIndexEntry, m_xIndexList, m_xOpenBtn, and Timer::SetInvokeHandler().
|
overridevirtual |
Definition at line 554 of file newhelp.cxx.
References ClearIndex().
|
overridevirtual |
Reimplemented from BuilderPage.
Definition at line 790 of file newhelp.cxx.
References aFactoryIdle, bIsActivated, and Idle::Start().
|
private |
Definition at line 691 of file newhelp.cxx.
References i, m_xIndexList, and nCount.
Referenced by SetFactory(), and ~IndexTabPage_Impl().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 135 of file newhelp.hxx.
References sFactory.
OUString IndexTabPage_Impl::GetSelectedEntry | ( | ) | const |
Definition at line 825 of file newhelp.cxx.
References m_xIndexEntry, and m_xIndexList.
|
inline |
Definition at line 138 of file newhelp.hxx.
References m_xIndexEntry.
bool IndexTabPage_Impl::HasKeyword | ( | ) | const |
Definition at line 845 of file newhelp.cxx.
References m_xIndexList, nPos, and sKeyword.
bool IndexTabPage_Impl::HasKeywordIgnoreCase | ( | ) |
Definition at line 858 of file newhelp.cxx.
References AllSettings::GetLocaleI18nHelper(), Application::GetSettings(), m_xIndexList, vcl::I18nHelper::MatchString(), n, and sKeyword.
|
private |
Definition at line 564 of file newhelp.cxx.
References aIndex, aKeywordLink, AppendConfigToken(), aURL, Link< typename Arg, typename Ret >::Call(), Content, DBG_ASSERT, Exception, SfxHelpIndexWindow_Impl::GetFrameWeld(), getLength(), comphelper::getProcessComponentContext(), HELP_URL, i, HelpTabPage_Impl::m_pIdxWin, m_xIndexList, PROPERTY_ANCHORREF, PROPERTY_KEYWORDLIST, PROPERTY_KEYWORDREF, PROPERTY_TITLEREF, sFactory, sId, sKeyword, weld::toId(), and TOOLS_WARN_EXCEPTION.
void IndexTabPage_Impl::OpenKeyword | ( | ) |
Definition at line 879 of file newhelp.cxx.
References aDoubleClickHdl, Link< typename Arg, typename Ret >::Call(), m_xIndexEntry, and sKeyword.
void IndexTabPage_Impl::SelectExecutableEntry | ( | ) |
Definition at line 369 of file newhelp.cxx.
References m_xIndexEntry, m_xIndexList, nCount, and nPos.
void IndexTabPage_Impl::SetDoubleClickHdl | ( | const Link< LinkParamNone *, void > & | rLink | ) |
Definition at line 799 of file newhelp.cxx.
References aDoubleClickHdl.
void IndexTabPage_Impl::SetFactory | ( | const OUString & | rFactory | ) |
Definition at line 804 of file newhelp.cxx.
References aFactoryIdle, bIsActivated, ClearIndex(), DBG_ASSERT, SfxHelp::GetDefaultHelpModule(), SfxHelpIndexWindow_Impl::IsValidFactory(), HelpTabPage_Impl::m_pIdxWin, sFactory, and Idle::Start().
Referenced by SfxHelpIndexWindow_Impl::SetFactory().
|
inline |
Definition at line 137 of file newhelp.hxx.
References m_xIndexEntry.
void IndexTabPage_Impl::SetKeyword | ( | const OUString & | rKeyword | ) |
Definition at line 834 of file newhelp.cxx.
References aFactoryIdle, aKeywordTimer, bIsActivated, m_xIndexList, sKeyword, Idle::Start(), and Timer::Start().
|
inline |
Definition at line 140 of file newhelp.hxx.
References aKeywordLink.
|
private |
Definition at line 721 of file newhelp.cxx.
References aStr, Application::GetSettings(), AllSettings::GetUILocaleI18nHelper(), m_xIndexList, vcl::I18nHelper::MatchString(), and nCount.
|
private |
Definition at line 95 of file newhelp.hxx.
Referenced by IndexTabPage_Impl().
|
private |
Definition at line 110 of file newhelp.hxx.
Referenced by OpenKeyword(), and SetDoubleClickHdl().
|
private |
Definition at line 94 of file newhelp.hxx.
Referenced by Activate(), IndexTabPage_Impl(), SetFactory(), and SetKeyword().
|
private |
Definition at line 97 of file newhelp.hxx.
Referenced by InitializeIndex(), and SetKeywordHdl().
|
private |
Definition at line 96 of file newhelp.hxx.
Referenced by IndexTabPage_Impl(), and SetKeyword().
|
private |
Definition at line 102 of file newhelp.hxx.
Referenced by Activate(), SetFactory(), and SetKeyword().
|
private |
Definition at line 90 of file newhelp.hxx.
Referenced by GetSelectedEntry(), HasFocusOnEdit(), IndexTabPage_Impl(), OpenKeyword(), SelectExecutableEntry(), and SetFocusOnBox().
|
private |
Definition at line 91 of file newhelp.hxx.
Referenced by ClearIndex(), GetSelectedEntry(), HasKeyword(), HasKeywordIgnoreCase(), IndexTabPage_Impl(), InitializeIndex(), SelectExecutableEntry(), SetKeyword(), and starts_with().
|
private |
Definition at line 92 of file newhelp.hxx.
Referenced by IndexTabPage_Impl().
|
private |
Definition at line 104 of file newhelp.hxx.
|
private |
Definition at line 105 of file newhelp.hxx.
|
private |
Definition at line 103 of file newhelp.hxx.
|
private |
Definition at line 99 of file newhelp.hxx.
Referenced by GetFactory(), InitializeIndex(), and SetFactory().
|
private |
Definition at line 100 of file newhelp.hxx.
Referenced by HasKeyword(), HasKeywordIgnoreCase(), InitializeIndex(), OpenKeyword(), and SetKeyword().