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 &rViewData)
 
virtual ~ScAutoFormatDlg () override
 
sal_uInt16 GetIndex () const
 
OUString GetCurrFormatName ()
 
- 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

void Init ()
 
void UpdateChecks ()
 
 DECL_LINK (CheckHdl, weld::Toggleable &, 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::ScAutoFormatDlg ( weld::Window pParent,
ScAutoFormat pAutoFormat,
const ScAutoFormatData pSelFormatData,
const ScViewData rViewData 
)

◆ ~ScAutoFormatDlg()

ScAutoFormatDlg::~ScAutoFormatDlg ( )
overridevirtual

Definition at line 79 of file scuiautofmt.cxx.

Member Function Documentation

◆ DECL_LINK() [1/7]

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

◆ DECL_LINK() [2/7]

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

◆ DECL_LINK() [3/7]

ScAutoFormatDlg::DECL_LINK ( CloseHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/7]

ScAutoFormatDlg::DECL_LINK ( DblClkHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [5/7]

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

◆ DECL_LINK() [6/7]

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

◆ DECL_LINK() [7/7]

ScAutoFormatDlg::DECL_LINK ( SelFmtHdl  ,
weld::TreeView ,
void   
)
private

◆ GetCurrFormatName()

OUString ScAutoFormatDlg::GetCurrFormatName ( )

Definition at line 379 of file scuiautofmt.cxx.

References ScAutoFormat::findByIndex(), nIndex, p, and pFormat.

◆ GetIndex()

sal_uInt16 ScAutoFormatDlg::GetIndex ( ) const
inline

Definition at line 34 of file scuiautofmt.hxx.

References nIndex.

◆ Init()

void ScAutoFormatDlg::Init ( void  )
private

◆ UpdateChecks()

void ScAutoFormatDlg::UpdateChecks ( )
private

Member Data Documentation

◆ aStrClose

OUString ScAutoFormatDlg::aStrClose
private

Definition at line 40 of file scuiautofmt.hxx.

◆ aStrDelMsg

OUString ScAutoFormatDlg::aStrDelMsg
private

Definition at line 41 of file scuiautofmt.hxx.

◆ aStrLabel

OUString ScAutoFormatDlg::aStrLabel
private

Definition at line 39 of file scuiautofmt.hxx.

◆ aStrRename

OUString ScAutoFormatDlg::aStrRename
private

Definition at line 42 of file scuiautofmt.hxx.

◆ aStrTitle

OUString ScAutoFormatDlg::aStrTitle
private

Definition at line 38 of file scuiautofmt.hxx.

◆ bCoreDataChanged

bool ScAutoFormatDlg::bCoreDataChanged
private

Definition at line 47 of file scuiautofmt.hxx.

◆ bFmtInserted

bool ScAutoFormatDlg::bFmtInserted
private

Definition at line 48 of file scuiautofmt.hxx.

Referenced by Init().

◆ m_aWndPreview

ScAutoFmtPreview ScAutoFormatDlg::m_aWndPreview
private

Definition at line 50 of file scuiautofmt.hxx.

Referenced by ScAutoFormatDlg().

◆ m_xBtnAdd

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

Definition at line 54 of file scuiautofmt.hxx.

Referenced by Init().

◆ m_xBtnAdjust

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

Definition at line 62 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnAlignment

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

Definition at line 61 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnBorder

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

Definition at line 58 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnCancel

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

Definition at line 53 of file scuiautofmt.hxx.

Referenced by Init().

◆ m_xBtnFont

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

Definition at line 59 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnNumFormat

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

Definition at line 57 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnOk

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

Definition at line 52 of file scuiautofmt.hxx.

Referenced by Init().

◆ m_xBtnPattern

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

Definition at line 60 of file scuiautofmt.hxx.

Referenced by Init(), and UpdateChecks().

◆ m_xBtnRemove

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

Definition at line 55 of file scuiautofmt.hxx.

Referenced by Init().

◆ m_xBtnRename

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

Definition at line 56 of file scuiautofmt.hxx.

Referenced by Init().

◆ m_xLbFormat

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

Definition at line 51 of file scuiautofmt.hxx.

Referenced by Init(), and ScAutoFormatDlg().

◆ m_xWndPreview

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

Definition at line 63 of file scuiautofmt.hxx.

Referenced by ScAutoFormatDlg().

◆ nIndex

sal_uInt16 ScAutoFormatDlg::nIndex
private

Definition at line 46 of file scuiautofmt.hxx.

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

◆ pFormat

ScAutoFormat* ScAutoFormatDlg::pFormat
private

Definition at line 44 of file scuiautofmt.hxx.

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

◆ pSelFmtData

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: