21#include <com/sun/star/animations/AnimationTransformType.hpp>
45 switch( nTransformType )
48 throw css::uno::RuntimeException(
49 "AnimationTransformNode::createTransformActivity(): "
50 "Unknown transform type" );
52 case animations::AnimationTransformType::TRANSLATE:
53 case animations::AnimationTransformType::SCALE:
63 case animations::AnimationTransformType::ROTATE:
74 case animations::AnimationTransformType::SKEWX:
85 case animations::AnimationTransformType::SKEWY:
box2d::utils::Box2DWorldSharedPtr mpBox2DWorld
AttributableShapeSharedPtr const & getShape() const
::basegfx::B2DVector const & getSlideSize() const
virtual void dispose() override
Dispose all object references.
css::uno::Reference< css::animations::XAnimate > const & getXAnimateNode() const
ActivitiesFactory::CommonParameters fillCommonParameters() const
Create parameter struct for ActivitiesFactory.
SlideShowContext const & getContext() const
AnimationActivitySharedPtr createAnimateActivity(const CommonParameters &rParms, const NumberAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode)
Create an activity from an XAnimate node.
NumberAnimationSharedPtr createNumberPropertyAnimation(const OUString &rAttrName, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, const box2d::utils::Box2DWorldSharedPtr &pBox2DWorld, int nFlags=0)
PairAnimationSharedPtr createPairPropertyAnimation(const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, sal_Int16 nTransformType, int nFlags)
Create scale or move animation.
::std::shared_ptr< AnimationActivity > AnimationActivitySharedPtr
::std::shared_ptr< AttributableShape > AttributableShapeSharedPtr
std::shared_ptr< SubsettableShapeManager > mpSubsettableShapeManager
Collection of common factory parameters.