Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / presentation / XPresentation2.idl
blob4f57903be114da0a05f37b7a212fa45b6cdf46fa
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: XPresentation2.idl,v $
11 * $Revision: 1.4 $
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************/
31 #ifndef __com_sun_star_presentation_XPresentation2_idl__
32 #define __com_sun_star_presentation_XPresentation2_idl__
34 #ifndef __com_sun_star_presentation_XPresentation_idl__
35 #include <com/sun/star/presentation/XPresentation.idl>
36 #endif
38 #ifndef __com_sun_star_beans_XPropertySet_idl__
39 #include <com/sun/star/beans/XPropertySet.idl>
40 #endif
42 #ifndef __com_sun_star_beans_PropertyValue_idl__
43 #include <com/sun/star/beans/PropertyValue.idl>
44 #endif
46 #ifndef __com_sun_star_presentation_XSlideShowListener_idl__
47 #include <com/sun/star/presentation/XSlideShowListener.idl>
48 #endif
50 #ifndef __com_sun_star_presentation_XSlideShowController_idl__
51 #include <com/sun/star/presentation/XSlideShowController.idl>
52 #endif
54 //=============================================================================
56 module com { module sun { module star { module presentation {
58 //=============================================================================
60 /** enhances the XPresentation interface to give access to
61 a <type>XSlideShowController</type> and
62 to start a presentation with arguments.
64 @since OOo 3.0
66 interface XPresentation2
68 //-------------------------------------------------------------------------
70 /** allows to start and stop the presentation.
72 interface XPresentation;
74 //-------------------------------------------------------------------------
76 /** gives access to the properties of the slideshow.
78 interface com::sun::star::beans::XPropertySet;
80 //-------------------------------------------------------------------------
82 /** start the slideshow with the given arguments.
83 All arguments overide the values from <service>Presentation</service>
85 void startWithArguments( [in] sequence< ::com::sun::star::beans::PropertyValue > Arguments );
87 //-------------------------------------------------------------------------
89 /** returns true if the slideshow is currently running */
90 boolean isRunning();
92 //-------------------------------------------------------------------------
94 /** if the slideshow is running, this returns a controler object to
95 control the running slideshow. */
96 XSlideShowController getController();
97 };
99 //=============================================================================
101 }; }; }; };
103 #endif