Home
last modified time | relevance | path

Searched refs:pLang (Results 1 – 25 of 26) sorted by relevance

12

/aoo4110/main/i18npool/source/isolang/
H A Dinunx.cxx56 if (! pLang || pLang[0] == 0) in getLangFromEnvironment()
58 if (! pLang || pLang[0] == 0) in getLangFromEnvironment()
60 if (! pLang || pLang[0] == 0) in getLangFromEnvironment()
61 pLang = pFallback; in getLangFromEnvironment()
63 return pLang; in getLangFromEnvironment()
75 if (! pLang || pLang[0] == 0) in getUILangFromEnvironment()
77 if (! pLang || pLang[0] == 0) in getUILangFromEnvironment()
79 if (! pLang || pLang[0] == 0) in getUILangFromEnvironment()
81 if (! pLang || pLang[0] == 0) in getUILangFromEnvironment()
82 pLang = pFallback; in getUILangFromEnvironment()
[all …]
/aoo4110/main/sw/source/ui/lingu/
H A Dhyp.cxx132 IMPL_LINK( SwHyphWrapper, SpellError, LanguageType *, pLang ) in IMPL_LINK() argument
134 if (pLang && *pLang != nLangError ) in IMPL_LINK()
136 nLangError = *pLang; in IMPL_LINK()
/aoo4110/main/cui/source/options/
H A Doptgdlg.cxx1706 const SfxPoolItem* pLang; in Reset() local
1707 if( SFX_ITEM_SET == rSet.GetItemState(SID_ATTR_LANGUAGE, sal_False, &pLang)) in Reset()
1709 LanguageType eTempCurLang = ((const SvxLanguageItem*)pLang)->GetValue(); in Reset()
1714 if( SFX_ITEM_SET == rSet.GetItemState(SID_ATTR_CHAR_CJK_LANGUAGE, sal_False, &pLang)) in Reset()
1716 LanguageType eTempCurLang = ((const SvxLanguageItem*)pLang)->GetValue(); in Reset()
1721 if( SFX_ITEM_SET == rSet.GetItemState(SID_ATTR_CHAR_CTL_LANGUAGE, sal_False, &pLang)) in Reset()
1723 LanguageType eTempCurLang = ((const SvxLanguageItem*)pLang)->GetValue(); in Reset()
1769 const SfxPoolItem* pLang = 0; in Reset() local
1770 … rSet.GetItemState(SID_SET_DOCUMENT_LANGUAGE, sal_False, &pLang ) &&( (const SfxBoolItem*)pLang)->… in Reset()
H A Doptlingu.cxx120 const sal_Int16 *pLang = rSeq.getConstArray(); in lcl_SeqHasLang() local
124 if (nLang == pLang[i]) in lcl_SeqHasLang()
/aoo4110/main/svx/source/dialog/
H A Dlangbox.cxx89 sal_Int16 *pLang = aLangs.getArray(); in lcl_LocaleSeqToLangSeq() local
92 pLang[i] = SvxLocaleToLanguage( pLocale[i] ); in lcl_LocaleSeqToLangSeq()
106 const sal_Int16 *pLang = rLangSeq.getConstArray(); in lcl_SeqHasLang() local
109 if (nLang == pLang[i]) in lcl_SeqHasLang()
/aoo4110/main/sw/source/filter/html/
H A Dswhtml.hxx791 const String &rClass, const String *pLang=0,
796 const String *pLang=0, const String *pDir=0 );
1015 const String *pLang, in HasStyleOptions() argument
1019 (pLang && pLang->Len()) || (pDir && pDir->Len()); in HasStyleOptions()
H A Dhtmlcss1.cxx1979 const String *pLang, in ParseStyleOptions() argument
2018 if( pLang && pLang->Len() ) in ParseStyleOptions()
2020 LanguageType eLang = MsLangId::convertIsoStringToLanguage( *pLang ); in ParseStyleOptions()
/aoo4110/main/rsc/source/parser/
H A Drscibas.cxx184 Atom RscLangEnum::AddLanguage( const char* pLang, RscNameTable& rNames ) in AddLanguage() argument
188 if( ! rNames.Get( nResult = pHS->getID( pLang ), &aStruct ) ) in AddLanguage()
190 SetConstant( nResult = rNames.Put( pLang, CONSTNAME, mnLangId ), mnLangId ); in AddLanguage()
192 rtl::OString aLang( pLang ); in AddLanguage()
199 fprintf( stderr, "AddLanguage( %s ) = %d\n", pLang, nResult ); in AddLanguage()
H A Drscdb.cxx173 Atom RscTypCont::AddLanguage( const char* pLang ) in AddLanguage() argument
175 return aLangType.AddLanguage( pLang, aNmTb ); in AddLanguage()
/aoo4110/main/scaddins/source/datefunc/
H A Ddatefunc.cxx292 static const sal_Char* pLang[] = { "de", "en" }; variable
294 static const sal_uInt32 nNumOfLoc = sizeof( pLang ) / sizeof( sal_Char* );
302 pDefLocales[ nIndex ].Language = OUString::createFromAscii( pLang[ nIndex ] ); in InitDefLocales()
312 return (nIndex < sizeof( pLang )) ? pDefLocales[ nIndex ] : aFuncLoc; in GetLocale()
/aoo4110/main/linguistic/source/
H A Dmisc.cxx486 const sal_Int16 *pLang = rLangSeq.getConstArray(); in LangSeqToLocaleSeq() local
493 LanguageToLocale( pLocale[i], pLang[ i ] ); in LangSeqToLocaleSeq()
506 sal_Int16 *pLang = aLangs.getArray(); in LocaleSeqToLangSeq() local
509 pLang[i] = LocaleToLanguage( pLocale[i] ); in LocaleSeqToLangSeq()
H A Dlngsvcmgr.cxx174 const sal_Int16 *pLang = aSuppLanguages.getConstArray(); in HasLanguage() local
179 if (nLanguage == pLang[i]) in HasLanguage()
/aoo4110/main/cui/source/dialogs/
H A DSpellDialog.cxx1964 … const TextCharAttrib* pLang = pTextEngine->FindCharAttrib( aCursor, TEXTATTR_SPELL_LANGUAGE); in CreateSpellPortions() local
1965 if(pLang && pLang != pLastLang) in CreateSpellPortions()
1967 eLang = static_cast<const SpellLanguageAttrib&>(pLang->GetAttr()).GetLanguage(); in CreateSpellPortions()
1968 lcl_InsertBreakPosition_Impl(aBreakPositions, pLang->GetStart(), eLang); in CreateSpellPortions()
1969 lcl_InsertBreakPosition_Impl(aBreakPositions, pLang->GetEnd(), eLang); in CreateSpellPortions()
1970 pLastLang = pLang; in CreateSpellPortions()
/aoo4110/main/scaddins/source/analysis/
H A Danalysis.cxx478 static const sal_Char* pLang[] = { "de", "en" }; variable
480 static const sal_uInt32 nNumOfLoc = sizeof( pLang ) / sizeof( sal_Char* );
489 pDefLocales[ n ].Language = STRING::createFromAscii( pLang[ n ] ); in InitDefLocales()
500 if( nInd < sizeof( pLang ) ) in GetLocale()
/aoo4110/main/sw/source/filter/ww8/
H A Dww8par5.cxx558 const SvxLanguageItem *pLang = in ForceFieldLanguage() local
560 ASSERT(pLang, "impossible"); in ForceFieldLanguage()
561 sal_uInt16 nDefault = pLang ? pLang->GetValue() : LANGUAGE_ENGLISH_US; in ForceFieldLanguage()
608 const SvxLanguageItem *pLang = (SvxLanguageItem*)GetFmtAttr( static_cast< sal_uInt16 >(eLang)); in GetTimeDatePara() local
609 ASSERT(pLang, "impossible"); in GetTimeDatePara()
610 rLang = pLang ? pLang->GetValue() : LANGUAGE_ENGLISH_US; in GetTimeDatePara()
H A Dww8par.cxx2607 const SvxLanguageItem *pLang = in GetCurrentCharSet() local
2609 if (pLang) in GetCurrentCharSet()
2611 switch (pLang->GetLanguage()) in GetCurrentCharSet()
2670 const SvxLanguageItem *pLang = in GetCurrentCJKCharSet() local
2672 if (pLang) in GetCurrentCJKCharSet()
2674 switch (pLang->GetLanguage()) in GetCurrentCJKCharSet()
/aoo4110/main/sw/source/ui/uiview/
H A Dviewling.cxx352 IMPL_LINK( SwView, SpellError, LanguageType *, pLang ) in IMPL_LINK() argument
370 LanguageType eLang = pLang ? *pLang : LANGUAGE_NONE; in IMPL_LINK()
/aoo4110/main/vcl/unx/generic/fontmanager/
H A Dfontconfig.cxx554 const char *pLang = (const char*)aIter->first; in bestname() local
555 if( rtl_str_compare( pLang, sFullMatch.getStr() ) == 0) in bestname()
563 else if( rtl_str_compare( pLang, sLangMatch.getStr()) == 0) in bestname()
569 else if( rtl_str_compare( pLang, "en") == 0) in bestname()
/aoo4110/main/lingucomponent/source/languageguessing/
H A Dguesslang.cxx161 const char *pLang; in EnsureInitialized() member
179 aLocale.Language = OUString::createFromAscii( aDisable[i].pLang ); in EnsureInitialized()
/aoo4110/main/sw/source/filter/rtf/
H A Drtffld.cxx507 …const SvxLanguageItem *pLang = (SvxLanguageItem*)&pDoc->GetAttrPool().GetDefaultItem( static_cast<… in MakeFieldInst() local
508 rLang = pLang ? pLang->GetValue() : LANGUAGE_ENGLISH_US; in MakeFieldInst()
/aoo4110/main/rsc/inc/
H A Drscconst.hxx103 Atom AddLanguage( const char* pLang, RscNameTable& rNames );
/aoo4110/main/sw/source/core/inc/
H A Dscriptinfo.hxx68 SwScanner( const SwTxtNode& rNd, const String& rTxt, const LanguageType* pLang,
/aoo4110/main/vcl/unx/generic/app/
H A Dwmadaptor.cxx1100 static const char* pLang = getenv( "LANG" ); in setWMName() local
1101 aWMLocale = pLang ? pLang : "C"; in setWMName()
/aoo4110/main/sw/source/ui/config/
H A Doptpage.cxx889 const SfxPoolItem* pLang; in Reset() local
894 if( SFX_ITEM_SET == rSet.GetItemState(nLangSlot, sal_False, &pLang)) in Reset()
895 eLanguage = ((const SvxLanguageItem*)pLang)->GetValue(); in Reset()
/aoo4110/main/sw/source/core/txtnode/
H A Dtxtedt.cxx714 SwScanner::SwScanner( const SwTxtNode& rNd, const String& rTxt, const LanguageType* pLang, in SwScanner() argument
717 …: rNode( rNd ), rText( rTxt), pLanguage( pLang ), pConversionMap( pConvMap ), nLen( 0 ), nWordType… in SwScanner()

Completed in 230 milliseconds

12