[api-dev] How to get the canonical path from a script URL, or at least the root directories user and share in a reliable manner ?

2008-06-14 Thread Rony G. Flatscher
Hi there, have tried to research the service needed for expanding a script URL to its canonical path to no avail. E.g. given the following infos from OOo, how would one be able to get at the canonical path (fully qualified, but shortest operating system dependent path, but the OOo-URL

[api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Rony G. Flatscher
Hi there, not sure whether this is the correct group, if not please advise which one would be the correct one. Platform is Windows XP SP 3. The FolderPicker service interface XFolderPicker has a method setDisplayDirectory() which is supposed to do the following according to the docs: Sets

Re: [api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Cor Nouws
Hi Rony, Rony G. Flatscher wrote (14-6-2008 16:07) not sure whether this is the correct group, if not please advise which one would be the correct one. This is the right one. Platform is Windows XP SP 3. The FolderPicker service interface XFolderPicker has a method setDisplayDirectory()

Re: [api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Thomas Krumbein
Hi rony, Rony G. Flatscher schrieb: [..] Platform is Windows XP SP 3. [..] However, this does not work at all. Tried all variations (system file path, URL, with and without trailing slash, feeding the directory path exactly like the service returns it). It is a bug of Windows - i guess,

Re: [api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Rony G. Flatscher
Hi Cor, thank you for your macros. However, your FolderPicker does *not* work either! (The FilePicker works as reported in my e-mail. It is quite easy to mix-up FolderPicker and FilePicker.) not sure whether this is the correct group, if not please advise which one would be the correct one.

Re: [api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Rony G. Flatscher
Hi Thomas, Platform is Windows XP SP 3. [..] However, this does not work at all. Tried all variations (system file path, URL, with and without trailing slash, feeding the directory path exactly like the service returns it). It is a bug of Windows - i guess, you use the windows

Re: [api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Rony G. Flatscher
Hi Thomas, Rony G. Flatscher schrieb: [..] 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

Re: [api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Ariel Constenla-Haile
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

Re: [api-dev] How to use com.sun.star.ui.dialogs.FolderPicker such that it works as documented ?

2008-06-14 Thread Bernard Marcelly
Message de Thomas Krumbein date 2008-06-14 16:56 : Hi rony, Rony G. Flatscher schrieb: [..] Platform is Windows XP SP 3. [..] However, this does not work at all. Tried all variations (system file path, URL, with and without trailing slash, feeding the directory path exactly like the

Re: [api-dev] How to get the canonical path from a script URL, or at least the root directories user and share in a reliable manner ?

2008-06-14 Thread Rony G. Flatscher
Hi Ariel, you are the best, thank you very much for your help and especially your pointers! Ariel Constenla-Haile wrote: Rony G. Flatscher escribió: Hi there, have tried to research the service needed for expanding a script URL to its canonical path to no avail. E.g. given the

[api-dev] Bugs in 3.0 Beta holding up documentation

2008-06-14 Thread Andrew Douglas Pitonyak
I am attempting to update documentation for 3.0, and I was dealing with macros in Calc documents. I noticed that I can not call a macro as a Calc function. I think that the problem is related to an existing bug report... http://www.openoffice.org/issues/show_bug.cgi?id=89527 Will there be

Re: [api-dev] Bugs in 3.0 Beta holding up documentation

2008-06-14 Thread Ariel Constenla-Haile
Hi Andrew, Andrew Douglas Pitonyak escribió: I am attempting to update documentation for 3.0, and I was dealing with macros in Calc documents. I noticed that I can not call a macro as a Calc function. with DEV300_m19 on Linux an OOo Basic function can be used as a function in Calc I