1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: TemplateDescription.idl,v $
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
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.
60 <li>A checkbox "Auto Extension"</li>
61 <li>A checkbox "Password"</li>
64 const short FILESAVE_AUTOEXTENSION_PASSWORD
= 2;
66 //---------------------------------------------------------------------
67 /** A FileSave dialog with additional controls.
69 <li>A checkbox "Auto Extension"</li>
70 <li>A checkbox "Password"</li>
71 <li>A checkbox "Filter Options"</li>
74 const short FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS
= 3;
76 //---------------------------------------------------------------------
77 /** A FileSave dialog with additional controls.
79 <li>A checkbox "Auto Extension"</li>
80 <li>A checkbox "Selection"</li>
83 const short FILESAVE_AUTOEXTENSION_SELECTION
= 4;
85 //---------------------------------------------------------------------
86 /** A FileSave dialog with additional controls.
88 <li>A checkbox "Auto Extension"</li>
89 <li>A listbox "Template" for selecting different templates</li>
92 const short FILESAVE_AUTOEXTENSION_TEMPLATE
= 5;
94 //---------------------------------------------------------------------
95 /** A FileOpen dialog with additional controls.
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>
103 const short FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE
= 6;
105 //---------------------------------------------------------------------
106 /** A FileOpen dialog with additional controls.
108 <li>A push button "Play"</li>
111 const short FILEOPEN_PLAY
= 7;
113 //---------------------------------------------------------------------
114 /** A FileOpen dialog with additional controls.
116 <li>A checkbox "Read only"</li>
117 <li>A listbox "Version" for selecting a document version</li>
120 const short FILEOPEN_READONLY_VERSION
= 8;
122 //---------------------------------------------------------------------
123 /** A FileOpen dialog with additional controls.
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>
130 const short FILEOPEN_LINK_PREVIEW
= 9;
132 //---------------------------------------------------------------------
133 /** A FileSave dialog with additional controls.
135 <li>A checkbox "Auto Extension"</li>
138 const short FILESAVE_AUTOEXTENSION
= 10;
142 //=============================================================================