merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / animations / EventTrigger.idl
blob1ad3b0e07ccadd3b9ec5d6ba599327d8236eedb3
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: EventTrigger.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_EventTrigger_idl__
31 #define __com_sun_star_animations_EventTrigger_idl__
33 //=============================================================================
35 module com { module sun { module star { module animations {
37 //=============================================================================
39 /**
41 constants EventTrigger
43 /** Nothing triggers this event.
45 const short NONE = 0;
47 const short ON_BEGIN = 1;
48 const short ON_END = 2;
50 /** This event is raised when the element local timeline begins to play.
51 It will be raised each time the element begins the active duration
52 (i.e. when it restarts, but not when it repeats).
54 @see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
56 const short BEGIN_EVENT = 3;
58 /** This event is raised at the active end of the element. Note that this
59 event is not raised at the simple end of each repeat.
61 @see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
63 const short END_EVENT = 4;
65 const short ON_CLICK = 5;
67 const short ON_DBL_CLICK = 6;
68 const short ON_MOUSE_ENTER = 7;
69 const short ON_MOUSE_LEAVE = 8;
71 /** This event is raised when the user wants the presentation to go one step foreward.
73 const short ON_NEXT = 9;
75 /** This event is raised when the user wants the presentation to go one step backward.
77 const short ON_PREV = 10;
79 const short ON_STOP_AUDIO = 11;
81 /** This event is raised when the element local timeline repeats.
82 It will be raised each time the element repeats, after the first iteration.
84 @see http://www.w3.org/TR/smil20/smil-timing.html#Timing-DOMEvents
86 const short REPEAT = 12;
90 //=============================================================================
92 }; }; }; };
94 #endif