xref: /AOO41X/main/offapi/com/sun/star/presentation/PresentationView.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
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_PresentationView_idl__
24#define __com_sun_star_presentation_PresentationView_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
53 module com {  module sun {  module star {  module presentation {
54
55//=============================================================================
56
57/** This component integrates a view to a slide show of a presentation
58    document into the desktop.
59 */
60published service PresentationView
61{
62    //-------------------------------------------------------------------------
63
64    /** this services offers the  integration of this component into the
65        desktop.
66    */
67    service com::sun::star::frame::Controller;
68
69    //-------------------------------------------------------------------------
70
71    /** lets you access the window for this view
72    */
73    interface com::sun::star::awt::XWindow;
74
75    //-------------------------------------------------------------------------
76
77    /** lets you set/get the current page displayed by this
78        view.
79     */
80    interface com::sun::star::drawing::XDrawView;
81
82    //-------------------------------------------------------------------------
83
84    /** lets you access the properties of this service.
85     */
86    interface com::sun::star::beans::XPropertySet;
87
88    //-------------------------------------------------------------------------
89
90    /** provides the names of the services implemented by
91                this instance.
92     */
93    interface com::sun::star::lang::XServiceInfo;
94
95    //-------------------------------------------------------------------------
96
97    /** This is the drawing page that is currently visible.
98     */
99    [property] com::sun::star::drawing::XDrawPage CurrentPage;
100
101    //-------------------------------------------------------------------------
102
103    /** This is the area that is currently visible.
104     */
105    [readonly, property] com::sun::star::awt::Rectangle VisibleArea;
106
107};
108
109//=============================================================================
110
111}; }; }; };
112
113#endif
114