/trunk/main/i18npool/source/isolang/ |
H A D | mslangid.cxx | 75 switch (nLang) in simplifySystemLanguages() 85 return nLang; in simplifySystemLanguages() 107 return nLang; in getRealLanguageWithoutConfig() 135 return nLang; in getRealLanguage() 143 return nLang; in resolveSystemLanguageByScriptType() 145 nLang = getRealLanguage(nLang); in resolveSystemLanguageByScriptType() 170 return nLang; in resolveSystemLanguageByScriptType() 195 nLang = MsLangId::getRealLanguage( nLang); in convertLanguageToLocale() 317 switch( nLang ) in getScriptType() 412 switch (nLang) in getReplacementForObsoleteLanguage() [all …]
|
H A D | isolang.cxx | 589 if ( nLang == LANGUAGE_SYSTEM ) in convertLanguageToIsoNames() 590 nLang = MsLangId::getSystemLanguage(); in convertLanguageToIsoNames() 596 if ( pEntry->mnLang == nLang ) in convertLanguageToIsoNames() 612 if ( pNoneStdEntry->mnLang == nLang ) in convertLanguageToIsoNames() 633 if ( nLang == LANGUAGE_SYSTEM ) in convertLanguageToIsoNames() 634 nLang = MsLangId::getSystemLanguage(); in convertLanguageToIsoNames() 640 if ( pEntry->mnLang == nLang ) in convertLanguageToIsoNames() 656 if ( pNoneStdEntry->mnLang == nLang ) in convertLanguageToIsoNames() 682 if (pEntry->mnLang == nLang) in lcl_lookupFallbackEntry() 686 switch (nLang) in lcl_lookupFallbackEntry() [all …]
|
H A D | inwnt.cxx | 60 LanguageType nLang = rSystemLanguage; in getPlatformSystemLanguageImpl() local 61 if ( nLang == LANGUAGE_DONTKNOW ) in getPlatformSystemLanguageImpl() 64 nLang = rSystemLanguage; in getPlatformSystemLanguageImpl() 65 if ( nLang == LANGUAGE_DONTKNOW ) in getPlatformSystemLanguageImpl() 70 nLang = GetSVLang( nLangId ); in getPlatformSystemLanguageImpl() 72 if ( nLang == LANGUAGE_DONTKNOW ) in getPlatformSystemLanguageImpl() 75 nLang = GetSVLang( nLangId ); in getPlatformSystemLanguageImpl() 78 rSystemLanguage = nLang; in getPlatformSystemLanguageImpl()
|
H A D | inunx.cxx | 95 LanguageType nLang = rSystemLanguage; in getPlatformSystemLanguageImpl() local 96 if ( nLang == LANGUAGE_DONTKNOW ) in getPlatformSystemLanguageImpl() 99 nLang = rSystemLanguage; in getPlatformSystemLanguageImpl() 100 if ( nLang == LANGUAGE_DONTKNOW ) in getPlatformSystemLanguageImpl() 111 nLang = MsLangId::convertIsoNamesToLanguage( rLang, rCountry ); in getPlatformSystemLanguageImpl() 113 rSystemLanguage = nLang; in getPlatformSystemLanguageImpl() 121 nLang = MsLangId::convertUnxByteStringToLanguage( aUnxLang ); in getPlatformSystemLanguageImpl() 123 rSystemLanguage = nLang; in getPlatformSystemLanguageImpl()
|
/trunk/main/i18npool/inc/i18npool/ |
H A D | mslangid.hxx | 92 static LanguageType getRealLanguage( LanguageType nLang ); 103 static void convertLanguageToLocale( LanguageType nLang, 124 LanguageType nLang, bool bResolveSystem = true ); 158 static LanguageType getFallbackLanguage( LanguageType nLang ); 165 static void convertLanguageToIsoNames( LanguageType nLang, 167 static void convertLanguageToIsoNames( LanguageType nLang, 216 static bool isRightToLeft( LanguageType nLang ); 224 static bool hasForbiddenCharacters( LanguageType nLang ); 228 static bool needsSequenceChecking( LanguageType nLang ); 232 static sal_Int16 getScriptType( LanguageType nLang ); [all …]
|
/trunk/main/sw/source/ui/lingu/ |
H A D | olmenu.cxx | 127 return nLang; in lcl_CheckLanguage() 140 nLang = nTmpLang; in lcl_CheckLanguage() 144 if (nLang == LANGUAGE_SYSTEM) in lcl_CheckLanguage() 145 nLang = nTmpLang; in lcl_CheckLanguage() 146 if (nLang == LANGUAGE_DONTKNOW) in lcl_CheckLanguage() 147 nLang = LANGUAGE_NONE; in lcl_CheckLanguage() 152 return nLang; in lcl_CheckLanguage() 185 nLang = nTmpLang; in lcl_CheckLanguage() 192 return nLang; in lcl_CheckLanguage() 535 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in SwSpellPopup() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | langbox.cxx | 67 if ( LANGUAGE_NONE == nLang ) in GetDicInfoStr() 109 if (nLang == pLang[i]) in lcl_SeqHasLang() 346 if (nLang != nLangType) in ImplInsertLanguage() 348 sal_uInt16 nAt = TypeToPos_Impl( nLang, *this ); in ImplInsertLanguage() 353 String aStrEntry = m_pLangTable->GetString( nLang ); in ImplInsertLanguage() 357 LanguageType nRealLang = nLang; in ImplInsertLanguage() 406 if (nLang != nLangType) in InsertLanguage() 413 String aStrEntry = m_pLangTable->GetString( nLang ); in InsertLanguage() 418 SetEntryData( nAt, (void*)(sal_uIntPtr)nLang ); in InsertLanguage() 453 sal_uInt16 nAt = TypeToPos_Impl( nLang, *this ); in SelectLanguage() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | langhelper.cxx | 80 LanguageType nLang = LANGUAGE_DONTKNOW; in GetLanguageStatus() local 84 nLang = pWin->GetInputLanguage(); in GetLanguageStatus() 85 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in GetLanguageStatus() 86 aKeyboardLang = aLangTable.GetString( nLang ); in GetLanguageStatus() 93 if (nLang != LANGUAGE_DONTKNOW) in GetLanguageStatus() 94 aCurrentLang = aLangTable.GetString( nLang ); in GetLanguageStatus() 249 if (nLang != LANGUAGE_DONTKNOW) in SetLanguage() 278 rCoreSet.Put( SvxLanguageItem( nLang, nLangWhichId )); in SetLanguage() 416 LanguageType nLang = LANGUAGE_SYSTEM; in GetLanguage() local 433 nLang = LANGUAGE_DONTKNOW; in GetLanguage() [all …]
|
/trunk/main/editeng/inc/editeng/ |
H A D | hangulhanja.hxx | 134 static inline sal_Bool IsSimplified( LanguageType nLang ); 135 static inline sal_Bool IsTraditional( LanguageType nLang ); 136 static inline sal_Bool IsChinese( LanguageType nLang ); 270 sal_Bool HangulHanjaConversion::IsSimplified( LanguageType nLang ) in IsSimplified() argument 272 return nLang == LANGUAGE_CHINESE_SIMPLIFIED || in IsSimplified() 273 nLang == LANGUAGE_CHINESE_SINGAPORE; in IsSimplified() 278 return nLang == LANGUAGE_CHINESE_TRADITIONAL || in IsTraditional() 279 nLang == LANGUAGE_CHINESE_HONGKONG || in IsTraditional() 280 nLang == LANGUAGE_CHINESE_MACAU; in IsTraditional() 283 sal_Bool HangulHanjaConversion::IsChinese( LanguageType nLang ) in IsChinese() argument [all …]
|
/trunk/main/cui/source/options/ |
H A D | optlingu.cxx | 124 if (nLang == pLang[i]) in lcl_SeqHasLang() 624 if (pTable->count( nLang )) in GetSortedImplNames() 897 aCfgHyphTable[ nLang ] = aCfgSvcs; in SvxLinguData_Impl() 902 aCfgThesTable[ nLang ] = aCfgSvcs; in SvxLinguData_Impl() 1072 if (aCfgHyphTable.count( nLang )) in Reconfigure() 1088 if (aCfgThesTable.count( nLang )) in Reconfigure() 1283 sal_Int16 nLang = aIt->first; in FillItemSet() local 1299 sal_Int16 nLang = aIt->first; in FillItemSet() local 1315 sal_Int16 nLang = aIt->first; in FillItemSet() local 1331 sal_Int16 nLang = aIt->first; in FillItemSet() local [all …]
|
/trunk/main/unotools/source/i18n/ |
H A D | transliterationwrapper.cxx | 95 const String& rStr, sal_uInt16 nLang, in transliterate() argument 104 loadModuleIfNeeded( nLang ); in transliterate() 154 void TransliterationWrapper::setLanguageLocaleImpl( sal_uInt16 nLang ) in setLanguageLocaleImpl() argument 156 nLanguage = nLang; in setLanguageLocaleImpl() 163 void TransliterationWrapper::loadModuleIfNeeded( sal_uInt16 nLang ) in loadModuleIfNeeded() argument 176 loadModuleByImplName(String::CreateFromAscii("TITLE_CASE"), nLang); in loadModuleIfNeeded() 181 loadModuleByImplName(String::CreateFromAscii("TOGGLE_CASE"), nLang); in loadModuleIfNeeded() 185 if( nLanguage != nLang ) in loadModuleIfNeeded() 187 setLanguageLocaleImpl( nLang ); in loadModuleIfNeeded() 223 const String& rModuleName, sal_uInt16 nLang ) in loadModuleByImplName() argument [all …]
|
/trunk/main/editeng/source/misc/ |
H A D | splwrap.cxx | 120 LanguageType nLang = aIt->first; in ShowLanguageErrors() local 140 rLCS[ nLang ] = (nTmpHyph << 8) | nTmpSpell; in ShowLanguageErrors() 210 Reference< XSpellChecker1 > xSpell, sal_Int16 nLang) in CheckSpellLang() argument 214 LangCheckState_map_t::iterator aIt( rLCS.find( nLang ) ); in CheckSpellLang() 218 rLCS[ nLang ] = nVal; in CheckSpellLang() 223 if (xSpell.is() && xSpell->hasLanguage( nLang )) in CheckSpellLang() 228 rLCS[ nLang ] = nVal; in CheckSpellLang() 235 Reference< XHyphenator > xHyph, sal_Int16 nLang) in CheckHyphLang() argument 239 LangCheckState_map_t::iterator aIt( rLCS.find( nLang ) ); in CheckHyphLang() 243 rLCS[ nLang ] = nVal; in CheckHyphLang() [all …]
|
/trunk/main/lingucomponent/source/lingutil/ |
H A D | lingutil.cxx | 185 LanguageType nLang = MsLangId::convertIsoNamesToLanguage( in GetOldStyleDics() local 188 if (aDicLangInUse.count( nLang ) == 0) in GetOldStyleDics() 191 aDicLangInUse.insert( nLang ); in GetOldStyleDics() 197 rtl::OUString aLocaleName( MsLangId::convertLanguageToIsoString( nLang ) ); in GetOldStyleDics() 226 LanguageType nLang = MsLangId::convertIsoStringToLanguage( aLocaleNames[k] ); in MergeNewStyleDicsAndOldStyleDics() local 227 aNewStyleLanguages.insert( nLang ); in MergeNewStyleDicsAndOldStyleDics() 242 LanguageType nLang = MsLangId::convertIsoStringToLanguage( aIt2->aLocaleNames[0] ); in MergeNewStyleDicsAndOldStyleDics() local 244 if (nLang == LANGUAGE_DONTKNOW || nLang == LANGUAGE_NONE) in MergeNewStyleDicsAndOldStyleDics() 251 if (aNewStyleLanguages.count( nLang ) == 0) in MergeNewStyleDicsAndOldStyleDics()
|
/trunk/main/sw/source/ui/uno/ |
H A D | unotxdoc.cxx | 3335 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3341 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3347 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3360 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3366 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3372 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3397 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3403 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3409 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() 3445 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in getDocumentLanguages() [all …]
|
/trunk/main/linguistic/source/ |
H A D | spelldta.cxx | 140 sal_Int16 nLang = LocaleToLanguage( xDic->getLocale() ); in SearchSimilarText() local 143 && (nLang == nLanguage || nLang == LANGUAGE_NONE) ) in SearchSimilarText() 251 const OUString &rWord, sal_Int16 nLang, in SpellAlternatives() argument 256 nLanguage (nLang) in SpellAlternatives() 266 const OUString &rWord, sal_Int16 nLang, sal_Int16 nFailureType, in SpellAlternatives() argument 271 nLanguage (nLang) in SpellAlternatives() 337 void SpellAlternatives::SetWordLanguage(const OUString &rWord, sal_Int16 nLang) in SetWordLanguage() argument 341 nLanguage = nLang; in SetWordLanguage() 360 …const ::rtl::OUString &rWord, sal_Int16 nLang, sal_Int16 nTypeP, const ::com::sun::star::uno::Sequ… in CreateSpellAlternatives() argument 363 pAlt->SetWordLanguage( rWord, nLang ); in CreateSpellAlternatives()
|
H A D | hyphdta.cxx | 52 HyphenatedWord::HyphenatedWord(const OUString &rWord, sal_Int16 nLang, sal_Int16 nHPos, in HyphenatedWord() argument 58 nLanguage (nLang) in HyphenatedWord() 135 PossibleHyphens::PossibleHyphens(const OUString &rWord, sal_Int16 nLang, in PossibleHyphens() argument 141 nLanguage (nLang) in PossibleHyphens() 183 const ::rtl::OUString &rWord, sal_Int16 nLang, sal_Int16 nHyphenationPos, in CreateHyphenatedWord() argument 186 return new HyphenatedWord( rWord, nLang, nHyphenationPos, rHyphenatedWord, nHyphenPos ); in CreateHyphenatedWord() 190 (const ::rtl::OUString &rWord, sal_Int16 nLang, in CreatePossibleHyphens() argument 194 return new PossibleHyphens( rWord, nLang, rHyphWord, rPositions ); in CreatePossibleHyphens()
|
H A D | convdiclist.cxx | 361 sal_Int16 nLang; in AddConvDics() local 363 if (IsConvDic( aURL, nLang, nConvType )) in AddConvDics() 372 if (nLang == LANGUAGE_KOREAN && in AddConvDics() 377 … else if ((nLang == LANGUAGE_CHINESE_SIMPLIFIED || nLang == LANGUAGE_CHINESE_TRADITIONAL) && in AddConvDics() 380 xDic = new ConvDic( aDicName, nLang, nConvType, sal_False, aURL ); in AddConvDics() 501 sal_Int16 nLang = LocaleToLanguage( rLocale ); in addNewDictionary() local 508 if (nLang == LANGUAGE_KOREAN && in addNewDictionary() 513 else if ((nLang == LANGUAGE_CHINESE_SIMPLIFIED || nLang == LANGUAGE_CHINESE_TRADITIONAL) && in addNewDictionary() 516 xRes = new ConvDic( rName, nLang, nConvDicType, sal_False, aDicMainURL ); in addNewDictionary()
|
H A D | lngsvcmgr.cxx | 129 aLanguages.insert( nLang ); in GetAvailLocales() 145 LanguageType nLang = *aIt; in GetAvailLocales() local 146 pRes[i] = CreateLocale( nLang ); in GetAvailLocales() 256 rSvcInfo.HasLanguage( nLang )) in SetAvailableCfgServiceLists() 675 LanguageType nLang = LANGUAGE_NONE; in Notify() local 677 nLang = MsLangId::convertIsoStringToLanguage( aKeyText ); in Notify() 700 LanguageType nLang = LANGUAGE_NONE; in Notify() local 728 LanguageType nLang = LANGUAGE_NONE; in Notify() local 730 nLang = MsLangId::convertIsoStringToLanguage( aKeyText ); in Notify() 753 LanguageType nLang = LANGUAGE_NONE; in Notify() local [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | xmlnumfe.cxx | 366 void SvXMLNumFmtExport::AddLanguageAttr_Impl( sal_Int32 nLang ) in AddLanguageAttr_Impl() argument 368 if ( nLang != LANGUAGE_SYSTEM ) in AddLanguageAttr_Impl() 424 sal_Int32 nLang = rExt.toInt32(16); // hex in WriteCurrencyElement_Impl() local 426 nLang = -nLang; in WriteCurrencyElement_Impl() 427 AddLanguageAttr_Impl( nLang ); // adds to pAttrList in WriteCurrencyElement_Impl() 817 pFormatter->ChangeIntl( nLang ); in WriteTextWithCurrency_Impl() 1045 LanguageType nLang = rFormat.GetLanguage(); in ExportPart_Impl() local 1046 AddLanguageAttr_Impl( nLang ); // adds to pAttrList in ExportPart_Impl() 1329 MsLangId::convertLanguageToLocale( nLang ) ); in ExportPart_Impl() 1713 LanguageType nLang = aLanguages[nLangPos]; in Export() local [all …]
|
/trunk/main/linguistic/inc/linguistic/ |
H A D | hyphdta.hxx | 57 HyphenatedWord(const ::rtl::OUString &rWord, sal_Int16 nLang, sal_Int16 nHyphenationPos, 86 void SetLanguage( sal_Int16 nLang ) { nLanguage = nLang; } in SetLanguage() argument 88 const ::rtl::OUString &rWord, sal_Int16 nLang, sal_Int16 nHyphenationPos, 111 PossibleHyphens(const ::rtl::OUString &rWord, sal_Int16 nLang, 133 void SetLanguage( sal_Int16 nLang ) { nLanguage = nLang; } in SetLanguage() argument 136 (const ::rtl::OUString &rWord, sal_Int16 nLang,
|
/trunk/main/starmath/source/ |
H A D | smmod.cxx | 177 const ResStringArray* SmLocalizedSymbolData::Get50NamesArray( LanguageType nLang ) in Get50NamesArray() argument 179 if (nLang != n50NamesLang) in Get50NamesArray() 182 switch (nLang) in Get50NamesArray() 192 n50NamesLang = nLang; in Get50NamesArray() 201 const ResStringArray* SmLocalizedSymbolData::Get60NamesArray( LanguageType nLang ) in Get60NamesArray() argument 203 if (nLang != n60NamesLang) in Get60NamesArray() 206 switch (nLang) in Get60NamesArray() 216 n60NamesLang = nLang; in Get60NamesArray()
|
/trunk/main/cui/source/dialogs/ |
H A D | thesdlg.cxx | 420 LanguageType nLang = SvtLanguageTable().GetType( aLangText ); in IMPL_LINK() local 421 … DBG_ASSERT( nLang != LANGUAGE_NONE && nLang != LANGUAGE_DONTKNOW, "failed to get language" ); in IMPL_LINK() 422 if (xThesaurus->hasLocale( SvxCreateLocale( nLang ) )) in IMPL_LINK() 423 nLookUpLanguage = nLang; in IMPL_LINK() 424 m_pDialog->SetWindowTitle( nLang ); in IMPL_LINK() 697 const LanguageType nLang = SvxLocaleToLanguage( pLocales[i] ); in SvxThesaurusDialog() local 698 … DBG_ASSERT( nLang != LANGUAGE_NONE && nLang != LANGUAGE_DONTKNOW, "failed to get language" ); in SvxThesaurusDialog() 699 aLangVec.push_back( aLangTab.GetString( nLang ) ); in SvxThesaurusDialog()
|
/trunk/main/framework/source/fwi/helper/ |
H A D | mischelper.cxx | 191 LanguageType nLang = MsLangId::convertLocaleToLanguageWithFallback( aLocale ); in FillLangItems() local 192 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_NONE && nLang != LANGUAGE_SYSTEM in FillLangItems() 193 && IsScriptTypeMatchingToLanguage( nScriptType, nLang )) in FillLangItems() 194 rLangItems.insert( rLanguageTable.GetString( nLang )); in FillLangItems()
|
/trunk/main/svl/source/config/ |
H A D | languageoptions.cxx | 202 sal_uInt16 SvtLanguageOptions::GetScriptTypeOfLanguage( sal_uInt16 nLang ) in GetScriptTypeOfLanguage() argument 204 if( LANGUAGE_DONTKNOW == nLang ) in GetScriptTypeOfLanguage() 205 nLang = LANGUAGE_ENGLISH_US; in GetScriptTypeOfLanguage() 206 else if( LANGUAGE_SYSTEM == nLang ) in GetScriptTypeOfLanguage() 207 nLang = SvtSysLocale().GetLanguage(); in GetScriptTypeOfLanguage() 209 sal_Int16 nScriptType = MsLangId::getScriptType( nLang ); in GetScriptTypeOfLanguage()
|
/trunk/main/sd/source/ui/presenter/ |
H A D | PresenterTextView.cxx | 363 sal_Int16 nLang; in CreateEditEngine() member 378 …aTable[0].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage, ::com::sun::s… in CreateEditEngine() 379 …aTable[1].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage_CJK, ::com::su… in CreateEditEngine() 380 …aTable[2].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage_CTL, ::com::su… in CreateEditEngine() 385 LanguageType nLang = (LANGUAGE_NONE == rFntDta.nLang) ? in CreateEditEngine() local 386 rFntDta.nFallbackLang : rFntDta.nLang; in CreateEditEngine() 388 rFntDta.nFontType, nLang, DEFAULTFONT_FLAGS_ONLYONE); in CreateEditEngine()
|