merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / presentation / Presentation.idl
blobf032e3f3a52728fdf9ff0c910fa4a4aab7a4003f
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Presentation.idl,v $
10 * $Revision: 1.13 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_presentation_Presentation_idl__
31 #define __com_sun_star_presentation_Presentation_idl__
33 #ifndef __com_sun_star_presentation_XPresentation_idl__
34 #include <com/sun/star/presentation/XPresentation.idl>
35 #endif
37 #ifndef __com_sun_star_beans_XPropertySet_idl__
38 #include <com/sun/star/beans/XPropertySet.idl>
39 #endif
42 //=============================================================================
44 module com { module sun { module star { module presentation {
46 //=============================================================================
48 /** This service is a presentation that is available from a
49 <type>PresentationDocument</type> via the
50 <type>XPresentationSupplier</type> interface.
52 published service Presentation
54 /** lets you start and stop a presentation.
56 <p>It also gives you access to the more advanced features, like
57 rehearse timing and the live modes.
59 interface com::sun::star::presentation::XPresentation;
61 //-------------------------------------------------------------------------
63 /** This is the standard interface for access to the properties from this
64 service.
66 interface com::sun::star::beans::XPropertySet;
68 //-------------------------------------------------------------------------
70 /** enables/disables the shape animations.
72 [property] boolean AllowAnimations;
74 //-------------------------------------------------------------------------
76 /** If this string is not empty, it contains the name of a customized
77 show that is used for the presentation.
79 [property] string CustomShow;
81 //-------------------------------------------------------------------------
83 /** If this string is not empty, it contains the name of the page where
84 the presentation is started.
86 [property] string FirstPage;
88 //-------------------------------------------------------------------------
90 /** If this property is set to <TRUE/>, the window of the presentation is
91 always on top of all other windows.
93 [property] boolean IsAlwaysOnTop;
95 //-------------------------------------------------------------------------
97 /** If this property is <TRUE/>, all pages are changed automatically.
99 <p>This overrides the properties of the pages.</p>
101 [property] boolean IsAutomatic;
103 //-------------------------------------------------------------------------
105 /** If this property is set to <TRUE/>, the presentation is repeated
106 endlessly.
108 [property] boolean IsEndless;
110 //-------------------------------------------------------------------------
112 /** If this property is set to <TRUE/>, the presentation runs in
113 full-screen mode.
115 [property] boolean IsFullScreen;
117 //-------------------------------------------------------------------------
119 /** With this property, you can set the presentation to live mode.
120 <p>Implementations that have no live mode capability may ignore this
121 property and always return false.
123 [property] boolean IsLivePresentation;
125 //-------------------------------------------------------------------------
127 /** If this property is <TRUE/>, the mouse is visible during the
128 presentation.
130 [property] boolean IsMouseVisible;
132 //-------------------------------------------------------------------------
134 /** is the duration of the black screen after the
135 presentation has finished.
137 <p>If this is set to <literal>0</literal>, no black screen is shown.</p>
139 [property] long Pause;
141 //-------------------------------------------------------------------------
143 /** If this is set to <TRUE/>, the Navigator is opened at the start of the
144 presentation.
146 [property] boolean StartWithNavigator;
148 //-------------------------------------------------------------------------
150 /** If this is <TRUE/>, a pen is shown during presentation.
152 <p>You can draw on the presentation with this pen.</p>
154 [property] boolean UsePen;
158 //=============================================================================
160 }; }; }; };
162 #endif