LibreOffice Module setup_native (master) 1
|
#include <windows.h>
#include <msiquery.h>
#include <malloc.h>
#include <cassert>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sal/macros.h>
#include <systools/win32/uwinapi.h>
#include <algorithm>
#include <spellchecker_selection.hxx>
Go to the source code of this file.
Macros | |
#define | MAX_LANGUAGES 200 |
#define | WIN32_LEAN_AND_MEAN |
Functions | |
static bool | GetMsiPropA (MSIHANDLE hMSI, const char *pPropName, char **ppValue) |
static const char * | langid_to_string (LANGID langid) |
static void | add_ui_lang (char const *lang) |
static BOOL CALLBACK | enum_ui_lang_proc (LPTSTR language, LONG_PTR) |
static bool | present_in_ui_langs (const char *lang) |
__declspec (dllexport) UINT __stdcall SelectLanguage(MSIHANDLE handle) | |
Variables | |
static const char * | ui_langs [MAX_LANGUAGES] |
static int | num_ui_langs = 0 |
#define MAX_LANGUAGES 200 |
Definition at line 23 of file sellang.cxx.
#define WIN32_LEAN_AND_MEAN |
Definition at line 25 of file sellang.cxx.
__declspec | ( | dllexport | ) |
Definition at line 237 of file sellang.cxx.
References add_ui_lang(), enum_ui_lang_proc(), GetMsiPropA(), i, langid_to_string(), length, MAX_LANGUAGES, present_in_ui_langs(), sprintf(), and TRUE.
|
static |
Definition at line 168 of file sellang.cxx.
References num_ui_langs, SAL_N_ELEMENTS, and ui_langs.
Referenced by __declspec(), and enum_ui_lang_proc().
Definition at line 176 of file sellang.cxx.
References add_ui_lang(), FALSE, langid_to_string(), num_ui_langs, SAL_N_ELEMENTS, TRUE, and ui_langs.
Referenced by __declspec().
|
static |
Definition at line 41 of file sellang.cxx.
Referenced by __declspec().
|
static |
Definition at line 58 of file sellang.cxx.
References LANG_SPANISH, and PRIMARYLANGID.
Referenced by __declspec(), and enum_ui_lang_proc().
|
static |
Definition at line 188 of file sellang.cxx.
References i, num_ui_langs, and ui_langs.
Referenced by __declspec().
|
static |
Definition at line 166 of file sellang.cxx.
Referenced by add_ui_lang(), enum_ui_lang_proc(), and present_in_ui_langs().
|
static |
Definition at line 165 of file sellang.cxx.
Referenced by add_ui_lang(), enum_ui_lang_proc(), and present_in_ui_langs().