Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / animations / AnimationEndSync.idl
blobf75d5e15166921d9448faf7334ca317124c9ee15
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_animations_AnimationEndSync_idl__
20 #define __com_sun_star_animations_AnimationEndSync_idl__
23 module com { module sun { module star { module animations {
26 /** @see http://www.w3.org/TR/smil20/smil-timing.html#adef-endsync
28 constants AnimationEndSync
30 /** The par, excl, or media element's implicit duration ends with the earliest
31 active end of all the child elements. This does not refer to the lexical
32 first child, or to the first child to start, but rather refers to the first
33 child to end its (first) active duration.
35 const short FIRST = 0;
37 /** The par, excl, or media element's implicit duration ends with the last active
38 end of the child elements. This does not refer to the lexical last child, or
39 to the last child to start, but rather refers to the last active end of all
40 children that have a resolved, definite begin time. If the time container
41 has no children with a resolved begin time, the time container ends
42 immediately. If child elements have multiple begin times, or otherwise
43 restart, the child elements must complete all instances of active durations
44 for resolved begin times.
45 This is the default value for par and excl elements.
47 const short LAST = 1;
49 /** The par, excl, or media element's implicit duration ends when all of the
50 child elements have ended their respective active durations. Elements with
51 indefinite or unresolved begin times will keep the simple duration of the
52 time container from ending.
53 When all elements have completed the active duration one or more times,
54 the parent time container can end.
56 const short ALL = 2;
58 /** The time container element's implicit duration ends when the intrinsic
59 media duration of the element ends. This must be defined by a host language.
60 If the time container element does not define an intrinsic media duration,
61 the host language must define the simple duration for the element.
62 This is the default value for media time container elements.
64 const short MEDIA = 3;
68 }; }; }; };
70 #endif
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */