1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_animations_AnimationEndSync_idl__
28#define __com_sun_star_animations_AnimationEndSync_idl__
29
30//=============================================================================
31
32 module com {  module sun {  module star {  module animations {
33
34//=============================================================================
35
36/** @see http://www.w3.org/TR/smil20/smil-timing.html#adef-endsync
37*/
38constants AnimationEndSync
39{
40	/** The par, excl, or media element's implicit duration ends with the earliest
41		active end of all the child elements. This does not refer to the lexical
42		first child, or to the first child to start, but rather refers to the first
43		child to end its (first) active duration.
44	*/
45	const short FIRST = 0;
46
47	/** The par, excl, or media element's implicit duration ends with the last active
48		end of the child elements. This does not refer to the lexical last child, or
49		to the last child to start, but rather refers to the last active end of all
50		children that have a resolved, definite begin time. If the time container
51		has no children with a resolved begin time, the time container ends
52		immediately. If child elements have multiple begin times, or otherwise
53		restart, the child elements must complete all instances of active durations
54		for resolved begin times.
55		This is the default value for par and excl elements.
56	*/
57	const short LAST = 1;
58
59	/** The par, excl, or media element's implicit duration ends when all of the
60		child elements have ended their respective active durations. Elements with
61		indefinite or unresolved begin times will keep the simple duration of the
62		time container from ending.
63		When all elements have completed the active duration one or more times,
64		the parent time container can end.
65	*/
66	const short ALL = 2;
67
68	/** The time container element's implicit duration ends when the intrinsic
69		media duration of the element ends. This must be defined by a host language.
70		If the time container element does not define an intrinsic media duration,
71		the host language must define the simple duration for the element.
72		This is the default value for media time container elements.
73	*/
74	const short MEDIA = 3;
75};
76
77//=============================================================================
78
79}; }; }; };
80
81#endif
82