LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SfxAddTargetDialog Class Referencefinal

#include <autoredactdialog.hxx>

Inheritance diagram for SfxAddTargetDialog:
[legend]
Collaboration diagram for SfxAddTargetDialog:
[legend]

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 DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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::Entrym_xName
 
std::unique_ptr< weld::ComboBoxm_xType
 
std::unique_ptr< weld::Labelm_xLabelContent
 
std::unique_ptr< weld::Entrym_xContent
 
std::unique_ptr< weld::Labelm_xLabelPredefContent
 
std::unique_ptr< weld::ComboBoxm_xPredefContent
 
std::unique_ptr< weld::CheckButtonm_xCaseSensitive
 
std::unique_ptr< weld::CheckButtonm_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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 142 of file autoredactdialog.hxx.

Constructor & Destructor Documentation

◆ SfxAddTargetDialog() [1/2]

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() [2/2]

SfxAddTargetDialog::SfxAddTargetDialog ( weld::Window pWindow,
const OUString &  sName,
const RedactionTargetType eTargetType,
const OUString &  sContent,
bool  bCaseSensitive,
bool  bWholeWords 
)

Member Function Documentation

◆ DECL_LINK()

SfxAddTargetDialog::DECL_LINK ( SelectTypeHdl  ,
weld::ComboBox ,
void   
)
private

◆ getContent()

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().

◆ getName()

OUString SfxAddTargetDialog::getName ( ) const
inline

Definition at line 162 of file autoredactdialog.hxx.

References m_xName.

Referenced by IMPL_LINK_NOARG().

◆ getType()

RedactionTargetType SfxAddTargetDialog::getType ( ) const

◆ isCaseSensitive()

bool SfxAddTargetDialog::isCaseSensitive ( ) const
inline

Definition at line 165 of file autoredactdialog.hxx.

References m_xCaseSensitive.

Referenced by IMPL_LINK_NOARG().

◆ isWholeWords()

bool SfxAddTargetDialog::isWholeWords ( ) const
inline

Definition at line 169 of file autoredactdialog.hxx.

References m_xWholeWords.

Referenced by IMPL_LINK_NOARG().

Member Data Documentation

◆ m_xCaseSensitive

std::unique_ptr<weld::CheckButton> SfxAddTargetDialog::m_xCaseSensitive
private

Definition at line 151 of file autoredactdialog.hxx.

Referenced by isCaseSensitive(), and SfxAddTargetDialog().

◆ m_xContent

std::unique_ptr<weld::Entry> SfxAddTargetDialog::m_xContent
private

Definition at line 148 of file autoredactdialog.hxx.

Referenced by getContent(), and SfxAddTargetDialog().

◆ m_xLabelContent

std::unique_ptr<weld::Label> SfxAddTargetDialog::m_xLabelContent
private

Definition at line 147 of file autoredactdialog.hxx.

◆ m_xLabelPredefContent

std::unique_ptr<weld::Label> SfxAddTargetDialog::m_xLabelPredefContent
private

Definition at line 149 of file autoredactdialog.hxx.

◆ m_xName

std::unique_ptr<weld::Entry> SfxAddTargetDialog::m_xName
private

Definition at line 145 of file autoredactdialog.hxx.

Referenced by getName(), and SfxAddTargetDialog().

◆ m_xPredefContent

std::unique_ptr<weld::ComboBox> SfxAddTargetDialog::m_xPredefContent
private

Definition at line 150 of file autoredactdialog.hxx.

Referenced by getContent(), and SfxAddTargetDialog().

◆ m_xType

std::unique_ptr<weld::ComboBox> SfxAddTargetDialog::m_xType
private

Definition at line 146 of file autoredactdialog.hxx.

Referenced by getContent(), getType(), and SfxAddTargetDialog().

◆ m_xWholeWords

std::unique_ptr<weld::CheckButton> SfxAddTargetDialog::m_xWholeWords
private

Definition at line 152 of file autoredactdialog.hxx.

Referenced by isWholeWords(), and SfxAddTargetDialog().


The documentation for this class was generated from the following files: