From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- offapi/com/sun/star/animations/XAnimationNode.idl | 243 ++++++++++++++++++++++ 1 file changed, 243 insertions(+) create mode 100644 offapi/com/sun/star/animations/XAnimationNode.idl (limited to 'offapi/com/sun/star/animations/XAnimationNode.idl') diff --git a/offapi/com/sun/star/animations/XAnimationNode.idl b/offapi/com/sun/star/animations/XAnimationNode.idl new file mode 100644 index 000000000..5c7286ce3 --- /dev/null +++ b/offapi/com/sun/star/animations/XAnimationNode.idl @@ -0,0 +1,243 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + */ +#ifndef __com_sun_star_animations_XAnimationNode_idl__ +#define __com_sun_star_animations_XAnimationNode_idl__ + +#include +#include + + + module com { module sun { module star { module animations { + + +interface XAnimationNode : ::com::sun::star::container::XChild +{ + /** a value from AnimationNodeType. + + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-timeContainer + */ + [readonly, attribute] short Type; + + /** a sequence of values that define the beginning of this element +
+ #Begin is +
    +
  • `double` 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.
  • +
  • Event 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.
  • +
  • Timing::INDEFINITE the begin of the element will be determined by an + external event to the element.
  • +
  • sequence<any> a sequence of values described above if more than + one begin value is defined for this element.
  • +
  • `VOID` if no begin behavior is defined for this element.
  • +
+ + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-begin + */ + [attribute] any Begin; + + /** defines the length of the simple duration. +
+ #Duration is +
    +
  • `double` specifies the length of the simple duration in seconds.
  • +
  • Timing::INDEFINITE specifies the simple duration as indefinite.
  • +
  • Timing::MEDIA specifies the simple duration as the intrinsic media duration. This is only valid for elements that define media.
  • +
  • `VOID` the simple duration for the element is defined to be the implicit duration of the element.
  • +
+ + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-dur + */ + [attribute] any Duration; + + /** a sequence of values that define the ending of this element +
+ #End is +
    +
  • `double` 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.
  • +
  • Event 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.
  • +
  • Timing::INDEFINITE the end of the element will be determined by an + external event to the element.
  • +
  • sequence<any> a sequence of values described above if more than + one begin value is defined for this element.
  • +
  • `VOID` if no end behavior is defined for this element.
  • +
+ + @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. +
+ 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). + + #EndSync is + either a `short` constant from EndSync, + an interface reference to a child XTimeContainer + 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. +
+ #RepeatCount is +
    +
  • `double` + 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.
  • +
  • Timing::INDEFINITE the element is defined to repeat indefinitely + (subject to the constraints of the parent time container).
  • +
  • `VOID` + no repeat count is defined for this element.
  • +
+ + @see EndSync + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-repeatCount + */ + [attribute] any RepeatCount; + + /** the total duration for repeat. +
+ #RepeatDuration is +
    +
  • `double` + specifies the duration in element active time + to repeat the simple duration in seconds.
  • +
  • Timing::INDEFINITE the element is defined to repeat indefinitely + (subject to the constraints of the parent time container).
  • +
  • `VOID` + No repeat duration is defined for this element.
  • +
+ + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-repeatDur + */ + [attribute] any RepeatDuration; + + /** the attribute that specify the behavior how an element + should be extended beyond the active duration by freezing the final + state of the element. +
+ #Fill is + a value from AnimationFill. + + @see Fill + @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 + descendants. +
+ #FillDefault is +
    +
  • The values AnimationFill::REMOVE, AnimationFill::FREEZE, + AnimationFill::HOLD, AnimationFill::TRANSITION and AnimationFill::AUTO + specify that the element fill behavior is the respective value.
  • +
  • The value AnimationFill::INHERIT specifies that the value of this attribute + (and of the fill behavior) are inherited from the #FillDefault value of the parent + element. If there is no parent element, the value is AnimationFill::AUTO.
  • +
+ + @see Fill + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-fillDefault + */ + [attribute] short FillDefault; + + /** defines the restart behavior of this element. +
+ #Restart is + a `short` value from AnimationRestart. + + @see AnimationRestart + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restart + */ + [attribute] short Restart; + + /** defines the default restart behavior for this element and all descendants. + + @returns + a value from Restart. + + @see AnimationRestart + @see http://www.w3.org/TR/smil20/smil-timing.html#adef-restartDefault + */ + [attribute] short RestartDefault; + + /** defines the acceleration for this element. +
+ 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. + + #Acceleration 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. + + #Decelerate 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. + + #AutoReverse is +
    +
  • `FALSE` if the animation is played normal.
  • +
  • `TRUE` if the animation is played forwards and then backwards. This doubles the duration
  • +
+ + @see http://www.w3.org/TR/smil20/smil-timemanip.html#adef-autoReverse + */ + [attribute] boolean AutoReverse; + + [attribute] sequence< ::com::sun::star::beans::NamedValue > UserData; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3