Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / ui / dialogs / TemplateDescription.idl
blobb89c9f167ac5c668d0671b695ba263e0f5779e28
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
38 specified templates.
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.
57 <ul>
58 <li>A checkbox "Auto Extension"</li>
59 <li>A checkbox "Password"</li>
60 </ul>
62 const short FILESAVE_AUTOEXTENSION_PASSWORD = 2;
64 //---------------------------------------------------------------------
65 /** A FileSave dialog with additional controls.
66 <ul>
67 <li>A checkbox "Auto Extension"</li>
68 <li>A checkbox "Password"</li>
69 <li>A checkbox "Filter Options"</li>
70 </ul>
72 const short FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS = 3;
74 //---------------------------------------------------------------------
75 /** A FileSave dialog with additional controls.
76 <ul>
77 <li>A checkbox "Auto Extension"</li>
78 <li>A checkbox "Selection"</li>
79 </ul>
81 const short FILESAVE_AUTOEXTENSION_SELECTION = 4;
83 //---------------------------------------------------------------------
84 /** A FileSave dialog with additional controls.
85 <ul>
86 <li>A checkbox "Auto Extension"</li>
87 <li>A listbox "Template" for selecting different templates</li>
88 </ul>
90 const short FILESAVE_AUTOEXTENSION_TEMPLATE = 5;
92 //---------------------------------------------------------------------
93 /** A FileOpen dialog with additional controls.
94 <ul>
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>
99 </ul>
101 const short FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE = 6;
103 //---------------------------------------------------------------------
104 /** A FileOpen dialog with additional controls.
105 <ul>
106 <li>A push button "Play"</li>
107 </ul>
109 const short FILEOPEN_PLAY = 7;
111 //---------------------------------------------------------------------
112 /** A FileOpen dialog with additional controls.
113 <ul>
114 <li>A checkbox "Read only"</li>
115 <li>A listbox "Version" for selecting a document version</li>
116 <ul>
118 const short FILEOPEN_READONLY_VERSION = 8;
120 //---------------------------------------------------------------------
121 /** A FileOpen dialog with additional controls.
122 <ul>
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>
126 </ul>
128 const short FILEOPEN_LINK_PREVIEW = 9;
130 //---------------------------------------------------------------------
131 /** A FileSave dialog with additional controls.
132 <ul>
133 <li>A checkbox "Auto Extension"</li>
134 </ul>
136 const short FILESAVE_AUTOEXTENSION = 10;
140 //=============================================================================
142 }; }; }; }; };
144 #endif
146 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */