Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: ui :: dialogs ::

unpublished interface XFilePicker2
Base Interfaces
XFilePicker2XFilePickerXExecutableDialog

XFilePicker
(referenced interface's summary:)
Specifies an interface for a FilePicker
Usage Restrictions
not published
Description
extends file picker interface to workaround some design problems.

Methods' Summary
getSelectedFiles Returns a sequence of the selected files including path information in URL format, conform to Rfc1738.  
Methods' Details
getSelectedFiles
sequence< string >
getSelectedFiles();

Description
Returns a sequence of the selected files including path information in URL format, conform to Rfc1738.

If the user closed the dialog with cancel an empty sequence will be returned.


If the user closed the dialog with OK a list of all selected files will be returned.

@attention

Instead to the method getFiles() of base interface XFilePicker the new method return full qualified URL's for every selected file.

Returns

A list of all selected file as complete URL's.


Notes for the implementation of a FileSave dialog:If there exists a checkbox "Automatic File Extension" which is checked and a valid filter is currently selected the dialog may automatically add an extension to the selected file name(s).

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.