Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / ui / dialogs / TemplateDescription.idl
blobdac89c4920121e5791418fe8336a1971f2244235
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TemplateDescription.idl,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_ui_dialogs_TemplateDescription_idl__
32 #define __com_sun_star_ui_dialogs_TemplateDescription_idl__
35 module com { module sun { module star { module ui { module dialogs {
37 //=============================================================================
38 /** The implementation of a FilePicker service may support the usage of
39 different templates. The following constants define the currently
40 specified templates.
42 @see com::sun::star::ui::dialogs::FilePicker
45 published constants TemplateDescription
47 //---------------------------------------------------------------------
48 /** A FileOpen dialog without any additional controls.
50 const short FILEOPEN_SIMPLE = 0;
52 //---------------------------------------------------------------------
53 /** A FileSave dialog without any additional controls.
55 const short FILESAVE_SIMPLE = 1;
57 //---------------------------------------------------------------------
58 /** A FileSave dialog with additional controls.
59 <ul>
60 <li>A checkbox "Auto Extension"</li>
61 <li>A checkbox "Password"</li>
62 </ul>
64 const short FILESAVE_AUTOEXTENSION_PASSWORD = 2;
66 //---------------------------------------------------------------------
67 /** A FileSave dialog with additional controls.
68 <ul>
69 <li>A checkbox "Auto Extension"</li>
70 <li>A checkbox "Password"</li>
71 <li>A checkbox "Filter Options"</li>
72 </ul>
74 const short FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS = 3;
76 //---------------------------------------------------------------------
77 /** A FileSave dialog with additional controls.
78 <ul>
79 <li>A checkbox "Auto Extension"</li>
80 <li>A checkbox "Selection"</li>
81 </ul>
83 const short FILESAVE_AUTOEXTENSION_SELECTION = 4;
85 //---------------------------------------------------------------------
86 /** A FileSave dialog with additional controls.
87 <ul>
88 <li>A checkbox "Auto Extension"</li>
89 <li>A listbox "Template" for selecting different templates</li>
90 </ul>
92 const short FILESAVE_AUTOEXTENSION_TEMPLATE = 5;
94 //---------------------------------------------------------------------
95 /** A FileOpen dialog with additional controls.
96 <ul>
97 <li>A checkbox "Insert as link"
98 <li>A checkbox "Show Preview"
99 <li>A listbox "Image Template" for inserting an image with different styles.</li>
100 <li>A window for displaying a file preview</li>
101 </ul>
103 const short FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE = 6;
105 //---------------------------------------------------------------------
106 /** A FileOpen dialog with additional controls.
107 <ul>
108 <li>A push button "Play"</li>
109 </ul>
111 const short FILEOPEN_PLAY = 7;
113 //---------------------------------------------------------------------
114 /** A FileOpen dialog with additional controls.
115 <ul>
116 <li>A checkbox "Read only"</li>
117 <li>A listbox "Version" for selecting a document version</li>
118 <ul>
120 const short FILEOPEN_READONLY_VERSION = 8;
122 //---------------------------------------------------------------------
123 /** A FileOpen dialog with additional controls.
124 <ul>
125 <li>A checkbox "Insert as link"</li>
126 <li>A checkbox "Show Preview"</li>
127 <li>A window for displaying a file preview</li>
128 </ul>
130 const short FILEOPEN_LINK_PREVIEW = 9;
132 //---------------------------------------------------------------------
133 /** A FileSave dialog with additional controls.
134 <ul>
135 <li>A checkbox "Auto Extension"</li>
136 </ul>
138 const short FILESAVE_AUTOEXTENSION = 10;
142 //=============================================================================
144 }; }; }; }; };
146 #endif