1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_animations_AnimationEndSync_idl__
24#define __com_sun_star_animations_AnimationEndSync_idl__
25
26//=============================================================================
27
28 module com {  module sun {  module star {  module animations {
29
30//=============================================================================
31
32/** @see http://www.w3.org/TR/smil20/smil-timing.html#adef-endsync
33*/
34constants AnimationEndSync
35{
36	/** The par, excl, or media element's implicit duration ends with the earliest
37		active end of all the child elements. This does not refer to the lexical
38		first child, or to the first child to start, but rather refers to the first
39		child to end its (first) active duration.
40	*/
41	const short FIRST = 0;
42
43	/** The par, excl, or media element's implicit duration ends with the last active
44		end of the child elements. This does not refer to the lexical last child, or
45		to the last child to start, but rather refers to the last active end of all
46		children that have a resolved, definite begin time. If the time container
47		has no children with a resolved begin time, the time container ends
48		immediately. If child elements have multiple begin times, or otherwise
49		restart, the child elements must complete all instances of active durations
50		for resolved begin times.
51		This is the default value for par and excl elements.
52	*/
53	const short LAST = 1;
54
55	/** The par, excl, or media element's implicit duration ends when all of the
56		child elements have ended their respective active durations. Elements with
57		indefinite or unresolved begin times will keep the simple duration of the
58		time container from ending.
59		When all elements have completed the active duration one or more times,
60		the parent time container can end.
61	*/
62	const short ALL = 2;
63
64	/** The time container element's implicit duration ends when the intrinsic
65		media duration of the element ends. This must be defined by a host language.
66		If the time container element does not define an intrinsic media duration,
67		the host language must define the simple duration for the element.
68		This is the default value for media time container elements.
69	*/
70	const short MEDIA = 3;
71};
72
73//=============================================================================
74
75}; }; }; };
76
77#endif
78