update credits
[LibreOffice.git] / xmloff / inc / anim.hxx
blob9e1a0e54da4c0dac43a7f8a9e4c3cb015329948f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _XMLOFF_ANIM_HXX
21 #define _XMLOFF_ANIM_HXX
23 #include <com/sun/star/presentation/AnimationEffect.hpp>
24 #include <com/sun/star/drawing/XShape.hpp>
25 #include <xmloff/uniref.hxx>
26 #include <xmloff/xmlement.hxx>
28 enum XMLEffect
30 EK_none,
31 EK_fade,
32 EK_move,
33 EK_stripes,
34 EK_open,
35 EK_close,
36 EK_dissolve,
37 EK_wavyline,
38 EK_random,
39 EK_lines,
40 EK_laser,
41 EK_appear,
42 EK_hide,
43 EK_move_short,
44 EK_checkerboard,
45 EK_rotate,
46 EK_stretch
49 extern SvXMLEnumMapEntry aXML_AnimationEffect_EnumMap[];
51 enum XMLEffectDirection
53 ED_none,
54 ED_from_left,
55 ED_from_top,
56 ED_from_right,
57 ED_from_bottom,
58 ED_from_center,
59 ED_from_upperleft,
60 ED_from_upperright,
61 ED_from_lowerleft,
62 ED_from_lowerright,
64 ED_to_left,
65 ED_to_top,
66 ED_to_right,
67 ED_to_bottom,
68 ED_to_upperleft,
69 ED_to_upperright,
70 ED_to_lowerright,
71 ED_to_lowerleft,
73 ED_path,
74 ED_spiral_inward_left,
75 ED_spiral_inward_right,
76 ED_spiral_outward_left,
77 ED_spiral_outward_right,
79 ED_vertical,
80 ED_horizontal,
82 ED_to_center,
84 ED_clockwise,
85 ED_cclockwise
88 extern SvXMLEnumMapEntry aXML_AnimationDirection_EnumMap[];
90 extern SvXMLEnumMapEntry aXML_AnimationSpeed_EnumMap[];
92 void SdXMLImplSetEffect( ::com::sun::star::presentation::AnimationEffect eEffect, XMLEffect& eKind, XMLEffectDirection& eDirection, sal_Int16& nStartScale, sal_Bool& bIn );
93 ::com::sun::star::presentation::AnimationEffect ImplSdXMLgetEffect( XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, sal_Bool bIn );
95 #endif // _XMLOFF_ANIM_HXX
97 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */