20#undef SC_DLLIMPLEMENTATION
29 : GenericDialogController(pParent,
"modules/scalc/ui/textimportoptions.ui",
"TextImportOptionsDialog")
30 , m_xBtnOk(m_xBuilder->weld_button(
"ok"))
31 , m_xRbAutomatic(m_xBuilder->weld_radio_button(
"automatic"))
32 , m_xRbCustom(m_xBuilder->weld_radio_button(
"custom"))
33 , m_xBtnConvertDate(m_xBuilder->weld_check_button(
"convertdata"))
34 , m_xBtnKeepAsking(m_xBuilder->weld_check_button(
"keepasking"))
35 , m_xLbCustomLang(new
SvxLanguageBox(m_xBuilder->weld_combo_box(
"lang")))
72 SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN,
false);
86 if (&rBtn == m_xRbAutomatic.get())
88 m_xLbCustomLang->set_sensitive(
false);
90 else if (&rBtn == m_xRbCustom.get())
92 m_xLbCustomLang->set_sensitive(
true);
Reference< XExecutableDialog > m_xDialog
const LanguageTag & GetLanguageTag() const
static const AllSettings & GetSettings()
LanguageType getLanguageType(bool bResolveSystem=true) const
virtual ~ScTextImportOptionsDlg() override
bool isKeepAskingSet() const
std::unique_ptr< SvxLanguageBox > m_xLbCustomLang
ScTextImportOptionsDlg(weld::Window *pParent)
std::unique_ptr< weld::CheckButton > m_xBtnKeepAsking
std::unique_ptr< weld::RadioButton > m_xRbAutomatic
std::unique_ptr< weld::CheckButton > m_xBtnConvertDate
LanguageType getLanguageType() const
std::unique_ptr< weld::Button > m_xBtnOk
bool isDateConversionSet() const
std::unique_ptr< weld::RadioButton > m_xRbCustom
#define LINK(Instance, Class, Member)
IMPL_LINK(ScTextImportOptionsDlg, RadioHdl, weld::Toggleable &, rBtn, void)
IMPL_LINK_NOARG(ScTextImportOptionsDlg, OKHdl, weld::Button &, void)