nss: upgrade to release 3.73
[LibreOffice.git] / xmloff / inc / anim.hxx
blobf3fb92d38431bcf4f6ccd624fa95b322164fbc70
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 INCLUDED_XMLOFF_INC_ANIM_HXX
21 #define INCLUDED_XMLOFF_INC_ANIM_HXX
23 #include <com/sun/star/presentation/AnimationEffect.hpp>
24 #include <com/sun/star/presentation/AnimationSpeed.hpp>
25 #include <xmloff/xmlement.hxx>
27 enum XMLEffect
29 EK_none,
30 EK_fade,
31 EK_move,
32 EK_stripes,
33 EK_open,
34 EK_close,
35 EK_dissolve,
36 EK_wavyline,
37 EK_random,
38 EK_lines,
39 EK_laser,
40 EK_appear,
41 EK_hide,
42 EK_move_short,
43 EK_checkerboard,
44 EK_rotate,
45 EK_stretch
48 extern const SvXMLEnumMapEntry<XMLEffect> aXML_AnimationEffect_EnumMap[];
50 enum XMLEffectDirection
52 ED_none,
53 ED_from_left,
54 ED_from_top,
55 ED_from_right,
56 ED_from_bottom,
57 ED_from_center,
58 ED_from_upperleft,
59 ED_from_upperright,
60 ED_from_lowerleft,
61 ED_from_lowerright,
63 ED_to_left,
64 ED_to_top,
65 ED_to_right,
66 ED_to_bottom,
67 ED_to_upperleft,
68 ED_to_upperright,
69 ED_to_lowerright,
70 ED_to_lowerleft,
72 ED_path,
73 ED_spiral_inward_left,
74 ED_spiral_inward_right,
75 ED_spiral_outward_left,
76 ED_spiral_outward_right,
78 ED_vertical,
79 ED_horizontal,
81 ED_to_center,
83 ED_clockwise,
84 ED_cclockwise
87 extern const SvXMLEnumMapEntry<XMLEffectDirection> aXML_AnimationDirection_EnumMap[];
89 extern const SvXMLEnumMapEntry<css::presentation::AnimationSpeed> aXML_AnimationSpeed_EnumMap[];
91 void SdXMLImplSetEffect(css::presentation::AnimationEffect eEffect, XMLEffect& eKind,
92 XMLEffectDirection& eDirection, sal_Int16& nStartScale, bool& bIn);
93 css::presentation::AnimationEffect
94 ImplSdXMLgetEffect(XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, bool bIn);
96 #endif // INCLUDED_XMLOFF_INC_ANIM_HXX
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */