summaryrefslogtreecommitdiff
path: root/sd/inc/animations.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-11-26 18:37:43 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-11-26 18:37:43 +0000
commit9413ca5e12e42192d0d590d15025dda001844918 (patch)
tree9314a9ca6b13f2dfcc63ef57211a405dd4c9674f /sd/inc/animations.hxx
parent8d36e2b9e598ca9764fad6bf3ffc8a48bece910b (diff)
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
Diffstat (limited to 'sd/inc/animations.hxx')
-rw-r--r--sd/inc/animations.hxx28
1 files changed, 28 insertions, 0 deletions
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