LibreOffice Module sfx2 (master) 1
|
#include <autoredactdialog.hxx>
Public Member Functions | |
SfxAddTargetDialog (weld::Window *pWindow, const OUString &rName) | |
SfxAddTargetDialog (weld::Window *pWindow, const OUString &sName, const RedactionTargetType &eTargetType, const OUString &sContent, bool bCaseSensitive, bool bWholeWords) | |
OUString | getName () const |
RedactionTargetType | getType () const |
OUString | getContent () const |
bool | isCaseSensitive () const |
bool | isWholeWords () const |
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 |
Private Member Functions | |
DECL_LINK (SelectTypeHdl, weld::ComboBox &, void) | |
Private Attributes | |
std::unique_ptr< weld::Entry > | m_xName |
std::unique_ptr< weld::ComboBox > | m_xType |
std::unique_ptr< weld::Label > | m_xLabelContent |
std::unique_ptr< weld::Entry > | m_xContent |
std::unique_ptr< weld::Label > | m_xLabelPredefContent |
std::unique_ptr< weld::ComboBox > | m_xPredefContent |
std::unique_ptr< weld::CheckButton > | m_xCaseSensitive |
std::unique_ptr< weld::CheckButton > | m_xWholeWords |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 142 of file autoredactdialog.hxx.
SfxAddTargetDialog::SfxAddTargetDialog | ( | weld::Window * | pWindow, |
const OUString & | rName | ||
) |
Definition at line 688 of file autoredactdialog.cxx.
References LINK, m_xContent, m_xName, and m_xType.
SfxAddTargetDialog::SfxAddTargetDialog | ( | weld::Window * | pWindow, |
const OUString & | sName, | ||
const RedactionTargetType & | eTargetType, | ||
const OUString & | sContent, | ||
bool | bCaseSensitive, | ||
bool | bWholeWords | ||
) |
Definition at line 705 of file autoredactdialog.cxx.
References o3tl::getToken(), LINK, m_xCaseSensitive, m_xContent, m_xContent, m_xName, m_xPredefContent, m_xType, m_xWholeWords, REDACTION_TARGET_PREDEFINED, weld::DialogController::set_title(), SfxResId(), sName, and o3tl::toInt32().
|
private |
OUString SfxAddTargetDialog::getContent | ( | ) | const |
Definition at line 755 of file autoredactdialog.cxx.
References m_xContent, m_xPredefContent, and m_xType.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 162 of file autoredactdialog.hxx.
References m_xName.
Referenced by IMPL_LINK_NOARG().
RedactionTargetType SfxAddTargetDialog::getType | ( | ) | const |
Definition at line 741 of file autoredactdialog.cxx.
References m_xType, REDACTION_TARGET_PREDEFINED, REDACTION_TARGET_REGEX, REDACTION_TARGET_TEXT, and REDACTION_TARGET_UNKNOWN.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 165 of file autoredactdialog.hxx.
References m_xCaseSensitive.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 169 of file autoredactdialog.hxx.
References m_xWholeWords.
Referenced by IMPL_LINK_NOARG().
|
private |
Definition at line 151 of file autoredactdialog.hxx.
Referenced by isCaseSensitive(), and SfxAddTargetDialog().
|
private |
Definition at line 148 of file autoredactdialog.hxx.
Referenced by getContent(), and SfxAddTargetDialog().
|
private |
Definition at line 147 of file autoredactdialog.hxx.
|
private |
Definition at line 149 of file autoredactdialog.hxx.
|
private |
Definition at line 145 of file autoredactdialog.hxx.
Referenced by getName(), and SfxAddTargetDialog().
|
private |
Definition at line 150 of file autoredactdialog.hxx.
Referenced by getContent(), and SfxAddTargetDialog().
|
private |
Definition at line 146 of file autoredactdialog.hxx.
Referenced by getContent(), getType(), and SfxAddTargetDialog().
|
private |
Definition at line 152 of file autoredactdialog.hxx.
Referenced by isWholeWords(), and SfxAddTargetDialog().