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

#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 OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Private Member Functions

void Init (const SwTableAutoFormat *pSelFormat)
 
void UpdateChecks (const SwTableAutoFormat &, bool bEnableBtn)
 
 DECL_LINK (CheckHdl, weld::Toggleable &, 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 m_aStrTitle
 
OUString m_aStrLabel
 
OUString m_aStrClose
 
OUString m_aStrDelTitle
 
OUString m_aStrDelMsg
 
OUString m_aStrRenameTitle
 
OUString m_aStrInvalidFormat
 
SwWrtShellm_pShell
 
sal_uInt8 m_nIndex
 
sal_uInt8 m_nDfltStylePos
 
bool m_bCoreDataChanged: 1
 
bool 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::SwAutoFormatDlg ( weld::Window pParent,
SwWrtShell pShell,
bool  bSetAutoFormat,
const SwTableAutoFormat pSelFormat 
)

◆ ~SwAutoFormatDlg()

SwAutoFormatDlg::~SwAutoFormatDlg ( )
overridevirtual

Definition at line 99 of file tautofmt.cxx.

References m_bCoreDataChanged, and m_xTableTable.

Member Function Documentation

◆ DECL_LINK() [1/5]

SwAutoFormatDlg::DECL_LINK ( AddHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

SwAutoFormatDlg::DECL_LINK ( CheckHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/5]

SwAutoFormatDlg::DECL_LINK ( RemoveHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/5]

SwAutoFormatDlg::DECL_LINK ( RenameHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/5]

SwAutoFormatDlg::DECL_LINK ( SelFormatHdl  ,
weld::TreeView ,
void   
)
private

◆ FillAutoFormatOfIndex()

std::unique_ptr< SwTableAutoFormat > SwAutoFormatDlg::FillAutoFormatOfIndex ( ) const

Definition at line 168 of file tautofmt.cxx.

References m_nIndex, and m_xTableTable.

◆ Init()

void SwAutoFormatDlg::Init ( const SwTableAutoFormat pSelFormat)
private

◆ run()

short SwAutoFormatDlg::run ( )
overridevirtual

◆ UpdateChecks()

void SwAutoFormatDlg::UpdateChecks ( const SwTableAutoFormat rFormat,
bool  bEnableBtn 
)
private

Member Data Documentation

◆ m_aStrClose

OUString SwAutoFormatDlg::m_aStrClose
private

Definition at line 40 of file tautofmt.hxx.

◆ m_aStrDelMsg

OUString SwAutoFormatDlg::m_aStrDelMsg
private

Definition at line 42 of file tautofmt.hxx.

◆ m_aStrDelTitle

OUString SwAutoFormatDlg::m_aStrDelTitle
private

Definition at line 41 of file tautofmt.hxx.

◆ m_aStrInvalidFormat

OUString SwAutoFormatDlg::m_aStrInvalidFormat
private

Definition at line 44 of file tautofmt.hxx.

◆ m_aStrLabel

OUString SwAutoFormatDlg::m_aStrLabel
private

Definition at line 39 of file tautofmt.hxx.

◆ m_aStrRenameTitle

OUString SwAutoFormatDlg::m_aStrRenameTitle
private

Definition at line 43 of file tautofmt.hxx.

◆ m_aStrTitle

OUString SwAutoFormatDlg::m_aStrTitle
private

Definition at line 38 of file tautofmt.hxx.

◆ m_aWndPreview

AutoFormatPreview SwAutoFormatDlg::m_aWndPreview
private

Definition at line 52 of file tautofmt.hxx.

Referenced by SwAutoFormatDlg().

◆ m_bCoreDataChanged

bool SwAutoFormatDlg::m_bCoreDataChanged
private

Definition at line 49 of file tautofmt.hxx.

Referenced by ~SwAutoFormatDlg().

◆ m_bSetAutoFormat

bool SwAutoFormatDlg::m_bSetAutoFormat
private

Definition at line 50 of file tautofmt.hxx.

Referenced by Init(), and run().

◆ m_nDfltStylePos

sal_uInt8 SwAutoFormatDlg::m_nDfltStylePos
private

Definition at line 48 of file tautofmt.hxx.

Referenced by Init().

◆ m_nIndex

sal_uInt8 SwAutoFormatDlg::m_nIndex
private

Definition at line 47 of file tautofmt.hxx.

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

◆ m_pShell

SwWrtShell* SwAutoFormatDlg::m_pShell
private

Definition at line 46 of file tautofmt.hxx.

Referenced by run().

◆ m_xBtnAdd

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

Definition at line 62 of file tautofmt.hxx.

Referenced by Init().

◆ m_xBtnAlignment

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

Definition at line 60 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnBorder

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

Definition at line 57 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnCancel

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

Definition at line 61 of file tautofmt.hxx.

◆ m_xBtnFont

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

Definition at line 58 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnNumFormat

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

Definition at line 56 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnPattern

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

Definition at line 59 of file tautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnRemove

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

Definition at line 63 of file tautofmt.hxx.

Referenced by Init().

◆ m_xBtnRename

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

Definition at line 64 of file tautofmt.hxx.

Referenced by Init().

◆ m_xLbFormat

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

Definition at line 55 of file tautofmt.hxx.

Referenced by Init(), and SwAutoFormatDlg().

◆ m_xTableTable

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

Definition at line 53 of file tautofmt.hxx.

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

◆ m_xWndPreview

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: