merge the formfield patch from ooo-build
[ooovba.git] / xmloff / inc / anim.hxx
blob422a3ae0e14bf31fa1c1e1244b460af0706fbbf3
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: anim.hxx,v $
10 * $Revision: 1.6 $
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 ************************************************************************/
31 #ifndef _XMLOFF_ANIM_HXX
32 #define _XMLOFF_ANIM_HXX
34 #include <com/sun/star/presentation/AnimationEffect.hpp>
35 #include <com/sun/star/drawing/XShape.hpp>
36 #include <xmloff/uniref.hxx>
37 #include <xmloff/xmlement.hxx>
39 enum XMLEffect
41 EK_none,
42 EK_fade,
43 EK_move,
44 EK_stripes,
45 EK_open,
46 EK_close,
47 EK_dissolve,
48 EK_wavyline,
49 EK_random,
50 EK_lines,
51 EK_laser,
52 EK_appear,
53 EK_hide,
54 EK_move_short,
55 EK_checkerboard,
56 EK_rotate,
57 EK_stretch
60 extern SvXMLEnumMapEntry aXML_AnimationEffect_EnumMap[];
62 enum XMLEffectDirection
64 ED_none,
65 ED_from_left,
66 ED_from_top,
67 ED_from_right,
68 ED_from_bottom,
69 ED_from_center,
70 ED_from_upperleft,
71 ED_from_upperright,
72 ED_from_lowerleft,
73 ED_from_lowerright,
75 ED_to_left,
76 ED_to_top,
77 ED_to_right,
78 ED_to_bottom,
79 ED_to_upperleft,
80 ED_to_upperright,
81 ED_to_lowerright,
82 ED_to_lowerleft,
84 ED_path,
85 ED_spiral_inward_left,
86 ED_spiral_inward_right,
87 ED_spiral_outward_left,
88 ED_spiral_outward_right,
90 ED_vertical,
91 ED_horizontal,
93 ED_to_center,
95 ED_clockwise,
96 ED_cclockwise
99 extern SvXMLEnumMapEntry aXML_AnimationDirection_EnumMap[];
101 extern SvXMLEnumMapEntry aXML_AnimationSpeed_EnumMap[];
103 void SdXMLImplSetEffect( ::com::sun::star::presentation::AnimationEffect eEffect, XMLEffect& eKind, XMLEffectDirection& eDirection, sal_Int16& nStartScale, sal_Bool& bIn );
104 ::com::sun::star::presentation::AnimationEffect ImplSdXMLgetEffect( XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, sal_Bool bIn );
106 #endif // _XMLOFF_ANIM_HXX