Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / presentation / XTransitionFactory.idl
blob008fdfd7b5538d74e946a285a9e97c9d689713ee
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_presentation_XTransitionFactory_idl__
20 #define __com_sun_star_presentation_XTransitionFactory_idl__
22 #include <com/sun/star/presentation/XTransition.idl>
23 #include <com/sun/star/geometry/RealPoint2D.idl>
26 module com { module sun { module star {
28 module rendering { interface XBitmap; };
30 module presentation {
32 interface XTransition;
33 interface XSlideShowView;
35 /** TransitionFactory interface to request optional custom Transition instances for slide show transitions.<p>
37 This interface provides the necessary methods to query and create optional transition effects for a SlideShow<p>
39 @since OOo 2.4
41 interface XTransitionFactory : ::com::sun::star::uno::XInterface
43 /** Checks whether this instance provides an implementation for given transition id.<p>
45 boolean hasTransition( [in] short transitionType, [in] short transitionSubType );
47 /** Actually create a transition for the given transition id
49 @param transitionType
50 Main type of transition (@see ::com::sun::star::animations::TransitionType)
52 @param transitionSubType
53 Subtype for the transition (@see ::com::sun::star::animations::TransitionSubType)
55 @param view
56 Slide show view to display on
58 @param leavingBitmap
59 Bitmap of the slide that's going to leave the screen
61 @param enteringBitmap
62 Bitmap of the slide that's going to enter the screen
64 XTransition createTransition( [in] short transitionType,
65 [in] short transitionSubType,
66 [in] XSlideShowView view,
67 [in] com::sun::star::rendering::XBitmap leavingBitmap,
68 [in] com::sun::star::rendering::XBitmap enteringBitmap );
71 }; }; }; };
73 #endif
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */