| /AOO41X/main/comphelper/source/misc/ |
| H A D | locale.cxx | 38 const sal_Unicode Locale::SEPERATOR_LC = (sal_Unicode)'-'; 39 const sal_Unicode Locale::SEPERATOR_CV = (sal_Unicode)'_'; 40 const sal_Unicode Locale::SEPERATOR_CV_LINUX = (sal_Unicode)'.'; 43 const Locale& Locale::X_DEFAULT() in X_DEFAULT() 45 static Locale aLocale( in X_DEFAULT() 52 const Locale& Locale::EN() in EN() 54 static Locale aLocale( in EN() 61 const Locale& Locale::EN_US() in EN_US() 63 static Locale aLocale( in EN_US() 70 const Locale& Locale::DE_DE() in DE_DE() [all …]
|
| /AOO41X/main/comphelper/inc/comphelper/ |
| H A D | locale.hxx | 49 class COMPHELPER_DLLPUBLIC Locale class 67 static const Locale& EN_US(); 68 static const Locale& EN(); 69 static const Locale& DE_DE(); 70 static const Locale& DE_CH(); 71 static const Locale& DE_AT(); 72 static const Locale& AR(); 73 static const Locale& CA(); 74 static const Locale& CS(); 75 static const Locale& DA(); [all …]
|
| /AOO41X/main/i18npool/inc/ |
| H A D | localedata.hxx | 66 …ine sal_Bool operator ==(const com::sun::star::lang::Locale& l1, const com::sun::star::lang::Local… in operator ==() 80 …virtual LanguageCountryInfo SAL_CALL getLanguageCountryInfo( const com::sun::star::lang::Locale& r… 81 …virtual LocaleDataItem SAL_CALL getLocaleItem( const com::sun::star::lang::Locale& rLocale ) throw… 82 …quence< Calendar > SAL_CALL getAllCalendars( const com::sun::star::lang::Locale& rLocale ) throw(c… 83 …uence< Currency > SAL_CALL getAllCurrencies( const com::sun::star::lang::Locale& rLocale ) throw(c… 84 …nce< Currency2 > SAL_CALL getAllCurrencies2( const com::sun::star::lang::Locale& rLocale ) throw(c… 85 …nce< FormatElement > SAL_CALL getAllFormats( const com::sun::star::lang::Locale& rLocale ) throw(c… 86 …ation > SAL_CALL getCollatorImplementations( const com::sun::star::lang::Locale& rLocale ) throw(c… 87 …virtual rtl::OUString SAL_CALL getCollatorRuleByAlgorithm( const com::sun::star::lang::Locale& rLo… 88 …tl::OUString > SAL_CALL getTransliterations( const com::sun::star::lang::Locale& rLocale ) throw(c… [all …]
|
| H A D | breakiteratorImpl.hxx | 58 … const com::sun::star::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, 61 … const com::sun::star::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, 65 …const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType) throw(com::sun::star::uno::Runtim… 67 …const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType) throw(com::sun::star::uno::Runtim… 69 const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection ) 73 …const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType ) throw(com::sun::star::uno::Runti… 75 …const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType ) throw(com::sun::star::uno::Runti… 77 const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException); 80 const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException); 82 const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException); [all …]
|
| H A D | indexentrysupplier_common.hxx | 48 virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList() 52 const com::sun::star::lang::Locale& rLocale ) 56 const com::sun::star::lang::Locale& rLocale ) 60 const com::sun::star::lang::Locale& rLocale ) 64 const com::sun::star::lang::Locale& rLocale, 69 const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ) 73 const rtl::OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1, 75 const com::sun::star::lang::Locale& rLocale2 ) 79 const com::sun::star::lang::Locale& rLocale, const rtl::OUString& rSortAlgorithm ) 83 const com::sun::star::lang::Locale& rLocale ) [all …]
|
| H A D | indexentrysupplier.hxx | 45 virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList() 49 const com::sun::star::lang::Locale& rLocale ) 53 const com::sun::star::lang::Locale& rLocale, 58 const com::sun::star::lang::Locale& rLocale ) 62 const com::sun::star::lang::Locale& rLocale ) 66 const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ) 70 const rtl::OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1, 72 const com::sun::star::lang::Locale& rLocale2 ) 76 const com::sun::star::lang::Locale& rLocale, const rtl::OUString& SortAlgorithm ) 80 const com::sun::star::lang::Locale& rLocale ) [all …]
|
| H A D | characterclassificationImpl.hxx | 46 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() 90 com::sun::star::lang::Locale aLocale; 93 sal_Bool SAL_CALL equals(const com::sun::star::lang::Locale& rLocale) { in equals() [all …]
|
| 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, 174 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, [all …]
|
| /AOO41X/main/lingucomponent/source/languageguessing/ |
| H A D | guesslang.cxx | 112 …virtual ::com::sun::star::lang::Locale SAL_CALL guessPrimaryLanguage( const ::rtl::OUString& aText… 113 …anguages( const ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale >& aLanguages ) th… 114 …anguages( const ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale >& aLanguages ) th… 115 …virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getAvailableLan… 116 …virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getEnabledLangu… 117 …virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getDisabledLang… 174 Sequence< Locale > aDisableSeq( nNum ); in EnsureInitialized() 175 Locale *pDisableSeq = aDisableSeq.getArray(); in EnsureInitialized() 178 Locale aLocale; in EnsureInitialized() 224 Locale SAL_CALL LangGuess_Impl::guessPrimaryLanguage( in guessPrimaryLanguage() [all …]
|
| /AOO41X/main/odk/examples/DevelopersGuide/OfficeDev/Linguistic/ |
| H A D | SampleSpellChecker.java | 49 import com.sun.star.lang.Locale; 89 private boolean IsEqual( Locale aLoc1, Locale aLoc2 ) in IsEqual() 135 private boolean IsUpper( String aWord, Locale aLocale ) in IsUpper() 137 java.util.Locale aLang = new java.util.Locale( in IsUpper() 155 Locale aLocale, in GetSpellFailure() 163 if (IsEqual( aLocale, new Locale( "de", "DE", "" ) )) in GetSpellFailure() 170 else if (IsEqual( aLocale, new Locale( "en", "US", "" ) )) in GetSpellFailure() 195 Locale aLocale, in GetProposals() 212 if (IsEqual( aLocale, new Locale( "de", "DE", "" ) )) in GetProposals() 225 else if (IsEqual( aLocale, new Locale( "en", "US", "" ) )) in GetProposals() [all …]
|
| H A D | SampleHyphenator.java | 49 import com.sun.star.lang.Locale; 89 private boolean IsEqual( Locale aLoc1, Locale aLoc2 ) in IsEqual() 180 public Locale[] getLocales() in getLocales() 183 Locale aLocales[] = in getLocales() 185 new Locale( "de", "DE", "" ), in getLocales() 186 new Locale( "en", "US", "" ) in getLocales() 192 public boolean hasLocale( Locale aLocale ) in hasLocale() 196 if ( IsEqual( aLocale, new Locale( "de", "DE", "" ) ) || in hasLocale() 197 IsEqual( aLocale, new Locale( "en", "US", "" ) )) in hasLocale() 206 String aWord, Locale aLocale, in hyphenate() [all …]
|
| H A D | SampleThesaurus.java | 46 import com.sun.star.lang.Locale; 87 private boolean IsEqual( Locale aLoc1, Locale aLoc2 ) in IsEqual() 139 public Locale[] getLocales() in getLocales() 142 Locale aLocales[] = in getLocales() 144 new Locale( "en", "US", "" ) in getLocales() 150 public boolean hasLocale( Locale aLocale ) in hasLocale() 154 if (IsEqual( aLocale, new Locale( "en", "US", "" ) )) in hasLocale() 163 String aTerm, Locale aLocale, in queryMeanings() 168 if (IsEqual( aLocale, new Locale() ) || aTerm.length() == 0) in queryMeanings() 187 IsEqual( aLocale, new Locale( "en", "US", "" ) ) ) in queryMeanings() [all …]
|
| /AOO41X/main/scripting/source/stringresource/ |
| H A D | stringresource.hxx | 101 ::com::sun::star::lang::Locale m_locale; 108 LocaleItem( ::com::sun::star::lang::Locale locale, bool bLoaded=true ) in LocaleItem() 159 … LocaleItem* getItemForLocale( const ::com::sun::star::lang::Locale& locale, sal_Bool bException ) 164 LocaleItem* getClosestMatchItemForLocale( const ::com::sun::star::lang::Locale& locale ); 165 void implSetCurrentLocale( const ::com::sun::star::lang::Locale& locale, 211 const ::com::sun::star::lang::Locale& locale ) 217 const ::com::sun::star::lang::Locale& locale ) 222 ( const ::com::sun::star::lang::Locale& locale ) 224 virtual ::com::sun::star::lang::Locale SAL_CALL getCurrentLocale( ) 226 virtual ::com::sun::star::lang::Locale SAL_CALL getDefaultLocale( ) [all …]
|
| H A D | stringresource.cxx | 222 …ringResourceImpl::resolveStringForLocale( const ::rtl::OUString& ResourceID, const Locale& locale ) in resolveStringForLocale() 250 const Locale& locale ) in hasEntryForIdAndLocale() 281 ( const Locale& locale ) throw (::com::sun::star::uno::RuntimeException) in getResourceIDsForLocale() 295 Locale StringResourceImpl::getCurrentLocale() in getCurrentLocale() 300 Locale aRetLocale; in getCurrentLocale() 306 Locale StringResourceImpl::getDefaultLocale( ) in getDefaultLocale() 311 Locale aRetLocale; in getDefaultLocale() 317 Sequence< Locale > StringResourceImpl::getLocales( ) in getLocales() 323 Sequence< Locale > aLocalSeq( nSize ); in getLocales() 324 Locale* pLocales = aLocalSeq.getArray(); in getLocales() [all …]
|
| /AOO41X/main/qadevOOo/tests/java/ifc/i18n/ |
| H A D | _XCollator.java | 32 import com.sun.star.lang.Locale; 53 Locale loc = new Locale("en", "EN", ""); 168 col = Collator.getInstance(new java.util.Locale("en", "EN")) ; in _compareSubstring() 176 new com.sun.star.lang.Locale("ru", "RU", ""), 0) ; in _compareSubstring() 177 col = Collator.getInstance(new java.util.Locale("ru", "RU")) ; in _compareSubstring() 185 new com.sun.star.lang.Locale("ja", "JP", ""), 0) ; in _compareSubstring() 186 col = Collator.getInstance(new java.util.Locale("ja", "JP")) ; in _compareSubstring() 193 oObj.loadDefaultCollator(new Locale("zh", "CN", ""), 0) ; in _compareSubstring() 194 col = Collator.getInstance(new java.util.Locale("zh", "CN")) ; in _compareSubstring() 201 oObj.loadDefaultCollator(new Locale("ko", "KR", ""), 0) ; in _compareSubstring() [all …]
|
| /AOO41X/main/basctl/source/basicide/ |
| H A D | localizationmgr.cxx | 63 Sequence< Locale > aLocaleSeq = m_xStringResourceManager->getLocales(); in isLibraryLocalized() 195 extern bool localesAreEqual( const ::com::sun::star::lang::Locale& rLocaleLeft, 196 const ::com::sun::star::lang::Locale& rLocaleRight ); 212 Sequence< Locale > aLocaleSeq = xStringResourceManager->getLocales(); in implHandleControlResourceProperties() 254 const Locale* pLocales = aLocaleSeq.getConstArray(); in implHandleControlResourceProperties() 257 const Locale& rLocale = pLocales[ i ]; in implHandleControlResourceProperties() 294 const Locale* pLocales = aLocaleSeq.getConstArray(); in implHandleControlResourceProperties() 297 const Locale& rLocale = pLocales[ i ]; in implHandleControlResourceProperties() 318 const Locale* pLocales = aLocaleSeq.getConstArray(); in implHandleControlResourceProperties() 321 const Locale& rLocale = pLocales[ i ]; in implHandleControlResourceProperties() [all …]
|
| /AOO41X/main/offapi/com/sun/star/resource/ |
| H A D | XLocale.idl | 31 #include <com/sun/star/lang/Locale.idl> 46 /** offers some operations on <type scope="com::sun::star::lang">Locale</type> 48 @see Locale 63 <p>Note: The Java class <code>Locale</code> returns the <strong>old</strong> codes. 67 com::sun::star::lang::Locale create( [in] string aLanguage, 87 com::sun::star::lang::Locale getDefault(); 100 void setDefault( [in] com::sun::star::lang::Locale newLocale ); 108 sequence<com::sun::star::lang::Locale> getAvailableLocales(); 141 string getISO3Language( [in] com::sun::star::lang::Locale locale ) 150 string getISO3Country( [in] com::sun::star::lang::Locale locale ) [all …]
|
| /AOO41X/main/i18npool/source/localedata/ |
| H A D | localedata.cxx | 274 com::sun::star::lang::Locale aLocale; 275 sal_Bool equals(const com::sun::star::lang::Locale& rLocale) in equals() 290 LocaleData::getLocaleItem( const Locale& rLocale ) throw(RuntimeException) in getLocaleItem() 384 Locale aLocale; in getFunctionSymbolByName() 386 Locale aFbLocale = MsLangId::getFallbackLocale( aLocale); in getFunctionSymbolByName() 464 … const Locale& rLocale, const Sequence< Calendar >& calendarsSeq, sal_Int16 len, sal_Int16 item) in getCalendarItemByName() 471 Locale loc(language, country, OUString()); in getCalendarItemByName() 489 … Locale(OUString::createFromAscii("en"), OUString::createFromAscii("US"), OUString())); in getCalendarItemByName() 502 LocaleData::getAllCalendars( const Locale& rLocale ) throw(RuntimeException) in getAllCalendars() 575 LocaleData::getAllCurrencies2( const Locale& rLocale ) throw(RuntimeException) in getAllCurrencies2() [all …]
|
| /AOO41X/main/editeng/source/misc/ |
| H A D | unolingu.cxx | 134 const Locale &rAvailLocale ) in lcl_GetLastFoundSvcs() 275 … Locale aLocale( SvxCreateLocale( MsLangId::convertIsoStringToLanguage(pNodeName[i]) ) ); in UpdateAll() 295 Sequence< Locale > aAvailLocales( xAvail->getAvailableLocales(aService) ); in UpdateAll() 297 const Locale *pAvailLocale = aAvailLocales.getConstArray(); in UpdateAll() 476 Sequence< Locale > *pLocaleSeq; 488 ::com::sun::star::lang::Locale > SAL_CALL 492 hasLocale( const ::com::sun::star::lang::Locale& rLocale ) 500 const ::com::sun::star::lang::Locale& rLocale, 522 pLocaleSeq = new Sequence< Locale >( nLen ); in GetCfgLocales() 523 Locale *pLocale = pLocaleSeq->getArray(); in GetCfgLocales() [all …]
|
| /AOO41X/main/linguistic/workben/ |
| H A D | sspellimp.cxx | 56 BOOL operator == ( const Locale &rL1, const Locale &rL2 ) in operator ==() 95 Sequence< Locale > SAL_CALL SpellChecker::getLocales() in getLocales() 103 Locale *pLocale = aSuppLocales.getArray(); in getLocales() 104 pLocale[0] = Locale( A2OU("en"), A2OU("US"), OUString() ); in getLocales() 105 pLocale[1] = Locale( A2OU("de"), A2OU("DE"), OUString() ); in getLocales() 106 pLocale[2] = Locale( A2OU("de"), A2OU("CH"), OUString() ); in getLocales() 113 sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale) in hasLocale() 124 const Locale *pLocale = aSuppLocales.getConstArray(); in hasLocale() 135 INT16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() 171 SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() [all …]
|
| /AOO41X/main/i18npool/source/indexentry/ |
| H A D | indexentrysupplier_common.cxx | 49 Sequence < lang::Locale > SAL_CALL IndexEntrySupplier_Common::getLocaleList() throw (RuntimeExcepti… in getLocaleList() 54 Sequence < OUString > SAL_CALL IndexEntrySupplier_Common::getAlgorithmList( const lang::Locale& ) t… in getAlgorithmList() argument 60 const lang::Locale& ) throw (RuntimeException) in getPhoneticCandidate() argument 65 sal_Bool SAL_CALL IndexEntrySupplier_Common::usePhoneticEntry( const lang::Locale& ) throw (Runtime… in usePhoneticEntry() argument 70 sal_Bool SAL_CALL IndexEntrySupplier_Common::loadAlgorithm( const lang::Locale& rLocale, in loadAlgorithm() 81 const OUString&, const lang::Locale& ) throw (RuntimeException) in getIndexKey() argument 89 const OUString& rIndexEntry1, const OUString&, const lang::Locale&, in compareIndexEntry() argument 90 const OUString& rIndexEntry2, const OUString&, const lang::Locale& ) in compareIndexEntry() 99 const lang::Locale& rLocale, const OUString& ) throw (RuntimeException) in getIndexCharacter() 105 const lang::Locale& ) throw (RuntimeException) in getIndexFollowPageWord() argument [all …]
|
| /AOO41X/main/sw/source/core/inc/ |
| H A D | txmsrt.hxx | 81 const ::com::sun::star::lang::Locale& rLocale1, 83 const ::com::sun::star::lang::Locale& rLocale2 ) const; 86 const ::com::sun::star::lang::Locale& rLocale1, in IsEqual() 88 const ::com::sun::star::lang::Locale& rLocale2 ) const in IsEqual() 95 const ::com::sun::star::lang::Locale& rLocale1, in IsLess() 97 const ::com::sun::star::lang::Locale& rLocale2 ) const in IsLess() 104 const ::com::sun::star::lang::Locale& rLcl ) const; 119 ::com::sun::star::lang::Locale aLocale; 132 const ::com::sun::star::lang::Locale* pLocale = NULL ); 146 inline const ::com::sun::star::lang::Locale& GetLocale() const; [all …]
|
| /AOO41X/main/offapi/com/sun/star/i18n/ |
| H A D | XLocaleData.idl | 27 #include <com/sun/star/lang/Locale.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 ); [all …]
|
| /AOO41X/main/i18npool/inc/i18npool/ |
| H A D | mslangid.hxx | 104 ::com::sun::star::lang::Locale & rLocale ); 123 static ::com::sun::star::lang::Locale convertLanguageToLocale( 130 static LanguageType convertLocaleToLanguage( const ::com::sun::star::lang::Locale & rLocale ); 136 static ::com::sun::star::lang::Locale convertLanguageToLocaleWithFallback( LanguageType nLang ); 144 const ::com::sun::star::lang::Locale & rLocale ); 151 static ::com::sun::star::lang::Locale getFallbackLocale( 152 const ::com::sun::star::lang::Locale & rLocale ); 290 const ::com::sun::star::lang::Locale & rLocale ); 291 …I18NPOOL_DLLPRIVATE static ::com::sun::star::lang::Locale lookupFallbackLocale( LanguageType nLang… 292 I18NPOOL_DLLPRIVATE static ::com::sun::star::lang::Locale lookupFallbackLocale( [all …]
|
| /AOO41X/main/i18npool/source/breakiterator/ |
| H A D | breakiteratorImpl.cxx | 56 … const Locale &rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32& nDone ) in nextCharacters() 65 … const Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32& nDone ) in previousCharacters() 105 const Locale& rLocale, sal_Int16 rWordType ) throw(RuntimeException) in nextWord() 130 static inline sal_Bool SAL_CALL isCJK( const Locale& rLocale ) { in isCJK() 135 const Locale& rLocale, sal_Int16 rWordType) throw(RuntimeException) in previousWord() 160 …LL BreakIteratorImpl::getWordBoundary( const OUString& Text, sal_Int32 nPos, const Locale& rLocale, in getWordBoundary() 194 const Locale& rLocale, sal_Int16 rWordType ) throw(RuntimeException) in isBeginWord() 210 const Locale& rLocale, sal_Int16 rWordType ) throw(RuntimeException) in isEndWord() 226 const Locale &rLocale ) throw(RuntimeException) in beginOfSentence() 235 const Locale &rLocale ) throw(RuntimeException) in endOfSentence() [all …]
|