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_XSlideShowListener_idl__
24#define __com_sun_star_presentation_XSlideShowListener_idl__
25
26#ifndef __com_sun_star_animations_XAnimationListener_idl__
27#include <com/sun/star/animations/XAnimationListener.idl>
28#endif
29
30module com {  module sun {  module star {  module presentation {
31
32/** Listener interface to receive global slide show events.<p>
33
34    @see XShapeEventListener
35
36    @since OpenOffice 3.0
37 */
38published interface XSlideShowListener : ::com::sun::star::animations::XAnimationListener
39{
40    /** Notify that the slide show is paused
41    */
42    void paused();
43
44    /** Notify that the slide show is resumed from a paused state */
45    void resumed();
46
47    /** Notify that a new slide starts to become visible. */
48    void slideTransitionStarted();
49
50    /** Notify that the slide transtion of the current slide ended. */
51    void slideTransitionEnded();
52
53    /** Notify that the last animation from the main sequence
54            of the current slide has ended. */
55    void slideAnimationsEnded();
56
57    /** Notify that the current slide has ended,
58        e.g. the user has clicked on the slide.
59        Calling displaySlide() twice will not issue this event.
60        @param reverse
61            For the default order (forward) this flag is <FALSE/>.
62            When the main sequence was traversed in reverse order then this
63            flag is <TRUE/>.
64    */
65    void slideEnded( [in] boolean reverse );
66
67    /** Notifies that a hyperlink has been clicked.
68        @param hyperLink hyperlink URL
69     */
70    void hyperLinkClicked( [in] string hyperLink );
71};
72
73}; }; }; };
74
75
76#endif
77