1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10*d1766043SAndrew Rist *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d1766043SAndrew Rist *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19*d1766043SAndrew Rist *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef __com_sun_star_ui_dialogs_TemplateDescription_idl__
25cdf0e10cSrcweir#define __com_sun_star_ui_dialogs_TemplateDescription_idl__
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweirmodule com { module sun { module star { module ui { module dialogs {
29cdf0e10cSrcweir
30cdf0e10cSrcweir//=============================================================================
31cdf0e10cSrcweir/**	The implementation of a FilePicker service may support the usage of
32cdf0e10cSrcweir	different templates. The following constants define the currently
33cdf0e10cSrcweir	specified templates.
34cdf0e10cSrcweir
35cdf0e10cSrcweir	@see com::sun::star::ui::dialogs::FilePicker
36cdf0e10cSrcweir */
37cdf0e10cSrcweir
38cdf0e10cSrcweirpublished constants TemplateDescription
39cdf0e10cSrcweir{
40cdf0e10cSrcweir	//---------------------------------------------------------------------
41cdf0e10cSrcweir	/** A FileOpen dialog without any additional controls.
42cdf0e10cSrcweir	*/
43cdf0e10cSrcweir	const short FILEOPEN_SIMPLE                                = 0;
44cdf0e10cSrcweir
45cdf0e10cSrcweir	//---------------------------------------------------------------------
46cdf0e10cSrcweir	/** A FileSave dialog without any additional controls.
47cdf0e10cSrcweir	*/
48cdf0e10cSrcweir	const short FILESAVE_SIMPLE                                = 1;
49cdf0e10cSrcweir
50cdf0e10cSrcweir	//---------------------------------------------------------------------
51cdf0e10cSrcweir	/** A FileSave dialog with additional controls.
52cdf0e10cSrcweir		<ul>
53cdf0e10cSrcweir			<li>A checkbox "Auto Extension"</li>
54cdf0e10cSrcweir			<li>A checkbox "Password"</li>
55cdf0e10cSrcweir		</ul>
56cdf0e10cSrcweir	*/
57cdf0e10cSrcweir	const short FILESAVE_AUTOEXTENSION_PASSWORD                = 2;
58cdf0e10cSrcweir
59cdf0e10cSrcweir	//---------------------------------------------------------------------
60cdf0e10cSrcweir	/** A FileSave dialog with additional controls.
61cdf0e10cSrcweir		<ul>
62cdf0e10cSrcweir			<li>A checkbox "Auto Extension"</li>
63cdf0e10cSrcweir			<li>A checkbox "Password"</li>
64cdf0e10cSrcweir			<li>A checkbox "Filter Options"</li>
65cdf0e10cSrcweir		</ul>
66cdf0e10cSrcweir	*/
67cdf0e10cSrcweir	const short FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS  = 3;
68cdf0e10cSrcweir
69cdf0e10cSrcweir	//---------------------------------------------------------------------
70cdf0e10cSrcweir	/** A FileSave dialog with additional controls.
71cdf0e10cSrcweir		<ul>
72cdf0e10cSrcweir			<li>A checkbox "Auto Extension"</li>
73cdf0e10cSrcweir			<li>A checkbox "Selection"</li>
74cdf0e10cSrcweir		</ul>
75cdf0e10cSrcweir	*/
76cdf0e10cSrcweir	const short FILESAVE_AUTOEXTENSION_SELECTION               = 4;
77cdf0e10cSrcweir
78cdf0e10cSrcweir	//---------------------------------------------------------------------
79cdf0e10cSrcweir	/** A FileSave dialog with additional controls.
80cdf0e10cSrcweir		<ul>
81cdf0e10cSrcweir			<li>A checkbox "Auto Extension"</li>
82cdf0e10cSrcweir			<li>A listbox "Template" for selecting different templates</li>
83cdf0e10cSrcweir		</ul>
84cdf0e10cSrcweir	*/
85cdf0e10cSrcweir	const short FILESAVE_AUTOEXTENSION_TEMPLATE                = 5;
86cdf0e10cSrcweir
87cdf0e10cSrcweir	//---------------------------------------------------------------------
88cdf0e10cSrcweir	/** A FileOpen dialog with additional controls.
89cdf0e10cSrcweir		<ul>
90cdf0e10cSrcweir			<li>A checkbox "Insert as link"
91cdf0e10cSrcweir			<li>A checkbox "Show Preview"
92cdf0e10cSrcweir			<li>A listbox  "Image Template" for inserting an image with different styles.</li>
93cdf0e10cSrcweir			<li>A window for displaying a file preview</li>
94cdf0e10cSrcweir		</ul>
95cdf0e10cSrcweir	*/
96cdf0e10cSrcweir	const short FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE           = 6;
97cdf0e10cSrcweir
98cdf0e10cSrcweir	//---------------------------------------------------------------------
99cdf0e10cSrcweir	/** A FileOpen dialog with additional controls.
100cdf0e10cSrcweir		<ul>
101cdf0e10cSrcweir			<li>A push button "Play"</li>
102cdf0e10cSrcweir		</ul>
103cdf0e10cSrcweir	*/
104cdf0e10cSrcweir	const short FILEOPEN_PLAY                                  = 7;
105cdf0e10cSrcweir
106cdf0e10cSrcweir	//---------------------------------------------------------------------
107cdf0e10cSrcweir	/** A FileOpen dialog with additional controls.
108cdf0e10cSrcweir		<ul>
109cdf0e10cSrcweir			<li>A checkbox "Read only"</li>
110cdf0e10cSrcweir			<li>A listbox "Version" for selecting a document version</li>
111cdf0e10cSrcweir		<ul>
112cdf0e10cSrcweir	*/
113cdf0e10cSrcweir	const short FILEOPEN_READONLY_VERSION                      = 8;
114cdf0e10cSrcweir
115cdf0e10cSrcweir	//---------------------------------------------------------------------
116cdf0e10cSrcweir	/** A FileOpen dialog with additional controls.
117cdf0e10cSrcweir		<ul>
118cdf0e10cSrcweir			<li>A checkbox "Insert as link"</li>
119cdf0e10cSrcweir			<li>A checkbox "Show Preview"</li>
120cdf0e10cSrcweir			<li>A window for displaying a file preview</li>
121cdf0e10cSrcweir		</ul>
122cdf0e10cSrcweir	*/
123cdf0e10cSrcweir	const short FILEOPEN_LINK_PREVIEW				           = 9;
124cdf0e10cSrcweir
125cdf0e10cSrcweir	//---------------------------------------------------------------------
126cdf0e10cSrcweir	/** A FileSave dialog with additional controls.
127cdf0e10cSrcweir		<ul>
128cdf0e10cSrcweir			<li>A checkbox "Auto Extension"</li>
129cdf0e10cSrcweir		</ul>
130cdf0e10cSrcweir	*/
131cdf0e10cSrcweir	const short FILESAVE_AUTOEXTENSION			               = 10;
132cdf0e10cSrcweir
133cdf0e10cSrcweir};
134cdf0e10cSrcweir
135cdf0e10cSrcweir//=============================================================================
136cdf0e10cSrcweir
137cdf0e10cSrcweir}; }; }; }; };
138cdf0e10cSrcweir
139cdf0e10cSrcweir#endif
140