LibreOffice Module sc (master) 1
|
#include <scuiautofmt.hxx>
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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 |
ScAutoFormat * | pFormat |
const ScAutoFormatData * | pSelFmtData |
sal_uInt16 | nIndex |
bool | bCoreDataChanged |
bool | bFmtInserted |
ScAutoFmtPreview | m_aWndPreview |
std::unique_ptr< weld::TreeView > | m_xLbFormat |
std::unique_ptr< weld::Button > | m_xBtnOk |
std::unique_ptr< weld::Button > | m_xBtnCancel |
std::unique_ptr< weld::Button > | m_xBtnAdd |
std::unique_ptr< weld::Button > | m_xBtnRemove |
std::unique_ptr< weld::Button > | m_xBtnRename |
std::unique_ptr< weld::CheckButton > | m_xBtnNumFormat |
std::unique_ptr< weld::CheckButton > | m_xBtnBorder |
std::unique_ptr< weld::CheckButton > | m_xBtnFont |
std::unique_ptr< weld::CheckButton > | m_xBtnPattern |
std::unique_ptr< weld::CheckButton > | m_xBtnAlignment |
std::unique_ptr< weld::CheckButton > | m_xBtnAdjust |
std::unique_ptr< weld::CustomWeld > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 25 of file scuiautofmt.hxx.
ScAutoFormatDlg::ScAutoFormatDlg | ( | weld::Window * | pParent, |
ScAutoFormat * | pAutoFormat, | ||
const ScAutoFormatData * | pSelFormatData, | ||
const ScViewData & | rViewData | ||
) |
Definition at line 38 of file scuiautofmt.cxx.
References ScAutoFormat::begin(), ScAutoFmtPreview::DetectRTL(), Init(), m_aWndPreview, m_xLbFormat, m_xWndPreview, nIndex, ScAutoFmtPreview::NotifyChange(), and pFormat.
|
overridevirtual |
Definition at line 79 of file scuiautofmt.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
OUString ScAutoFormatDlg::GetCurrFormatName | ( | ) |
Definition at line 379 of file scuiautofmt.cxx.
References ScAutoFormat::findByIndex(), nIndex, p, and pFormat.
|
inline |
Definition at line 34 of file scuiautofmt.hxx.
References nIndex.
|
private |
Definition at line 83 of file scuiautofmt.cxx.
References bFmtInserted, LINK, m_xBtnAdd, m_xBtnAdjust, m_xBtnAlignment, m_xBtnBorder, m_xBtnCancel, m_xBtnFont, m_xBtnNumFormat, m_xBtnOk, m_xBtnPattern, m_xBtnRemove, m_xBtnRename, m_xLbFormat, nIndex, pFormat, pSelFmtData, ScAutoFormat::size(), and UpdateChecks().
Referenced by ScAutoFormatDlg().
|
private |
Definition at line 120 of file scuiautofmt.cxx.
References ScAutoFormat::findByIndex(), m_xBtnAdjust, m_xBtnAlignment, m_xBtnBorder, m_xBtnFont, m_xBtnNumFormat, m_xBtnPattern, nIndex, pData, and pFormat.
Referenced by Init().
|
private |
Definition at line 40 of file scuiautofmt.hxx.
|
private |
Definition at line 41 of file scuiautofmt.hxx.
|
private |
Definition at line 39 of file scuiautofmt.hxx.
|
private |
Definition at line 42 of file scuiautofmt.hxx.
|
private |
Definition at line 38 of file scuiautofmt.hxx.
|
private |
Definition at line 47 of file scuiautofmt.hxx.
|
private |
Definition at line 48 of file scuiautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 50 of file scuiautofmt.hxx.
Referenced by ScAutoFormatDlg().
|
private |
Definition at line 54 of file scuiautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 62 of file scuiautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 61 of file scuiautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 58 of file scuiautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 53 of file scuiautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 59 of file scuiautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 57 of file scuiautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 52 of file scuiautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 60 of file scuiautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 55 of file scuiautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 56 of file scuiautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 51 of file scuiautofmt.hxx.
Referenced by Init(), and ScAutoFormatDlg().
|
private |
Definition at line 63 of file scuiautofmt.hxx.
Referenced by ScAutoFormatDlg().
|
private |
Definition at line 46 of file scuiautofmt.hxx.
Referenced by GetCurrFormatName(), GetIndex(), Init(), and UpdateChecks().
|
private |
Definition at line 44 of file scuiautofmt.hxx.
Referenced by GetCurrFormatName(), Init(), ScAutoFormatDlg(), and UpdateChecks().
|
private |
Definition at line 45 of file scuiautofmt.hxx.
Referenced by Init().