Thomas Lange - Sun Germany - ham02 - Hamburg wrote:
Thomas,
thanks a lot
the my code is now somthing like:
Sub ChangeSystemLanguage
dim aArgs(0) as Object
dim aPropValue as new com.sun.star.beans.PropertyValue
xconfig =
createunoservice("com.sun.star.configuration.ConfigurationProvider")
aPropValue.Name = "nodepath"
aPropValue.Value = "org.openoffice.Office.Linguistic"
aArgs(0) = aPropValue
xAccess =
xconfig.createinstanceWithArguments("com.sun.star.configuration.ConfigurationUpdateAccess",aArgs())
slocale = xAccess.General.defaultLocale
sLocale = "nl-BE"
xAccess.General.defaultLocale = slocale
xAccess.commitchanges
End Sub
but how can i reset the "for current document only" setting
i must looked over it, can simply not find this setting in the "xaccess"
object structure
maybe you can help me out ?
greetz
Fernand
Hello Fernand,
Should be sth. like "org.openoffice.Office.Linguistic".
See share\registry\data\org\openoffice\Office\Linguistic.xcu
Thomas
For changing the 'use of "systemdialogs" i found somewher the correct
name of the "Nodpath"
and used in basic coding like:
xconfig =
createunoservice("com.sun.star.configuration.ConfigurationProvider")
aPropValue.Name = "nodepath"
aPropValue.Value = "org.openoffice.Office.Common/Misc"
aArgs(0) = aPropValue
wher can i find the nodepath-name for changing the "LanguagesStettings"
in OO
thanks for any hint
Fernand
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]