Lines Matching refs:aLanguages
891 sal_Bool lcl_GetLanguagesForEncoding(rtl_TextEncoding eEnc, LanguageType aLanguages[]) in lcl_GetLanguagesForEncoding() argument
909 aLanguages[0] = LANGUAGE_GERMAN; in lcl_GetLanguagesForEncoding()
910 aLanguages[1] = LANGUAGE_FRENCH; in lcl_GetLanguagesForEncoding()
911 aLanguages[2] = LANGUAGE_ITALIAN; in lcl_GetLanguagesForEncoding()
912 aLanguages[3] = LANGUAGE_SPANISH; in lcl_GetLanguagesForEncoding()
917 aLanguages[0] = LANGUAGE_FINNISH; in lcl_GetLanguagesForEncoding()
918 aLanguages[1] = LANGUAGE_NORWEGIAN; in lcl_GetLanguagesForEncoding()
919 aLanguages[2] = LANGUAGE_SWEDISH; in lcl_GetLanguagesForEncoding()
920 aLanguages[3] = LANGUAGE_DANISH; in lcl_GetLanguagesForEncoding()
929 aLanguages[0] = LANGUAGE_POLISH; in lcl_GetLanguagesForEncoding()
930 aLanguages[1] = LANGUAGE_CZECH; in lcl_GetLanguagesForEncoding()
931 aLanguages[2] = LANGUAGE_HUNGARIAN; in lcl_GetLanguagesForEncoding()
932 aLanguages[3] = LANGUAGE_SLOVAK; in lcl_GetLanguagesForEncoding()
938 aLanguages[0] = LANGUAGE_LATVIAN ; in lcl_GetLanguagesForEncoding()
939 aLanguages[1] = LANGUAGE_LITHUANIAN; in lcl_GetLanguagesForEncoding()
940 aLanguages[2] = LANGUAGE_ESTONIAN ; in lcl_GetLanguagesForEncoding()
943 case RTL_TEXTENCODING_IBM_863 : aLanguages[0] = LANGUAGE_FRENCH_CANADIAN; break; in lcl_GetLanguagesForEncoding()
944 case RTL_TEXTENCODING_APPLE_FARSI : aLanguages[0] = LANGUAGE_FARSI; break; in lcl_GetLanguagesForEncoding()
945 case RTL_TEXTENCODING_APPLE_ROMANIAN:aLanguages[0] = LANGUAGE_ROMANIAN; break; in lcl_GetLanguagesForEncoding()
949 aLanguages[0] = LANGUAGE_ICELANDIC; in lcl_GetLanguagesForEncoding()
952 case RTL_TEXTENCODING_APPLE_CROATIAN:aLanguages[0] = LANGUAGE_CROATIAN; break; in lcl_GetLanguagesForEncoding()
955 case RTL_TEXTENCODING_ASCII_US : aLanguages[0] = LANGUAGE_ENGLISH; break; in lcl_GetLanguagesForEncoding()
961 aLanguages[0] = LANGUAGE_HEBREW; in lcl_GetLanguagesForEncoding()
968 aLanguages[0] = LANGUAGE_TURKISH; in lcl_GetLanguagesForEncoding()
972 aLanguages[0] = LANGUAGE_PORTUGUESE; in lcl_GetLanguagesForEncoding()
980 aLanguages[0] = LANGUAGE_GREEK; in lcl_GetLanguagesForEncoding()
989 aLanguages[0] = LANGUAGE_RUSSIAN; in lcl_GetLanguagesForEncoding()
994 aLanguages[0] = LANGUAGE_UKRAINIAN; in lcl_GetLanguagesForEncoding()
1001 aLanguages[0] = LANGUAGE_ARABIC_SAUDI_ARABIA; in lcl_GetLanguagesForEncoding()
1010 aLanguages[0] = LANGUAGE_CHINESE_TRADITIONAL; in lcl_GetLanguagesForEncoding()
1021 aLanguages[0] = LANGUAGE_JAPANESE; in lcl_GetLanguagesForEncoding()
1031 aLanguages[0] = LANGUAGE_CHINESE_SIMPLIFIED; in lcl_GetLanguagesForEncoding()
1039 aLanguages[0] = LANGUAGE_KOREAN; in lcl_GetLanguagesForEncoding()
1045 aLanguages[0] = LANGUAGE_THAI; in lcl_GetLanguagesForEncoding()
1049 default: aLanguages[0] = Application::GetSettings().GetUILanguage(); in lcl_GetLanguagesForEncoding()
1051 return aLanguages[0] != LANGUAGE_SYSTEM; in lcl_GetLanguagesForEncoding()
1058 LanguageType aLanguages[5] = in SetFont() local
1063 if(lcl_GetLanguagesForEncoding(eSourceEncoding, aLanguages)) in SetFont()
1066 aFont = OutputDevice::GetDefaultFont(DEFAULTFONT_FIXED, aLanguages[0], 0, this); in SetFont()