1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 #ifndef __com_sun_star_ui_dialogs_TemplateDescription_idl__
29 #define __com_sun_star_ui_dialogs_TemplateDescription_idl__
32 module com
{ module sun
{ module star
{ module ui
{ module dialogs
{
34 //=============================================================================
35 /** The implementation of a FilePicker service may support the usage of
36 different templates. The following constants define the currently
39 @see com::sun::star::ui::dialogs::FilePicker
42 published constants TemplateDescription
44 //---------------------------------------------------------------------
45 /** A FileOpen dialog without any additional controls.
47 const short FILEOPEN_SIMPLE
= 0;
49 //---------------------------------------------------------------------
50 /** A FileSave dialog without any additional controls.
52 const short FILESAVE_SIMPLE
= 1;
54 //---------------------------------------------------------------------
55 /** A FileSave dialog with additional controls.
57 <li>A checkbox "Auto Extension"</li>
58 <li>A checkbox "Password"</li>
61 const short FILESAVE_AUTOEXTENSION_PASSWORD
= 2;
63 //---------------------------------------------------------------------
64 /** A FileSave dialog with additional controls.
66 <li>A checkbox "Auto Extension"</li>
67 <li>A checkbox "Password"</li>
68 <li>A checkbox "Filter Options"</li>
71 const short FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS
= 3;
73 //---------------------------------------------------------------------
74 /** A FileSave dialog with additional controls.
76 <li>A checkbox "Auto Extension"</li>
77 <li>A checkbox "Selection"</li>
80 const short FILESAVE_AUTOEXTENSION_SELECTION
= 4;
82 //---------------------------------------------------------------------
83 /** A FileSave dialog with additional controls.
85 <li>A checkbox "Auto Extension"</li>
86 <li>A listbox "Template" for selecting different templates</li>
89 const short FILESAVE_AUTOEXTENSION_TEMPLATE
= 5;
91 //---------------------------------------------------------------------
92 /** A FileOpen dialog with additional controls.
94 <li>A checkbox "Insert as link"
95 <li>A checkbox "Show Preview"
96 <li>A listbox "Image Template" for inserting an image with different styles.</li>
97 <li>A window for displaying a file preview</li>
100 const short FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE
= 6;
102 //---------------------------------------------------------------------
103 /** A FileOpen dialog with additional controls.
105 <li>A push button "Play"</li>
108 const short FILEOPEN_PLAY
= 7;
110 //---------------------------------------------------------------------
111 /** A FileOpen dialog with additional controls.
113 <li>A checkbox "Read only"</li>
114 <li>A listbox "Version" for selecting a document version</li>
117 const short FILEOPEN_READONLY_VERSION
= 8;
119 //---------------------------------------------------------------------
120 /** A FileOpen dialog with additional controls.
122 <li>A checkbox "Insert as link"</li>
123 <li>A checkbox "Show Preview"</li>
124 <li>A window for displaying a file preview</li>
127 const short FILEOPEN_LINK_PREVIEW
= 9;
129 //---------------------------------------------------------------------
130 /** A FileSave dialog with additional controls.
132 <li>A checkbox "Auto Extension"</li>
135 const short FILESAVE_AUTOEXTENSION
= 10;
139 //=============================================================================