89 "ConvertTextTableDialog")
90 , m_xTabBtn(m_xBuilder->weld_radio_button(
"tabs"))
91 , m_xSemiBtn(m_xBuilder->weld_radio_button(
"semicolons"))
92 , m_xParaBtn(m_xBuilder->weld_radio_button(
"paragraph"))
93 , m_xOtherBtn(m_xBuilder->weld_radio_button(
"other"))
94 , m_xOtherEd(m_xBuilder->weld_entry(
"othered"))
95 , m_xKeepColumn(m_xBuilder->weld_check_button(
"keepcolumn"))
96 , m_xOptions(m_xBuilder->weld_container(
"options"))
97 , m_xHeaderCB(m_xBuilder->weld_check_button(
"headingcb"))
98 , m_xRepeatHeaderCB(m_xBuilder->weld_check_button(
"repeatheading"))
99 , m_xRepeatRows(m_xBuilder->weld_container(
"repeatrows"))
100 , m_xRepeatHeaderNF(m_xBuilder->weld_spin_button(
"repeatheadersb"))
101 , m_xDontSplitCB(m_xBuilder->weld_check_button(
"dontsplitcb"))
102 , m_xAutoFormatBtn(m_xBuilder->weld_button(
"autofmt"))
171 if (
RET_OK == pDlg->Execute())
172 mxTAutoFormat = pDlg->FillAutoFormatOfIndex();
177 if (!rButton.get_active())
179 if (m_xTabBtn->get_active())
180 m_xKeepColumn->set_state(m_xKeepColumn->get_saved_state());
183 if (m_xKeepColumn->get_sensitive())
184 m_xKeepColumn->save_state();
185 m_xKeepColumn->set_active(
true);
187 m_xKeepColumn->set_sensitive(m_xTabBtn->get_active());
188 m_xOtherEd->set_sensitive(m_xOtherBtn->get_active());
193 m_xRepeatHeaderCB->set_sensitive(m_xHeaderCB->get_active());
194 RepeatHeaderCheckBoxHdl(*m_xRepeatHeaderCB);
199 bool bEnable = m_xHeaderCB->get_active() && m_xRepeatHeaderCB->get_active();
200 m_xRepeatRows->set_sensitive(bEnable);
Reference< XExecutableDialog > m_xDialog
virtual VclPtr< AbstractSwAutoFormatDlg > CreateSwAutoFormatDlg(weld::Window *pParent, SwWrtShell *pShell, bool bSetAutoFormat=true, const SwTableAutoFormat *pSelFormat=nullptr)=0
std::unique_ptr< weld::Button > m_xAutoFormatBtn
std::unique_ptr< weld::RadioButton > m_xTabBtn
std::unique_ptr< SwTableAutoFormat > mxTAutoFormat
void GetValues(sal_Unicode &rDelim, SwInsertTableOptions &rInsTableOpts, SwTableAutoFormat const *&prTAFormat)
std::unique_ptr< weld::CheckButton > m_xDontSplitCB
std::unique_ptr< weld::RadioButton > m_xOtherBtn
std::unique_ptr< weld::CheckButton > m_xHeaderCB
std::unique_ptr< weld::SpinButton > m_xRepeatHeaderNF
std::unique_ptr< weld::CheckButton > m_xKeepColumn
std::unique_ptr< weld::RadioButton > m_xSemiBtn
std::unique_ptr< weld::RadioButton > m_xParaBtn
std::unique_ptr< weld::Entry > m_xOtherEd
SwConvertTableDlg(SwView &rView, bool bToTable)
std::unique_ptr< weld::Container > m_xOptions
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
const SwInsertTableOptions & GetInsTableFlags(bool bHTML) const
SwDocShell * GetDocShell()
IMPL_LINK_NOARG(SwConvertTableDlg, AutoFormatHdl, weld::Button &, void)
IMPL_LINK(SwConvertTableDlg, BtnHdl, weld::Toggleable &, rButton, void)
static sal_Unicode uOther
static int nSaveButtonState
static bool bIsKeepColumn
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
#define LINK(Instance, Class, Member)
SwAbstractDialogFactory & GetFactory()
sal_uInt16 mnRowsToRepeat
SwInsertTableFlags mnInsMode
OUString SwResId(TranslateId aId)
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)