Juergen Schmidt wrote:

> Hi Ariel,
> 
> Ariel Constenla-Haile wrote:
>> Hello people,
>> 
>> I think this an issue (may be "type:defect, component: api, 
>> subcomponent: code [IDL source files]/ documentation [Dev's Guide 
>> 20.5.2.28]"):
>> 
>> as I said on a mail in extensions-dev
>> [http://extensions.openoffice.org/servlets/ReadMsg?list=dev&msgNo=897],
>> there are three service names you can use to implement an XFilePicker or
>> an XFolderPicker:
>> 
>> XFilePicker:
>>          com.sun.star.ui.dialogs.FilePicker
>>          com.sun.star.ui.dialogs.OfficeFilePicker
>>          com.sun.star.ui.dialogs.SystemFilePicker
>> XFolderPicker:
>>          com.sun.star.ui.dialogs.FolderPicker
>>          com.sun.star.ui.dialogs.OfficeFolderPicker
>>          com.sun.star.ui.dialogs.SystemFolderPicker
>> 
>> 
>> the difference is explained there on the mail (but just covering the
>> XFilePicker implementation asked by the developer).
> FilePicker is the base service and the two others are specializations of 
> these FilePicker service (of course a IDL definition is missing -> 
> please file an issue).
> I would say FilePicker can be seen more abstract and you should either 
> use the OfficeFilePicker or the SystemFilePicker. If you use FilePicker 
> it is not guaranteed which concrete one you get.
> 
> Anyway from an API point of view it should be regardless which one you 
> get but it seems that some implementations of the SystemFilePicker 
> doesn't support the service contract correct and break existing 
> solutions like yours.
> 
> I am sorry for that but that have to be addressed in the Distro builds.

Are you sure? I think the system file picker implementations for KDE and
Gnome are also part of "vanilla" OOo, they are just not selected by
default. So if one of them does not correctly tell its supported
services it must be fixed "upstream".

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to