Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word 97 - ToolsLanguage
Message
De
07/05/1999 21:29:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00216002
Message ID:
00216311
Vues:
22
The only reference I could find is in Visual Basic Equivalents for WordBasic Commands

ToolsLanguage Language, Default Selection.Range.LanguageID = WdLanguageIDActiveDocument.Styles(wdStyleNormal).LanguageID = WdLanguageID

LanguageId links to :

Returns or sets the language for the specified object. Read/write Long.
Can be one of the following WdLanguageID constants:

wdAfrikaans
wdArabic
wdBasque
wdBelgianDutch
wdBelgianFrench
wdBrazilianPortuguese
wdBulgarian
wdByelorussian
wdCatalan
wdCroatian
wdCzech
wdDanish
wdDutch
wdEnglishAUS
wdEnglishCanadian
wdEnglishNewZealand
wdEnglishSouthAfrica
wdEnglishUK
wdEnglishUS
wdEstonian
wdFarsiwdFinnish
wdFrench
wdFrenchCanadian
wdGerman
wdGreek
wdHebrew
wdHungarian
wdItalian
wdIcelandic
wdJapanese
wdKorean
wdLanguageNone
wdLatvian
wdMacedonian
wdMalaysian
wdMexicanSpanish
wdNoProofing
wdNorwegianBokmol
wdNorwegianNynorsk
wdPolish
wdPortuguese
wdRomanian
wdRussian
wdSerbianCyrillic
wdSerbianLatin
wdSesotho
wdSimplifiedChinese
wdSlovak
wdSlovenian
wdSpanish
wdSpanishModernSort
wdSwedish
wdSwissFrench
wdSwissGerman
wdSwissItalian
wdTraditionalChinese
wdTsonga
wdTswana
wdTurkish
wdUkrainian
wdVenda
wdXhosa
wdZulu

Remarks

For a custom dictionary, you must first set the LanguageSpecific property to True, before specifying the LanguageID. Custom dictionaries that are language specific only look at text formatted for that language.


>Can some kind soul read their Word 97 WordBasic help file entry for ToolsLanguage and let me have the list (someone here has disappeared to Dublin with my Office 97 disk). There seem to have been some changes in the return value between 6.0 and 97 and 97 variants - e.g. English (U.K.) now seems to return English (United Kingdom), sometimes!: what's known as a 'quiet change' I think...although I wasn't too quiet when I tracked it down.
>
>I don't want to change my code to detect (say) just "English" if there are other non-english variants (English (Pidgin) :-0 ??)
>
>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform