diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 16:41:05 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 16:41:05 +0000 |
commit | ec95fe0d0b88d32f24504532740d76a3f6ee5c7c (patch) | |
tree | 899dbf3dd4bd366f4e20799478ad20c2c274f6bf /offapi/com/sun/star | |
parent | 1dc6bc93d05590877b498c60545f1b4f85a8b387 (diff) |
INTEGRATION: CWS presentationengine01 (1.1.2); FILE ADDED
2004/07/28 11:29:51 thb 1.1.2.1: Initial revision
Diffstat (limited to 'offapi/com/sun/star')
-rw-r--r-- | offapi/com/sun/star/animations/XAnimateTransform.idl | 113 | ||||
-rw-r--r-- | offapi/com/sun/star/animations/XAnimationNode.idl | 295 | ||||
-rw-r--r-- | offapi/com/sun/star/animations/XAnimationNodeSupplier.idl | 85 |
3 files changed, 493 insertions, 0 deletions
diff --git a/offapi/com/sun/star/animations/XAnimateTransform.idl b/offapi/com/sun/star/animations/XAnimateTransform.idl new file mode 100644 index 000000000000..3e92cdbc322b --- /dev/null +++ b/offapi/com/sun/star/animations/XAnimateTransform.idl @@ -0,0 +1,113 @@ +/************************************************************************* + * + * $RCSfile: XAnimateTransform.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2004-11-26 17:40:42 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#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/XAnimationNode.idl b/offapi/com/sun/star/animations/XAnimationNode.idl new file mode 100644 index 000000000000..1877920d9652 --- /dev/null +++ b/offapi/com/sun/star/animations/XAnimationNode.idl @@ -0,0 +1,295 @@ +/************************************************************************* + * + * $RCSfile: XAnimationNode.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2004-11-26 17:40:54 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#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<any></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<any></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..871742b46c52 --- /dev/null +++ b/offapi/com/sun/star/animations/XAnimationNodeSupplier.idl @@ -0,0 +1,85 @@ +/************************************************************************* + * + * $RCSfile: XAnimationNodeSupplier.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2004-11-26 17:41:05 $ + * + * The Contents of this file are made available subject to the terms of + * either of the following licenses + * + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 + * + * Sun Microsystems Inc., October, 2000 + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + * + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. + * + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. + * + * The Initial Developer of the Original Code is: Sun Microsystems, Inc. + * + * Copyright: 2000 by Sun Microsystems, Inc. + * + * All Rights Reserved. + * + * Contributor(s): _______________________________________ + * + * + ************************************************************************/ +#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 |