Hello,
I am developping an extension for OpenOffice. I need to switch from Windows
System FilePicker (SytemFileDialog)to OOo FilePicker (OOoFileDialog) because
OOoFileDialog support webdav protocol and not the Windows System one.
We would like to have by default the System dialog and to call OOoFileDialog by
macro.
My questions :
1. Is it possible to specify which filePicker to choose by macro (System or
OOo)?
2. If the first solution is not possible. We have seen that it is possible to
switch from OOo to System dialogs in "tools/options/openoffice/general/Use OOo
dialogs". Is it possible to check or uncheck this otpion with OOo API?
I have writen this code in Basic:
sub putOOoDialog(Systeme As Boolean)
oConfigAccess =
GetConfigAccess("/org.openoffice.Office.Common/Misc/", true )
if Systeme then
oConfigAccess.UseSystemFileDialog = true
else
oConfigAccess.UseSystemFileDialog = false
endif
oConfigAccess.commitChanges()
end sub
This function modifies well the "Common.xcu" file but OpenOffice keeps in
memory old configuration.
Thus, I would like to know if it is possible to reload th configuration file
(Common.xcu) without rebooting OpenOffice processes and OpenOffice quick start.
Thank you.
Nicolas Frisoni
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]