From 9413ca5e12e42192d0d590d15025dda001844918 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 26 Nov 2004 18:37:43 +0000 Subject: INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED 2004/07/28 11:10:35 cl 1.1.2.2: #i31376# added strings for translation 2004/06/18 14:37:44 cl 1.1.2.1: common helper for animations in sd --- sd/inc/animations.hxx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sd/inc/animations.hxx (limited to 'sd/inc/animations.hxx') diff --git a/sd/inc/animations.hxx b/sd/inc/animations.hxx new file mode 100644 index 000000000000..58025a905f3e --- /dev/null +++ b/sd/inc/animations.hxx @@ -0,0 +1,28 @@ +#ifndef _SD_ANIMATIONS_HXX_ +#define _SD_ANIMATIONS_HXX_ + +namespace sd +{ + +/** stores the link between an after effect node and its master for later insertion + into the timing hierarchie +*/ +struct AfterEffectNode +{ + ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxNode; + ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxMaster; + sal_Int32 mnMasterRel; + + AfterEffectNode( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode, const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xMaster, sal_Int32 nMasterRel ) + : mxNode( xNode ), mxMaster( xMaster ), mnMasterRel( nMasterRel ) {} +}; + +typedef std::list< AfterEffectNode > AfterEffectNodeList; + +/** inserts the animation node in the given AfterEffectNode at the correct position + in the timing hierarchie of its master */ +void stl_process_after_effect_node_func(AfterEffectNode& rNode); + +}; // namespace sd; + +#endif -- cgit v1.2.3