| /trunk/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 …]
|
| /trunk/main/comphelper/inc/comphelper/ |
| H A D | locale.hxx | 57 class COMPHELPER_DLLPUBLIC Locale class 75 static const Locale& EN_US(); 76 static const Locale& EN(); 77 static const Locale& DE_DE(); 78 static const Locale& DE_CH(); 79 static const Locale& DE_AT(); 80 static const Locale& AR(); 81 static const Locale& CA(); 82 static const Locale& CS(); 83 static const Locale& DA(); [all …]
|
| /trunk/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 ); 82 …:uno::Sequence< Calendar > SAL_CALL getAllCalendars( const com::sun::star::lang::Locale& rLocale ); 83 …uno::Sequence< Currency > SAL_CALL getAllCurrencies( const com::sun::star::lang::Locale& rLocale ); 84 …o::Sequence< Currency2 > SAL_CALL getAllCurrencies2( const com::sun::star::lang::Locale& rLocale ); 85 …o::Sequence< FormatElement > SAL_CALL getAllFormats( const com::sun::star::lang::Locale& rLocale ); 86 …mplementation > SAL_CALL getCollatorImplementations( const com::sun::star::lang::Locale& rLocale ); 87 …virtual rtl::OUString SAL_CALL getCollatorRuleByAlgorithm( const com::sun::star::lang::Locale& rLo… 88 …uence< rtl::OUString > SAL_CALL getTransliterations( const com::sun::star::lang::Locale& rLocale ); [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); 67 const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType); 69 const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection ); 72 const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType ); 74 const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType ); 76 const com::sun::star::lang::Locale& nLocale ); 79 const com::sun::star::lang::Locale& nLocale ); 81 const com::sun::star::lang::Locale& nLocale ); [all …]
|
| H A D | indexentrysupplier_common.hxx | 48 virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList(); 51 const com::sun::star::lang::Locale& rLocale ); 54 const com::sun::star::lang::Locale& rLocale ); 57 const com::sun::star::lang::Locale& rLocale ); 60 const com::sun::star::lang::Locale& rLocale, 64 const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ); 67 const rtl::OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1, 69 const com::sun::star::lang::Locale& rLocale2 ); 72 const com::sun::star::lang::Locale& rLocale, const rtl::OUString& rSortAlgorithm ); 75 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(); 48 const com::sun::star::lang::Locale& rLocale ); 51 const com::sun::star::lang::Locale& rLocale, 55 const com::sun::star::lang::Locale& rLocale ); 58 const com::sun::star::lang::Locale& rLocale ); 61 const rtl::OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale ); 64 const rtl::OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1, 66 const com::sun::star::lang::Locale& rLocale2 ); 69 const com::sun::star::lang::Locale& rLocale, const rtl::OUString& SortAlgorithm ); 72 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 ); 48 sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale ); 50 sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale ); 55 const com::sun::star::lang::Locale& rLocale ); 57 sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale ); 59 const com::sun::star::lang::Locale& rLocale, sal_Int32 nStartCharFlags, 63 const rtl::OUString& Text, sal_Int32 nPos, const com::sun::star::lang::Locale& rLocale, 74 lookupTableItem(const com::sun::star::lang::Locale& rLocale, const rtl::OUString& rName, in lookupTableItem() 77 com::sun::star::lang::Locale aLocale; 80 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, 55 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 59 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 62 interactiveConversion(const ::com::sun::star::lang::Locale& aLocale, 96 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 100 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 104 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 107 interactiveConversion(const ::com::sun::star::lang::Locale& aLocale, 140 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, 144 const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType, [all …]
|
| /trunk/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() 158 … LocaleItem* getItemForLocale( const ::com::sun::star::lang::Locale& locale, sal_Bool bException ); 162 LocaleItem* getClosestMatchItemForLocale( const ::com::sun::star::lang::Locale& locale ); 163 void implSetCurrentLocale( const ::com::sun::star::lang::Locale& locale, 200 const ::com::sun::star::lang::Locale& locale ); 203 const ::com::sun::star::lang::Locale& locale ); 206 ( const ::com::sun::star::lang::Locale& locale ); 207 virtual ::com::sun::star::lang::Locale SAL_CALL getCurrentLocale( ); 208 virtual ::com::sun::star::lang::Locale SAL_CALL getDefaultLocale( ); [all …]
|
| H A D | stringresource.cxx | 218 …ringResourceImpl::resolveStringForLocale( const ::rtl::OUString& ResourceID, const Locale& locale ) in resolveStringForLocale() 244 const Locale& locale ) in hasEntryForIdAndLocale() 274 ( const Locale& locale ) in getResourceIDsForLocale() 287 Locale StringResourceImpl::getCurrentLocale() in getCurrentLocale() 291 Locale aRetLocale; in getCurrentLocale() 297 Locale StringResourceImpl::getDefaultLocale( ) in getDefaultLocale() 301 Locale aRetLocale; in getDefaultLocale() 307 Sequence< Locale > StringResourceImpl::getLocales( ) in getLocales() 312 Sequence< Locale > aLocalSeq( nSize ); in getLocales() 313 Locale* pLocales = aLocalSeq.getArray(); in getLocales() [all …]
|
| /trunk/main/lingucomponent/source/languageguessing/ |
| H A D | guesslang.cxx | 112 …virtual ::com::sun::star::lang::Locale SAL_CALL guessPrimaryLanguage( const ::rtl::OUString& aText… 113 …leLanguages( const ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale >& aLanguages ); 114 …leLanguages( const ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale >& aLanguages ); 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 …]
|
| /trunk/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 …]
|
| /trunk/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 …]
|
| /trunk/test/testuno/source/api/i18n/ |
| H A D | XCollatorTest.java | 32 import com.sun.star.lang.Locale; 69 Locale loc = new Locale("en", "EN", ""); 221 col = Collator.getInstance(new java.util.Locale("en", "EN")) ; in _compareSubstring() 229 new com.sun.star.lang.Locale("ru", "RU", ""), 0) ; in _compareSubstring() 230 col = Collator.getInstance(new java.util.Locale("ru", "RU")) ; in _compareSubstring() 238 new com.sun.star.lang.Locale("ja", "JP", ""), 0) ; in _compareSubstring() 239 col = Collator.getInstance(new java.util.Locale("ja", "JP")) ; in _compareSubstring() 246 oObj.loadDefaultCollator(new Locale("zh", "CN", ""), 0) ; in _compareSubstring() 247 col = Collator.getInstance(new java.util.Locale("zh", "CN")) ; in _compareSubstring() 254 oObj.loadDefaultCollator(new Locale("ko", "KR", ""), 0) ; in _compareSubstring() [all …]
|
| /trunk/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 …]
|
| /trunk/main/i18npool/source/localedata/ |
| H A D | localedata.cxx | 275 com::sun::star::lang::Locale aLocale; 276 sal_Bool equals(const com::sun::star::lang::Locale& rLocale) in equals() 291 LocaleData::getLocaleItem( const Locale& rLocale ) in getLocaleItem() 385 Locale aLocale; in getFunctionSymbolByName() 387 Locale aFbLocale = MsLangId::getFallbackLocale( aLocale); in getFunctionSymbolByName() 465 … 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 ) in getAllCalendars() 575 LocaleData::getAllCurrencies2( const Locale& rLocale ) in getAllCurrencies2() [all …]
|
| /trunk/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 491 hasLocale( const ::com::sun::star::lang::Locale& rLocale ); 498 const ::com::sun::star::lang::Locale& rLocale, 518 pLocaleSeq = new Sequence< Locale >( nLen ); in GetCfgLocales() 519 Locale *pLocale = pLocaleSeq->getArray(); in GetCfgLocales() [all …]
|
| /trunk/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() 102 Locale *pLocale = aSuppLocales.getArray(); in getLocales() 103 pLocale[0] = Locale( A2OU("en"), A2OU("US"), OUString() ); in getLocales() 104 pLocale[1] = Locale( A2OU("de"), A2OU("DE"), OUString() ); in getLocales() 105 pLocale[2] = Locale( A2OU("de"), A2OU("CH"), OUString() ); in getLocales() 112 sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale) in hasLocale() 122 const Locale *pLocale = aSuppLocales.getConstArray(); in hasLocale() 133 INT16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() 169 SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() [all …]
|
| /trunk/main/i18npool/source/indexentry/ |
| H A D | indexentrysupplier_common.cxx | 49 Sequence < lang::Locale > SAL_CALL IndexEntrySupplier_Common::getLocaleList() in getLocaleList() 54 Sequence < OUString > SAL_CALL IndexEntrySupplier_Common::getAlgorithmList( const lang::Locale& ) in getAlgorithmList() argument 60 const lang::Locale& ) in getPhoneticCandidate() argument 65 sal_Bool SAL_CALL IndexEntrySupplier_Common::usePhoneticEntry( const lang::Locale& ) in usePhoneticEntry() argument 70 sal_Bool SAL_CALL IndexEntrySupplier_Common::loadAlgorithm( const lang::Locale& rLocale, in loadAlgorithm() 81 const OUString&, const lang::Locale& ) 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() 98 const lang::Locale& rLocale, const OUString& ) in getIndexCharacter() 104 const lang::Locale& ) in getIndexFollowPageWord() argument [all …]
|
| /trunk/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 …]
|
| /trunk/main/offapi/com/sun/star/i18n/ |
| H A D | XLocaleData.idl | 28 #include <com/sun/star/lang/Locale.idl> 61 [in] com::sun::star::lang::Locale aLocale ); 67 [in] com::sun::star::lang::Locale aLocale ); 73 [in] com::sun::star::lang::Locale aLocale ); 79 [in] com::sun::star::lang::Locale aLocale ); 85 [in] com::sun::star::lang::Locale aLocale ); 91 [in] com::sun::star::lang::Locale aLocale ); 97 [in] com::sun::star::lang::Locale aLocale ); 103 [in] com::sun::star::lang::Locale aLocale ); 109 [in] com::sun::star::lang::Locale aLocale ); [all …]
|
| /trunk/main/i18npool/source/breakiterator/ |
| H A D | breakiteratorImpl.cxx | 56 … const Locale &rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32& nDone ) in nextCharacters() 64 … const Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32& nDone ) in previousCharacters() 103 const Locale& rLocale, sal_Int16 rWordType ) in nextWord() 128 static inline sal_Bool SAL_CALL isCJK( const Locale& rLocale ) { in isCJK() 133 const Locale& rLocale, sal_Int16 rWordType) in previousWord() 158 …LL BreakIteratorImpl::getWordBoundary( const OUString& Text, sal_Int32 nPos, const Locale& rLocale, in getWordBoundary() 192 const Locale& rLocale, sal_Int16 rWordType ) in isBeginWord() 208 const Locale& rLocale, sal_Int16 rWordType ) in isEndWord() 224 const Locale &rLocale ) in beginOfSentence() 233 const Locale &rLocale ) in endOfSentence() [all …]
|
| /trunk/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 …]
|