19#ifndef INCLUDED_SVX_LANGBOX_HXX
20#define INCLUDED_SVX_LANGBOX_HXX
23#include <com/sun/star/uno/Sequence.hxx>
24#include <com/sun/star/i18n/ScriptType.hpp>
71 std::vector<weld::ComboBoxEntry>& rEntries,
bool requireSublang);
77 bool bHasLangNone,
bool bLangNoneIsLangAll =
false,
78 bool bCheckSpellAvail =
false,
bool bDefaultLangExist =
false,
80 sal_Int16 nDefaultType = 0 );
82 void InsertLanguages(
const std::vector<LanguageType>& rLanguageTypes);
108 void append(
const LanguageType eLangType,
const OUString& rStr);
void set_size_request(int nWidth, int nHeight)
LanguageType get_saved_active_id() const
bool m_bLangNoneIsLangAll
OUString get_active_text() const
void set_sensitive(bool bSensitive)
int find_text(const OUString &rStr) const
weld::ComboBox * get_widget()
DECL_DLLPRIVATE_LINK(ChangeHdl, weld::ComboBox &, void)
EditedAndValid m_eEditedAndValid
Link< weld::ComboBox &, void > m_aChangeHdl
void set_visible(bool bShow)
bool get_active_id_changed_from_saved() const
std::unique_ptr< weld::ComboBox > m_xControl
LanguageType m_eSavedLanguage
void connect_focus_in(const Link< weld::Widget &, void > &rLink)
EditedAndValid GetEditedAndValid() const
OUString get_text(int nPos) const
void set_active(int nPos)
void connect_changed(const Link< weld::ComboBox &, void > &rLink)
std::unique_ptr< css::uno::Sequence< sal_Int16 > > m_xSpellUsedLang
void set_width_chars(int nChars)
SVXCORE_DLLPUBLIC OUString GetDicInfoStr(std::u16string_view rName, const LanguageType nLang, bool bNeg)
constexpr OUStringLiteral EMPTY
#define SVXCORE_DLLPUBLIC