36 OUString
const attrName( xAnimateNode->getAttributeName() );
53 std::shared_ptr<AnimationSetNode>
const pSelf(
54 std::dynamic_pointer_cast<AnimationSetNode>(
getSelf()) );
56 pSelf,
"cannot cast getSelf() to my type!" );
58 [pSelf] () { pSelf->scheduleDeactivationEvent(); },
59 "AnimationSetNode::scheduleDeactivationEvent");
66 false,
"AnimationSetNode::createSetActivity(): "
67 "Unexpected attribute class" );
76 xAnimateNode->getTo(),
79 "AnimationSetNode::createSetActivity(): "
80 "Could not import numeric to value" );
100 xAnimateNode->getTo(),
103 "AnimationSetNode::createSetActivity(): "
104 "Could not import enum to value" );
124 xAnimateNode->getTo(),
127 "AnimationSetNode::createSetActivity(): "
128 "Could not import color to value" );
148 xAnimateNode->getTo(),
151 "AnimationSetNode::createSetActivity(): "
152 "Could not import string to value" );
172 xAnimateNode->getTo(),
175 "AnimationSetNode::createSetActivity(): "
176 "Could not import bool to value" );
box2d::utils::Box2DWorldSharedPtr mpBox2DWorld
AttributableShapeSharedPtr const & getShape() const
::basegfx::B2DVector const & getSlideSize() const
css::uno::Reference< css::animations::XAnimate > const & getXAnimateNode() const
ActivitiesFactory::CommonParameters fillCommonParameters() const
Create parameter struct for ActivitiesFactory.
virtual AnimationActivitySharedPtr createActivity() const override
SlideShowContext const & getContext() const
::std::shared_ptr< BaseNode > const & getSelf() const
#define ENSURE_OR_THROW(c, m)
@ FLAG_NO_SPRITE
Don't call enter/leaveAnimation for the Shape.
NumberAnimationSharedPtr createNumberPropertyAnimation(const OUString &rAttrName, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, const box2d::utils::Box2DWorldSharedPtr &pBox2DWorld, int nFlags=0)
AttributeClass classifyAttributeName(const OUString &rAttrName)
ColorAnimationSharedPtr createColorPropertyAnimation(const OUString &rAttrName, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, const box2d::utils::Box2DWorldSharedPtr &pBox2DWorld, int nFlags=0)
@ CLASS_STRING_PROPERTY
Use createStringPropertyAnimation.
@ CLASS_UNKNOWN_PROPERTY
Unknown, prolly invalid name.
@ CLASS_COLOR_PROPERTY
Use createColorPropertyAnimation.
@ CLASS_BOOL_PROPERTY
Use createBoolPropertyAnimation.
@ CLASS_NUMBER_PROPERTY
Use createNumberPropertyAnimation.
@ CLASS_ENUM_PROPERTY
Use createEnumPropertyAnimation.
BoolAnimationSharedPtr createBoolPropertyAnimation(const OUString &rAttrName, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, const box2d::utils::Box2DWorldSharedPtr &pBox2DWorld, int nFlags)
EnumAnimationSharedPtr createEnumPropertyAnimation(const OUString &rAttrName, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, const box2d::utils::Box2DWorldSharedPtr &pBox2DWorld, int nFlags)
StringAnimationSharedPtr createStringPropertyAnimation(const OUString &rAttrName, const AnimatableShapeSharedPtr &rShape, const ShapeManagerSharedPtr &rShapeManager, const ::basegfx::B2DVector &rSlideSize, const box2d::utils::Box2DWorldSharedPtr &pBox2DWorld, int nFlags)
bool isIndefiniteTiming(const uno::Any &rAny)
::std::shared_ptr< AnimationActivity > AnimationActivitySharedPtr
AnimationActivitySharedPtr makeSetActivity(const ActivitiesFactory::CommonParameters &rParms, const ::std::shared_ptr< AnimationT > &rAnimation, const typename AnimationT::ValueType &rToValue)
::std::shared_ptr< AttributableShape > AttributableShapeSharedPtr
bool extractValue(double &o_rValue, const uno::Any &rSourceAny, const ShapeSharedPtr &rShape, const ::basegfx::B2DVector &rSlideBounds)
extract unary double value from Any
std::shared_ptr< SubsettableShapeManager > mpSubsettableShapeManager
Collection of common factory parameters.
EventSharedPtr mpEndEvent
End event to fire when animation is over.