diff options
Diffstat (limited to 'slideshow/source/engine/animationnodes/animationbasenode.hxx')
-rw-r--r-- | slideshow/source/engine/animationnodes/animationbasenode.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/slideshow/source/engine/animationnodes/animationbasenode.hxx b/slideshow/source/engine/animationnodes/animationbasenode.hxx index b15047d78c4f..aac9f3a0c3fe 100644 --- a/slideshow/source/engine/animationnodes/animationbasenode.hxx +++ b/slideshow/source/engine/animationnodes/animationbasenode.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,7 +41,7 @@ namespace slideshow { namespace internal { /** Common base class for all leaf animation nodes. - + This class basically holds the target shape */ class AnimationBaseNode : public BaseNode @@ -49,36 +49,36 @@ class AnimationBaseNode : public BaseNode public: AnimationBaseNode( ::com::sun::star::uno::Reference< - ::com::sun::star::animations::XAnimationNode> const& xNode, + ::com::sun::star::animations::XAnimationNode> const& xNode, ::boost::shared_ptr<BaseContainerNode> const& pParent, NodeContext const& rContext ); - + #if defined(VERBOSE) && defined(DBG_UTIL) virtual void showState() const; #endif - + protected: virtual void dispose(); - + ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimate> const& getXAnimateNode() const { return mxAnimateNode; } - + /// Create parameter struct for ActivitiesFactory ActivitiesFactory::CommonParameters fillCommonParameters() const; ::basegfx::B2DVector const& getSlideSize() const { return maSlideSize; } AttributableShapeSharedPtr getShape() const; - + private: virtual bool hasPendingAnimation() const; - + private: // state transition callbacks virtual bool init_st(); virtual bool resolve_st(); virtual void activate_st(); virtual void deactivate_st( NodeState eDestState ); virtual AnimationActivitySharedPtr createActivity() const = 0; - + private: /** Returns true, if this is a subset animation, and the subset is autogenerated (e.g. from an @@ -86,20 +86,20 @@ private: */ bool isDependentSubsettedShape() const { return mpShapeSubset && !mbIsIndependentSubset; } - + ShapeAttributeLayerHolder const & getAttributeLayerHolder() const { return maAttributeLayerHolder; } - + private: ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimate> mxAnimateNode; ShapeAttributeLayerHolder maAttributeLayerHolder; ::basegfx::B2DVector maSlideSize; AnimationActivitySharedPtr mpActivity; - + /// When valid, this node has a plain target shape AttributableShapeSharedPtr mpShape; - /// When valid, this is a subsetted target shape + /// When valid, this is a subsetted target shape ShapeSubsetSharedPtr mpShapeSubset; SubsettableShapeManagerSharedPtr mpSubsetManager; bool mbIsIndependentSubset; |