2010-10-27 12:53:26 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 00:34:11 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
*
|
2008-04-11 00:34:11 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
*
|
2008-04-11 00:34:11 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
*
|
2008-04-11 00:34:11 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
*
|
2008-04-11 00:34:11 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
*
|
2008-04-11 00:34:11 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2007-07-17 14:17:38 +00:00
|
|
|
#ifndef INCLUDED_SLIDESHOW_TRANSITIONFACTORY_HXX
|
|
|
|
#define INCLUDED_SLIDESHOW_TRANSITIONFACTORY_HXX
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
|
|
|
|
#include <com/sun/star/animations/XTransitionFilter.hpp>
|
2007-11-09 09:19:33 +00:00
|
|
|
#include <com/sun/star/presentation/XTransitionFactory.hpp>
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
|
2006-12-13 15:05:20 +00:00
|
|
|
#include "animatableshape.hxx"
|
|
|
|
#include "rgbcolor.hxx"
|
|
|
|
#include "slide.hxx"
|
2007-07-17 14:17:38 +00:00
|
|
|
#include "screenupdater.hxx"
|
2006-12-13 15:05:20 +00:00
|
|
|
#include "animationactivity.hxx"
|
|
|
|
#include "activitiesfactory.hxx"
|
|
|
|
#include "numberanimation.hxx"
|
|
|
|
#include "transitioninfo.hxx"
|
|
|
|
#include "soundplayer.hxx"
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
|
2006-12-13 15:05:20 +00:00
|
|
|
#include <boost/utility.hpp>
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
|
2006-12-13 15:05:20 +00:00
|
|
|
namespace slideshow
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
{
|
|
|
|
namespace internal
|
|
|
|
{
|
|
|
|
/* Definition of Transitionfactory class */
|
2006-12-13 15:05:20 +00:00
|
|
|
class TransitionFactory : private boost::noncopyable
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/** Create a transition effect for shapes.
|
|
|
|
|
|
|
|
This method creates an AnimationActivity, which, when
|
|
|
|
run, performs the requested transition effect on the
|
|
|
|
given shape.
|
|
|
|
|
|
|
|
@param rParms
|
|
|
|
Collection of activity parameters, see ActivitiesFactory
|
|
|
|
|
|
|
|
@param rShape
|
|
|
|
Shape to animate
|
|
|
|
|
2007-07-17 14:17:38 +00:00
|
|
|
@param rShapeManager
|
|
|
|
ShapeManager, to manage shape animation
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
|
|
|
|
@param xTransition
|
|
|
|
The transition effect
|
|
|
|
|
|
|
|
@return the created activity, or NULL for no
|
|
|
|
transition effect
|
|
|
|
*/
|
|
|
|
static AnimationActivitySharedPtr createShapeTransition(
|
|
|
|
const ActivitiesFactory::CommonParameters& rParms,
|
|
|
|
const AnimatableShapeSharedPtr& rShape,
|
2007-07-17 14:17:38 +00:00
|
|
|
const ShapeManagerSharedPtr& rShapeManager,
|
|
|
|
const ::basegfx::B2DVector& rSlideSize,
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
::com::sun::star::uno::Reference<
|
2005-10-11 07:55:08 +00:00
|
|
|
::com::sun::star::animations::XTransitionFilter > const& xTransition );
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
/** Create a transition effect for slides.
|
|
|
|
|
2006-12-13 15:05:20 +00:00
|
|
|
This method creates a NumberAnimation, which,
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
when run, performs the requested transition effect
|
|
|
|
with the slide bitmaps.
|
|
|
|
|
|
|
|
@param rEnteringBitmap
|
|
|
|
Bitmap of the slide which 'enters' the screen.
|
|
|
|
|
|
|
|
@param rLeavingBitmap
|
|
|
|
Bitmap of the slide which 'leaves' the screen.
|
|
|
|
|
|
|
|
@param nTransitionType
|
|
|
|
Type of the transition (see XTransitionFilter)
|
|
|
|
|
|
|
|
@param nTransitionSubType
|
|
|
|
Subtype of the transition (see XTransitionFilter)
|
|
|
|
|
|
|
|
@param bTransitionDirection
|
|
|
|
Direction of the transition (see XTransitionFilter)
|
|
|
|
|
|
|
|
@param rTransitionFadeColor
|
|
|
|
Optional fade color for the transition
|
|
|
|
|
|
|
|
@return the created animation, or NULL for no
|
|
|
|
transition effect
|
|
|
|
*/
|
2006-12-13 15:05:20 +00:00
|
|
|
static NumberAnimationSharedPtr createSlideTransition(
|
2007-11-09 09:19:33 +00:00
|
|
|
const SlideSharedPtr& rLeavingSlide,
|
|
|
|
const SlideSharedPtr& rEnteringSlide,
|
|
|
|
const UnoViewContainer& rViewContainer,
|
|
|
|
ScreenUpdater& rScreenUpdater,
|
|
|
|
EventMultiplexer& rEventMultiplexer,
|
|
|
|
const com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::presentation::XTransitionFactory>&
|
|
|
|
xOptionalFactory,
|
|
|
|
sal_Int16 nTransitionType,
|
|
|
|
sal_Int16 nTransitionSubType,
|
|
|
|
bool bTransitionDirection,
|
|
|
|
const RGBColor& rTransitionFadeColor,
|
|
|
|
const SoundPlayerSharedPtr& rSoundPlayer );
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
static const TransitionInfo* getTransitionInfo(
|
|
|
|
sal_Int16 nTransitionType, sal_Int16 nTransitionSubType );
|
|
|
|
static const TransitionInfo* getRandomTransitionInfo();
|
|
|
|
|
|
|
|
static AnimationActivitySharedPtr createShapeTransition(
|
|
|
|
const ActivitiesFactory::CommonParameters& rParms,
|
|
|
|
const AnimatableShapeSharedPtr& rShape,
|
2007-07-17 14:17:38 +00:00
|
|
|
const ShapeManagerSharedPtr& rShapeManager,
|
|
|
|
const ::basegfx::B2DVector& rSlideSize,
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
::com::sun::star::uno::Reference<
|
2005-10-11 07:55:08 +00:00
|
|
|
::com::sun::star::animations::XTransitionFilter > const& xTransition,
|
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/10/19 22:12:04 thb 1.1.2.8: #110496#, #i35043#, #i35133#: Chose some more speaking names for some Shape methods; added GIF animation support; corrected a few slide transitions
2004/09/12 21:03:40 thb 1.1.2.7: #110496# Now painting views black, intially. The slide now has an explicit shape, which, if necessary, paints the page background in white. Furthermore, slide transitions now handle the case correctly, when the leaving slide is invalid
2004/09/03 17:56:21 thb 1.1.2.6: #110496# Added support for TransitionType::RANDOM
2004/09/01 20:26:46 thb 1.1.2.5: #110496# Implemented fade, slide and push special transition effects (had to pass Slide ptrs to transitionfactory again)
2004/08/27 18:54:36 thb 1.1.2.4: #110496# Implemented slide transitions, fixed some minor sd integration probs (repaints, updateScreen
2004/08/19 17:31:25 thb 1.1.2.3: #110496# Converted concrete shape class to interface, to support different shape flavours (actual trigger was the need to have video/sound objects). Fixed a problem for shape repaint, where instead of the correctly transformed bound rect the original shape bounds where taken
2004/08/11 16:54:38 dbo 1.1.2.2: #110496# transition info
Issue number:
Submitted by:
Reviewed by:
2004/08/05 20:00:02 thb 1.1.2.1: #110496# Moved from source/engine
2004-11-26 18:22:33 +00:00
|
|
|
sal_Int16 nTransitionType,
|
|
|
|
sal_Int16 nTransitionSubType );
|
|
|
|
|
|
|
|
// static factory
|
|
|
|
TransitionFactory();
|
|
|
|
~TransitionFactory();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-07-17 14:17:38 +00:00
|
|
|
#endif /* INCLUDED_SLIDESHOW_TRANSITIONFACTORY_HXX */
|
2010-10-27 12:53:26 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|