summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/animations
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/animations')
-rw-r--r--offapi/com/sun/star/animations/AnimationAdditiveMode.idl69
-rw-r--r--offapi/com/sun/star/animations/AnimationCalcMode.idl74
-rw-r--r--offapi/com/sun/star/animations/AnimationColorSpace.idl58
-rw-r--r--offapi/com/sun/star/animations/AnimationEndSync.idl81
-rw-r--r--offapi/com/sun/star/animations/AnimationFill.idl84
-rw-r--r--offapi/com/sun/star/animations/AnimationNodeType.idl87
-rw-r--r--offapi/com/sun/star/animations/AnimationRestart.idl75
-rw-r--r--offapi/com/sun/star/animations/AnimationTransformType.idl67
-rw-r--r--offapi/com/sun/star/animations/AnimationValueType.idl57
-rw-r--r--offapi/com/sun/star/animations/Event.idl69
-rw-r--r--offapi/com/sun/star/animations/EventTrigger.idl91
-rw-r--r--offapi/com/sun/star/animations/TargetProperties.idl59
-rw-r--r--offapi/com/sun/star/animations/TimeFilterPair.idl51
-rw-r--r--offapi/com/sun/star/animations/Timing.idl53
-rw-r--r--offapi/com/sun/star/animations/TransitionSubType.idl163
-rw-r--r--offapi/com/sun/star/animations/TransitionType.idl91
-rw-r--r--offapi/com/sun/star/animations/ValuePair.idl48
-rw-r--r--offapi/com/sun/star/animations/XAnimate.idl155
-rw-r--r--offapi/com/sun/star/animations/XAnimateColor.idl74
-rw-r--r--offapi/com/sun/star/animations/XAnimateMotion.idl65
-rw-r--r--offapi/com/sun/star/animations/XAnimateSet.idl66
-rw-r--r--offapi/com/sun/star/animations/XAnimateTransform.idl79
-rw-r--r--offapi/com/sun/star/animations/XAnimationListener.idl88
-rw-r--r--offapi/com/sun/star/animations/XAnimationNode.idl261
-rw-r--r--offapi/com/sun/star/animations/XAnimationNodeSupplier.idl51
-rw-r--r--offapi/com/sun/star/animations/XAudio.idl58
-rw-r--r--offapi/com/sun/star/animations/XCommand.idl66
-rw-r--r--offapi/com/sun/star/animations/XIterateContainer.idl79
-rw-r--r--offapi/com/sun/star/animations/XTargetPropertiesCreator.idl78
-rw-r--r--offapi/com/sun/star/animations/XTimeContainer.idl132
-rw-r--r--offapi/com/sun/star/animations/XTransitionFilter.idl99
-rw-r--r--offapi/com/sun/star/animations/makefile.mk76
32 files changed, 2704 insertions, 0 deletions
diff --git a/offapi/com/sun/star/animations/AnimationAdditiveMode.idl b/offapi/com/sun/star/animations/AnimationAdditiveMode.idl
new file mode 100644
index 000000000000..de84bc485d5b
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationAdditiveMode.idl
@@ -0,0 +1,69 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationAdditiveMode_idl__
+#define __com_sun_star_animations_AnimationAdditiveMode_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Specifies the additive mode for the animation.
+
+ @see <type>XAnimate</type>
+ @see http://www.w3.org/TR/smil20/animation.html#adef-calcMode
+ @see http://www.w3.org/TR/smil20/animation.html#adef-SplineAnimation-calcMode
+*/
+constants AnimationAdditiveMode
+{
+ /**
+ */
+ const short BASE = 0;
+
+ /**
+ */
+ const short SUM = 1;
+
+ /**
+ */
+ const short REPLACE = 2;
+
+ /**
+ */
+ const short MULTIPLY = 3;
+
+ /**
+ */
+ const short NONE = 4;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationCalcMode.idl b/offapi/com/sun/star/animations/AnimationCalcMode.idl
new file mode 100644
index 000000000000..cd1aaed78eef
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationCalcMode.idl
@@ -0,0 +1,74 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationCalcMode_idl__
+#define __com_sun_star_animations_AnimationCalcMode_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Specifies the interpolation mode for the animation.
+
+ @see <type>XAnimation</type>
+ @see http://www.w3.org/TR/smil20/animation.html#adef-calcMode
+ @see http://www.w3.org/TR/smil20/animation.html#adef-SplineAnimation-calcMode
+*/
+constants AnimationCalcMode
+{
+ /** This specifies that the animation function will jump from one value to the next without any interpolation.
+ */
+ const short DISCRETE = 0;
+
+ /** Simple linear interpolation between values is used to calculate the animation function.
+ <br>
+ This is the default.
+ */
+ const short LINEAR = 1;
+
+ /** Defines interpolation to produce an even pace of change across the animation.
+ <br>
+ This is only supported for values that define a linear numeric range, and
+ for which some notion of "distance" between points can be calculated
+ (e.g. position, width, height, etc.).
+ */
+ const short PACED = 2;
+
+ /** Interpolates from one value in the values list to the next according to a
+ time function defined by a cubic Bezier spline. The points of the spline are
+ defined in the <member>KeyTimes</member> attribute, and the control points
+ for each interval are defined in the <member>KeySplines</member> attribute.
+ */
+ const short SPLINE = 3;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationColorSpace.idl b/offapi/com/sun/star/animations/AnimationColorSpace.idl
new file mode 100644
index 000000000000..a29c40139f5a
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationColorSpace.idl
@@ -0,0 +1,58 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationColorSpace_idl__
+#define __com_sun_star_animations_AnimationColorSpace_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** defines the colorspace that is used for interpolation.
+ <br>
+ This does not change how colors are interpreted but how to
+ interpolate from one color to another.
+
+ @see <member>XAnimateColor::ColorSpace</member>
+*/
+constants AnimationColorSpace
+{
+ /** defines that the RGB colorspace is used for interpolation .
+ */
+ const short RGB = 0;
+
+ /** defines that the HSL colorspace is used for interpolation .
+ */
+ const short HSL = 1;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationEndSync.idl b/offapi/com/sun/star/animations/AnimationEndSync.idl
new file mode 100644
index 000000000000..e11024b9f723
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationEndSync.idl
@@ -0,0 +1,81 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationEndSync_idl__
+#define __com_sun_star_animations_AnimationEndSync_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** @see http://www.w3.org/TR/smil20/smil-timing.html#adef-endsync
+*/
+constants AnimationEndSync
+{
+ /** The par, excl, or media element's implicit duration ends with the earliest
+ active end of all the child elements. This does not refer to the lexical
+ first child, or to the first child to start, but rather refers to the first
+ child to end its (first) active duration.
+ */
+ const short FIRST = 0;
+
+ /** The par, excl, or media element's implicit duration ends with the last active
+ end of the child elements. This does not refer to the lexical last child, or
+ to the last child to start, but rather refers to the last active end of all
+ children that have a resolved, definite begin time. If the time container
+ has no children with a resolved begin time, the time container ends
+ immediately. If child elements have multiple begin times, or otherwise
+ restart, the child elements must complete all instances of active durations
+ for resolved begin times.
+ This is the default value for par and excl elements.
+ */
+ const short LAST = 1;
+
+ /** The par, excl, or media element's implicit duration ends when all of the
+ child elements have ended their respective active durations. Elements with
+ indefinite or unresolved begin times will keep the simple duration of the
+ time container from ending.
+ When all elements have completed the active duration one or more times,
+ the parent time container can end.
+ */
+ const short ALL = 2;
+
+ /** The time container element's implicit duration ends when the intrinsic
+ media duration of the element ends. This must be defined by a host language.
+ If the time container element does not define an intrinsic media duration,
+ the host language must define the simple duration for the element.
+ This is the default value for media time container elements.
+ */
+ const short MEDIA = 3;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationFill.idl b/offapi/com/sun/star/animations/AnimationFill.idl
new file mode 100644
index 000000000000..cc9796cdffe9
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationFill.idl
@@ -0,0 +1,84 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationFill_idl__
+#define __com_sun_star_animations_AnimationFill_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** This constants are used for the members <member>fill</member> and <member>fillDefault</member>
+ of the an <type>XTimeContainer</type>.
+
+ @see <type>XTimeContainer</type>
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-fill
+*/
+constants AnimationFill
+{
+ /** The fill behavior for the element is determined by the value of the <member>XTiming::FillDefault</member> attribute.
+ This is the default value for the <member>XTiming::Fill</member>..
+ If the application of fillDefault to an element would result in the element having a value
+ of fill that is not allowed on that element, the element will instead have a fill value of
+ <const>AnimationFill::AUTO</const>.
+ */
+ const short DEFAULT = 0;
+
+ /** Specifies that the value of this attribute (and of the fill behavior) are
+ inherited from the <member>XTiming::FillDefault</member> value
+ of the parent element. If there is no parent element, the value is <const>AnimationFill::AUTO</const>.
+ This is the default value for the <member>XTiming::FillDefault</member>.
+ */
+ const short INHERIT = 0;
+
+ /** Specifies that the element will not extend past the end of the last instance of the simple duration. */
+ const short REMOVE = 1;
+
+ /** Specifies that the element will extend past the end of the last instance of the simple duration by "freezing" the element state at that point. The parent time container of the element determines how long the element is frozen (as described immediately below). */
+ const short FREEZE = 2;
+
+ /** Setting this to "hold" has the same effect as setting to "freeze", except that the element is always frozen to extend to the end of the simple duration of the parent time container of theelement (independent of the type of time container). For profiles that support a layered layout model (e.g., SMIL 2.0 Language Profile), held elements (elements with fill="hold") will refresh their display area when a layer is added on top then later removed. */
+ const short HOLD = 3;
+
+ /** Setting this to "transition" has the same effect as setting to "freeze", except that the element is removed at the end of the transition. This value is only allowed on elements with media directly associated with them. If specified on any other element (e.g. a time container element in the SMIL language profile), the attribute is ignored. See the SMIL Transitions module. */
+ const short TRANSITION = 4;
+
+ /** The fill behavior for this element depends on whether the element specifies any of the attributes that define the simple or active duration:
+ <ul>
+ <li>If none of the attributes duration, end, repeatCount or repeatDuration are specified on the element, then the element will have a fill behavior identical to that if it were specified as <const>AnimationFill::FREEZE</const>.</li>
+ <li>Otherwise, the element will have a fill behavior identical to that if it were specified as <const>AnimationFill::REMOVE</const.</li>
+ </ul>
+ */
+ const short AUTO = 5;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationNodeType.idl b/offapi/com/sun/star/animations/AnimationNodeType.idl
new file mode 100644
index 000000000000..3d290520a774
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationNodeType.idl
@@ -0,0 +1,87 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationNodeType_idl__
+#define __com_sun_star_animations_AnimationNodeType_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** This constants defines a type for an animation node.
+ <br>
+ It can be used to quickly identify semantic blocks inside an animation hierachy.
+
+ @see AnimationNode
+*/
+constants AnimationNodeType
+{
+ /** Defines a custom time node. */
+ const short CUSTOM = 0;
+
+ /** Defines a parallel time container. */
+ const short PAR = 1;
+
+ /** Defines a sequence time container. */
+ const short SEQ = 2;
+
+ /** Defines an iterate time container. */
+ const short ITERATE = 3;
+
+ /** Defines a generic attribute animation. */
+ const short ANIMATE = 4;
+
+ /** Defines a simple mean of just setting the value of
+ an attribute for a specified duration. */
+ const short SET = 5;
+
+ /** Defines a move animation along a path. */
+ const short ANIMATEMOTION = 6;
+
+ /** Defines an animation of a color attribute. */
+ const short ANIMATECOLOR = 7;
+
+ /** Defines an animation of a transformation attribute. */
+ const short ANIMATETRANSFORM = 8;
+
+ /** Defines an animation of a filter behavior. */
+ const short TRANSITIONFILTER = 9;
+
+ /** Defines an audio effect. */
+ const short AUDIO = 10;
+
+ /** Defines a command effect. */
+ const short COMMAND = 11;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationRestart.idl b/offapi/com/sun/star/animations/AnimationRestart.idl
new file mode 100644
index 000000000000..4185bb594764
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationRestart.idl
@@ -0,0 +1,75 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationRestart_idl__
+#define __com_sun_star_animations_AnimationRestart_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** defines the restart behaviour
+
+ @see <member>XTiming::Restart</member>
+ @see <member>XTiming::RestartDefault</member>
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restart
+*/
+constants AnimationRestart
+{
+ /** The restart behavior for the element is determined by the value of the <member>XTiming::RestartDefault</member> attribute.
+ This is the default value for the <member>XTiming::Restart</member> attribute.
+ */
+ const short DEFAULT = 0;
+
+ /** Specifies that the value of this attribute (and of the restart behavior) are
+ inherited from the <member>XTiming::RestartDefault</member> value of the parent element.
+ If there is no parent element, the value is <const>AnimationRestart::ALWAYS</const>.
+ This is the default value for the <member>XTiming::RestartDefault</member> attribute.
+ */
+ const short INHERIT = 0;
+
+ /** The element can be restarted at any time.
+ */
+ const short ALWAYS = 1;
+
+ /** The element can only be restarted when it is not active (i.e. it can be restarted after the active end).
+ Attempts to restart the element during its active duration are ignored.
+ */
+ const short WHEN_NOT_ACTIVE = 2;
+
+ /** The element cannot be restarted for the remainder of the current simple
+ duration of the parent time container.
+ */
+ const short NEVER = 3;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationTransformType.idl b/offapi/com/sun/star/animations/AnimationTransformType.idl
new file mode 100644
index 000000000000..14b3d4b3aeaa
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationTransformType.idl
@@ -0,0 +1,67 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationTransformType_idl__
+#define __com_sun_star_animations_AnimationTransformType_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Specifies the transformation type for an <type>XAnimateTransform</type>.
+
+ @see http://www.w3.org/TR/SVG/animate.html#AnimateTransformElementTypeAttribute
+*/
+constants AnimationTransformType
+{
+ /** defines a translation
+ */
+ const short TRANSLATE = 0;
+
+ /** defines a scale
+ */
+ const short SCALE = 1;
+
+ /** defines a rotation
+ */
+ const short ROTATE = 2;
+
+ /** defines a skew transformation for x-axis
+ */
+ const short SKEWX = 3;
+
+ /** defines a skew transformation for y-axis
+ */
+ const short SKEWY = 4;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/AnimationValueType.idl b/offapi/com/sun/star/animations/AnimationValueType.idl
new file mode 100644
index 000000000000..939c32fe47ad
--- /dev/null
+++ b/offapi/com/sun/star/animations/AnimationValueType.idl
@@ -0,0 +1,57 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_AnimationValueType_idl__
+#define __com_sun_star_animations_AnimationValueType_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** @see <member>XAnimateAttribute::ValueType</member>
+*/
+constants AnimationValueType
+{
+ /** The animation value represents a string.
+ */
+ const short STRING = 0;
+
+ /** The animation value represents a number.
+ */
+ const short NUMBER = 1;
+
+ /** The animation value represents a color.
+ */
+ const short COLOR = 2;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/Event.idl b/offapi/com/sun/star/animations/Event.idl
new file mode 100644
index 000000000000..be5e2e1c9872
--- /dev/null
+++ b/offapi/com/sun/star/animations/Event.idl
@@ -0,0 +1,69 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_Event_idl__
+#define __com_sun_star_animations_Event_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** an event has a source that causes an event to be fired and a trigger
+ that defines under which condition an event should be raised and
+ an offset if the event should be raised a defined amount of time
+ after the event is triggered.
+*/
+struct Event
+{
+ /** this is the source for this event. */
+ any Source;
+
+ /** this is the trigger that fires this event. */
+ short Trigger;
+
+ /** an optional offset in seconds or <const>Timing::INDEFINITE</const>. This is the timespan
+ between the triggering of the event and actually raising the event
+ */
+ any Offset;
+
+ /** an option repeat value. If the <member>Trigger</member> is
+ <const>EventTrigger</const>, this is the number of repeats
+ after wich the event is initially raised.
+ */
+ unsigned short Repeat;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/EventTrigger.idl b/offapi/com/sun/star/animations/EventTrigger.idl
new file mode 100644
index 000000000000..e4e56f771bf1
--- /dev/null
+++ b/offapi/com/sun/star/animations/EventTrigger.idl
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_EventTrigger_idl__
+#define __com_sun_star_animations_EventTrigger_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+*/
+constants EventTrigger
+{
+ /** Nothing triggers this event.
+ */
+ const short NONE = 0;
+
+ const short ON_BEGIN = 1;
+ const short ON_END = 2;
+
+ /** This event is raised when the element local timeline begins to play.
+ It will be raised each time the element begins the active duration
+ (i.e. when it restarts, but not when it repeats).
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
+ */
+ const short BEGIN_EVENT = 3;
+
+ /** This event is raised at the active end of the element. Note that this
+ event is not raised at the simple end of each repeat.
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
+ */
+ const short END_EVENT = 4;
+
+ const short ON_CLICK = 5;
+
+ const short ON_DBL_CLICK = 6;
+ const short ON_MOUSE_ENTER = 7;
+ const short ON_MOUSE_LEAVE = 8;
+
+ /** This event is raised when the user wants the presentation to go one step foreward.
+ */
+ const short ON_NEXT = 9;
+
+ /** This event is raised when the user wants the presentation to go one step backward.
+ */
+ const short ON_PREV = 10;
+
+ const short ON_STOP_AUDIO = 11;
+
+ /** This event is raised when the element local timeline repeats.
+ It will be raised each time the element repeats, after the first iteration.
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
+ */
+ const short REPEAT = 12;
+};
+
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/TargetProperties.idl b/offapi/com/sun/star/animations/TargetProperties.idl
new file mode 100644
index 000000000000..3e2133f1c2ae
--- /dev/null
+++ b/offapi/com/sun/star/animations/TargetProperties.idl
@@ -0,0 +1,59 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_TargetProperties_idl__
+#define __com_sun_star_animations_TargetProperties_idl__
+
+#ifndef __com_sun_star_beans_NamedValue_idl__
+#include <com/sun/star/beans/NamedValue.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Properties of an animated target.<p>
+
+ This struct collects all global attributes that apply to an
+ animation target. An animation target is anything that is
+ referenced from a given XAnimationNode tree as a target object.
+ */
+struct TargetProperties
+{
+ /// Target for which this struct specifies properties
+ any Target;
+
+ /// Global target properties
+ sequence< ::com::sun::star::beans::NamedValue > Properties;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/TimeFilterPair.idl b/offapi/com/sun/star/animations/TimeFilterPair.idl
new file mode 100644
index 000000000000..45130e8941b3
--- /dev/null
+++ b/offapi/com/sun/star/animations/TimeFilterPair.idl
@@ -0,0 +1,51 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_TimeFilterPair_idl__
+#define __com_sun_star_animations_TimeFilterPair_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+*/
+struct TimeFilterPair
+{
+ /** */
+ double Time;
+
+ /** */
+ double Progress;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/Timing.idl b/offapi/com/sun/star/animations/Timing.idl
new file mode 100644
index 000000000000..01f2c1727910
--- /dev/null
+++ b/offapi/com/sun/star/animations/Timing.idl
@@ -0,0 +1,53 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_Timing_idl__
+#define __com_sun_star_animations_Timing_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+*/
+enum Timing
+{
+ /** specifies that a duration, end or start time is indefinite*/
+ INDEFINITE,
+
+ /** specifies a simple duration as the intrinsic media duration.
+ This is only valid for elements that define media.
+ */
+ MEDIA
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/TransitionSubType.idl b/offapi/com/sun/star/animations/TransitionSubType.idl
new file mode 100644
index 000000000000..54c8fdb875db
--- /dev/null
+++ b/offapi/com/sun/star/animations/TransitionSubType.idl
@@ -0,0 +1,163 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_TransitionSubType_idl__
+#define __com_sun_star_animations_TransitionSubType_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** @see http://www.w3.org/TR/smil20/smil-transitions.html#Table%201:%20Taxonomy%20Table
+*/
+constants TransitionSubType
+{
+ const short DEFAULT = 0;
+ const short LEFTTORIGHT = 1;
+ const short TOPTOBOTTOM = 2;
+ const short TOPLEFT = 3;
+ const short TOPRIGHT = 4;
+ const short BOTTOMRIGHT = 5;
+ const short BOTTOMLEFT = 6;
+ const short TOPCENTER = 7;
+ const short RIGHTCENTER = 8;
+ const short BOTTOMCENTER = 9;
+ const short LEFTCENTER = 10;
+ const short CORNERSIN = 11;
+ const short CORNERSOUT = 12;
+ const short VERTICAL = 13;
+ const short HORIZONTAL = 14;
+ const short DIAGONALBOTTOMLEFT = 15;
+ const short DIAGONALTOPLEFT = 16;
+ const short DOUBLEBARNDOOR = 17;
+ const short DOUBLEDIAMOND = 18;
+ const short DOWN = 19;
+ const short LEFT = 20;
+ const short UP = 21;
+ const short RIGHT = 22;
+ const short RECTANGLE = 25;
+ const short DIAMOND = 26;
+ const short CIRCLE = 27;
+ const short FOURPOINT = 28;
+ const short FIVEPOINT = 29;
+ const short SIXPOINT = 30;
+ const short HEART = 31;
+ const short KEYHOLE = 32;
+ const short CLOCKWISETWELVE = 33;
+ const short CLOCKWISETHREE = 34;
+ const short CLOCKWISESIX = 35;
+ const short CLOCKWISENINE = 36;
+ const short TWOBLADEVERTICAL = 37;
+ const short TWOBLADEHORIZONTAL = 38;
+ const short FOURBLADE = 39;
+ const short CLOCKWISETOP = 40;
+ const short CLOCKWISERIGHT = 41;
+ const short CLOCKWISEBOTTOM = 42;
+ const short CLOCKWISELEFT = 43;
+ const short CLOCKWISETOPLEFT = 44;
+ const short COUNTERCLOCKWISEBOTTOMLEFT = 45;
+ const short CLOCKWISEBOTTOMRIGHT = 46;
+ const short COUNTERCLOCKWISETOPRIGHT = 47;
+ const short CENTERTOP = 48;
+ const short CENTERRIGHT = 49;
+ const short TOP = 50;
+ const short BOTTOM = 52;
+ const short FANOUTVERTICAL = 54;
+ const short FANOUTHORIZONTAL = 55;
+ const short FANINVERTICAL = 56;
+ const short FANINHORIZONTAL = 57;
+ const short PARALLELVERTICAL = 58;
+ const short PARALLELDIAGONAL = 59;
+ const short OPPOSITEVERTICAL = 60;
+ const short OPPOSITEHORIZONTAL = 61;
+ const short PARALLELDIAGONALTOPLEFT = 62;
+ const short PARALLELDIAGONALBOTTOMLEFT = 63;
+ const short TOPLEFTHORIZONTAL = 64;
+ const short TOPLEFTDIAGONAL = 65;
+ const short TOPRIGHTDIAGONAL = 66;
+ const short BOTTOMRIGHTDIAGONAL = 67;
+ const short BOTTOMLEFTDIAGONAL = 68;
+ const short TOPLEFTCLOCKWISE = 69;
+ const short TOPRIGHTCLOCKWISE = 70;
+ const short BOTTOMRIGHTCLOCKWISE = 71;
+ const short BOTTOMLEFTCLOCKWISE = 72;
+ const short TOPLEFTCOUNTERCLOCKWISE = 73;
+ const short TOPRIGHTCOUNTERCLOCKWISE = 74;
+ const short BOTTOMRIGHTCOUNTERCLOCKWISE = 75;
+ const short BOTTOMLEFTCOUNTERCLOCKWISE = 76;
+ const short VERTICALTOPSAME = 77;
+ const short VERTICALBOTTOMSAME = 78;
+ const short VERTICALTOPLEFTOPPOSITE = 79;
+ const short VERTICALBOTTOMLEFTOPPOSITE = 80;
+ const short HORIZONTALLEFTSAME = 81;
+ const short HORIZONTALRIGHTSAME = 82;
+ const short HORIZONTALTOPLEFTOPPOSITE = 83;
+ const short HORIZONTALTOPRIGHTOPPOSITE = 84;
+ const short DIAGONALBOTTOMLEFTOPPOSITE = 85;
+ const short DIAGONALTOPLEFTOPPOSITE = 86;
+ const short TWOBOXTOP = 87;
+ const short TWOBOXBOTTOM = 88;
+ const short TWOBOXLEFT = 89;
+ const short TWOBOXRIGHT = 90;
+ const short FOURBOXVERTICAL = 91;
+ const short FOURBOXHORIZONTAL = 92;
+ const short VERTICALLEFT = 93;
+ const short VERTICALRIGHT = 94;
+ const short HORIZONTALLEFT = 95;
+ const short HORIZONTALRIGHT = 96;
+ const short FROMLEFT = 97;
+ const short FROMTOP = 98;
+ const short FROMRIGHT = 99;
+ const short FROMBOTTOM = 100;
+ const short CROSSFADE = 101;
+ const short FADETOCOLOR = 102;
+ const short FADEFROMCOLOR = 103;
+ const short FADEOVERCOLOR = 104;
+ // new
+ const short THREEBLADE = 105;
+ const short EIGHTBLADE = 106;
+ const short ONEBLADE = 107;
+ const short ACROSS = 108;
+ const short TOPLEFTVERTICAL = 109;
+ const short COMBHORIZONTAL = 110;
+ const short COMBVERTICAL = 111;
+ const short IN = 112;
+ const short OUT = 113;
+ const short ROTATEIN = 114;
+ const short ROTATEOUT = 115;
+ const short FROMTOPLEFT = 116;
+ const short FROMTOPRIGHT = 117;
+ const short FROMBOTTOMLEFT = 118;
+ const short FROMBOTTOMRIGHT = 119;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/TransitionType.idl b/offapi/com/sun/star/animations/TransitionType.idl
new file mode 100644
index 000000000000..cb5d01fade55
--- /dev/null
+++ b/offapi/com/sun/star/animations/TransitionType.idl
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_TransitionType_idl__
+#define __com_sun_star_animations_TransitionType_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** @see http://www.w3.org/TR/smil20/smil-transitions.html#Table%201:%20Taxonomy%20Table
+*/
+constants TransitionType
+{
+ const short BARWIPE = 1;
+ const short BOXWIPE = 2;
+ const short FOURBOXWIPE = 3;
+ const short BARNDOORWIPE = 4;
+ const short DIAGONALWIPE = 5;
+ const short BOWTIEWIPE = 6;
+ const short MISCDIAGONALWIPE = 7;
+ const short VEEWIPE = 8;
+ const short BARNVEEWIPE = 9;
+ const short ZIGZAGWIPE = 10;
+ const short BARNZIGZAGWIPE = 11;
+ const short IRISWIPE = 12;
+ const short TRIANGLEWIPE = 13;
+ const short ARROWHEADWIPE = 14;
+ const short PENTAGONWIPE = 15;
+ const short HEXAGONWIPE = 16;
+ const short ELLIPSEWIPE = 17;
+ const short EYEWIPE = 18;
+ const short ROUNDRECTWIPE = 19;
+ const short STARWIPE = 20;
+ const short MISCSHAPEWIPE = 21;
+ const short CLOCKWIPE = 22;
+ const short PINWHEELWIPE = 23;
+ const short SINGLESWEEPWIPE = 24;
+ const short FANWIPE = 25;
+ const short DOUBLEFANWIPE = 26;
+ const short DOUBLESWEEPWIPE = 27;
+ const short SALOONDOORWIPE = 28;
+ const short WINDSHIELDWIPE = 29;
+ const short SNAKEWIPE = 30;
+ const short SPIRALWIPE = 31;
+ const short PARALLELSNAKESWIPE = 32;
+ const short BOXSNAKESWIPE = 33;
+ const short WATERFALLWIPE = 34;
+ const short PUSHWIPE = 35;
+ const short SLIDEWIPE = 36;
+ const short FADE = 37;
+
+ // new
+ const short RANDOMBARWIPE = 38;
+ const short CHECKERBOARDWIPE = 39;
+ const short DISSOLVE = 40;
+ const short BLINDSWIPE = 41;
+ const short RANDOM = 42;
+ const short ZOOM = 43;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/ValuePair.idl b/offapi/com/sun/star/animations/ValuePair.idl
new file mode 100644
index 000000000000..12362e63488b
--- /dev/null
+++ b/offapi/com/sun/star/animations/ValuePair.idl
@@ -0,0 +1,48 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_ValuePair_idl__
+#define __com_sun_star_animations_ValuePair_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+*/
+struct ValuePair
+{
+ any First;
+ any Second;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XAnimate.idl b/offapi/com/sun/star/animations/XAnimate.idl
new file mode 100644
index 000000000000..1a1c02b59bcc
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimate.idl
@@ -0,0 +1,155 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimate_idl__
+#define __com_sun_star_animations_XAnimate_idl__
+
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#include <com/sun/star/animations/XAnimationNode.idl>
+#endif
+
+#ifndef __com_sun_star_animations_TimeFilterPair_idl__
+#include <com/sun/star/animations/TimeFilterPair.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Interface for generic animation.
+
+ @see http://www.w3.org/TR/smil20/animation.html#edef-animate
+*/
+interface XAnimate : XAnimationNode
+{
+ /** This attribute specifies the target element to be animated.
+ <br>
+ See documentation of used animation engine for supported targets.
+ */
+ [attribute] any Target;
+
+ /** This attribute specifies an optional subitem from the target element
+ that should be animated.
+ <br>
+ A value of zero should always be the default and animate the complete target.
+ <br>
+ See documentation of used animation engine for supported subitems.
+ */
+ [attribute] short SubItem;
+
+ /** Specifies the target attribute.
+
+ @see http://www.w3.org/TR/smil20/animation.html#adef-attributeName
+ */
+ [attribute] string AttributeName;
+
+ /** A sequence of one or more values, each of which must be a legal value for
+ the specified attribute.
+
+ @see http://www.w3.org/TR/smil20/animation.html#adef-values
+ */
+ [attribute] sequence< any > Values;
+
+ /**
+ */
+ [attribute] sequence< double > KeyTimes;
+
+ /**
+ @see AnimationValueType
+ */
+ [attribute] short ValueType;
+
+ /** Specifies the interpolation mode for the animation.
+ <br>
+ If the target attribute does not support linear interpolation (e.g. for strings),
+ or if the values attribute has only one value, the CalcMode attribute is ignored
+ and discrete interpolation is used.
+
+ @see AnimationCalcMode;
+ */
+ [attribute] short CalcMode;
+
+ /** Controls whether or not the animation is cumulative.
+
+ @see http://www.w3.org/TR/smil20/animation.html#adef-accumulate
+ */
+ [attribute] boolean Accumulate;
+
+ /** Controls whether or not the animation is additive.
+
+ @see AnimationAdditiveMode
+ @see http://www.w3.org/TR/smil20/animation.html#adef-additive
+ */
+ [attribute] short Additive;
+
+ /** Specifies the starting value of the animation.
+ <br>
+ Must be a legal value for the specified attribute.
+ Ignored if the <member>Values</member> attribute is specified.
+
+ @see http://www.w3.org/TR/smil20/animation.html#adef-from
+ */
+ [attribute] any From;
+
+ /** Specifies the ending value of the animation.
+ <br>
+ Must be a legal value for the specified attribute.
+ Ignored if the <member>Values</member> attribute is specified.
+
+ @see http://www.w3.org/TR/smil20/animation.html#adef-to
+ */
+ [attribute] any To;
+
+ /** Specifies a relative offset value for the animation.
+ <br>
+ Must be a legal value of a domain for which addition to the attributeType
+ domain is defined and which yields a value in the attributeType domain.
+ Ignored if the values attribute is specified.
+ Ignored if the <member>Values</member> attribute is specified.
+
+ @see http://www.w3.org/TR/smil20/animation.html#adef-by
+ */
+ [attribute] any By;
+
+ /** todo: timeFilter="0,0; 0.14,0.36; 0.43,0.73; 0.71,0.91; 1.0,1.0" ?
+ */
+ [attribute] sequence< TimeFilterPair > TimeFilter;
+
+ /** if this string is set, its contents will be parsed as a formula.
+ All values are used as a parameter for this formula and the computet
+ result will be used.
+ */
+ [attribute] string Formula;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/animations/XAnimateColor.idl b/offapi/com/sun/star/animations/XAnimateColor.idl
new file mode 100644
index 000000000000..fc5e37a4df49
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimateColor.idl
@@ -0,0 +1,74 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimateColor_idl__
+#define __com_sun_star_animations_XAnimateColor_idl__
+
+#ifndef __com_sun_star_animations_XAnimate_idl__
+#include <com/sun/star/animations/XAnimate.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Interface for animation by defining color changes over time.
+ <br>
+ Only color value will be legal values for the following members
+ <ul>
+ <li><member>XAnimate::Values</member></li>
+ <li><member>XAnimate::From</member></li>
+ <li><member>XAnimate::To</member></li>
+ <li><member>XAnimate::By</member></li>
+ </ul>
+ @see http://www.w3.org/TR/smil20/animation.html#edef-animateColor
+*/
+interface XAnimateColor : XAnimate
+{
+ /** defines the color space which is used to perform the interpolation.
+ <br>
+ @see <const>AnimateColorSpace</const>
+ */
+ [attribute] short ColorInterpolation;
+
+ /** defines the direction which is used to perform the interpolation
+ inside the color space defined with <member>ColorSpace</member>.
+ <br>
+ Values could be <true/> for clockwise and <false/> for counterclockwise.
+
+ This attribute will be ignored for color spaces where this does
+ not make any sense.
+ */
+ [attribute] boolean Direction;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XAnimateMotion.idl b/offapi/com/sun/star/animations/XAnimateMotion.idl
new file mode 100644
index 000000000000..ea9a71a7a469
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimateMotion.idl
@@ -0,0 +1,65 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimateMotion_idl__
+#define __com_sun_star_animations_XAnimateMotion_idl__
+
+#ifndef __com_sun_star_animations_XAnimate_idl__
+#include <com/sun/star/animations/XAnimate.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Interface for animation by defining motion on a path.
+
+ @see http://www.w3.org/TR/smil20/animation.html#edef-animateMotion
+*/
+interface XAnimateMotion : XAnimate
+{
+ /** Specifies an optional path.
+ <br>
+ If a path is used, the <member>From</member>, <member>To</member> and
+ <member>By</member> members are ignored.
+ The value type of the path depends on the used rendering system.
+ Possible types maybe a svg:d path encoded in a string.
+ */
+ [attribute] any Path;
+
+ /** Specifies the origin of motion for the animation. The values and semantics
+ of this attribute are dependent upon the used animation engine.
+ */
+ [attribute] any Origin;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XAnimateSet.idl b/offapi/com/sun/star/animations/XAnimateSet.idl
new file mode 100644
index 000000000000..54782cbf1563
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimateSet.idl
@@ -0,0 +1,66 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimateSet_idl__
+#define __com_sun_star_animations_XAnimateSet_idl__
+
+#ifndef __com_sun_star_animations_XAnimate_idl__
+#include <com/sun/star/animations/XAnimate.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Interface for animation by simply setting the value of the target attribute to a constant value.
+ This interface provides a simple means of just setting the value of an attribute for
+ a specified duration.
+
+ When using XAnimateSet, the following memebers are ignored
+ <ul>
+ <li><member>XAnimate::Values</member></li>
+ <li><member>XAnimate::KeyTimes</member></li>
+ <li><member>XAnimate::CalcMode</member></li>
+ <li><member>XAnimate::Accumulate</member></li>
+ <li><member>XAnimate::Additive</member></li>
+ <li><member>XAnimate::From</member></li>
+ <li><member>XAnimate::By</member></li>
+ <li><member>XAnimate::TimeFilter</member></li>
+ </ul>
+
+ @see http://www.w3.org/TR/smil20/animation.html#edef-set
+*/
+interface XAnimateSet : XAnimate
+{
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XAnimateTransform.idl b/offapi/com/sun/star/animations/XAnimateTransform.idl
new file mode 100644
index 000000000000..2bdd61cc8cdb
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimateTransform.idl
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimateTransform_idl__
+#define __com_sun_star_animations_XAnimateTransform_idl__
+
+#ifndef __com_sun_star_animations_XAnimate_idl__
+#include <com/sun/star/animations/XAnimate.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** animates a transformation attribute on a target element, thereby allowing
+ animations to control translation, scaling, rotation and/or skewing.
+
+ The member <member>XAnimate::Attributes</member> contains a short from
+ <const>AnimationTransformType</const>.
+
+ Depending on the value in <member>XAnimate::Attributes</member>, the
+ members <member>XAnimate::From</member>, <member>XAnimate::To</member>,
+ <member>XAnimate::By</member> or <member>XAnimate::Values</member>
+ contain the following
+
+ <ul>
+ <li><const>AnimationTransformType::TRANSLATE</const><br>
+ <type>ValuePair</type> of <i>tx</i> and <i>ty</i></li>
+ <li><const>AnimationTransformType::SCALE</const><br>
+ <type>ValuePair</type> of <i>sx</i> and <i>sy</i></li>
+ <li><const>AnimationTransformType::ROTATE</const><br>
+ Values for a rotation angle</li>
+ <li><const>AnimationTransformType::SKEWX</const><br>
+ Values for a skew-angle</li>
+ <li><const>AnimationTransformType::SKEWY</const><br>
+ Values for a skew-angle</li>
+ </ul>
+
+ @see http://www.w3.org/TR/SVG/animate.html#AnimateTransformElement
+*/
+interface XAnimateTransform : XAnimate
+{
+ /**
+ @see <const>AnimationTransformType</const>
+ */
+ [attribute] short TransformType;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/animations/XAnimationListener.idl b/offapi/com/sun/star/animations/XAnimationListener.idl
new file mode 100644
index 000000000000..1a71cae3457b
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimationListener.idl
@@ -0,0 +1,88 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimationListener_idl__
+#define __com_sun_star_animations_XAnimationListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#include <com/sun/star/animations/XAnimationNode.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** makes it possible to register listeners, which are called whenever
+ an animation event occurs.
+
+ @since #i71351#
+ */
+interface XAnimationListener : ::com::sun::star::lang::XEventListener
+{
+ /** This event is raised when the element local timeline begins to play.
+ <p>It will be raised each time the element begins the active duration (i.e. when it restarts, but not when it repeats).</p>
+ <p>It may be raised both in the course of normal (i.e. scheduled or interactive) timeline play, as well as in the
+ case that the element was begun with an interface method.</p>
+
+ @param Node
+ The node that begins to play.
+ */
+ void beginEvent( [in] XAnimationNode Node );
+
+ /** This event is raised at the active end of the element.
+ <p>Note that this event is not raised at the simple end of each repeat.</p>
+ <p>This event may be raised both in the course of normal (i.e. scheduled or interactive) timeline play, as well as in the
+ case that the element was ended with a DOM method.</p>
+
+ @param Node
+ The node that stops playing.
+ */
+ void endEvent( [in] XAnimationNode Node );
+
+ /** This event is raised when the element local timeline repeats.
+ <p>It will be raised each time the element repeats, after the first iteration.</p>
+ <p>Associated with the repeat event is an integer that indicates which repeat iteration is
+ beginning.
+
+ @param Node
+ The node that repeats.
+
+ @param Repeat
+ The value is a 0-based integer, but the repeat event is not raised for the first iteration and so the observed values will be >= 1.
+ */
+ void repeat( [in] XAnimationNode Node, [in] long Repeat );
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XAnimationNode.idl b/offapi/com/sun/star/animations/XAnimationNode.idl
new file mode 100644
index 000000000000..b1681d296e48
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimationNode.idl
@@ -0,0 +1,261 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#define __com_sun_star_animations_XAnimationNode_idl__
+
+#ifndef __com_sun_star_container_XChild_idl__
+#include <com/sun/star/container/XChild.idl>
+#endif
+
+#ifndef __com_sun_star_beans_NamedValue_idl__
+#include <com/sun/star/beans/NamedValue.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+*/
+interface XAnimationNode : ::com::sun::star::container::XChild
+{
+ /** a value from <const>AnimationNodeType</const>.
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-timeContainer
+ */
+ [readonly, attribute] short Type;
+
+ /** a sequnece of values that define the begining of this element
+ <br>
+ <member>Begin</member> is
+ <ul>
+ <li><atom>double</atom> describes the element begin as an offset in seconds from an implicit syncbase.
+ The definition of the implicit syncbase depends upon the element's parent time container.
+ The offset is measured in parent simple time.</li>
+ <li><type>Event</type> describes an event and an optional offset that determine the
+ element begin. The element begin is defined relative to the time that the event
+ is raised.</li>
+ <li><const>Timing::INDEFINITE</const> the begin of the element will be determined by an
+ external event to the element.</li>
+ <li><type>sequence&lt;any&gt;</type> a sequence of values described above if more than
+ one begin value is defined for this element.</li>
+ <li><void/> if no begin behaviour is defined for this element.</li>
+ </ul>
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-begin
+ */
+ [attribute] any Begin;
+
+ /** defines the length of the simple duration.
+ <br>
+ <member>Duration</member> is
+ <ul>
+ <li><atom>double</atom> specifies the length of the simple duration in seconds.</li>
+ <li><const>Timing::INDEFINITE</const> specifies the simple duration as indefinite.</li>
+ <li><const>Timing::MEDIA</const> specifies the simple duration as the intrinsic media duration. This is only valid for elements that define media.</li>
+ <li><void/> the simple duration for the element is defined to be the implicit duration of the element.</li>
+ </ul>
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-dur
+ */
+ [attribute] any Duration;
+
+ /** a sequnece of values that define the ending of this element
+ <br>
+ <member>End</member> is
+ <ul>
+ <li><atom>double</atom> describes the element end as an offset in seconds from an implicit syncbase.
+ The definition of the implicit syncbase depends upon the element's parent time container.
+ The offset is measured in parent simple time.</li>
+ <li><type>Event</type> describes an event and an optional offset that determine the
+ element end. The element end is defined relative to the time that the event
+ is raised.</li>
+ <li><const>Timing::INDEFINITE</const> the end of the element will be determined by an
+ external event to the element.</li>
+ <li><type>sequence&lt;any&gt;</type> a sequence of values described above if more than
+ one begin value is defined for this element.</li>
+ <li><void/> if no end behaviour is defined for this element.</li>
+ </ul>
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-end
+ */
+ [attribute] any End;
+
+ /** controls the implicit duration of time containers,
+ as a function of the children.
+ <br>
+ The endsync attribute is only valid for
+ par and excl time container elements, and media elements with timed
+ children (e.g. animate or area elements).
+
+ <member>EndSync</member> is
+ eiter a <atom>short</atom> constant from <const>EndSync</const>,
+ an interface reference to a child <type>XTimeContainer</type>
+ or <void/>.
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-endsync
+ */
+ [attribute] any EndSync;
+
+ /** the number of iterations of the simple duration.
+ <br>
+ <member>RepeatCount</member> is
+ <ul>
+ <li><atom>double</atom>
+ this is a numeric value that specifies the number of iterations.
+ It can include partial iterations expressed as fraction values.
+ A fractional value describes a portion of the simple duration.
+ Values must be greater than 0.</li>
+ <li><const>Timing::INDEFINITE</const> the element is defined to repeat indefinitely
+ (subject to the constraints of the parent time container).</li>
+ <li><void/>
+ no repeat count is defined for this element.</li>
+ </ul>
+
+ @see <const>EndSync</const>
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-repeatCount
+ */
+ [attribute] any RepeatCount;
+
+ /** the total duration for repeat.
+ <br>
+ <member>RepeatDuration</member> is
+ <ul>
+ <li><atom>double</atom>
+ specifies the duration in element active time
+ to repeat the simple duration in seconds.</li>
+ <li><const>Timing::INDEFINITE</const> the element is defined to repeat indefinitely
+ (subject to the constraints of the parent time container).</li>
+ <li><void/>
+ No repeat duration is defined for this element. </li>
+ </ul>
+
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-repeatDur
+ */
+ [attribute] any RepeatDuration;
+
+ /** the attribute that specify the behaviour how an element
+ should be extended beyond the active duration by freezing the final
+ state of the element.
+ <br>
+ <member>Fill</member> is
+ a value from <const>AnimationFill</const>.
+
+ @see <const>Fill</const>
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-fill
+ */
+ [attribute] short Fill;
+
+ /** the default value for the fill behavior for this element and all
+ descendents.
+ <br>
+ <member>FillDefault</member> is
+ <ul>
+ <li>The values <const>AnimationFill::REMOVE</const>, <const>AnimationFill::FREEZE</const>,
+ <const>AnimationFill::HOLD</const>, <const>AnimationFill::TRANSITION</const> and <const>AnimationFill::AUTO</const>
+ specify that the element fill behavior is the respective value.</li>
+ <li>The value <const>AnimationFill::INHERIT</const> specifies that the value of this attribute
+ (and of the fill behavior) are inherited from the <member>FillDefault</member> value of the parent
+ element. If there is no parent element, the value is <const>AnimationFill::AUTO</const>.</li>
+ </ul>
+
+ @see <const>Fill</const>
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-fillDefault
+ */
+ [attribute] short FillDefault;
+
+ /** defines the restart behaviour of this element.
+ <br>
+ <member>Restart</member> is
+ a <atom>short</atom> value from <const>AnimationRestart</const>.
+
+ @see <const>AnimationRestart</const>
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restart
+ */
+ [attribute] short Restart;
+
+ /** defines the default restart behaviour for this element and all descendents.
+
+ @returns
+ a value from <const>Restart</const>.
+
+ @see <const>AnimationRestart</const>
+ @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restartDefault
+ */
+ [attribute] short RestartDefault;
+
+ /** defines the acceleration for this element.
+ <br>
+ Element time will accelerate from a rate of 0 at the beginning up
+ to a run rate, over the course of the specified proportion of the
+ simple duration.
+
+ <member>Acceleration</member> is
+ a value between 0 (no acceleration) and 1 (acceleration until end
+ of the elements duration).
+
+ @see http://www.w3.org/TR/smil20/smil-timemanip.html#adef-accelerate
+ */
+ [attribute] double Acceleration;
+
+ /** defines the deceleration for this element.
+ Element time will deceleration from a run rate to a rate of 0 at the
+ ending, over the course of the specified proportion of the
+ simple duration.
+
+ <member>Decelerate</member> is
+ a value between 0 (no deceleration) and 1 (deceleration from beginning
+ of the elements duration).
+
+ @see http://www.w3.org/TR/smil20/smil-timemanip.html#adef-decelerate
+ */
+ [attribute] double Decelerate;
+
+ /** defines the auto reverse settings for this element.
+
+ <member>AutoRevers</member> is
+ <ul>
+ <li><false/> if the animation is played normal.</li>
+ <li><true/> if the animation is played forwards and then backwards. This doubles the duration</li>
+ </ul>
+
+ @see http://www.w3.org/TR/smil20/smil-timemanip.html#adef-autoReverse
+ */
+ [attribute] boolean AutoReverse;
+
+ /**
+ */
+ [attribute] sequence< ::com::sun::star::beans::NamedValue > UserData;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XAnimationNodeSupplier.idl b/offapi/com/sun/star/animations/XAnimationNodeSupplier.idl
new file mode 100644
index 000000000000..d7be5b71b05d
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAnimationNodeSupplier.idl
@@ -0,0 +1,51 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAnimationNodeSupplier_idl__
+#define __com_sun_star_animations_XAnimationNodeSupplier_idl__
+
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#include <com/sun/star/animations/XAnimationNode.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+*/
+interface XAnimationNodeSupplier
+{
+ XAnimationNode getAnimationNode();
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XAudio.idl b/offapi/com/sun/star/animations/XAudio.idl
new file mode 100644
index 000000000000..9a5c253132da
--- /dev/null
+++ b/offapi/com/sun/star/animations/XAudio.idl
@@ -0,0 +1,58 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XAudio_idl__
+#define __com_sun_star_animations_XAudio_idl__
+
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#include <com/sun/star/animations/XAnimationNode.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+*/
+interface XAudio : XAnimationNode
+{
+ /** This attribute specifies the source element that contains the audio.
+ */
+ [attribute] any Source;
+
+ /**
+ */
+ [attribute] double Volume;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/animations/XCommand.idl b/offapi/com/sun/star/animations/XCommand.idl
new file mode 100644
index 000000000000..5a24477ac5b6
--- /dev/null
+++ b/offapi/com/sun/star/animations/XCommand.idl
@@ -0,0 +1,66 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XCommand_idl__
+#define __com_sun_star_animations_XCommand_idl__
+
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#include <com/sun/star/animations/XAnimationNode.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Execution of the XCommand animation node causes the slideshow component
+ to call back the application to perform the command.
+*/
+interface XCommand : XAnimationNode
+{
+ /** The application specific target.
+ See documentation of used application for supported targets.
+ */
+ [attribute] any Target;
+
+ /** This identifies the application specific command.
+ See documentation of used application for commands.
+ */
+ [attribute] short Command;
+
+ /** The application specific parameter for this command.
+ See documentation of used application for supported parameters
+ for different commands and target combinations.
+ */
+ [attribute] any Parameter;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XIterateContainer.idl b/offapi/com/sun/star/animations/XIterateContainer.idl
new file mode 100644
index 000000000000..f22c5df4f0db
--- /dev/null
+++ b/offapi/com/sun/star/animations/XIterateContainer.idl
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XIterateContainer_idl__
+#define __com_sun_star_animations_XIterateContainer_idl__
+
+#ifndef __com_sun_star_animations_XTimeContainer_idl__
+#include <com/sun/star/animations/XTimeContainer.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** An iterate container iterates over subitems of a given target object
+ and animates them by subsequently executes the contained effects on them.
+ <br>
+ This could be used to animate a target text word by word or letter by
+ letter.
+*/
+interface XIterateContainer : XTimeContainer
+{
+ /** a target that contains iterateable contents, f.e. a paragraph.
+ <br>
+ See documentation of used animation engine for supported targets.
+ */
+ [attribute] any Target;
+
+ /** This attribute specifies an optional subitem from the target element
+ that should be animated.
+ <br>
+ A value of zero should always be the default and animate the complete target.
+ <br>
+ See documentation of used animation engine for supported subitems.
+ */
+ [attribute] short SubItem;
+
+ /** the type of iteration, this depends on the target.
+ <br>
+ See documentation of used animation engine for supported iteration types.
+ */
+ [attribute] short IterateType;
+
+ /** the time interval in percentage of the containers running time
+ before the next iterated content is animated.
+ */
+ [attribute] double IterateInterval;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XTargetPropertiesCreator.idl b/offapi/com/sun/star/animations/XTargetPropertiesCreator.idl
new file mode 100644
index 000000000000..13d726833b63
--- /dev/null
+++ b/offapi/com/sun/star/animations/XTargetPropertiesCreator.idl
@@ -0,0 +1,78 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XTargetPropertiesCreator_idl__
+#define __com_sun_star_animations_XTargetPropertiesCreator_idl__
+
+#ifndef __com_sun_star_animations_TargetProperties_idl__
+#include <com/sun/star/animations/TargetProperties.idl>
+#endif
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#include <com/sun/star/animations/XAnimationNode.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/** Factory interface to generate properties for all animated targets.<p>
+
+ Depending on mode and content of a SMIL animation tree, animation
+ targets can have global properties different from the target's
+ default. The most prominent example for such a difference is shape
+ visibility: when a shape is to become visible in the course of a
+ SMIL animation, it naturally has to be initially invisible for
+ that effect to have any visible impact.<p>
+
+ This factory interface is able to generate sequences of global
+ properties for all targets referenced in a given SMIL animation
+ tree.
+ */
+interface XTargetPropertiesCreator : ::com::sun::star::uno::XInterface
+{
+ /** Determine a sequence of global target properties.<p>
+
+ This method generates a sequence of TargetProperties in effect
+ before the given SMIL animations start. These properties
+ should be applied to the given animation targets, to achieve
+ correct playback of the SMIL animations.<p>
+
+ @param rootNode
+ Root node of the SMIL animation tree.
+ */
+ sequence< TargetProperties > createInitialTargetProperties( [in] XAnimationNode rootNode );
+
+};
+
+//=============================================================================
+
+service TargetPropertiesCreator: XTargetPropertiesCreator;
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XTimeContainer.idl b/offapi/com/sun/star/animations/XTimeContainer.idl
new file mode 100644
index 000000000000..2fa1681706f7
--- /dev/null
+++ b/offapi/com/sun/star/animations/XTimeContainer.idl
@@ -0,0 +1,132 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XTimeContainer_idl__
+#define __com_sun_star_animations_XTimeContainer_idl__
+
+#ifndef __com_sun_star_animations_XAnimationNode_idl__
+#include <com/sun/star/animations/XAnimationNode.idl>
+#endif
+
+#ifndef __com_sun_star_container_XContainer_idl__
+#include <com/sun/star/container/XContainer.idl>
+#endif
+
+#ifndef __com_sun_star_container_XEnumerationAccess_idl__
+#include <com/sun/star/container/XEnumerationAccess.idl>
+#endif
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+#ifndef __com_sun_star_container_ElementExistException_idl__
+#include <com/sun/star/container/ElementExistException.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+
+ Supported modules
+ <ul>
+ <li>BasicInlineTiming</li>
+ <li>EventTiming</li>
+ <li>FillDefault</li>
+ <li>MultiArcTiming</li>
+ <li>
+ RepeatTiming
+ <b>
+ The deprecated <code>repeat</code> is not supported.
+ </li>
+ <li>RestartDefault</li>
+ <li>RestartTiming</li>
+ <li>TimeContainerAttributes</li>
+ </ul>
+ @see http://www.w3.org/TR/smil20/smil-timing.html
+ @see http://www.w3.org/TR/smil20/smil-timing.html#Timing-TimingConcepts
+*/
+interface XTimeContainer : XAnimationNode
+{
+ /*
+ com::sun::star::container::XContainer;
+ com::sun::star::container::XEnumerationAccess;
+ */
+
+ /*
+ [attribute] long PresetId;
+ [attribute] long PresetSubType;
+ [attribute] long PresetClass;
+ */
+
+ /**
+ */
+ XAnimationNode insertBefore( [in] XAnimationNode newChild, [in] XAnimationNode refChild )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::container::NoSuchElementException,
+ com::sun::star::container::ElementExistException,
+ com::sun::star::lang::WrappedTargetException );
+
+ /**
+ */
+ XAnimationNode insertAfter( [in] XAnimationNode newChild, [in] XAnimationNode refChild )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::container::NoSuchElementException,
+ com::sun::star::container::ElementExistException,
+ com::sun::star::lang::WrappedTargetException );
+
+ /**
+ */
+ XAnimationNode replaceChild( [in] XAnimationNode newChild, [in] XAnimationNode oldChild )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::container::NoSuchElementException,
+ com::sun::star::container::ElementExistException,
+ com::sun::star::lang::WrappedTargetException );
+
+ /**
+ */
+ XAnimationNode removeChild( [in] XAnimationNode oldChild )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::container::NoSuchElementException,
+ com::sun::star::lang::WrappedTargetException );
+
+ /**
+ */
+ XAnimationNode appendChild( [in] XAnimationNode newChild )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::container::ElementExistException,
+ com::sun::star::lang::WrappedTargetException );
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/XTransitionFilter.idl b/offapi/com/sun/star/animations/XTransitionFilter.idl
new file mode 100644
index 000000000000..1a6eec80f382
--- /dev/null
+++ b/offapi/com/sun/star/animations/XTransitionFilter.idl
@@ -0,0 +1,99 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_animations_XTransitionFilter_idl__
+#define __com_sun_star_animations_XTransitionFilter_idl__
+
+#ifndef __com_sun_star_animations_XAnimate_idl__
+#include <com/sun/star/animations/XAnimate.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module animations {
+
+//=============================================================================
+
+/**
+ Base members <member>XAnimate::Values</member>, <member>XAnimate::From</member>,
+ <member>XAnimate::To</member> and <member>XAnimate::By</member> can be used
+ with <atom>double</atom> values that set the transition progress the specific
+ amount of time.
+
+
+ @see http://www.w3.org/TR/smil20/smil-transitions.html#edef-transitionFilter
+*/
+interface XTransitionFilter : XAnimate
+{
+ /** This is the type or family of transition.
+ <br>This attribute is required and must be one of the transition families listed in
+ <const>TransitionType</const>.
+ */
+ [attribute] short Transition;
+
+ /** This is the subtype of the transition.
+ <br>
+ This must be one of the transition subtypes appropriate for the specified <member>Type</member>
+ as listed in <const>TransitionSubType</const>.
+ <const>TransitionSubType::DEFAULT</const> is the default.
+ */
+ [attribute] short Subtype;
+
+ /** Indicates whether the transitionFilter's parent element will transition in or out.
+ Legal values are <true/> indicating that the parent media will become more visible as
+ the transition progress increases and <false/> indicating that the parent media will
+ become less visible as the transition progress increases.
+
+ The default value is <true/>.
+ */
+ [attribute] boolean Mode;
+
+ /** This specifies the direction the transition will run.
+ <br>
+ The legal values are <true/> for forward and <false/> for reverse.
+ The default value is <true/>.
+ Note that this does not impact the media being transitioned to, but
+ only affects the geometry of the transition.
+ Transitions which do not have a reverse interpretation should ignore the
+ direction attribute and assume the default value of <true/>.
+ */
+ [attribute] boolean Direction;
+
+ /** If the value of the <member>Type</member> attribute is <const>TransitionType::FADE</const> and
+ the value of the <member>Subtype</member> attribute is <const>TransitionSubType::FADETOCOLOR</const> or
+ <const>TransitionSubType::FADEFROMCOLOR</const>, then this attribute specifies the starting or ending
+ color of the fade.
+ The default value is 0 (black).
+
+ */
+ [attribute] long FadeColor;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/animations/makefile.mk b/offapi/com/sun/star/animations/makefile.mk
new file mode 100644
index 000000000000..f899d8c14304
--- /dev/null
+++ b/offapi/com/sun/star/animations/makefile.mk
@@ -0,0 +1,76 @@
+#*************************************************************************
+#
+# 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
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..$/..$/..$/..
+
+PRJNAME=offapi
+
+TARGET=cssanimations
+PACKAGE=com$/sun$/star$/animations
+
+# --- Settings -----------------------------------------------------
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+# ------------------------------------------------------------------------
+
+IDLFILES=\
+ AnimationAdditiveMode.idl\
+ AnimationCalcMode.idl\
+ AnimationColorSpace.idl\
+ AnimationEndSync.idl\
+ AnimationFill.idl\
+ AnimationNodeType.idl\
+ AnimationRestart.idl\
+ AnimationTransformType.idl\
+ AnimationValueType.idl\
+ Event.idl\
+ EventTrigger.idl\
+ TargetProperties.idl \
+ TimeFilterPair.idl\
+ Timing.idl\
+ TransitionSubType.idl\
+ TransitionType.idl\
+ ValuePair.idl\
+ XAnimate.idl\
+ XAnimateColor.idl\
+ XAnimateMotion.idl\
+ XAnimateSet.idl\
+ XAnimateTransform.idl\
+ XAnimationNode.idl\
+ XAnimationNodeSupplier.idl\
+ XAudio.idl\
+ XIterateContainer.idl\
+ XTargetPropertiesCreator.idl \
+ XTimeContainer.idl\
+ XTransitionFilter.idl\
+ XCommand.idl\
+ XAnimationListener.idl
+
+# ------------------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : $(PRJ)$/util$/target.pmk