Home
last modified time | relevance | path

Searched refs:rLocale (Results 1 – 25 of 197) sorted by relevance

12345678

/AOO41X/main/i18npool/source/characterclassification/
H A DcharacterclassificationImpl.cxx53 sal_Int32 nCount, const Locale& rLocale ) throw(RuntimeException) in toUpper() argument
55 … return getLocaleSpecificCharacterClassification(rLocale)->toUpper(Text, nPos, nCount, rLocale); in toUpper()
60 sal_Int32 nCount, const Locale& rLocale ) throw(RuntimeException) in toLower() argument
62 … return getLocaleSpecificCharacterClassification(rLocale)->toLower(Text, nPos, nCount, rLocale); in toLower()
67 sal_Int32 nCount, const Locale& rLocale ) throw(RuntimeException) in toTitle() argument
69 … return getLocaleSpecificCharacterClassification(rLocale)->toTitle(Text, nPos, nCount, rLocale); in toTitle()
101 const Locale& rLocale ) throw(RuntimeException) in getCharacterType() argument
103 … return getLocaleSpecificCharacterClassification(rLocale)->getCharacterType(Text, nPos, rLocale); in getCharacterType()
108 sal_Int32 nCount, const Locale& rLocale ) throw(RuntimeException) in getStringType() argument
110 …return getLocaleSpecificCharacterClassification(rLocale)->getStringType(Text, nPos, nCount, rLocal… in getStringType()
[all …]
/AOO41X/main/i18npool/source/indexentry/
H A Dindexentrysupplier.cxx47 Sequence < OUString > SAL_CALL IndexEntrySupplier::getAlgorithmList( const Locale& rLocale ) throw … in getAlgorithmList() argument
49 return LocaleData().getIndexAlgorithm(rLocale); in getAlgorithmList()
52 sal_Bool SAL_CALL IndexEntrySupplier::loadAlgorithm( const Locale& rLocale, const OUString& SortAlg… in loadAlgorithm() argument
55 Sequence < OUString > algorithmList = getAlgorithmList( rLocale ); in loadAlgorithm()
58 if (getLocaleSpecificIndexEntrySupplier(rLocale, SortAlgorithm).is()) in loadAlgorithm()
59 return xIES->loadAlgorithm(rLocale, SortAlgorithm, collatorOptions); in loadAlgorithm()
65 sal_Bool SAL_CALL IndexEntrySupplier::usePhoneticEntry( const Locale& rLocale ) throw (RuntimeExcep… in usePhoneticEntry() argument
67 return LocaleData().hasPhonetic(rLocale); in usePhoneticEntry()
71 const Locale& rLocale ) throw (RuntimeException) in getPhoneticCandidate() argument
73 if (getLocaleSpecificIndexEntrySupplier(rLocale, OUString()).is()) in getPhoneticCandidate()
[all …]
H A Dindexentrysupplier_asian.cxx59 const Locale& rLocale, const OUString& rAlgorithm ) throw (RuntimeException) in getIndexCharacter() argument
66 …if (rLocale.Language.equalsAscii("zh") && OUString::createFromAscii("TW HK MO").indexOf(rLocale.Co… in getIndexCharacter()
67 …func=(sal_uInt16** (*)(sal_Int16*))osl_getFunctionSymbol(hModule, (get+rLocale.Language+OUString::… in getIndexCharacter()
69 …func=(sal_uInt16** (*)(sal_Int16*))osl_getFunctionSymbol(hModule, (get+rLocale.Language+OUString('… in getIndexCharacter()
88 const OUString& rPhoneticEntry, const Locale& rLocale) throw (RuntimeException) in getIndexKey() argument
90 return getIndexCharacter(getEntry(rIndexEntry, rPhoneticEntry, rLocale), rLocale, aAlgorithm); in getIndexKey()
113 const Locale& rLocale ) throw (RuntimeException) in getPhoneticCandidate() argument
118 if (rLocale.Language.equalsAscii("zh")) in getPhoneticCandidate()
119 …func_name=(OUString::createFromAscii("TW HK MO").indexOf(rLocale.Country) >= 0) ? "get_zh_zhuyin"… in getPhoneticCandidate()
120 else if (rLocale.Language.equalsAscii("ko")) in getPhoneticCandidate()
[all …]
H A Dindexentrysupplier_default.cxx50 sal_Bool SAL_CALL IndexEntrySupplier_Unicode::loadAlgorithm( const lang::Locale& rLocale, in loadAlgorithm() argument
53 index->init(rLocale, rAlgorithm); in loadAlgorithm()
54 return IndexEntrySupplier_Common::loadAlgorithm(rLocale, rAlgorithm, collatorOptions); in loadAlgorithm()
58 const OUString& rPhoneticEntry, const lang::Locale& rLocale ) throw (RuntimeException) in getIndexKey() argument
60 return index->getIndexDescription(getEntry(rIndexEntry, rPhoneticEntry, rLocale)); in getIndexKey()
79 const lang::Locale& rLocale, const OUString& rAlgorithm ) throw (RuntimeException) { in getIndexCharacter() argument
81 if (loadAlgorithm( rLocale, rAlgorithm, CollatorOptions::CollatorOptions_IGNORE_CASE_ACCENT)) in getIndexCharacter()
84 return IndexEntrySupplier_Common::getIndexCharacter(rIndexEntry, rLocale, rAlgorithm); in getIndexCharacter()
170 void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm) throw (RuntimeExc… in makeIndexKeys() argument
172 OUString keyStr = LocaleData().getIndexKeysByAlgorithm(rLocale, algorithm); in makeIndexKeys()
[all …]
/AOO41X/main/i18npool/source/collator/
H A DcollatorImpl.cxx83 CollatorImpl::loadDefaultCollator(const lang::Locale& rLocale, sal_Int32 collatorOptions) throw(Run… in loadDefaultCollator() argument
85 const Sequence< Implementation > &imp = localedata->getCollatorImplementations(rLocale); in loadDefaultCollator()
88 return loadCollatorAlgorithm(imp[i].unoID, rLocale, collatorOptions); in loadDefaultCollator()
95 CollatorImpl::loadCollatorAlgorithm(const OUString& impl, const lang::Locale& rLocale, sal_Int32 co… in loadCollatorAlgorithm() argument
98 if (! cachedItem || ! cachedItem->equals(rLocale, impl)) in loadCollatorAlgorithm()
99 loadCachedCollator(rLocale, impl); in loadCollatorAlgorithm()
102 … cachedItem->xC->loadCollatorAlgorithm(cachedItem->algorithm, nLocale = rLocale, collatorOptions); in loadCollatorAlgorithm()
110 …atorImpl::loadCollatorAlgorithmWithEndUserOption(const OUString& impl, const lang::Locale& rLocale, in loadCollatorAlgorithmWithEndUserOption() argument
116 loadCollatorAlgorithm(impl, rLocale, options); in loadCollatorAlgorithmWithEndUserOption()
120 CollatorImpl::listCollatorAlgorithms( const lang::Locale& rLocale ) throw(RuntimeException) in listCollatorAlgorithms() argument
[all …]
/AOO41X/main/i18npool/source/localedata/
H A Dlocaledata.cxx275 sal_Bool equals(const com::sun::star::lang::Locale& rLocale) in equals()
277 return (rLocale == aLocale); in equals()
290 LocaleData::getLocaleItem( const Locale& rLocale ) throw(RuntimeException) in getLocaleItem() argument
295 MyFunc_Type func = (MyFunc_Type) getFunctionSymbol( rLocale, "getLocaleItem" ); in getLocaleItem()
464 … const Locale& rLocale, const Sequence< Calendar >& calendarsSeq, sal_Int16 len, sal_Int16 item) in getCalendarItemByName() argument
473 if (loc == rLocale) { in getCalendarItemByName()
502 LocaleData::getAllCalendars( const Locale& rLocale ) throw(RuntimeException) in getAllCalendars() argument
508 MyFunc_Type func = (MyFunc_Type) getFunctionSymbol( rLocale, "getAllCalendars" ); in getAllCalendars()
525 …days = getCalendarItemByName(OUString(allCalendars[offset+1]), rLocale, calendarsSeq, i, REF_DAYS); in getAllCalendars()
536 …months = getCalendarItemByName(OUString(allCalendars[offset+1]), rLocale, calendarsSeq, i, REF_MON… in getAllCalendars()
[all …]
/AOO41X/main/i18npool/source/breakiterator/
H A DbreakiteratorImpl.cxx53 #define LBI getLocaleSpecificBreakIterator(rLocale)
56 … const Locale &rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32& nDone ) in nextCharacters() argument
61 … return LBI->nextCharacters( Text, nStartPos, rLocale, nCharacterIteratorMode, nCount, nDone); in nextCharacters()
65 … const Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32& nDone ) in previousCharacters() argument
70 … return LBI->previousCharacters( Text, nStartPos, rLocale, nCharacterIteratorMode, nCount, nDone); in previousCharacters()
105 const Locale& rLocale, sal_Int16 rWordType ) throw(RuntimeException) in nextWord() argument
113 result = LBI->nextWord(Text, nStartPos, rLocale, rWordType); in nextWord()
121 result = LBI->getWordBoundary(Text, nStartPos, rLocale, rWordType, sal_True); in nextWord()
130 static inline sal_Bool SAL_CALL isCJK( const Locale& rLocale ) { in isCJK() argument
131 …return rLocale.Language.equalsAscii("zh") || rLocale.Language.equalsAscii("ja") || rLocale.Languag… in isCJK()
[all …]
H A Dbreakiterator_unicode.cxx95 …d SAL_CALL BreakIterator_Unicode::loadICUBreakIterator(const com::sun::star::lang::Locale& rLocale, in loadICUBreakIterator() argument
114 rLocale.Language != aLocale.Language || rLocale.Country != aLocale.Country || in loadICUBreakIterator()
115 rLocale.Variant != aLocale.Variant) { in loadICUBreakIterator()
121 uno::Sequence< OUString > breakRules = LocaleData().getBreakIteratorRules(rLocale); in loadICUBreakIterator()
137 aUDName.append( OUStringToOString(rLocale.Language, RTL_TEXTENCODING_ASCII_US)); in loadICUBreakIterator()
162 OUStringToOString(rLocale.Language, RTL_TEXTENCODING_ASCII_US).getStr(), in loadICUBreakIterator()
163 OUStringToOString(rLocale.Country, RTL_TEXTENCODING_ASCII_US).getStr(), in loadICUBreakIterator()
164 OUStringToOString(rLocale.Variant, RTL_TEXTENCODING_ASCII_US).getStr()); in loadICUBreakIterator()
187 aLocale=rLocale; in loadICUBreakIterator()
204 sal_Int32 nStartPos, const lang::Locale &rLocale, in nextCharacters() argument
[all …]
/AOO41X/main/i18npool/inc/
H A Dlocaledata.hxx80 …nfo SAL_CALL getLanguageCountryInfo( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
81 …virtual LocaleDataItem SAL_CALL getLocaleItem( const com::sun::star::lang::Locale& rLocale ) throw…
82 …Calendar > SAL_CALL getAllCalendars( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
83 …urrency > SAL_CALL getAllCurrencies( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
84 …rency2 > SAL_CALL getAllCurrencies2( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
85 …matElement > SAL_CALL getAllFormats( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
86 …SAL_CALL getCollatorImplementations( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
87 …SAL_CALL getCollatorRuleByAlgorithm( const com::sun::star::lang::Locale& rLocale, const rtl::OUStr…
88 …ring > SAL_CALL getTransliterations( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
89 …ers SAL_CALL getForbiddenCharacters( const com::sun::star::lang::Locale& rLocale ) throw(com::sun:…
[all …]
H A DcharacterclassificationImpl.hxx46 sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
49 sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
52 sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
61 const com::sun::star::lang::Locale& rLocale )
64 sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
67 const com::sun::star::lang::Locale& rLocale, sal_Int32 nStartCharFlags,
72 const rtl::OUString& Text, sal_Int32 nPos, const com::sun::star::lang::Locale& rLocale,
87 lookupTableItem(const com::sun::star::lang::Locale& rLocale, const rtl::OUString& rName, in lookupTableItem()
89 aLocale(rLocale), aName(rName), xCI(rxCI) {}; in lookupTableItem()
93 sal_Bool SAL_CALL equals(const com::sun::star::lang::Locale& rLocale) { in equals()
[all …]
H A DcollatorImpl.hxx61 …virtual sal_Int32 SAL_CALL loadDefaultCollator( const lang::Locale& rLocale, sal_Int32 collatorOp…
64 … sal_Int32 SAL_CALL loadCollatorAlgorithm( const rtl::OUString& impl, const lang::Locale& rLocale,
67 …ALL loadCollatorAlgorithmWithEndUserOption( const rtl::OUString& impl, const lang::Locale& rLocale,
70 …star::uno::Sequence< rtl::OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale& rLocale )
89 …lookupTableItem(const lang::Locale& rLocale, const rtl::OUString& _algorithm, const rtl::OUString&… in lookupTableItem()
90 …com::sun::star::uno::Reference < XCollator >& _xC) : aLocale(rLocale), algorithm(_algorithm), serv… in lookupTableItem()
91 sal_Bool SAL_CALL equals(const lang::Locale& rLocale, const rtl::OUString& _algorithm) { in equals()
92 return aLocale.Language == rLocale.Language && in equals()
93 aLocale.Country == rLocale.Country && in equals()
94 aLocale.Variant == rLocale.Variant && in equals()
[all …]
/AOO41X/main/linguistic/source/
H A Dhyphdsp.cxx244 sal_Bool SAL_CALL HyphenatorDispatcher::hasLocale(const Locale& rLocale) in hasLocale() argument
248 HyphSvcByLangMap_t::const_iterator aIt( aSvcMap.find( LocaleToLanguage( rLocale ) ) ); in hasLocale()
255 const OUString& rWord, const Locale& rLocale, sal_Int16 nMaxLeading, in hyphenate() argument
264 sal_Int16 nLanguage = LocaleToLanguage( rLocale ); in hyphenate()
302 xEntry = GetDicList()->queryDictionaryEntry( aChkWord, rLocale, in hyphenate()
329 if (xHyph.is() && xHyph->hasLocale( rLocale )) in hyphenate()
330 xRes = xHyph->hyphenate( aChkWord, rLocale, nChkMaxLeading, in hyphenate()
368 if (xHyph.is() && xHyph->hasLocale( rLocale )) in hyphenate()
369 xRes = xHyph->hyphenate( aChkWord, rLocale, nChkMaxLeading, in hyphenate()
377 if (xHyph.is() && !xHyph->hasLocale( rLocale )) in hyphenate()
[all …]
H A Dthesdsp.cxx53 const Locale &rLocale ) in SvcListHasLanguage() argument
62 bHasLanguage = pRef[k]->hasLocale( rLocale ); in SvcListHasLanguage()
108 ThesaurusDispatcher::hasLocale( const Locale& rLocale ) in hasLocale() argument
112 ThesSvcByLangMap_t::const_iterator aIt( aSvcMap.find( LocaleToLanguage( rLocale ) ) ); in hasLocale()
119 const OUString& rTerm, const Locale& rLocale, in queryMeanings() argument
127 sal_Int16 nLanguage = LocaleToLanguage( rLocale ); in queryMeanings()
163 if (pRef[i].is() && pRef[i]->hasLocale( rLocale )) in queryMeanings()
164 aMeanings = pRef[i]->queryMeanings( aChkWord, rLocale, rProperties ); in queryMeanings()
199 if (xThes.is() && xThes->hasLocale( rLocale )) in queryMeanings()
200 aMeanings = xThes->queryMeanings( aChkWord, rLocale, rProperties ); in queryMeanings()
[all …]
/AOO41X/main/lingucomponent/source/spellcheck/macosxspell/
H A Dmacspellimp.cxx210 sal_Bool SAL_CALL MacSpellChecker::hasLocale(const Locale& rLocale) in hasLocale() argument
223 if (rLocale == pLocale[i]) in hasLocale()
233 sal_Int16 MacSpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() argument
259 …NSString* aLang = [[NSString alloc] initWithCharacters: rLocale.Language.getStr() length: rLocale.… in GetSpellFailure()
260 if(rLocale.Country.getLength()>0) in GetSpellFailure()
262 …tring* aCountry = [[NSString alloc] initWithCharacters: rLocale.Country.getStr() length: rLocale.C… in GetSpellFailure()
294 MacSpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() argument
300 if (rLocale == Locale() || !rWord.getLength()) in isValid()
303 if (!hasLocale( rLocale )) in isValid()
320 sal_Int16 nFailure = GetSpellFailure( rWord, rLocale ); in isValid()
[all …]
/AOO41X/main/svl/inc/svl/
H A Dondemand.hxx82 ::com::sun::star::lang::Locale& rLocale, in OnDemandLocaleDataWrapper() argument
91 init( rxSMgr, rLocale, eLang ); in OnDemandLocaleDataWrapper()
105 ::com::sun::star::lang::Locale& rLocale, in init() argument
110 changeLocale( rLocale, eLang ); in init()
114 … void changeLocale( ::com::sun::star::lang::Locale& rLocale, LanguageType eLang ) in changeLocale() argument
123 … pEnglish = new LocaleDataWrapper( xSMgr, rLocale ); in changeLocale()
129 pAny = new LocaleDataWrapper( xSMgr, rLocale ); in changeLocale()
134 pAny->setLocale( rLocale ); in changeLocale()
186 ::com::sun::star::lang::Locale& rLocale in OnDemandCalendarWrapper() argument
191 init( rxSMgr, rLocale ); in OnDemandCalendarWrapper()
[all …]
/AOO41X/main/i18npool/source/textconversion/
H A DtextconversionImpl.cxx38 const Locale& rLocale, sal_Int16 nConversionType, sal_Int32 nConversionOptions) in getConversions() argument
41 getLocaleSpecificTextConversion(rLocale); in getConversions()
46 …return xTC->getConversions(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions… in getConversions()
51 const Locale& rLocale, sal_Int16 nConversionType, sal_Int32 nConversionOptions) in getConversion() argument
54 getLocaleSpecificTextConversion(rLocale); in getConversion()
59 …return xTC->getConversion(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions); in getConversion()
64 …const Locale& rLocale, sal_Int16 nConversionType, sal_Int32 nConversionOptions, Sequence< sal_Int3… in getConversionWithOffset() argument
67 getLocaleSpecificTextConversion(rLocale); in getConversionWithOffset()
72 …return xTC->getConversionWithOffset(aText, nStartPos, nLength, rLocale, nConversionType, nConversi… in getConversionWithOffset()
76 TextConversionImpl::interactiveConversion( const Locale& rLocale, sal_Int16 nTextConversionType, sa… in interactiveConversion() argument
[all …]
/AOO41X/main/basctl/source/basicide/
H A Dlocalizationmgr.cxx257 const Locale& rLocale = pLocales[ i ]; in implHandleControlResourceProperties() local
258 … xStringResourceManager->setStringForLocale( aPureIdStr, aPropStr, rLocale ); in implHandleControlResourceProperties()
297 const Locale& rLocale = pLocales[ i ]; in implHandleControlResourceProperties() local
300 … xStringResourceManager->removeIdForLocale( aPureIdStr, rLocale ); in implHandleControlResourceProperties()
321 const Locale& rLocale = pLocales[ i ]; in implHandleControlResourceProperties() local
326 ( aPureSourceIdStr, rLocale ); in implHandleControlResourceProperties()
327 … xStringResourceManager->removeIdForLocale( aPureSourceIdStr, rLocale ); in implHandleControlResourceProperties()
328 … xStringResourceManager->setStringForLocale( aPureIdStr, aResStr, rLocale ); in implHandleControlResourceProperties()
357 const Locale& rLocale = pLocales[ i ]; in implHandleControlResourceProperties() local
362 ( aPureSourceIdStr, rLocale ); in implHandleControlResourceProperties()
[all …]
/AOO41X/main/i18npool/source/isolang/
H A Dmslangid.cxx175 ::com::sun::star::lang::Locale & rLocale ) in convertLanguageToLocale() argument
177 if (rLocale.Variant.getLength()) in convertLanguageToLocale()
178 rLocale.Variant = rtl::OUString(); in convertLanguageToLocale()
179 convertLanguageToIsoNames( nLang, rLocale.Language, rLocale.Country); in convertLanguageToLocale()
204 const ::com::sun::star::lang::Locale& rLocale ) in convertLocaleToLanguage()
207 if (rLocale.Language.getLength() == 0) in convertLocaleToLanguage()
210 LanguageType nRet = convertIsoNamesToLanguage( rLocale.Language, in convertLocaleToLanguage()
211 rLocale.Country); in convertLocaleToLanguage()
221 const ::com::sun::star::lang::Locale & rLocale ) in convertLocaleToLanguageWithFallback()
224 if (rLocale.Language.getLength() == 0) in convertLocaleToLanguageWithFallback()
[all …]
/AOO41X/main/linguistic/workben/
H A Dsspellimp.cxx113 sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale) in hasLocale() argument
125 if (rLocale == pLocale[i]) in hasLocale()
135 INT16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() argument
171 SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() argument
177 if (rLocale == Locale() || !rWord.getLength()) in isValid()
180 if (!hasLocale( rLocale )) in isValid()
196 INT16 nFailure = GetSpellFailure( rWord, rLocale ); in isValid()
199 INT16 nLang = LocaleToLanguage( rLocale ); in isValid()
213 SpellChecker::GetProposals( const OUString &rWord, const Locale &rLocale ) in GetProposals() argument
228 INT16 nLang = LocaleToLanguage( rLocale ); in GetProposals()
[all …]
/AOO41X/main/editeng/source/misc/
H A Dunolingu.cxx492 hasLocale( const ::com::sun::star::lang::Locale& rLocale )
500 const ::com::sun::star::lang::Locale& rLocale,
569 ThesDummy_Impl::hasLocale( const lang::Locale& rLocale ) in hasLocale() argument
575 return xThes->hasLocale( rLocale ); in hasLocale()
585 bFound = pLocale->Language == rLocale.Language && in hasLocale()
586 pLocale->Country == rLocale.Country && in hasLocale()
587 pLocale->Variant == rLocale.Variant; in hasLocale()
596 const lang::Locale& rLocale, in queryMeanings() argument
605 aRes = xThes->queryMeanings( rTerm, rLocale, rProperties ); in queryMeanings()
736 hasLocale( const ::com::sun::star::lang::Locale& rLocale )
[all …]
/AOO41X/main/qadevOOo/tests/java/ifc/sheet/
H A D_SpreadsheetDocumentSettings.java118 public ForbiddenCharacters getForbiddenCharacters(Locale rLocale) in getForbiddenCharacters() argument
120 if (rLocale.Country.equals(locale.Country) && in getForbiddenCharacters()
121 rLocale.Language.equals(locale.Language) && in getForbiddenCharacters()
122 rLocale.Variant.equals(locale.Variant)) { in getForbiddenCharacters()
129 public void setForbiddenCharacters(Locale rLocale, in setForbiddenCharacters() argument
133 public void removeForbiddenCharacters(Locale rLocale) { in removeForbiddenCharacters() argument
136 public boolean hasForbiddenCharacters(Locale rLocale) { in hasForbiddenCharacters() argument
137 if (rLocale.Country.equals(locale.Country) && in hasForbiddenCharacters()
138 rLocale.Language.equals(locale.Language) && in hasForbiddenCharacters()
139 rLocale.Variant.equals(locale.Variant)) { in hasForbiddenCharacters()
/AOO41X/main/i18npool/source/paper/
H A Dpaper.cxx444 const ::com::sun::star::lang::Locale & rLocale) in getDefaultPaperForLocale()
450 !rLocale.Country.compareToAscii("US") || in getDefaultPaperForLocale()
454 !rLocale.Country.compareToAscii("PR") || in getDefaultPaperForLocale()
457 !rLocale.Country.compareToAscii("CA") || in getDefaultPaperForLocale()
461 !rLocale.Country.compareToAscii("VE") || in getDefaultPaperForLocale()
465 !rLocale.Country.compareToAscii("CL") || in getDefaultPaperForLocale()
469 !rLocale.Country.compareToAscii("MX") || in getDefaultPaperForLocale()
473 !rLocale.Country.compareToAscii("CO") || in getDefaultPaperForLocale()
478 !rLocale.Country.compareToAscii("PH") || in getDefaultPaperForLocale()
482 !rLocale.Country.compareToAscii("BZ") || in getDefaultPaperForLocale()
[all …]
/AOO41X/main/i18npool/source/numberformatcode/
H A Dnumberformatcode.cxx49 …formatType, sal_Int16 formatUsage, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::su… in getDefault() argument
55 getFormats( rLocale ); in getDefault()
77 …FormatCode( sal_Int16 formatIndex, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::su… in getFormatCode() argument
79 getFormats( rLocale ); in getFormatCode()
101 …FormatCode( sal_Int16 formatUsage, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::su… in getAllFormatCode() argument
103 getFormats( rLocale ); in getAllFormatCode()
134 NumberFormatCodeMapper::getAllFormatCodes( const ::com::sun::star::lang::Locale& rLocale ) throw(::… in getAllFormatCodes() argument
136 getFormats( rLocale ); in getAllFormatCodes()
155 void NumberFormatCodeMapper::setupLocale( const ::com::sun::star::lang::Locale& rLocale ) in setupLocale() argument
157 if ( aLocale.Country != rLocale.Country in setupLocale()
[all …]
/AOO41X/main/sfx2/source/menu/
H A Dthessubmenu.cxx125 lang::Locale /*out */ &rLocale, in GetLocale()
133 rLocale.Language = aIsoLang.Copy( 0, nPos ); in GetLocale()
134 rLocale.Country = aIsoLang.Copy( nPos + 1 ); in GetLocale()
135 rLocale.Variant = String::EmptyString(); in GetLocale()
163 bool SfxThesSubMenuHelper::IsSupportedLocale( const lang::Locale & rLocale ) const in IsSupportedLocale()
165 return m_xThesarus.is() && m_xThesarus->hasLocale( rLocale ); in IsSupportedLocale()
172 const lang::Locale & rLocale, in GetMeanings() argument
177 if (IsSupportedLocale( rLocale ) && rWord.getLength() && nMaxSynonms > 0) in GetMeanings()
183 … m_xThesarus->queryMeanings( rWord, rLocale, uno::Sequence< beans::PropertyValue >() )); in GetMeanings()
216 String SfxThesSubMenuHelper::GetThesImplName( const lang::Locale &rLocale ) const in GetThesImplName()
[all …]
/AOO41X/main/lingucomponent/source/spellcheck/spell/
H A Dsspellimp.cxx248 sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale) in hasLocale() argument
261 if (rLocale == pLocale[i]) in hasLocale()
271 sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() argument
302 if (rLocale == aDLocs[i]) in GetSpellFailure()
358 sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() argument
364 if (rLocale == Locale() || !rWord.getLength()) in isValid()
367 if (!hasLocale( rLocale )) in isValid()
387 sal_Int16 nFailure = GetSpellFailure( rWord, rLocale ); in isValid()
390 sal_Int16 nLang = LocaleToLanguage( rLocale ); in isValid()
405 SpellChecker::GetProposals( const OUString &rWord, const Locale &rLocale ) in GetProposals() argument
[all …]

12345678