1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef __com_sun_star_ui_dialogs_TemplateDescription_idl__
30 #define __com_sun_star_ui_dialogs_TemplateDescription_idl__
33 module com
{ module sun
{ module star
{ module ui
{ module dialogs
{
35 //=============================================================================
36 /** The implementation of a FilePicker service may support the usage of
37 different templates. The following constants define the currently
40 @see com::sun::star::ui::dialogs::FilePicker
43 published constants TemplateDescription
45 //---------------------------------------------------------------------
46 /** A FileOpen dialog without any additional controls.
48 const short FILEOPEN_SIMPLE
= 0;
50 //---------------------------------------------------------------------
51 /** A FileSave dialog without any additional controls.
53 const short FILESAVE_SIMPLE
= 1;
55 //---------------------------------------------------------------------
56 /** A FileSave dialog with additional controls.
58 <li>A checkbox "Auto Extension"</li>
59 <li>A checkbox "Password"</li>
62 const short FILESAVE_AUTOEXTENSION_PASSWORD
= 2;
64 //---------------------------------------------------------------------
65 /** A FileSave dialog with additional controls.
67 <li>A checkbox "Auto Extension"</li>
68 <li>A checkbox "Password"</li>
69 <li>A checkbox "Filter Options"</li>
72 const short FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS
= 3;
74 //---------------------------------------------------------------------
75 /** A FileSave dialog with additional controls.
77 <li>A checkbox "Auto Extension"</li>
78 <li>A checkbox "Selection"</li>
81 const short FILESAVE_AUTOEXTENSION_SELECTION
= 4;
83 //---------------------------------------------------------------------
84 /** A FileSave dialog with additional controls.
86 <li>A checkbox "Auto Extension"</li>
87 <li>A listbox "Template" for selecting different templates</li>
90 const short FILESAVE_AUTOEXTENSION_TEMPLATE
= 5;
92 //---------------------------------------------------------------------
93 /** A FileOpen dialog with additional controls.
95 <li>A checkbox "Insert as link"
96 <li>A checkbox "Show Preview"
97 <li>A listbox "Image Template" for inserting an image with different styles.</li>
98 <li>A window for displaying a file preview</li>
101 const short FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE
= 6;
103 //---------------------------------------------------------------------
104 /** A FileOpen dialog with additional controls.
106 <li>A push button "Play"</li>
109 const short FILEOPEN_PLAY
= 7;
111 //---------------------------------------------------------------------
112 /** A FileOpen dialog with additional controls.
114 <li>A checkbox "Read only"</li>
115 <li>A listbox "Version" for selecting a document version</li>
118 const short FILEOPEN_READONLY_VERSION
= 8;
120 //---------------------------------------------------------------------
121 /** A FileOpen dialog with additional controls.
123 <li>A checkbox "Insert as link"</li>
124 <li>A checkbox "Show Preview"</li>
125 <li>A window for displaying a file preview</li>
128 const short FILEOPEN_LINK_PREVIEW
= 9;
130 //---------------------------------------------------------------------
131 /** A FileSave dialog with additional controls.
133 <li>A checkbox "Auto Extension"</li>
136 const short FILESAVE_AUTOEXTENSION
= 10;
140 //=============================================================================
146 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */