Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: animations ::

unpublished constants group AnimationFill
Usage Restrictions
not published
Description
This constants are used for the members fill and fillDefault of the an XTimeContainer.
See also
XTimeContainer, http://www.w3.org/TR/smil20/smil-timing.html#adef-fill

Constants
DEFAULT The fill behavior for the element is determined by the value of the ::XTiming::FillDefault attribute. This is the default value for the ::XTiming::Fill.. 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 AnimationFill::AUTO.  
INHERIT Specifies that the value of this attribute (and of the fill behavior) are inherited from the ::XTiming::FillDefault value of the parent element. If there is no parent element, the value is AnimationFill::AUTO. This is the default value for the ::XTiming::FillDefault.  
REMOVE Specifies that the element will not extend past the end of the last instance of the simple duration.  
FREEZE 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).  
HOLD 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.  
TRANSITION 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.  
AUTO The fill behavior for this element depends on whether the element specifies any of the attributes that define the simple or active duration:  
Constants' Details
DEFAULT
const short DEFAULT = 0;
Description
The fill behavior for the element is determined by the value of the ::XTiming::FillDefault attribute. This is the default value for the ::XTiming::Fill.. 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 AnimationFill::AUTO.
INHERIT
const short INHERIT = 0;
Description
Specifies that the value of this attribute (and of the fill behavior) are inherited from the ::XTiming::FillDefault value of the parent element. If there is no parent element, the value is AnimationFill::AUTO. This is the default value for the ::XTiming::FillDefault.
REMOVE
const short REMOVE = 1;
Description
Specifies that the element will not extend past the end of the last instance of the simple duration.
FREEZE
const short FREEZE = 2;
Description
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).
HOLD
const short HOLD = 3;
Description
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.
TRANSITION
const short TRANSITION = 4;
Description
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.
AUTO
const short AUTO = 5;
Description
The fill behavior for this element depends on whether the element specifies any of the attributes that define the simple or active duration:
  • 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 AnimationFill::FREEZE.
  • Otherwise, the element will have a fill behavior identical to that if it were specified as AnimationFill::REMOVE
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.