LibreOffice Module sw (master) 1
|
#include <tautofmt.hxx>
Public Member Functions | |
SwAutoFormatDlg (weld::Window *pParent, SwWrtShell *pShell, bool bSetAutoFormat, const SwTableAutoFormat *pSelFormat) | |
virtual short | run () override |
std::unique_ptr< SwTableAutoFormat > | FillAutoFormatOfIndex () 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 |
SwWrtShell * | m_pShell |
sal_uInt8 | m_nIndex |
sal_uInt8 | m_nDfltStylePos |
bool | m_bCoreDataChanged: 1 |
bool | m_bSetAutoFormat: 1 |
AutoFormatPreview | m_aWndPreview |
std::unique_ptr< SwTableAutoFormatTable > | m_xTableTable |
std::unique_ptr< weld::TreeView > | m_xLbFormat |
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::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::CustomWeld > | m_xWndPreview |
Definition at line 36 of file tautofmt.hxx.
SwAutoFormatDlg::SwAutoFormatDlg | ( | weld::Window * | pParent, |
SwWrtShell * | pShell, | ||
bool | bSetAutoFormat, | ||
const SwTableAutoFormat * | pSelFormat | ||
) |
Definition at line 59 of file tautofmt.cxx.
References AutoFormatPreview::DetectRTL(), Init(), m_aWndPreview, m_pShell, m_xLbFormat, m_xTableTable, and m_xWndPreview.
|
overridevirtual |
Definition at line 99 of file tautofmt.cxx.
References m_bCoreDataChanged, and m_xTableTable.
|
private |
|
private |
|
private |
|
private |
|
private |
std::unique_ptr< SwTableAutoFormat > SwAutoFormatDlg::FillAutoFormatOfIndex | ( | ) | const |
Definition at line 168 of file tautofmt.cxx.
References m_nIndex, and m_xTableTable.
|
private |
Definition at line 112 of file tautofmt.cxx.
References SwTableAutoFormat::GetName(), SwViewShell::GetShellRes(), i, LINK, m_bSetAutoFormat, m_nDfltStylePos, m_nIndex, m_xBtnAdd, m_xBtnAlignment, m_xBtnBorder, m_xBtnFont, m_xBtnNumFormat, m_xBtnPattern, m_xBtnRemove, m_xBtnRename, m_xLbFormat, m_xTableTable, and nCount.
Referenced by SwAutoFormatDlg().
|
overridevirtual |
Definition at line 400 of file tautofmt.cxx.
References m_bSetAutoFormat, m_nIndex, m_pShell, m_xTableTable, RET_OK, and SwFEShell::SetTableStyle().
|
private |
Definition at line 150 of file tautofmt.cxx.
References SwTableAutoFormat::IsBackground(), SwTableAutoFormat::IsFont(), SwTableAutoFormat::IsFrame(), SwTableAutoFormat::IsJustify(), SwTableAutoFormat::IsValueFormat(), m_xBtnAlignment, m_xBtnBorder, m_xBtnFont, m_xBtnNumFormat, and m_xBtnPattern.
|
private |
Definition at line 40 of file tautofmt.hxx.
|
private |
Definition at line 42 of file tautofmt.hxx.
|
private |
Definition at line 41 of file tautofmt.hxx.
|
private |
Definition at line 44 of file tautofmt.hxx.
|
private |
Definition at line 39 of file tautofmt.hxx.
|
private |
Definition at line 43 of file tautofmt.hxx.
|
private |
Definition at line 38 of file tautofmt.hxx.
|
private |
Definition at line 52 of file tautofmt.hxx.
Referenced by SwAutoFormatDlg().
|
private |
Definition at line 49 of file tautofmt.hxx.
Referenced by ~SwAutoFormatDlg().
|
private |
Definition at line 50 of file tautofmt.hxx.
|
private |
Definition at line 48 of file tautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 47 of file tautofmt.hxx.
Referenced by FillAutoFormatOfIndex(), Init(), and run().
|
private |
Definition at line 46 of file tautofmt.hxx.
Referenced by run().
|
private |
Definition at line 62 of file tautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 60 of file tautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 57 of file tautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 61 of file tautofmt.hxx.
|
private |
Definition at line 58 of file tautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 56 of file tautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 59 of file tautofmt.hxx.
Referenced by Init(), and UpdateChecks().
|
private |
Definition at line 63 of file tautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 64 of file tautofmt.hxx.
Referenced by Init().
|
private |
Definition at line 55 of file tautofmt.hxx.
Referenced by Init(), and SwAutoFormatDlg().
|
private |
Definition at line 53 of file tautofmt.hxx.
Referenced by FillAutoFormatOfIndex(), Init(), run(), SwAutoFormatDlg(), and ~SwAutoFormatDlg().
|
private |
Definition at line 65 of file tautofmt.hxx.
Referenced by SwAutoFormatDlg().