Lines Matching refs:nLangWhichId
257 sal_uInt16 nLangWhichId = 0; in SetLanguage() local
261 …case SCRIPTTYPE_LATIN : nLangWhichId = pEditEngine ? EE_CHAR_LANGUAGE : RES_CHRATR_LANGUAGE; br… in SetLanguage()
262 …case SCRIPTTYPE_ASIAN : nLangWhichId = pEditEngine ? EE_CHAR_LANGUAGE_CJK : RES_CHRATR_CJK_LANG… in SetLanguage()
263 …case SCRIPTTYPE_COMPLEX : nLangWhichId = pEditEngine ? EE_CHAR_LANGUAGE_CTL : RES_CHRATR_CTL_LANG… in SetLanguage()
278 rCoreSet.Put( SvxLanguageItem( nLang, nLangWhichId )); in SetLanguage()
284 rCoreSet.Put( SvxLanguageItem( nLang, nLangWhichId )); in SetLanguage()
291 switch (nLangWhichId) in SetLanguage()
293 case EE_CHAR_LANGUAGE : nLangWhichId = RES_CHRATR_LANGUAGE; break; in SetLanguage()
294 case EE_CHAR_LANGUAGE_CJK : nLangWhichId = RES_CHRATR_CJK_LANGUAGE; break; in SetLanguage()
295 case EE_CHAR_LANGUAGE_CTL : nLangWhichId = RES_CHRATR_CTL_LANGUAGE; break; in SetLanguage()
297 rWrtSh.SetDefault( SvxLanguageItem( nLang, nLangWhichId ) ); in SetLanguage()
301 rWrtSh.SetAttrItem( SvxLanguageItem( nLang, nLangWhichId ) ); in SetLanguage()
405 LanguageType GetLanguage( SwWrtShell &rSh, sal_uInt16 nLangWhichId ) in GetLanguage() argument
407 SfxItemSet aSet( rSh.GetAttrPool(), nLangWhichId, nLangWhichId ); in GetLanguage()
410 return GetLanguage(aSet,nLangWhichId); in GetLanguage()
413 LanguageType GetLanguage( SfxItemSet aSet, sal_uInt16 nLangWhichId ) in GetLanguage() argument
419 SfxItemState nState = aSet.GetItemState( nLangWhichId, sal_True, &pItem ); in GetLanguage()
428 …nLang = (dynamic_cast< const SvxLanguageItem& >(aSet.GetPool()->GetDefaultItem( nLangWhichId ))).G… in GetLanguage()
450 sal_uInt16 nLangWhichId = 0; in GetCurrentLanguage() local
454 case SCRIPTTYPE_LATIN : nLangWhichId = RES_CHRATR_LANGUAGE; break; in GetCurrentLanguage()
455 case SCRIPTTYPE_ASIAN : nLangWhichId = RES_CHRATR_CJK_LANGUAGE; break; in GetCurrentLanguage()
456 case SCRIPTTYPE_COMPLEX : nLangWhichId = RES_CHRATR_CTL_LANGUAGE; break; in GetCurrentLanguage()
463 nCurrentLang = GetLanguage( rSh, nLangWhichId ); in GetCurrentLanguage()
498 sal_uInt16 nLangWhichId = 0; in GetCurrentLanguage() local
502 case SCRIPTTYPE_LATIN : nLangWhichId = EE_CHAR_LANGUAGE; break; in GetCurrentLanguage()
503 case SCRIPTTYPE_ASIAN : nLangWhichId = EE_CHAR_LANGUAGE_CJK; break; in GetCurrentLanguage()
504 case SCRIPTTYPE_COMPLEX : nLangWhichId = EE_CHAR_LANGUAGE_CTL; break; in GetCurrentLanguage()
511 nCurrentLang = GetLanguage( aSet, nLangWhichId ); in GetCurrentLanguage()