24#include <com/sun/star/i18n/ScriptType.hpp>
28#if !defined WIN32_LEAN_AND_MEAN
29# define WIN32_LEAN_AND_MEAN
52 case css::i18n::ScriptType::ASIAN:
55 case css::i18n::ScriptType::COMPLEX:
72 default: assert(
false && nI18NType &&
"Unknown i18n::ScriptType");
break;
86 default: assert(
false &&
static_cast<int>(nItemType) &&
"unknown SvtScriptType");
break;
100 bool isInstalled =
false;
102 int nLayouts = GetKeyboardLayoutList(0,
nullptr);
105 HKL *lpList =
static_cast<HKL*
>(LocalAlloc(LPTR, (nLayouts *
sizeof(HKL))));
108 nLayouts = GetKeyboardLayoutList(nLayouts, lpList);
110 for(
int i = 0;
i < nLayouts; ++
i)
112 LCID lang = MAKELCID(LOWORD(lpList[
i]), SORT_DEFAULT);
LanguageType getLanguageType(bool bResolveSystem=true) const
static sal_Int16 getScriptType(LanguageType nLang)
const LanguageTag & GetLanguageTag() const
#define LANGUAGE_PROCESS_OR_USER_DEFAULT
#define LANGUAGE_DONTKNOW
#define LANGUAGE_ENGLISH_US
static bool isKeyboardLayoutTypeInstalled(sal_Int16 scriptType)
SvtScriptType FromI18NToSvtScriptType(sal_Int16 nI18NType)
SvtScriptType GetScriptTypeOfLanguage(LanguageType nLang)
sal_Int16 GetI18NScriptTypeOfLanguage(LanguageType nLang)
sal_Int16 FromSvtScriptTypeToI18N(SvtScriptType nItemType)
#i42730# Gives access to the Windows 16bit system locale
bool isCJKKeyboardLayoutInstalled()