Issue 82722 - Missing IDL files for the services css.ui.dialogs.OfficeFilePicker, css.ui.dialogs.SystemFilePicker, css.ui.dialogs.OfficeFolderPicker, css.ui.dialogs.SystemFolderPicker
Summary: Missing IDL files for the services css.ui.dialogs.OfficeFilePicker, css.ui.di...
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P4 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 16:00 UTC by Ariel Constenla-Haile
Modified: 2013-07-30 02:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ariel Constenla-Haile 2007-10-17 16:00:20 UTC
Of the different services 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 

only com.sun.star.ui.dialogs.FilePicker and com.sun.star.ui.dialogs.FolderPicker
are documented on the IDL reference.

As the file picker shown (the system dialog or OOo's own implementation) when
using "com.sun.star.ui.dialogs.FilePicker" as service name, depends on the user 
configuration (configuration branch "/org.openoffice.Office.Common/Misc", prop.
"UseSystemFileDialog"), the developer will have the following result:

* com.sun.star.ui.dialogs.FilePicker/Folder : will show the dialog depending on 
the user configuration, OOo's dialogs or the system's dialogs

* com.sun.star.ui.dialogs.OfficeFilePicker/OfficeFolderPicker : will show always
OOo's file 
picker, no matter if the user choosed the system dialogs

* com.sun.star.ui.dialogs.SystemFilePicker/SystemFolderPicker : will show always
the 
system's file picker, no matter if the user choosed OOo's dialogs.

This difference should be made explicit to the developer in
com.sun.star.ui.dialogs.FilePicker/FolderPicker definition.
Comment 1 jsc 2007-10-23 12:57:03 UTC
accepted
Comment 2 jsc 2008-02-19 12:49:00 UTC
jsc -> as: fs mentioned that it might be not enough to simply create new service
definitions for the missing services and inherit the base services (e.g.
OfficeFilePicker supports FilePicker). You know the services better than I and
you can probably address this issue better.
Comment 3 andreas.schluens 2008-05-30 08:41:05 UTC
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 !
Comment 4 Rob Weir 2013-07-30 02:36:15 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.