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