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

#include <tautofmt.hxx>

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

Public Member Functions

 SwAutoFormatDlg (weld::Window *pParent, SwWrtShell *pShell, bool bSetAutoFormat, const SwTableAutoFormat *pSelFormat)
 
virtual short run () override
 
std::unique_ptr< SwTableAutoFormatFillAutoFormatOfIndex () const
 
virtual ~SwAutoFormatDlg () override
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Member Functions

void Init (const SwTableAutoFormat *pSelFormat)
 
void UpdateChecks (const SwTableAutoFormat &, bool bEnableBtn)
 
 DECL_LINK (CheckHdl, weld::ToggleButton &, void)
 
 DECL_LINK (AddHdl, weld::Button &, void)
 
 DECL_LINK (RemoveHdl, weld::Button &, void)
 
 DECL_LINK (RenameHdl, weld::Button &, void)
 
 DECL_LINK (SelFormatHdl, weld::TreeView &, void)
 

Private Attributes

OUString const m_aStrTitle
 
OUString const m_aStrLabel
 
OUString const m_aStrClose
 
OUString const m_aStrDelTitle
 
OUString const m_aStrDelMsg
 
OUString const m_aStrRenameTitle
 
OUString const m_aStrInvalidFormat
 
SwWrtShellm_pShell
 
sal_uInt8 m_nIndex
 
sal_uInt8 m_nDfltStylePos
 
bool m_bCoreDataChanged: 1
 
bool const m_bSetAutoFormat: 1
 
AutoFormatPreview m_aWndPreview
 
std::unique_ptr< SwTableAutoFormatTablem_xTableTable
 
std::unique_ptr< weld::TreeViewm_xLbFormat
 
std::unique_ptr< weld::CheckButtonm_xBtnNumFormat
 
std::unique_ptr< weld::CheckButtonm_xBtnBorder
 
std::unique_ptr< weld::CheckButtonm_xBtnFont
 
std::unique_ptr< weld::CheckButtonm_xBtnPattern
 
std::unique_ptr< weld::CheckButtonm_xBtnAlignment
 
std::unique_ptr< weld::Buttonm_xBtnCancel
 
std::unique_ptr< weld::Buttonm_xBtnAdd
 
std::unique_ptr< weld::Buttonm_xBtnRemove
 
std::unique_ptr< weld::Buttonm_xBtnRename
 
std::unique_ptr< weld::CustomWeldm_xWndPreview
 

Detailed Description

Definition at line 36 of file tautofmt.hxx.

Constructor & Destructor Documentation

SwAutoFormatDlg::SwAutoFormatDlg ( weld::Window pParent,
SwWrtShell pShell,
bool  bSetAutoFormat,
const SwTableAutoFormat pSelFormat 
)
SwAutoFormatDlg::~SwAutoFormatDlg ( )
overridevirtual

Definition at line 95 of file tautofmt.cxx.

References m_bCoreDataChanged, and m_xTableTable.

Member Function Documentation

SwAutoFormatDlg::DECL_LINK ( CheckHdl  ,
weld::ToggleButton ,
void   
)
private
SwAutoFormatDlg::DECL_LINK ( AddHdl  ,
weld::Button ,
void   
)
private
SwAutoFormatDlg::DECL_LINK ( RemoveHdl  ,
weld::Button ,
void   
)
private
SwAutoFormatDlg::DECL_LINK ( RenameHdl  ,
weld::Button ,
void   
)
private
SwAutoFormatDlg::DECL_LINK ( SelFormatHdl  ,
weld::TreeView ,
void   
)
private
std::unique_ptr< SwTableAutoFormat > SwAutoFormatDlg::FillAutoFormatOfIndex ( ) const

Definition at line 164 of file tautofmt.cxx.

References m_nIndex.

void SwAutoFormatDlg::Init ( const SwTableAutoFormat pSelFormat)
private
short SwAutoFormatDlg::run ( )
overridevirtual
void SwAutoFormatDlg::UpdateChecks ( const SwTableAutoFormat rFormat,
bool  bEnableBtn 
)
private

Member Data Documentation

OUString const SwAutoFormatDlg::m_aStrClose
private

Definition at line 40 of file tautofmt.hxx.

OUString const SwAutoFormatDlg::m_aStrDelMsg
private

Definition at line 42 of file tautofmt.hxx.

OUString const SwAutoFormatDlg::m_aStrDelTitle
private

Definition at line 41 of file tautofmt.hxx.

OUString const SwAutoFormatDlg::m_aStrInvalidFormat
private

Definition at line 44 of file tautofmt.hxx.

OUString const SwAutoFormatDlg::m_aStrLabel
private

Definition at line 39 of file tautofmt.hxx.

OUString const SwAutoFormatDlg::m_aStrRenameTitle
private

Definition at line 43 of file tautofmt.hxx.

OUString const SwAutoFormatDlg::m_aStrTitle
private

Definition at line 38 of file tautofmt.hxx.

AutoFormatPreview SwAutoFormatDlg::m_aWndPreview
private

Definition at line 52 of file tautofmt.hxx.

Referenced by SwAutoFormatDlg().

bool SwAutoFormatDlg::m_bCoreDataChanged
private

Definition at line 49 of file tautofmt.hxx.

Referenced by ~SwAutoFormatDlg().

bool const SwAutoFormatDlg::m_bSetAutoFormat
private

Definition at line 50 of file tautofmt.hxx.

Referenced by Init(), and run().

sal_uInt8 SwAutoFormatDlg::m_nDfltStylePos
private

Definition at line 48 of file tautofmt.hxx.

Referenced by Init().

sal_uInt8 SwAutoFormatDlg::m_nIndex
private

Definition at line 47 of file tautofmt.hxx.

Referenced by FillAutoFormatOfIndex(), Init(), and run().

SwWrtShell* SwAutoFormatDlg::m_pShell
private

Definition at line 46 of file tautofmt.hxx.

Referenced by run().

std::unique_ptr<weld::Button> SwAutoFormatDlg::m_xBtnAdd
private

Definition at line 62 of file tautofmt.hxx.

Referenced by Init().

std::unique_ptr<weld::CheckButton> SwAutoFormatDlg::m_xBtnAlignment
private

Definition at line 60 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

std::unique_ptr<weld::CheckButton> SwAutoFormatDlg::m_xBtnBorder
private

Definition at line 57 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

std::unique_ptr<weld::Button> SwAutoFormatDlg::m_xBtnCancel
private

Definition at line 61 of file tautofmt.hxx.

std::unique_ptr<weld::CheckButton> SwAutoFormatDlg::m_xBtnFont
private

Definition at line 58 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

std::unique_ptr<weld::CheckButton> SwAutoFormatDlg::m_xBtnNumFormat
private

Definition at line 56 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

std::unique_ptr<weld::CheckButton> SwAutoFormatDlg::m_xBtnPattern
private

Definition at line 59 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

std::unique_ptr<weld::Button> SwAutoFormatDlg::m_xBtnRemove
private

Definition at line 63 of file tautofmt.hxx.

Referenced by Init().

std::unique_ptr<weld::Button> SwAutoFormatDlg::m_xBtnRename
private

Definition at line 64 of file tautofmt.hxx.

Referenced by Init().

std::unique_ptr<weld::TreeView> SwAutoFormatDlg::m_xLbFormat
private

Definition at line 55 of file tautofmt.hxx.

Referenced by Init(), and SwAutoFormatDlg().

std::unique_ptr<SwTableAutoFormatTable> SwAutoFormatDlg::m_xTableTable
private

Definition at line 53 of file tautofmt.hxx.

Referenced by Init(), run(), SwAutoFormatDlg(), and ~SwAutoFormatDlg().

std::unique_ptr<weld::CustomWeld> SwAutoFormatDlg::m_xWndPreview
private

Definition at line 65 of file tautofmt.hxx.

Referenced by SwAutoFormatDlg().


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