LibreOffice Module slideshow (master) 1
Functions
slideshow::internal::TransitionFactory Namespace Reference

Functions

AnimationActivitySharedPtr createShapeTransition (const ActivitiesFactory::CommonParameters &rParms, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, css::uno::Reference< css::animations::XTransitionFilter > const &xTransition)
 Create a transition effect for shapes. More...
 
NumberAnimationSharedPtr createSlideTransition (const SlideSharedPtr &rLeavingSlide, const SlideSharedPtr &rEnteringSlide, const UnoViewContainer &rViewContainer, ScreenUpdater &rScreenUpdater, EventMultiplexer &rEventMultiplexer, const css::uno::Reference< css::presentation::XTransitionFactory > &xOptionalFactory, sal_Int16 nTransitionType, sal_Int16 nTransitionSubType, bool bTransitionDirection, const RGBColor &rTransitionFadeColor, const SoundPlayerSharedPtr &rSoundPlayer)
 Create a transition effect for slides. More...
 

Function Documentation

◆ createShapeTransition()

AnimationActivitySharedPtr slideshow::internal::TransitionFactory::createShapeTransition ( const ActivitiesFactory::CommonParameters rParms,
const AnimatableShapeSharedPtr rShape,
const ShapeManagerSharedPtr rShapeManager,
const ::basegfx::B2DVector rSlideSize,
css::uno::Reference< css::animations::XTransitionFilter > const &  xTransition 
)

Create a transition effect for shapes.

This method creates an AnimationActivity, which, when run, performs the requested transition effect on the given shape.

Parameters
rParmsCollection of activity parameters, see ActivitiesFactory
rShapeShape to animate
rShapeManagerShapeManager, to manage shape animation
xTransitionThe transition effect
Returns
the created activity, or NULL for no transition effect

Referenced by slideshow::internal::AnimationTransitionFilterNode::createActivity().

◆ createSlideTransition()

NumberAnimationSharedPtr slideshow::internal::TransitionFactory::createSlideTransition ( const SlideSharedPtr rLeavingSlide,
const SlideSharedPtr rEnteringSlide,
const UnoViewContainer rViewContainer,
ScreenUpdater rScreenUpdater,
EventMultiplexer rEventMultiplexer,
const css::uno::Reference< css::presentation::XTransitionFactory > &  xOptionalFactory,
sal_Int16  nTransitionType,
sal_Int16  nTransitionSubType,
bool  bTransitionDirection,
const RGBColor rTransitionFadeColor,
const SoundPlayerSharedPtr rSoundPlayer 
)

Create a transition effect for slides.

This method creates a NumberAnimation, which, when run, performs the requested transition effect with the slide bitmaps.

Parameters
rEnteringBitmapBitmap of the slide which 'enters' the screen.
rLeavingBitmapBitmap of the slide which 'leaves' the screen.
nTransitionTypeType of the transition (see XTransitionFilter)
nTransitionSubTypeSubtype of the transition (see XTransitionFilter)
bTransitionDirectionDirection of the transition (see XTransitionFilter)
rTransitionFadeColorOptional fade color for the transition
Returns
the created animation, or NULL for no transition effect