openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schmidt <joe...@j-m-schmidt.de>
Subject /api/docs/common/ref/com/sun/star/lang/Locale.html
Date Sat, 04 May 2019 08:08:22 GMT
Hello,

does anyone know if ".Variant" is implemented correctly in "Locale"?

The example from the IDL reference ("es", "ES", "Traditional_WIN"):
http://www.openoffice.org/api/docs/common/ref/com/sun/star/lang/Locale.html

doesn't work if I test it with Basic:

Dim aLocale
aLocale = ThisComponent.CurrentSelection(0).CharLocale
aLocale.Language = "es"
aLocale.Country  = "ES"
aLocale.Variant = "Traditional_WIN"
ThisComponent.CurrentSelection(0).CharLocale = aLocale



greetings,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message