/trunk/main/editeng/source/misc/ |
H A D | svxacorr.cxx | 372 switch( eLang ) in GetDefaultFlags() 436 eCharClassLang = eLang; in _GetCharClass() 652 bool bEnDash = (eLang == LANGUAGE_HUNGARIAN || eLang == LANGUAGE_FINNISH); in FnChgToEnEmDash() 1164 eLang = GetAppLang(); in InsertQuote() 1165 switch( eLang ) in InsertQuote() 1203 eLang = GetAppLang(); in GetQuote() 1204 switch( eLang ) in GetQuote() 1687 if( pLangTable->IsKeyValid( sal_uLong(eLang)) || CreateLanguageFile(eLang) ) in PutText() 1818 rLang = eLang; in SearchWordsInList() 2019 LanguageType eLang) in SvxAutoCorrectLanguageLists() argument [all …]
|
/trunk/main/editeng/inc/editeng/ |
H A D | svxacorr.hxx | 160 LanguageType eLang); 221 void _GetCharClass( LanguageType eLang ); 237 LanguageType eLang ) const; 301 LanguageType eLang = LANGUAGE_SYSTEM ) in LoadAutocorrWordList() argument 304 LanguageType eLang = LANGUAGE_SYSTEM ) in GetAutocorrWordList() argument 314 LanguageType eLang = LANGUAGE_SYSTEM ) in PutText() argument 324 LanguageType eLang = LANGUAGE_SYSTEM) in LoadCplSttExceptList() argument 327 LanguageType eLang = LANGUAGE_SYSTEM ) in GetCplSttExceptList() argument 387 CharClass& GetCharClass( LanguageType eLang ) in GetCharClass() argument 389 if( !pCharClass || eLang != eCharClassLang ) in GetCharClass() [all …]
|
/trunk/main/svl/inc/svl/ |
H A D | ondemand.hxx | 83 LanguageType eLang in OnDemandLocaleDataWrapper() argument 91 init( rxSMgr, rLocale, eLang ); in OnDemandLocaleDataWrapper() 106 LanguageType eLang in init() argument 110 changeLocale( rLocale, eLang ); in init() 116 switch ( eLang ) in changeLocale() 139 eCurrentLanguage = eLang; in changeLocale() 336 LanguageType eLang, in OnDemandTransliterationWrapper() argument 355 LanguageType eLang, in init() argument 361 changeLocale( eLang ); in init() 370 void changeLocale( LanguageType eLang ) in changeLocale() argument [all …]
|
H A D | zformat.hxx | 93 LanguageType eLang; member in SvNumberNatNum 101 static sal_uInt8 MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang, sal_Bool bDate ); 102 static sal_uInt8 MapNatNumToDBNum( sal_uInt8 nNatNum, LanguageType eLang, sal_Bool bDate ); 104 SvNumberNatNum() : eLang( LANGUAGE_DONTKNOW ), nNum(0), in SvNumberNatNum() 106 sal_Bool IsComplete() const { return bSet && eLang != LANGUAGE_DONTKNOW; } in IsComplete() 108 …sal_uInt8 GetNatNum() const { return bDBNum ? MapDBNumToNatNum( nNum, eLang, bDate ) … in GetNatNum() 109 …sal_uInt8 GetDBNum() const { return bDBNum ? nNum : MapNatNumToDBNum( nNum, eLang, b… in GetDBNum() 110 LanguageType GetLang() const { return eLang; } in GetLang() 111 void SetLang( LanguageType e ) { eLang = e; } in SetLang() 158 void SetNatNumLang( LanguageType eLang ) { aNatNum.SetLang( eLang ); } in SetNatNumLang() argument
|
H A D | zforlist.hxx | 255 LanguageType eLang ); 259 LanguageType eLang ); 347 LanguageType eLang 351 SvNumberFormatter( LanguageType eLang ); 699 LanguageType eLang ); 718 static void SetDefaultSystemCurrency( const String& rAbbrev, LanguageType eLang ); 786 void FillKeywordTable( NfKeywordTable& rKeywords, LanguageType eLang ); 840 SVL_DLLPRIVATE void ImpConstruct( LanguageType eLang ); 971 const String& rModule, LanguageType eLang ) const in GetTransliterationForModule() 972 { return xTransliteration.getForModule( rModule, eLang ); } in GetTransliterationForModule()
|
/trunk/main/editeng/source/items/ |
H A D | flditem.cxx | 268 return GetFormatted( aDate, eFormat, rFormatter, eLang ); in GetFormatted() 290 nFormatKey = rFormatter.GetFormatIndex( NF_DATE_SYSTEM_SHORT, eLang ); in GetFormatted() 294 nFormatKey = rFormatter.GetFormatIndex( NF_DATE_SYSTEM_LONG, eLang ); in GetFormatted() 298 nFormatKey = rFormatter.GetFormatIndex( NF_DATE_SYS_DDMMYY, eLang ); in GetFormatted() 616 return GetFormatted( aTime, eFormat, rFormatter, eLang ); in GetFormatted() 639 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HHMMAMPM, eLang ); in GetFormatted() 647 nCheckPos, nType, nFormatKey, LANGUAGE_ENGLISH_US, eLang ); in GetFormatted() 654 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HHMM, eLang ); in GetFormatted() 657 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HH_MMSS00, eLang ); in GetFormatted() 660 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HHMMSSAMPM, eLang ); in GetFormatted() [all …]
|
H A D | svxfont.cxx | 61 eLang = LANGUAGE_SYSTEM; in SvxFont() 70 eLang = LANGUAGE_SYSTEM; in SvxFont() 84 eLang = rFont.GetLanguage(); in SvxFont() 136 const LanguageType eLng = LANGUAGE_DONTKNOW == eLang in CalcCaseMap() 137 ? LANGUAGE_SYSTEM : eLang; in CalcCaseMap() 255 const LanguageType eLng = LANGUAGE_DONTKNOW == eLang in DoOnCapitals() 256 ? LANGUAGE_SYSTEM : eLang; in DoOnCapitals() 664 eLang = rFont.eLang; in operator =()
|
/trunk/main/svl/source/numbers/ |
H A D | numfmuno.cxx | 338 LanguageType eLang = lcl_GetLanguage( nLocale ); in convertNumberToPreviewString() local 374 LanguageType eLang = lcl_GetLanguage( nLocale ); in queryPreviewColorForNumber() local 462 LanguageType eLang = lcl_GetLanguage( nLocale ); in queryKeys() local 489 LanguageType eLang = lcl_GetLanguage( nLocale ); in queryKey() local 513 LanguageType eLang = lcl_GetLanguage( nLocale ); in addNew() local 544 LanguageType eLang = lcl_GetLanguage( nLocale ); in addNewConverted() local 588 LanguageType eLang = lcl_GetLanguage( nLocale ); in generateFormat() local 608 LanguageType eLang = lcl_GetLanguage( nLocale ); in getStandardIndex() local 609 nRet = pFormatter->GetStandardIndex(eLang); in getStandardIndex() 626 LanguageType eLang = lcl_GetLanguage( nLocale ); in getStandardFormat() local [all …]
|
H A D | zforlist.cxx | 183 LanguageType eLang ) in SvNumberFormatter() argument 187 ImpConstruct( eLang ); in SvNumberFormatter() 193 ImpConstruct( eLang ); in SvNumberFormatter() 230 IniLnge = eLang; in ImpConstruct() 231 ActLnge = eLang; in ImpConstruct() 937 ChangeIntl( eLang ); in FillKeywordTable() 1481 ChangeIntl( eLang ); in GetInputLineString() 3078 eLang = MsLangId::getRealLanguage( eLang ); in GetCurrencyEntry() 3096 eLang = MsLangId::getRealLanguage( eLang ); in GetCurrencyEntry() 3828 eLanguage = eLang; in NfCurrencyEntry() [all …]
|
H A D | zformat.cxx | 192 eLang = MsLangId::getRealLanguage( eLang ); // resolve SYSTEM etc. in MapDBNumToNatNum() 206 switch ( eLang ) in MapDBNumToNatNum() 214 switch ( eLang ) in MapDBNumToNatNum() 222 switch ( eLang ) in MapDBNumToNatNum() 230 switch ( eLang ) in MapDBNumToNatNum() 246 eLang = MsLangId::getRealLanguage( eLang ); // resolve SYSTEM etc. in MapNatNumToDBNum() 260 switch ( eLang ) in MapNatNumToDBNum() 267 switch ( eLang ) in MapNatNumToDBNum() 273 switch ( eLang ) in MapNatNumToDBNum() 279 switch ( eLang ) in MapNatNumToDBNum() [all …]
|
/trunk/main/editeng/source/uno/ |
H A D | UnoForbiddenCharsTable.cxx | 62 const LanguageType eLang = SvxLocaleToLanguage( rLocale ); in getForbiddenCharacters() local 63 …const ForbiddenCharacters* pForbidden = mxForbiddenChars->GetForbiddenCharacters( eLang, sal_False… in getForbiddenCharacters() 78 const LanguageType eLang = SvxLocaleToLanguage( rLocale ); in hasForbiddenCharacters() local 79 …const ForbiddenCharacters* pForbidden = mxForbiddenChars->GetForbiddenCharacters( eLang, sal_False… in hasForbiddenCharacters() 92 const LanguageType eLang = SvxLocaleToLanguage( rLocale ); in setForbiddenCharacters() local 93 mxForbiddenChars->SetForbiddenCharacters( eLang, rForbiddenCharacters ); in setForbiddenCharacters() 106 const LanguageType eLang = SvxLocaleToLanguage( rLocale ); in removeForbiddenCharacters() local 107 mxForbiddenChars->ClearForbiddenCharacters( eLang ); in removeForbiddenCharacters()
|
/trunk/main/cui/source/options/ |
H A D | optgenrl.cxx | 108 LanguageType eLang = Application::GetSettings().GetUILanguage(); in SvxGeneralTabPage() local 111 if ( LANGUAGE_ENGLISH_US == eLang ) in SvxGeneralTabPage() 118 else if ( LANGUAGE_RUSSIAN == eLang ) in SvxGeneralTabPage() 163 else if ( LANGUAGE_JAPANESE == eLang || in SvxGeneralTabPage() 164 LANGUAGE_KOREAN == eLang || in SvxGeneralTabPage() 165 LANGUAGE_CHINESE_TRADITIONAL == eLang || in SvxGeneralTabPage() 166 LANGUAGE_CHINESE_SIMPLIFIED == eLang) in SvxGeneralTabPage() 378 sal_Bool bUS = ( LANGUAGE_ENGLISH_US == eLang ); in GetAddress_Impl() 401 if ( LANGUAGE_RUSSIAN == eLang ) in GetAddress_Impl() 414 sal_Bool bUS = ( LANGUAGE_ENGLISH_US == eLang ); in SetAddress_Impl() [all …]
|
H A D | optasian.cxx | 86 sal_Bool hasForbiddenCharacters(LanguageType eLang); 87 SvxForbiddenChars_Impl* getForbiddenCharacters(LanguageType eLang); 88 void addForbiddenCharacters(LanguageType eLang, ForbiddenCharacters* pForbidden); 104 sal_Bool SvxAsianLayoutPage_Impl::hasForbiddenCharacters(LanguageType eLang) in hasForbiddenCharacters() argument 106 return 0 != aChangedLanguagesTbl.Get(eLang); in hasForbiddenCharacters() 111 SvxForbiddenChars_Impl* SvxAsianLayoutPage_Impl::getForbiddenCharacters(LanguageType eLang) in getForbiddenCharacters() argument 113 SvxForbiddenChars_Impl* pImp = aChangedLanguagesTbl.Get(eLang); in getForbiddenCharacters() 123 LanguageType eLang, ForbiddenCharacters* pForbidden) in addForbiddenCharacters() argument 125 SvxForbiddenChars_Impl* pOld = aChangedLanguagesTbl.Get(eLang); in addForbiddenCharacters() 131 aChangedLanguagesTbl.Insert( eLang, pOld ); in addForbiddenCharacters()
|
/trunk/main/sc/source/ui/view/ |
H A D | spelleng.cxx | 228 LanguageType eLang = static_cast< LanguageType >( pLangItem->GetValue() ); in FindNextConversionCell() local 229 if( eLang == LANGUAGE_SYSTEM ) in FindNextConversionCell() 230 … eLang = Application::GetSettings().GetLanguage(); // never use SYSTEM for spelling in FindNextConversionCell() 231 if( eLang != meCurrLang ) in FindNextConversionCell() 233 meCurrLang = eLang; in FindNextConversionCell() 234 SetDefaultLanguage( eLang ); in FindNextConversionCell() 393 LanguageType eLang, sal_Int32 nOptions, bool bIsInteractive ) : in ScConversionParam() argument 395 meSourceLang( eLang ), in ScConversionParam() 396 meTargetLang( eLang ), in ScConversionParam() 401 if (LANGUAGE_KOREAN == eLang) in ScConversionParam()
|
/trunk/main/cui/source/tabpages/ |
H A D | autocdlg.cxx | 1000 eLang(eLastDialogLanguage), in OfaAutocorrReplacePage() 1058 if(eLang != eLastDialogLanguage) in ActivatePage() 1212 eLang = eNewLanguage; in RefillReplaceBox() 1323 RefillReplaceBox(sal_True, eLang, eLang); in Reset() 1333 if(eSet != eLang) in SetLanguage() 1596 eLang(eLastDialogLanguage) in OfaAutocorrExceptPage() 1652 if(eLang != eLastDialogLanguage) in ActivatePage() 1780 if(eLang != eSet) in SetLanguage() 1799 eLang = eNewLanguage; in RefillReplaceBoxes() 1838 if(aStringsTable.IsKeyValid(eLang)) in RefillReplaceBoxes() [all …]
|
/trunk/main/sw/source/ui/config/ |
H A D | fontcfg.cxx | 205 LanguageType eLang = lcl_LanguageOfType(nFontType, eWestern, eCJK, eCTL); in IsFontDefault() local 221 GetDefaultFor(nFontType, eLang); in IsFontDefault() 252 String SwStdFontConfig::GetDefaultFor(sal_uInt16 nFontType, LanguageType eLang) in GetDefaultFor() argument 286 Font aFont = OutputDevice::GetDefaultFont(nFontId, eLang, DEFAULTFONT_FLAGS_ONLYONE); in GetDefaultFor() 293 sal_Int32 SwStdFontConfig::GetDefaultHeightFor(sal_uInt16 nFontType, LanguageType eLang) in GetDefaultHeightFor() argument 304 if( eLang == LANGUAGE_THAI && nFontType >= FONT_STANDARD_CTL ) in GetDefaultHeightFor() 345 …_Int32 SwStdFontConfig::GetFontHeight( sal_uInt8 nFont, sal_uInt8 nScriptType, LanguageType eLang ) in GetFontHeight() argument 350 return GetDefaultHeightFor(nFont + FONT_PER_GROUP * nScriptType, eLang); in GetFontHeight()
|
/trunk/main/unotools/inc/unotools/ |
H A D | syslocaleoptions.hxx | 126 LanguageType& eLang, 132 LanguageType eLang ); 136 LanguageType& eLang ) const in GetCurrencyAbbrevAndLanguage() 139 eLang, GetCurrencyConfigString() ); in GetCurrencyAbbrevAndLanguage() 144 LanguageType eLang ) in SetCurrencyAbbrevAndLanguage() argument 148 rAbbrev, eLang ) ); in SetCurrencyAbbrevAndLanguage()
|
/trunk/main/svtools/source/control/ |
H A D | fmtfield.cxx | 686 void FormattedField::GetFormat(XubString& rFormatString, LanguageType& eLang) const in GetFormat() 692 eLang = pFormatEntry ? pFormatEntry->GetLanguage() : LANGUAGE_DONTKNOW; in GetFormat() 696 sal_Bool FormattedField::SetFormat(const XubString& rFormatString, LanguageType eLang) in SetFormat() argument 699 sal_uInt32 nNewKey = ImplGetFormatter()->TestNewString(rFormatString, eLang); in SetFormat() 705 if (!ImplGetFormatter()->PutEntry(rFormat, nCheckPos, nType, nNewKey, eLang)) in SetFormat() 742 LanguageType eLang; in SetThousandsSep() local 744 GetFormat(sFmtDescription, eLang); in SetThousandsSep() 752 ImplGetFormatter()->PutEntry(sFmtDescription, nCheckPos, nType, nNewKey, eLang); in SetThousandsSep() 786 LanguageType eLang; in SetDecimalDigits() local 788 GetFormat(sFmtDescription, eLang); in SetDecimalDigits() [all …]
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewling.cxx | 370 LanguageType eLang = pLang ? *pLang : LANGUAGE_NONE; in IMPL_LINK() local 371 String aErr(SvtLanguageTable::GetLanguageString( eLang ) ); in IMPL_LINK() 383 if ( LANGUAGE_NONE == eLang ) in IMPL_LINK() 601 LanguageType eLang = pWrtShell->GetCurLang(); in StartThesaurus() local 602 if( LANGUAGE_SYSTEM == eLang ) in StartThesaurus() 603 eLang = GetAppLanguage(); in StartThesaurus() 605 if( eLang == LANGUAGE_DONTKNOW || eLang == LANGUAGE_NONE ) in StartThesaurus() 623 if ( !xThes.is() || !xThes->hasLocale( SvxCreateLocale( eLang ) ) ) in StartThesaurus() 624 SpellError( &eLang ); in StartThesaurus() 632 pDlg = pFact->CreateThesaurusDialog( &GetEditWin(), xThes, aTmp, eLang ); in StartThesaurus()
|
/trunk/main/cui/source/dialogs/ |
H A D | SpellDialog.cxx | 565 LanguageType eLang = GetSelectedLang_Impl(); in IMPL_LINK() local 653 LanguageType eLang = GetSelectedLang_Impl(); in IMPL_LINK() local 661 aString, eLang ); in IMPL_LINK() 672 aSentenceED.ChangeMarkedWord(aString, eLang); in IMPL_LINK() 1914 LanguagePosition_Impl(sal_uInt16 nPos, LanguageType eLang) : in LanguagePosition_Impl() 1916 eLanguage(eLang) in LanguagePosition_Impl() 1960 LanguageType eLang = LANGUAGE_DONTKNOW; in CreateSpellPortions() local 1998 eLang = aStart->eLanguage; in CreateSpellPortions() 2006 aPortion1.eLanguage = eLang; in CreateSpellPortions() 2016 eLang = aStart->eLanguage; in CreateSpellPortions() [all …]
|
/trunk/main/toolkit/workben/layout/ |
H A D | tpsort.cxx | 786 LanguageType eLang = MsLangId::convertLocaleToLanguage( rSortData.aCollatorLocale ); in Reset() local 787 if ( eLang == LANGUAGE_DONTKNOW ) in Reset() 788 eLang = LANGUAGE_SYSTEM; in Reset() 789 aLbLanguage.SelectLanguage( eLang ); in Reset() 851 LanguageType eLang = aLbLanguage.GetSelectLanguage(); in FillItemSet() local 852 theSortData.aCollatorLocale = MsLangId::convertLanguageToLocale( eLang, false ); in FillItemSet() 856 if ( eLang != LANGUAGE_SYSTEM ) in FillItemSet() 1070 LanguageType eLang = aLbLanguage.GetSelectLanguage(); in IMPL_LINK() local 1071 if ( eLang == LANGUAGE_SYSTEM ) in IMPL_LINK() 1081 lang::Locale aLocale( MsLangId::convertLanguageToLocale( eLang )); in IMPL_LINK()
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | tpsort.cxx | 769 LanguageType eLang = MsLangId::convertLocaleToLanguage( rSortData.aCollatorLocale ); in Reset() local 770 if ( eLang == LANGUAGE_DONTKNOW ) in Reset() 771 eLang = LANGUAGE_SYSTEM; in Reset() 772 aLbLanguage.SelectLanguage( eLang ); in Reset() 833 LanguageType eLang = aLbLanguage.GetSelectLanguage(); in FillItemSet() local 834 theSortData.aCollatorLocale = MsLangId::convertLanguageToLocale( eLang, false ); in FillItemSet() 838 if ( eLang != LANGUAGE_SYSTEM ) in FillItemSet() 1051 LanguageType eLang = aLbLanguage.GetSelectLanguage(); in IMPL_LINK() local 1052 if ( eLang == LANGUAGE_SYSTEM ) in IMPL_LINK() 1062 lang::Locale aLocale( MsLangId::convertLanguageToLocale( eLang )); in IMPL_LINK()
|
H A D | asciiopt.cxx | 56 eLang ( LANGUAGE_SYSTEM ), in ScAsciiOptions() 74 eLang ( rOpt.eLang ), in ScAsciiOptions() 295 eLang = static_cast<LanguageType>(aToken.ToInt32()); in ReadFromString() 392 aOutStr += String::CreateFromInt32(eLang); in WriteToString()
|
/trunk/main/sw/source/core/edit/ |
H A D | acorrect.cxx | 335 LanguageType eLang = GetLanguage(nEndPos, sal_False); in ChgAutoCorrWord() local 336 if(LANGUAGE_SYSTEM == eLang) in ChgAutoCorrWord() 337 eLang = (LanguageType)GetAppLanguage(); in ChgAutoCorrWord() 344 pTxtNd->GetTxt(), rSttPos, nEndPos, *this, eLang ); in ChgAutoCorrWord() 364 SwTextBlocks aTBlks( rACorrect.GetAutoCorrFileName( eLang, sal_False, sal_True )); in ChgAutoCorrWord() 431 LanguageType eLang = GetLanguage(nPos, sal_False); in SaveCpltSttWord() local 433 nNode, nPos, rExceptWord, cChar, eLang )); in SaveCpltSttWord()
|
H A D | autofmt.cxx | 158 void _GetCharClass( LanguageType eLang ); 159 CharClass& GetCharClass( LanguageType eLang ) const in GetCharClass() 161 if( !pCharClass || eLang != eCharClassLang ) in GetCharClass() 164 pThis->_GetCharClass( eLang ); in GetCharClass() 283 void SwAutoFormat::_GetCharClass( LanguageType eLang ) in _GetCharClass() argument 286 pCharClass = new CharClass( SvxCreateLocale( eLang )); in _GetCharClass() 287 eCharClassLang = eLang; in _GetCharClass() 2077 LanguageType eLang = (bGetLanguage && pAktTxtNd) in AutoCorrect() local 2138 LanguageType eLang = (bGetLanguage && pAktTxtNd) in AutoCorrect() local 2153 pATst->FnChgToEnEmDash( aACorrDoc, *pTxt, nSttPos, nPos, eLang ) ) || in AutoCorrect() [all …]
|