Hi Rony,

Rony G. Flatscher escribió:
Ha, one question in this context that you may by chance be able to answer: how would it be possible to set (query) that setting via a script?

Not nessessary to do this. Just use
com.sun.star.ui.dialogs.OfficeFolderPicker - then it is the right dialog
every time :-)
*WOW* !

Where did you get this nice piece of information from ?
(It certainly cannot be found at <http://api.openoffice.org/docs/common/ref/com/sun/star/ui/dialogs/module-ix.html>.)


I have filed an issue for that: http://www.openoffice.org/issues/show_bug.cgi?id=82722

look at my "introduction" to the issue for some "tech-info".

It's worth quoting as@ warning:

"For me those service names are implementation details of the file picker implementation only. It's not thought that those services can be created on the global service manager by any API programmer. Because such services must be initialized in right order using some tricky code. So an API programmer thinking he can use it directly (e.g. to show the system file picker always) will might be run into problems !"

A point to show how they are implementation dependent is the fact there is no SystemFilePicker/SystemFolderPicker in Linux - based on Sun's build. Here also the FilePicker and the OfficeFilePicker are the same (this on my own build, and Sun's build, but *not* in the one from most Linux distros).


Regards
Ariel.

--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to