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