Lines Matching refs:eLnge
262 void SvNumberFormatter::ChangeIntl(LanguageType eLnge) in ChangeIntl() argument
264 if (ActLnge != eLnge) in ChangeIntl()
266 ActLnge = eLnge; in ChangeIntl()
268 aLocale = MsLangId::convertLanguageToLocale( eLnge ); in ChangeIntl()
270 xLocaleData.changeLocale( aLocale, eLnge ); in ChangeIntl()
272 xTransliteration.changeLocale( eLnge ); in ChangeIntl()
346 void SvNumberFormatter::ImpChangeSysCL( LanguageType eLnge, sal_Bool bLoadingSO5 ) in ImpChangeSysCL() argument
348 if (eLnge == LANGUAGE_DONTKNOW) in ImpChangeSysCL()
349 eLnge = UNKNOWN_SUBSTITUTE; in ImpChangeSysCL()
350 if (eLnge != IniLnge) in ImpChangeSysCL()
352 IniLnge = eLnge; in ImpChangeSysCL()
353 ChangeIntl(eLnge); in ImpChangeSysCL()
480 LanguageType eLnge) in PutEntry() argument
488 if (eLnge == LANGUAGE_DONTKNOW) in PutEntry()
489 eLnge = IniLnge; in PutEntry()
491 ChangeIntl(eLnge); // ggfs. austauschen in PutEntry()
492 LanguageType eLge = eLnge; // Umgehung const fuer ConvertMode in PutEntry()
546 LanguageType eLnge, in PutandConvertEntry() argument
553 pFormatScanner->SetConvertMode(eLnge, eNewLnge); in PutandConvertEntry()
554 bRes = PutEntry(rString, nCheckPos, nType, nKey, eLnge); in PutandConvertEntry()
564 LanguageType eLnge, in PutandConvertEntrySystem() argument
571 pFormatScanner->SetConvertMode(eLnge, eNewLnge, sal_True); in PutandConvertEntrySystem()
572 bRes = PutEntry(rString, nCheckPos, nType, nKey, eLnge); in PutandConvertEntrySystem()
579 LanguageType eLnge, LanguageType eSysLnge, short & rType, in GetIndexPuttingAndConverting() argument
589 else if (eLnge == LANGUAGE_SYSTEM && eSysLnge != SvtSysLocale().GetLanguage()) in GetIndexPuttingAndConverting()
604 nKey, eLnge, SvtSysLocale().GetLanguage()); in GetIndexPuttingAndConverting()
614 nKey = GetEntryKey( rString, eLnge); in GetIndexPuttingAndConverting()
617 rNewInserted = PutEntry( rString, rCheckPos, rType, nKey, eLnge); in GetIndexPuttingAndConverting()
626 nKey = GetStandardIndex( eLnge); in GetIndexPuttingAndConverting()
640 nKey = GetStandardFormat( NUMBERFORMAT_CURRENCY, eLnge); in GetIndexPuttingAndConverting()
686 LanguageType eLnge = (LanguageType) eLge; in Load() local
687 ImpChangeSysCL( eLnge, sal_True ); in Load()
693 eLnge = (LanguageType) eLge; in Load()
694 ImpGenerateCL( eLnge, sal_True ); // ggfs. neue Standardformate anlegen in Load()
702 if ( eLnge == LANGUAGE_SYSTEM ) in Load()
721 pEntry = new SvNumberformat(*pFormatScanner, eLnge); in Load()
796 if ( eLnge == LANGUAGE_SYSTEM ) in Load()
803 eLoadLang = eLnge; in Load()
946 String SvNumberFormatter::GetKeyword( LanguageType eLnge, sal_uInt16 nIndex ) in GetKeyword() argument
948 ChangeIntl(eLnge); in GetKeyword()
958 String SvNumberFormatter::GetStandardName( LanguageType eLnge ) in GetStandardName() argument
960 ChangeIntl( eLnge ); in GetStandardName()
965 sal_uInt32 SvNumberFormatter::ImpGetCLOffset(LanguageType eLnge) const in ImpGetCLOffset()
972 if (pFormat && pFormat->GetLanguage() == eLnge) in ImpGetCLOffset()
981 LanguageType eLnge) in ImpIsEntry() argument
994 pEntry && pEntry->GetLanguage() == eLnge ) in ImpIsEntry()
1064 sal_uInt32 SvNumberFormatter::ImpGenerateCL( LanguageType eLnge, sal_Bool bLoadingSO5 ) in ImpGenerateCL() argument
1066 ChangeIntl(eLnge); in ImpGenerateCL()
1134 LanguageType eLnge) in ChangeCL() argument
1136 ImpGenerateCL(eLnge); in ChangeCL()
1143 LanguageType eLnge) in GetEntryTable() argument
1149 ChangeIntl(eLnge); in GetEntryTable()
1383 sal_uInt32 SvNumberFormatter::GetStandardFormat( short eType, LanguageType eLnge ) in GetStandardFormat() argument
1385 sal_uInt32 CLOffset = ImpGenerateCL(eLnge); in GetStandardFormat()
1390 if ( eLnge == LANGUAGE_SYSTEM ) in GetStandardFormat()
1414 LanguageType eLnge ) in IsSpecialStandardFormat() argument
1417 nFIndex == GetFormatIndex( NF_TIME_MMSS00, eLnge ) || in IsSpecialStandardFormat()
1418 nFIndex == GetFormatIndex( NF_TIME_HH_MMSS00, eLnge ) || in IsSpecialStandardFormat()
1419 nFIndex == GetFormatIndex( NF_TIME_HH_MMSS, eLnge ) in IsSpecialStandardFormat()
1424 LanguageType eLnge ) in GetStandardFormat() argument
1426 if ( IsSpecialStandardFormat( nFIndex, eLnge ) ) in GetStandardFormat()
1429 return GetStandardFormat( eType, eLnge ); in GetStandardFormat()
1433 short eType, LanguageType eLnge ) in GetStandardFormat() argument
1435 if ( IsSpecialStandardFormat( nFIndex, eLnge ) ) in GetStandardFormat()
1454 return GetFormatIndex( NF_TIME_HH_MMSS00, eLnge ); in GetStandardFormat()
1456 return GetFormatIndex( NF_TIME_MMSS00, eLnge ); in GetStandardFormat()
1461 return GetFormatIndex( NF_TIME_HH_MMSS, eLnge ); in GetStandardFormat()
1463 return GetStandardFormat( eType, eLnge ); in GetStandardFormat()
1467 return GetStandardFormat( eType, eLnge ); in GetStandardFormat()
1565 LanguageType eLnge) in GetPreviewString() argument
1572 if (eLnge == LANGUAGE_DONTKNOW) in GetPreviewString()
1573 eLnge = IniLnge; in GetPreviewString()
1574 ChangeIntl(eLnge); // ggfs. austauschen in GetPreviewString()
1575 eLnge = ActLnge; in GetPreviewString()
1581 eLnge); in GetPreviewString()
1584 sal_uInt32 CLOffset = ImpGenerateCL(eLnge); // ggfs. neu Standard- in GetPreviewString()
1586 nKey = ImpIsEntry(p_Entry->GetFormatstring(),CLOffset, eLnge); in GetPreviewString()
1605 LanguageType eLnge ) in GetPreviewStringGuess() argument
1610 if (eLnge == LANGUAGE_DONTKNOW) in GetPreviewStringGuess()
1611 eLnge = IniLnge; in GetPreviewStringGuess()
1613 ChangeIntl( eLnge ); in GetPreviewStringGuess()
1614 eLnge = ActLnge; in GetPreviewStringGuess()
1615 sal_Bool bEnglish = (eLnge == LANGUAGE_ENGLISH_US); in GetPreviewStringGuess()
1618 sal_uInt32 nCLOffset = ImpGenerateCL( eLnge ); in GetPreviewStringGuess()
1619 sal_uInt32 nKey = ImpIsEntry( aFormatStringUpper, nCLOffset, eLnge ); in GetPreviewStringGuess()
1634 pStringScanner, nCheckPos, eLnge ); in GetPreviewStringGuess()
1644 pFormatScanner->SetConvertMode( LANGUAGE_ENGLISH_US, eLnge ); in GetPreviewStringGuess()
1649 ChangeIntl( eLnge ); in GetPreviewStringGuess()
1659 pStringScanner, nCheckPos, eLnge ); in GetPreviewStringGuess()
1665 eFormatLang = eLnge; in GetPreviewStringGuess()
1666 pFormatScanner->SetConvertMode( eLnge, LANGUAGE_ENGLISH_US ); in GetPreviewStringGuess()
1671 ChangeIntl( eLnge ); in GetPreviewStringGuess()
1678 pStringScanner, nCheckPos, eLnge ); in GetPreviewStringGuess()
1687 ImpGenerateCL( eLnge ); // ggfs. neu Standardformate anlegen in GetPreviewStringGuess()
1700 LanguageType eLnge ) in GetPreviewString() argument
1707 if (eLnge == LANGUAGE_DONTKNOW) in GetPreviewString()
1708 eLnge = IniLnge; in GetPreviewString()
1709 ChangeIntl(eLnge); // switch if needed in GetPreviewString()
1710 eLnge = ActLnge; in GetPreviewString()
1716 eLnge); in GetPreviewString()
1721 sal_uInt32 CLOffset = ImpGenerateCL(eLnge); in GetPreviewString()
1722 nKey = ImpIsEntry( p_Entry->GetFormatstring(), CLOffset, eLnge); in GetPreviewString()
1749 LanguageType eLnge) in TestNewString() argument
1755 if (eLnge == LANGUAGE_DONTKNOW) in TestNewString()
1756 eLnge = IniLnge; in TestNewString()
1757 ChangeIntl(eLnge); // ggfs. austauschen in TestNewString()
1758 eLnge = ActLnge; in TestNewString()
1765 eLnge); in TestNewString()
1768 sal_uInt32 CLOffset = ImpGenerateCL(eLnge); // ggfs. neu Standard- in TestNewString()
1770 nRes = ImpIsEntry(pEntry->GetFormatstring(),CLOffset, eLnge); in TestNewString()
1967 sal_uInt16& nAnzLeading, LanguageType eLnge ) in GetFormatSpecialInfo() argument
1971 if (eLnge == LANGUAGE_DONTKNOW) in GetFormatSpecialInfo()
1972 eLnge = IniLnge; in GetFormatSpecialInfo()
1973 ChangeIntl(eLnge); // ggfs. austauschen in GetFormatSpecialInfo()
1974 eLnge = ActLnge; in GetFormatSpecialInfo()
1977 pFormatScanner, pStringScanner, nCheckPos, eLnge ); in GetFormatSpecialInfo()
2702 LanguageType eLnge, in GenerateFormat() argument
2708 if (eLnge == LANGUAGE_DONTKNOW) in GenerateFormat()
2709 eLnge = IniLnge; in GenerateFormat()
2712 ImpGenerateCL(eLnge); // ggfs. neu Standard- in GenerateFormat()
2825 LanguageType eLnge) in IsUserDefined() argument
2827 if (eLnge == LANGUAGE_DONTKNOW) in IsUserDefined()
2828 eLnge = IniLnge; in IsUserDefined()
2829 sal_uInt32 CLOffset = ImpGenerateCL(eLnge); // ggfs. neu Standard- in IsUserDefined()
2831 eLnge = ActLnge; in IsUserDefined()
2832 sal_uInt32 nKey = ImpIsEntry(sStr, CLOffset, eLnge); in IsUserDefined()
2842 LanguageType eLnge) in GetEntryKey() argument
2844 if (eLnge == LANGUAGE_DONTKNOW) in GetEntryKey()
2845 eLnge = IniLnge; in GetEntryKey()
2846 sal_uInt32 CLOffset = ImpGenerateCL(eLnge); // ggfs. neu Standard- in GetEntryKey()
2848 return ImpIsEntry(sStr, CLOffset, eLnge); in GetEntryKey()
2851 sal_uInt32 SvNumberFormatter::GetStandardIndex(LanguageType eLnge) in GetStandardIndex() argument
2853 if (eLnge == LANGUAGE_DONTKNOW) in GetStandardIndex()
2854 eLnge = IniLnge; in GetStandardIndex()
2855 return GetStandardFormat(NUMBERFORMAT_NUMBER, eLnge); in GetStandardIndex()
2978 LanguageType eLnge ) in GetFormatForLanguageIfBuiltIn() argument
2980 if ( eLnge == LANGUAGE_DONTKNOW ) in GetFormatForLanguageIfBuiltIn()
2981 eLnge = IniLnge; in GetFormatForLanguageIfBuiltIn()
2982 if ( nFormat < SV_COUNTRY_LANGUAGE_OFFSET && eLnge == IniLnge ) in GetFormatForLanguageIfBuiltIn()
2987 sal_uInt32 nCLOffset = ImpGenerateCL(eLnge); // ggbf. generieren in GetFormatForLanguageIfBuiltIn()
2993 LanguageType eLnge ) in GetFormatIndex() argument
2998 if ( eLnge == LANGUAGE_DONTKNOW ) in GetFormatIndex()
2999 eLnge = IniLnge; in GetFormatIndex()
3000 sal_uInt32 nCLOffset = ImpGenerateCL(eLnge); // ggbf. generieren in GetFormatIndex()