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_EventTrigger_idl__
24#define __com_sun_star_animations_EventTrigger_idl__
25
26//=============================================================================
27
28 module com {  module sun {  module star {  module animations {
29
30//=============================================================================
31
32/**
33*/
34constants EventTrigger
35{
36	/** Nothing triggers this event.
37	*/
38	const short NONE = 0;
39
40	const short ON_BEGIN = 1;
41	const short ON_END = 2;
42
43	/** This event is raised when the element local timeline begins to play.
44		It will be raised each time the element begins the active duration
45		(i.e. when it restarts, but not when it repeats).
46
47		@see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
48	*/
49	const short BEGIN_EVENT = 3;
50
51	/** This event is raised at the active end of the element. Note that this
52		event is not raised at the simple end of each repeat.
53
54		@see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
55	*/
56	const short END_EVENT = 4;
57
58	const short ON_CLICK = 5;
59
60	const short ON_DBL_CLICK = 6;
61	const short ON_MOUSE_ENTER = 7;
62	const short ON_MOUSE_LEAVE = 8;
63
64	/** This event is raised when the user wants the presentation to go one step foreward.
65	*/
66	const short ON_NEXT = 9;
67
68	/** This event is raised when the user wants the presentation to go one step backward.
69	*/
70	const short ON_PREV = 10;
71
72	const short ON_STOP_AUDIO = 11;
73
74	/**  This event is raised when the element local timeline repeats.
75		It will be raised each time the element repeats, after the first iteration.
76
77		@see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
78	*/
79	const short REPEAT = 12;
80};
81
82
83//=============================================================================
84
85}; }; }; };
86
87#endif
88