LibreOffice Module sfx2 (master) 1
|
#include <srchdlg.hxx>
Public Member Functions | |
SearchDialog (weld::Window *pWindow, OUString aConfigName) | |
virtual | ~SearchDialog () override |
void | SetFindHdl (const Link< SearchDialog &, void > &rLink) |
void | SetCloseHdl (const Link< LinkParamNone *, void > &rLink) |
OUString | GetSearchText () const |
void | SetSearchText (const OUString &_rText) |
bool | IsOnlyWholeWords () const |
bool | IsMarchCase () const |
bool | IsWrapAround () const |
bool | IsSearchBackwards () const |
void | SetFocusOnEdit () |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Static Public Member Functions | |
static void | runAsync (const std::shared_ptr< SearchDialog > &rController) |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Private Member Functions | |
void | LoadConfig () |
void | SaveConfig () |
DECL_LINK (FindHdl, weld::Button &, void) | |
Private Attributes | |
Link< SearchDialog &, void > | m_aFindHdl |
Link< LinkParamNone *, void > | m_aCloseHdl |
OUString | m_sConfigName |
std::unique_ptr< weld::ComboBox > | m_xSearchEdit |
std::unique_ptr< weld::CheckButton > | m_xWholeWordsBox |
std::unique_ptr< weld::CheckButton > | m_xMatchCaseBox |
std::unique_ptr< weld::CheckButton > | m_xWrapAroundBox |
std::unique_ptr< weld::CheckButton > | m_xBackwardsBox |
std::unique_ptr< weld::Button > | m_xFindBtn |
Additional Inherited Members | |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 30 of file srchdlg.hxx.
sfx2::SearchDialog::SearchDialog | ( | weld::Window * | pWindow, |
OUString | aConfigName | ||
) |
Definition at line 40 of file srchdlg.cxx.
References LINK, LoadConfig(), m_xFindBtn, and m_xSearchEdit.
|
overridevirtual |
Definition at line 58 of file srchdlg.cxx.
References SaveConfig().
|
private |
|
inline |
Definition at line 58 of file srchdlg.hxx.
References m_xSearchEdit.
Referenced by SfxHelpTextWindow_Impl::FindHdl().
|
inline |
Definition at line 61 of file srchdlg.hxx.
References m_xMatchCaseBox.
Referenced by SfxHelpTextWindow_Impl::FindHdl().
|
inline |
Definition at line 60 of file srchdlg.hxx.
References m_xWholeWordsBox.
Referenced by SfxHelpTextWindow_Impl::FindHdl().
|
inline |
Definition at line 63 of file srchdlg.hxx.
References m_xBackwardsBox.
Referenced by SfxHelpTextWindow_Impl::FindHdl().
|
inline |
Definition at line 62 of file srchdlg.hxx.
References m_xWrapAroundBox.
Referenced by SfxHelpTextWindow_Impl::FindHdl().
|
private |
Definition at line 63 of file srchdlg.cxx.
References Any, DBG_ASSERT, SvtViewOptions::Exists(), o3tl::getToken(), comphelper::string::getTokenCount(), SvtViewOptions::GetUserItem(), m_sConfigName, m_xBackwardsBox, m_xMatchCaseBox, m_xSearchEdit, m_xWholeWordsBox, m_xWrapAroundBox, and o3tl::toInt32().
Referenced by SearchDialog().
|
static |
Definition at line 128 of file srchdlg.cxx.
References weld::DialogController::runAsync().
Referenced by SfxHelpTextWindow_Impl::DoSearch().
|
private |
Definition at line 90 of file srchdlg.cxx.
References Any, i, m_sConfigName, m_xBackwardsBox, m_xMatchCaseBox, m_xSearchEdit, m_xWholeWordsBox, m_xWrapAroundBox, MAX_SAVE_COUNT, nCount, SvtViewOptions::SetUserItem(), and comphelper::string::stripStart().
Referenced by ~SearchDialog().
|
inline |
Definition at line 56 of file srchdlg.hxx.
References m_aCloseHdl.
|
inline |
Definition at line 55 of file srchdlg.hxx.
References m_aFindHdl.
void sfx2::SearchDialog::SetFocusOnEdit | ( | ) |
Definition at line 122 of file srchdlg.cxx.
References m_xSearchEdit.
|
inline |
Definition at line 59 of file srchdlg.hxx.
References m_xSearchEdit.
|
private |
Definition at line 34 of file srchdlg.hxx.
Referenced by SetCloseHdl().
|
private |
Definition at line 33 of file srchdlg.hxx.
Referenced by SetFindHdl().
|
private |
Definition at line 36 of file srchdlg.hxx.
Referenced by LoadConfig(), and SaveConfig().
|
private |
Definition at line 42 of file srchdlg.hxx.
Referenced by IsSearchBackwards(), LoadConfig(), and SaveConfig().
|
private |
Definition at line 43 of file srchdlg.hxx.
Referenced by SearchDialog().
|
private |
Definition at line 40 of file srchdlg.hxx.
Referenced by IsMarchCase(), LoadConfig(), and SaveConfig().
|
private |
Definition at line 38 of file srchdlg.hxx.
Referenced by GetSearchText(), LoadConfig(), SaveConfig(), SearchDialog(), SetFocusOnEdit(), and SetSearchText().
|
private |
Definition at line 39 of file srchdlg.hxx.
Referenced by IsOnlyWholeWords(), LoadConfig(), and SaveConfig().
|
private |
Definition at line 41 of file srchdlg.hxx.
Referenced by IsWrapAround(), LoadConfig(), and SaveConfig().