xref: /trunk/main/offapi/com/sun/star/ui/dialogs/CommonFilePickerElementIds.idl (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef __com_sun_star_ui_dialogs_CommonFilePickerElementIds_idl__
29#define __com_sun_star_ui_dialogs_CommonFilePickerElementIds_idl__
30
31
32module com { module sun { module star { module ui { module dialogs {
33
34//=============================================================================
35/** These constants are used to specify common controls of a FilePicker dialog.
36
37 */
38
39published constants CommonFilePickerElementIds
40{
41    //---------------------------------------------------------------------
42    /** The control id of the OK button.
43    */
44    const short PUSHBUTTON_OK     = 1;
45
46    //---------------------------------------------------------------------
47    /** The control id of the Cancel button.
48    */
49    const short PUSHBUTTON_CANCEL = 2;
50
51    //---------------------------------------------------------------------
52    /** The filter listbox of a FilePicker dialog.
53    */
54    const short LISTBOX_FILTER = 3;
55
56    //---------------------------------------------------------------------
57    /** Is used to refer to the file view of the file picker. This view shows the list of
58        all files/folders in the currently selected folder.
59    */
60    const short CONTROL_FILEVIEW = 4;
61
62    //---------------------------------------------------------------------
63    /** Is used to refer to the edit line where a file or path can be entered by the user.
64    */
65    const short EDIT_FILEURL = 5;
66
67    //---------------------------------------------------------------------
68    /** The label of the filter listbox of a FilePicker dialog.
69
70        @since OOo 1.1.2
71    */
72    const short LISTBOX_FILTER_LABEL = 6;
73
74    //---------------------------------------------------------------------
75    /** The label of the file name listbox of a FilePicker dialog.
76
77        @since OOo 1.1.2
78    */
79    const short EDIT_FILEURL_LABEL = 7;
80};
81
82//=============================================================================
83
84}; }; }; }; };
85
86#endif
87