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

#include <break.hxx>

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

Public Member Functions

 SwBreakDlg (weld::Window *pParent, SwWrtShell &rSh)
 
const OUString & GetTemplateName () const
 
sal_uInt16 GetKind () const
 
const ::std::optional< sal_uInt16 > & GetPageNumber () const
 
const std::optional< SwLineBreakClear > & GetClear () 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 (ToggleHdl, weld::Toggleable &, void)
 
 DECL_LINK (ChangeHdl, weld::ComboBox &, void)
 
 DECL_LINK (PageNumHdl, weld::Toggleable &, void)
 
 DECL_LINK (PageNumModifyHdl, weld::SpinButton &, void)
 
 DECL_LINK (OkHdl, weld::Button &, void)
 
void CheckEnable ()
 
void rememberResult ()
 

Private Attributes

std::unique_ptr< weld::RadioButtonm_xLineBtn
 
std::unique_ptr< weld::Labelm_xLineClearText
 
std::unique_ptr< weld::ComboBoxm_xLineClearBox
 
std::unique_ptr< weld::RadioButtonm_xColumnBtn
 
std::unique_ptr< weld::RadioButtonm_xPageBtn
 
std::unique_ptr< weld::Labelm_xPageCollText
 
std::unique_ptr< weld::ComboBoxm_xPageCollBox
 
std::unique_ptr< weld::CheckButtonm_xPageNumBox
 
std::unique_ptr< weld::SpinButtonm_xPageNumEdit
 
std::unique_ptr< weld::Buttonm_xOkBtn
 
SwWrtShellm_rSh
 
OUString m_aTemplate
 
sal_uInt16 m_nKind
 
::std::optional< sal_uInt16 > m_oPgNum
 
std::optional< SwLineBreakClearm_eClear
 
bool m_bHtmlMode
 

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 29 of file break.hxx.

Constructor & Destructor Documentation

◆ SwBreakDlg()

SwBreakDlg::SwBreakDlg ( weld::Window pParent,
SwWrtShell rSh 
)

Member Function Documentation

◆ CheckEnable()

void SwBreakDlg::CheckEnable ( )
private

◆ DECL_LINK() [1/5]

SwBreakDlg::DECL_LINK ( ChangeHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/5]

SwBreakDlg::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/5]

SwBreakDlg::DECL_LINK ( PageNumHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/5]

SwBreakDlg::DECL_LINK ( PageNumModifyHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [5/5]

SwBreakDlg::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetClear()

const std::optional< SwLineBreakClear > & SwBreakDlg::GetClear ( ) const
inline

Definition at line 64 of file break.hxx.

References m_eClear.

Referenced by AbstractSwBreakDlg_Impl::GetClear().

◆ GetKind()

sal_uInt16 SwBreakDlg::GetKind ( ) const
inline

Definition at line 62 of file break.hxx.

References m_nKind.

Referenced by AbstractSwBreakDlg_Impl::GetKind().

◆ GetPageNumber()

const ::std::optional< sal_uInt16 > & SwBreakDlg::GetPageNumber ( ) const
inline

Definition at line 63 of file break.hxx.

References m_oPgNum.

Referenced by AbstractSwBreakDlg_Impl::GetPageNumber().

◆ GetTemplateName()

const OUString & SwBreakDlg::GetTemplateName ( ) const
inline

Definition at line 61 of file break.hxx.

References m_aTemplate.

Referenced by AbstractSwBreakDlg_Impl::GetTemplateName().

◆ rememberResult()

void SwBreakDlg::rememberResult ( )
private

Member Data Documentation

◆ m_aTemplate

OUString SwBreakDlg::m_aTemplate
private

Definition at line 43 of file break.hxx.

Referenced by GetTemplateName(), and rememberResult().

◆ m_bHtmlMode

bool SwBreakDlg::m_bHtmlMode
private

Definition at line 48 of file break.hxx.

Referenced by CheckEnable().

◆ m_eClear

std::optional<SwLineBreakClear> SwBreakDlg::m_eClear
private

Definition at line 46 of file break.hxx.

Referenced by GetClear(), and rememberResult().

◆ m_nKind

sal_uInt16 SwBreakDlg::m_nKind
private

Definition at line 44 of file break.hxx.

Referenced by GetKind(), and rememberResult().

◆ m_oPgNum

::std::optional<sal_uInt16> SwBreakDlg::m_oPgNum
private

Definition at line 45 of file break.hxx.

Referenced by GetPageNumber(), and rememberResult().

◆ m_rSh

SwWrtShell& SwBreakDlg::m_rSh
private

Definition at line 42 of file break.hxx.

Referenced by CheckEnable(), and SwBreakDlg().

◆ m_xColumnBtn

std::unique_ptr<weld::RadioButton> SwBreakDlg::m_xColumnBtn
private

Definition at line 34 of file break.hxx.

Referenced by CheckEnable(), rememberResult(), and SwBreakDlg().

◆ m_xLineBtn

std::unique_ptr<weld::RadioButton> SwBreakDlg::m_xLineBtn
private

Definition at line 31 of file break.hxx.

Referenced by CheckEnable(), rememberResult(), and SwBreakDlg().

◆ m_xLineClearBox

std::unique_ptr<weld::ComboBox> SwBreakDlg::m_xLineClearBox
private

Definition at line 33 of file break.hxx.

Referenced by CheckEnable(), and rememberResult().

◆ m_xLineClearText

std::unique_ptr<weld::Label> SwBreakDlg::m_xLineClearText
private

Definition at line 32 of file break.hxx.

Referenced by CheckEnable().

◆ m_xOkBtn

std::unique_ptr<weld::Button> SwBreakDlg::m_xOkBtn
private

Definition at line 40 of file break.hxx.

Referenced by SwBreakDlg().

◆ m_xPageBtn

std::unique_ptr<weld::RadioButton> SwBreakDlg::m_xPageBtn
private

Definition at line 35 of file break.hxx.

Referenced by CheckEnable(), rememberResult(), and SwBreakDlg().

◆ m_xPageCollBox

std::unique_ptr<weld::ComboBox> SwBreakDlg::m_xPageCollBox
private

Definition at line 37 of file break.hxx.

Referenced by CheckEnable(), rememberResult(), and SwBreakDlg().

◆ m_xPageCollText

std::unique_ptr<weld::Label> SwBreakDlg::m_xPageCollText
private

Definition at line 36 of file break.hxx.

Referenced by CheckEnable().

◆ m_xPageNumBox

std::unique_ptr<weld::CheckButton> SwBreakDlg::m_xPageNumBox
private

Definition at line 38 of file break.hxx.

Referenced by CheckEnable(), rememberResult(), and SwBreakDlg().

◆ m_xPageNumEdit

std::unique_ptr<weld::SpinButton> SwBreakDlg::m_xPageNumEdit
private

Definition at line 39 of file break.hxx.

Referenced by CheckEnable(), rememberResult(), and SwBreakDlg().


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