1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_presentation_PreviewView_idl__
24#define __com_sun_star_presentation_PreviewView_idl__
25
26#ifndef __com_sun_star_drawing_XDrawView_idl__
27#include <com/sun/star/drawing/XDrawView.idl>
28#endif
29
30#ifndef __com_sun_star_beans_XPropertySet_idl__
31#include <com/sun/star/beans/XPropertySet.idl>
32#endif
33
34#ifndef __com_sun_star_frame_Controller_idl__
35#include <com/sun/star/frame/Controller.idl>
36#endif
37
38#ifndef __com_sun_star_lang_XServiceInfo_idl__
39#include <com/sun/star/lang/XServiceInfo.idl>
40#endif
41
42#ifndef __com_sun_star_drawing_XDrawPage_idl__
43#include <com/sun/star/drawing/XDrawPage.idl>
44#endif
45
46#ifndef __com_sun_star_awt_XWindow_idl__
47#include <com/sun/star/awt/XWindow.idl>
48#endif
49
50//=============================================================================
51
52 module com {  module sun {  module star {  module presentation {
53
54//=============================================================================
55
56/** This componend integrates a preview view to a slide show of a presentation
57	document into the desktop.
58
59    @since OpenOffice 1.1.2
60 */
61published service PreviewView
62{
63	//-------------------------------------------------------------------------
64
65	/** this services offers the  integration of this component into the
66		desktop.
67	*/
68	service com::sun::star::frame::Controller;
69
70	//-------------------------------------------------------------------------
71
72	/** lets you access the window for this view
73	*/
74	interface com::sun::star::awt::XWindow;
75
76	//-------------------------------------------------------------------------
77
78	/** lets you set/get the current page displayed by this
79		view.
80	 */
81	interface com::sun::star::drawing::XDrawView;
82
83	//-------------------------------------------------------------------------
84
85
86	/** lets you access the properties of this service.
87	 */
88	interface com::sun::star::beans::XPropertySet;
89
90	//-------------------------------------------------------------------------
91
92	/** provides the names of the services implemented by
93				this instance.
94	 */
95	interface com::sun::star::lang::XServiceInfo;
96
97	//-------------------------------------------------------------------------
98
99	/** This is the drawing page that is currently visible.
100	 */
101	[property] com::sun::star::drawing::XDrawPage CurrentPage;
102
103	//-------------------------------------------------------------------------
104
105	/** This is the area that is currently visible.
106	 */
107	[readonly, property] com::sun::star::awt::Rectangle VisibleArea;
108
109};
110
111//=============================================================================
112
113}; }; }; };
114
115#endif
116