/aoo4110/main/comphelper/source/misc/ |
H A D | locale.cxx | 45 static Locale aLocale( in X_DEFAULT() local 54 static Locale aLocale( in EN() local 63 static Locale aLocale( in EN_US() local 72 static Locale aLocale( in DE_DE() local 81 static Locale aLocale( in DE_CH() local 90 static Locale aLocale( in DE_AT() local 99 static Locale aLocale( in AR() local 108 static Locale aLocale( in CA() local 117 static Locale aLocale( in CS() local 126 static Locale aLocale( in DA() local [all …]
|
/aoo4110/main/unotools/source/config/ |
H A D | fontcfg.cxx | 237 Locale aLocale; in getDefaultFont() local 246 aLocale.Variant = OUString(); in getDefaultFont() 247 aRet = tryLocale( aLocale, aType ); in getDefaultFont() 251 aLocale.Country = OUString(); in getDefaultFont() 252 aRet = tryLocale( aLocale, aType ); in getDefaultFont() 257 aRet = tryLocale( aLocale, aType ); in getDefaultFont() 264 Locale aLocale = rLocale; in getUserInterfaceFont() local 265 if( ! aLocale.Language.getLength() ) in getUserInterfaceFont() 1180 Locale aLocale; in getSubstInfo() local 1185 if( ! aLocale.Language.getLength() ) in getSubstInfo() [all …]
|
/aoo4110/main/odk/examples/DevelopersGuide/OfficeDev/Linguistic/ |
H A D | SampleSpellChecker.java | 135 private boolean IsUpper( String aWord, Locale aLocale ) in IsUpper() argument 138 aLocale.Language, aLocale.Country, aLocale.Variant ); in IsUpper() 155 Locale aLocale, in GetSpellFailure() argument 195 Locale aLocale, in GetProposals() argument 268 public boolean hasLocale( Locale aLocale ) in hasLocale() argument 283 String aWord, Locale aLocale, in isValid() argument 293 if (!hasLocale( aLocale )) in isValid() 322 String aWord, Locale aLocale, in spell() argument 332 if (!hasLocale( aLocale )) in spell() 336 if (!isValid( aWord, aLocale, aProperties )) in spell() [all …]
|
H A D | SampleHyphenator.java | 192 public boolean hasLocale( Locale aLocale ) in hasLocale() argument 197 IsEqual( aLocale, new Locale( "en", "US", "" ) )) in hasLocale() 206 String aWord, Locale aLocale, in hyphenate() argument 216 if (!hasLocale( aLocale )) in hyphenate() 287 String aWord, Locale aLocale, in queryAlternativeSpelling() argument 297 if (!hasLocale( aLocale )) in queryAlternativeSpelling() 315 if ( IsEqual( aLocale, new Locale( "de", "DE", "" ) ) ) in queryAlternativeSpelling() 336 String aWord, Locale aLocale, in createPossibleHyphens() argument 346 if (!hasLocale( aLocale )) in createPossibleHyphens() 364 if ( IsEqual( aLocale, new Locale( "de", "DE", "" ) ) ) in createPossibleHyphens() [all …]
|
/aoo4110/main/tools/source/rc/ |
H A D | resmgr.cxx | 397 rLocale = aLocale; in getResMgr() 436 com::sun::star::lang::Locale aLocale = pMgr->aLocale; in getNextFallback() local 550 , aLocale( rLocale ) in InternalResMgr() 1441 ( pResMgr->pImpRes->aLocale.Language != pRes->aLocale.Language || in CreateFallbackResMgr() 1443 pResMgr->pImpRes->aLocale.Variant != pRes->aLocale.Variant ) in CreateFallbackResMgr() 1998 if( pFallback->aLocale.Language != m_pResImpl->aLocale.Language || in ReadString() 1999 pFallback->aLocale.Country != m_pResImpl->aLocale.Country || in ReadString() 2000 pFallback->aLocale.Variant != m_pResImpl->aLocale.Variant ) in ReadString() 2070 if( pFallback->aLocale.Language != m_pResImpl->aLocale.Language || in ReadBlob() 2071 pFallback->aLocale.Country != m_pResImpl->aLocale.Country || in ReadBlob() [all …]
|
/aoo4110/main/sal/qa/rtl/locale/ |
H A D | rtl_locale.cxx | 68 rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); in getDefault_001() local 100 rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); in setDefault_001() local 131 rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); in getLanguage_001() local 132 rtl::OUString suLanguage = aLocale.getLanguage(); in getLanguage_001() 138 rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); in getLanguage_002() local 170 rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); in getCountry_001() local 171 rtl::OUString suCountry = aLocale.getCountry(); in getCountry_001() 177 rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); in getCountry_002() local 209 rtl::OLocale aLocale = ::rtl::OLocale::getDefault(); in getVariant_001() local 210 rtl::OUString suVariant = aLocale.getVariant(); in getVariant_001() [all …]
|
/aoo4110/main/xmloff/source/style/ |
H A D | chrlohdl.cxx | 69 lang::Locale aLocale; in importXML() local 71 rValue >>= aLocale; in importXML() 76 rValue <<= aLocale; in importXML() 82 lang::Locale aLocale; in exportXML() local 83 if(!(rValue >>= aLocale)) in exportXML() 117 lang::Locale aLocale; in importXML() local 119 rValue >>= aLocale; in importXML() 124 rValue <<= aLocale; in importXML() 130 lang::Locale aLocale; in exportXML() local 131 if(!(rValue >>= aLocale)) in exportXML() [all …]
|
/aoo4110/main/wizards/com/sun/star/wizards/common/ |
H A D | NumberFormatter.java | 56 private Locale aLocale; field in NumberFormatter 61 aLocale = _aLocale; in NumberFormatter() 73 aLocale = _aLocale; in NumberFormatter() 150 int NewFormatKey = xNumberFormats.queryKey(_FormatString, aLocale, true); in defineNumberFormat() 153 NewFormatKey = xNumberFormats.addNew(_FormatString, aLocale); in defineNumberFormat() 247 iLogicalFormatKey = xNumberFormats.queryKey(FormatString, aLocale, true); in setBooleanReportDisplayNumberFormat() 252 iLogicalFormatKey = xNumberFormats.addNew(FormatString, aLocale); in setBooleanReportDisplayNumberFormat() 293 iLogicalFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.LOGICAL, aLocale); in getLogicalFormatKey() 304 iNumberFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.NUMBER, aLocale); in getNumberFormatKey() 315 iTextFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.TEXT, aLocale); in getTextFormatKey() [all …]
|
/aoo4110/main/svl/source/config/ |
H A D | asiancfg.cxx | 51 Locale aLocale; member 133 pInsert->aLocale.Language = pNodes[nNode].copy(0, 2); in Load() 135 pInsert->aLocale.Country = pNodes[nNode].copy(3, 2); in Load() 175 sPrefix += pImpl->aForbiddenArr[i]->aLocale.Language; in Commit() 178 sPrefix += pImpl->aForbiddenArr[i]->aLocale.Country; in Commit() 228 pRet[i] = pImpl->aForbiddenArr[i]->aLocale; in GetStartEndCharLocales() 241 if(rLocale.Language == pImpl->aForbiddenArr[i]->aLocale.Language && in GetStartEndChars() 242 rLocale.Country == pImpl->aForbiddenArr[i]->aLocale.Country) in GetStartEndChars() 261 if(rLocale.Language == pImpl->aForbiddenArr[i]->aLocale.Language && in SetStartEndChars() 262 rLocale.Country == pImpl->aForbiddenArr[i]->aLocale.Country) in SetStartEndChars() [all …]
|
/aoo4110/main/i18npool/inc/ |
H A D | textconversion.hxx | 51 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 58 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 65 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 71 interactiveConversion(const ::com::sun::star::lang::Locale& aLocale, 111 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 118 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 125 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 131 interactiveConversion(const ::com::sun::star::lang::Locale& aLocale, 167 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 187 interactiveConversion(const ::com::sun::star::lang::Locale& aLocale, [all …]
|
/aoo4110/main/cui/source/options/ |
H A D | optasian.cxx | 232 Locale aLocale; in FillItemSet() local 233 SvxLanguageToLocale(aLocale, (sal_uInt16)nLang ); in FillItemSet() 235 pImpl->xForbidden->removeForbiddenCharacters( aLocale ); in FillItemSet() 237 pImpl->xForbidden->setForbiddenCharacters( aLocale, *pElem->pCharacters ); in FillItemSet() 344 Locale aLocale; in IMPL_LINK() local 346 SvxLanguageToLocale(aLocale, eSelectLanguage ); in IMPL_LINK() 370 bAvail = pImpl->xForbidden->hasForbiddenCharacters(aLocale); in IMPL_LINK() 386 bAvail = pImpl->aConfig.GetStartEndChars( aLocale, sStart, sEnd ); in IMPL_LINK() 391 LocaleDataWrapper aWrap( xMSF, aLocale ); in IMPL_LINK() 425 Locale aLocale; in IMPL_LINK() local [all …]
|
H A D | optgdlg.cxx | 1362 Locale aLocale; in lcl_LangStringToLangType() local 1482 Locale aLocale; in FillItemSet() local 1530 aValue <<= aLocale; in FillItemSet() 1551 aValue <<= aLocale; in FillItemSet() 1572 aValue <<= aLocale; in FillItemSet() 1683 Locale aLocale; in Reset() local 1684 aWestLang >>= aLocale; in Reset() 1689 aLocale = Locale(); in Reset() 1690 aCJKLang >>= aLocale; in Reset() 1694 aLocale = Locale(); in Reset() [all …]
|
/aoo4110/main/offapi/com/sun/star/i18n/ |
H A D | XLocaleData.idl | 60 [in] com::sun::star::lang::Locale aLocale ); 66 [in] com::sun::star::lang::Locale aLocale ); 72 [in] com::sun::star::lang::Locale aLocale ); 78 [in] com::sun::star::lang::Locale aLocale ); 84 [in] com::sun::star::lang::Locale aLocale ); 90 [in] com::sun::star::lang::Locale aLocale ); 96 [in] com::sun::star::lang::Locale aLocale ); 102 [in] com::sun::star::lang::Locale aLocale ); 108 [in] com::sun::star::lang::Locale aLocale ); 114 [in] com::sun::star::lang::Locale aLocale ); [all …]
|
H A D | XBreakIterator.idl | 73 [in] ::com::sun::star::lang::Locale aLocale, 89 [in] ::com::sun::star::lang::Locale aLocale, 105 [in] ::com::sun::star::lang::Locale aLocale, 111 @param aLocale 122 call this method again with a correct <em>aLocale</em> 163 [in] ::com::sun::star::lang::Locale aLocale, 179 [in] ::com::sun::star::lang::Locale aLocale); 192 [in] ::com::sun::star::lang::Locale aLocale, 199 [in] ::com::sun::star::lang::Locale aLocale, 245 [in] ::com::sun::star::lang::Locale aLocale, [all …]
|
H A D | XExtendedIndexEntrySupplier.idl | 65 [in] com::sun::star::lang::Locale aLocale ); 71 boolean usePhoneticEntry( [in] com::sun::star::lang::Locale aLocale); 78 [in] com::sun::star::lang::Locale aLocale); 96 boolean loadAlgorithm( [in] com::sun::star::lang::Locale aLocale, 113 @param aLocale 115 aLocale and the locale in loadAlgorithm may be different. 120 [in] com::sun::star::lang::Locale aLocale ); 140 aLocale and the locale in loadAlgorithm may be different.
|
/aoo4110/main/unotools/source/i18n/ |
H A D | intlwrapper.cxx | 35 aLocale( rLocale ), in IntlWrapper() 43 eLanguage = MsLangId::convertLocaleToLanguage( aLocale ); in IntlWrapper() 59 MsLangId::convertLanguageToLocale( eLanguage, aLocale ); in IntlWrapper() 75 ((IntlWrapper*)this)->pCharClass = new CharClass( xSMgr, aLocale ); in ImplNewCharClass() 81 ((IntlWrapper*)this)->pLocaleData = new LocaleDataWrapper( xSMgr, aLocale ); in ImplNewLocaleData() 88 p->loadDefaultCalendar( aLocale ); in ImplNewCalendar() 98 p->loadDefaultCollator( aLocale, 0 ); in ImplNewCollator() 103 …p->loadDefaultCollator( aLocale, ::com::sun::star::i18n::CollatorOptions::CollatorOptions_IGNORE_C… in ImplNewCollator()
|
/aoo4110/main/linguistic/source/ |
H A D | spelldsp.cxx | 338 Locale aLocale( CreateLocale( nLanguage ) ); in isValid_Impl() local 368 if (pRef[i].is() && pRef[i]->hasLocale( aLocale )) in isValid_Impl() 431 if (xSpell.is() && xSpell->hasLocale( aLocale )) in isValid_Impl() 506 Locale aLocale( CreateLocale( nLanguage ) ); in spell_Impl() local 536 if (pRef[i].is() && pRef[i]->hasLocale( aLocale )) in spell_Impl() 773 Locale aLocale( CreateLocale( nLanguage ) ); in hasLanguage() local 774 return hasLocale( aLocale ); in hasLanguage() 785 Locale aLocale( CreateLocale( nLanguage ) ); in isValid() local 786 return isValid( rWord, aLocale, rProperties); in isValid() 797 Locale aLocale( CreateLocale( nLanguage ) ); in spell() local [all …]
|
/aoo4110/main/cui/source/dialogs/ |
H A D | SpellAttrib.hxx | 48 ::com::sun::star::lang::Locale aLocale; 68 aLocale( rLocale ), in SpellErrorDescription() 85 aLocale.Language.equals( rDesc.aLocale.Language ) && in operator ==() 86 aLocale.Country.equals( rDesc.aLocale.Country ) && in operator ==() 87 aLocale.Variant.equals( rDesc.aLocale.Variant ) && in operator ==()
|
/aoo4110/main/offapi/com/sun/star/smarttags/ |
H A D | XSmartTagAction.idl | 71 @param aLocale 77 string getName( [in] ::com::sun::star::lang::Locale aLocale ); 83 @param aLocale 89 string getDescription( [in] ::com::sun::star::lang::Locale aLocale ); 128 @param aLocale 138 [in] ::com::sun::star::lang::Locale aLocale) 196 @param aLocale 279 @param aLocale 292 [in] ::com::sun::star::lang::Locale aLocale ) 308 @param aLocale [all …]
|
H A D | XSmartTagRecognizer.idl | 77 @param aLocale 83 string getName( [in] ::com::sun::star::lang::Locale aLocale ); 89 @param aLocale 95 string getDescription( [in] ::com::sun::star::lang::Locale aLocale ); 160 @param aLocale 180 [in] com::sun::star::lang::Locale aLocale, 194 @param aLocale 205 [in] ::com::sun::star::lang::Locale aLocale ) 217 @param aLocale 224 [in] ::com::sun::star::lang::Locale aLocale )
|
/aoo4110/main/i18npool/source/textconversion/ |
H A D | textconversionImpl.cxx | 91 if (xMSF.is() && rLocale != aLocale) { in getLocaleSpecificTextConversion() 92 aLocale = rLocale; in getLocaleSpecificTextConversion() 97 OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language); in getLocaleSpecificTextConversion() 101 OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language + in getLocaleSpecificTextConversion() 102 OUString::createFromAscii("_") + aLocale.Country); in getLocaleSpecificTextConversion() 105 OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language + in getLocaleSpecificTextConversion() 106 OUString::createFromAscii("_") + aLocale.Country + in getLocaleSpecificTextConversion() 107 OUString::createFromAscii("_") + aLocale.Variant); in getLocaleSpecificTextConversion()
|
/aoo4110/main/unotools/source/misc/ |
H A D | syslocale.cxx | 91 com::sun::star::lang::Locale aLocale( aSysLocaleOptions.GetRealLocale() ); in ConfigurationChanged() local 92 pLocaleData->setLocale( aLocale ); in ConfigurationChanged() 93 GetCharClass()->setLocale( aLocale ); in ConfigurationChanged() 197 ::com::sun::star::lang::Locale aLocale( SvtSysLocale().GetUILocale() ); in GetBestMimeEncoding() 198 rtl_Locale * pLocale = rtl_locale_register( aLocale.Language.getStr(), in GetBestMimeEncoding() 199 aLocale.Country.getStr(), aLocale.Variant.getStr() ); in GetBestMimeEncoding()
|
/aoo4110/main/i18npool/source/transliteration/ |
H A D | transliteration_body.cxx | 152 Mapping &map = casefolding::getValue(in, i, nCount, aLocale, nMappingType); in transliterate() 183 const Mapping &map = casefolding::getValue( in, i, nCount, aLocale, nTmpMappingType ); in transliterate() 201 const Mapping &map = casefolding::getValue( in, i, nCount, aLocale, nTmpMappingType ); in transliterate() 238 const Mapping &map = casefolding::getValue( in, i, nCount, aLocale, nTmpMappingType ); in transliterate() 256 const Mapping &map = casefolding::getValue(&inChar, 0, 1, aLocale, nMappingType); in transliterateChar2String() 271 const Mapping &map = casefolding::getValue(&inChar, 0, 1, aLocale, nMappingType); in transliterateChar2Char() 295 aLocale = rLocale; in setMappingType() 445 return transliterate_titlecase_Impl( inStr, startPos, nCount, aLocale, offset ); in transliterate() 464 return transliterate_titlecase_Impl( inStr, startPos, nCount, aLocale, offset ); in transliterate()
|
/aoo4110/main/i18nutil/source/utility/ |
H A D | casefolding.cxx | 44 #define langIs(lang) (aLocale.Language.compareToAscii(lang) == 0) 55 …ionalValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Locale& aLocale, sal_uInt8 nMappi… in getConditionalValue() argument 84 …::getValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Locale& aLocale, sal_uInt8 nMappi… in getValue() argument 95 return getConditionalValue(str, pos, len, aLocale, nMappingType); in getValue() 101 return getConditionalValue(str, pos, len, aLocale, nMappingType); in getValue() 125 …_Unicode *str, sal_Int32& idx, sal_Int32 len, MappingElement& e, Locale& aLocale, sal_uInt8 nMappi… in getNextChar() argument 137 e.element = getValue(str, idx++, len, aLocale, nMappingType); in getNextChar()
|
/aoo4110/main/oox/source/drawingml/ |
H A D | textcharacterproperties.cxx | 104 lang::Locale aLocale; in pushToPropMap() local 108 aLocale.Language = moLang.get().copy( 0, nSepPos ); in pushToPropMap() 109 aLocale.Country = moLang.get().copy( nSepPos + 1 ); in pushToPropMap() 113 aLocale.Language = moLang.get(); in pushToPropMap() 115 rPropMap[ PROP_CharLocale ] <<= aLocale; in pushToPropMap() 116 rPropMap[ PROP_CharLocaleAsian ] <<= aLocale; in pushToPropMap() 117 rPropMap[ PROP_CharLocaleComplex ] <<= aLocale; in pushToPropMap()
|