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_XTargetPropertiesCreator_idl__
24#define __com_sun_star_animations_XTargetPropertiesCreator_idl__
25
26#ifndef __com_sun_star_animations_TargetProperties_idl__
27#include <com/sun/star/animations/TargetProperties.idl>
28#endif
29#ifndef __com_sun_star_animations_XAnimationNode_idl__
30#include <com/sun/star/animations/XAnimationNode.idl>
31#endif
32
33//=============================================================================
34
35 module com {  module sun {  module star {  module animations {
36
37//=============================================================================
38
39/** Factory interface to generate properties for all animated targets.<p>
40
41    Depending on mode and content of a SMIL animation tree, animation
42    targets can have global properties different from the target's
43    default. The most prominent example for such a difference is shape
44    visibility: when a shape is to become visible in the course of a
45    SMIL animation, it naturally has to be initially invisible for
46    that effect to have any visible impact.<p>
47
48    This factory interface is able to generate sequences of global
49    properties for all targets referenced in a given SMIL animation
50    tree.
51 */
52interface XTargetPropertiesCreator : ::com::sun::star::uno::XInterface
53{
54    /** Determine a sequence of global target properties.<p>
55
56    	This method generates a sequence of TargetProperties in effect
57    	before the given SMIL animations start. These properties
58    	should be applied to the given animation targets, to achieve
59    	correct playback of the SMIL animations.<p>
60
61    	@param rootNode
62        Root node of the SMIL animation tree.
63     */
64    sequence< TargetProperties > createInitialTargetProperties( [in] XAnimationNode rootNode );
65
66};
67
68//=============================================================================
69
70service TargetPropertiesCreator: XTargetPropertiesCreator;
71
72}; }; }; };
73
74#endif
75