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

#include <scuiautofmt.hxx>

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

Public Member Functions

 ScAutoFormatDlg (weld::Window *pParent, ScAutoFormat *pAutoFormat, const ScAutoFormatData *pSelFormatData, const ScViewData *pViewData)
 
virtual ~ScAutoFormatDlg () override
 
sal_uInt16 GetIndex () const
 
OUString GetCurrFormatName ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void Init ()
 
void UpdateChecks ()
 
 DECL_LINK (CheckHdl, weld::ToggleButton &, void)
 
 DECL_LINK (AddHdl, weld::Button &, void)
 
 DECL_LINK (RemoveHdl, weld::Button &, void)
 
 DECL_LINK (SelFmtHdl, weld::TreeView &, void)
 
 DECL_LINK (CloseHdl, weld::Button &, void)
 
 DECL_LINK (DblClkHdl, weld::TreeView &, bool)
 
 DECL_LINK (RenameHdl, weld::Button &, void)
 

Private Attributes

OUString aStrTitle
 
OUString aStrLabel
 
OUString aStrClose
 
OUString aStrDelMsg
 
OUString aStrRename
 
ScAutoFormatpFormat
 
const ScAutoFormatDatapSelFmtData
 
sal_uInt16 nIndex
 
bool bCoreDataChanged
 
bool bFmtInserted
 
ScAutoFmtPreview m_aWndPreview
 
std::unique_ptr< weld::TreeViewm_xLbFormat
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
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::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::CheckButtonm_xBtnAdjust
 
std::unique_ptr< weld::CustomWeldm_xWndPreview
 

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 25 of file scuiautofmt.hxx.

Constructor & Destructor Documentation

ScAutoFormatDlg::ScAutoFormatDlg ( weld::Window pParent,
ScAutoFormat pAutoFormat,
const ScAutoFormatData pSelFormatData,
const ScViewData pViewData 
)
ScAutoFormatDlg::~ScAutoFormatDlg ( )
overridevirtual

Definition at line 78 of file scuiautofmt.cxx.

Member Function Documentation

ScAutoFormatDlg::DECL_LINK ( CheckHdl  ,
weld::ToggleButton ,
void   
)
private
ScAutoFormatDlg::DECL_LINK ( AddHdl  ,
weld::Button ,
void   
)
private
ScAutoFormatDlg::DECL_LINK ( RemoveHdl  ,
weld::Button ,
void   
)
private
ScAutoFormatDlg::DECL_LINK ( SelFmtHdl  ,
weld::TreeView ,
void   
)
private
ScAutoFormatDlg::DECL_LINK ( CloseHdl  ,
weld::Button ,
void   
)
private
ScAutoFormatDlg::DECL_LINK ( DblClkHdl  ,
weld::TreeView ,
bool   
)
private
ScAutoFormatDlg::DECL_LINK ( RenameHdl  ,
weld::Button ,
void   
)
private
OUString ScAutoFormatDlg::GetCurrFormatName ( )
sal_uInt16 ScAutoFormatDlg::GetIndex ( ) const
inline

Definition at line 34 of file scuiautofmt.hxx.

References nIndex.

void ScAutoFormatDlg::Init ( void  )
private
void ScAutoFormatDlg::UpdateChecks ( )
private

Member Data Documentation

OUString ScAutoFormatDlg::aStrClose
private

Definition at line 40 of file scuiautofmt.hxx.

OUString ScAutoFormatDlg::aStrDelMsg
private

Definition at line 41 of file scuiautofmt.hxx.

OUString ScAutoFormatDlg::aStrLabel
private

Definition at line 39 of file scuiautofmt.hxx.

OUString ScAutoFormatDlg::aStrRename
private

Definition at line 42 of file scuiautofmt.hxx.

OUString ScAutoFormatDlg::aStrTitle
private

Definition at line 38 of file scuiautofmt.hxx.

bool ScAutoFormatDlg::bCoreDataChanged
private

Definition at line 47 of file scuiautofmt.hxx.

bool ScAutoFormatDlg::bFmtInserted
private

Definition at line 48 of file scuiautofmt.hxx.

Referenced by Init().

ScAutoFmtPreview ScAutoFormatDlg::m_aWndPreview
private

Definition at line 50 of file scuiautofmt.hxx.

Referenced by ScAutoFormatDlg().

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

Definition at line 54 of file scuiautofmt.hxx.

Referenced by Init().

std::unique_ptr<weld::CheckButton> ScAutoFormatDlg::m_xBtnAdjust
private

Definition at line 62 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

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

Definition at line 61 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

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

Definition at line 58 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

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

Definition at line 53 of file scuiautofmt.hxx.

Referenced by Init().

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

Definition at line 59 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

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

Definition at line 57 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

std::unique_ptr<weld::Button> ScAutoFormatDlg::m_xBtnOk
private

Definition at line 52 of file scuiautofmt.hxx.

Referenced by Init().

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

Definition at line 60 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

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

Definition at line 55 of file scuiautofmt.hxx.

Referenced by Init().

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

Definition at line 56 of file scuiautofmt.hxx.

Referenced by Init().

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

Definition at line 51 of file scuiautofmt.hxx.

Referenced by Init(), and ScAutoFormatDlg().

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

Definition at line 63 of file scuiautofmt.hxx.

Referenced by ScAutoFormatDlg().

sal_uInt16 ScAutoFormatDlg::nIndex
private

Definition at line 46 of file scuiautofmt.hxx.

Referenced by GetCurrFormatName(), GetIndex(), Init(), and UpdateChecks().

ScAutoFormat* ScAutoFormatDlg::pFormat
private

Definition at line 44 of file scuiautofmt.hxx.

Referenced by GetCurrFormatName(), Init(), ScAutoFormatDlg(), and UpdateChecks().

const ScAutoFormatData* ScAutoFormatDlg::pSelFmtData
private

Definition at line 45 of file scuiautofmt.hxx.

Referenced by Init().


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