tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / xmloff / inc / anim.hxx
blobb0a4e61d22af25ad375ed8c7786985174cb3f831
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 #pragma once
22 #include <com/sun/star/presentation/AnimationEffect.hpp>
23 #include <com/sun/star/presentation/AnimationSpeed.hpp>
24 #include <xmloff/xmlement.hxx>
26 enum XMLEffect
28 EK_none,
29 EK_fade,
30 EK_move,
31 EK_stripes,
32 EK_open,
33 EK_close,
34 EK_dissolve,
35 EK_wavyline,
36 EK_random,
37 EK_lines,
38 EK_laser,
39 EK_appear,
40 EK_hide,
41 EK_move_short,
42 EK_checkerboard,
43 EK_rotate,
44 EK_stretch
47 extern const SvXMLEnumMapEntry<XMLEffect> aXML_AnimationEffect_EnumMap[];
49 enum XMLEffectDirection
51 ED_none,
52 ED_from_left,
53 ED_from_top,
54 ED_from_right,
55 ED_from_bottom,
56 ED_from_center,
57 ED_from_upperleft,
58 ED_from_upperright,
59 ED_from_lowerleft,
60 ED_from_lowerright,
62 ED_to_left,
63 ED_to_top,
64 ED_to_right,
65 ED_to_bottom,
66 ED_to_upperleft,
67 ED_to_upperright,
68 ED_to_lowerright,
69 ED_to_lowerleft,
71 ED_path,
72 ED_spiral_inward_left,
73 ED_spiral_inward_right,
74 ED_spiral_outward_left,
75 ED_spiral_outward_right,
77 ED_vertical,
78 ED_horizontal,
80 ED_to_center,
82 ED_clockwise,
83 ED_cclockwise
86 extern const SvXMLEnumMapEntry<XMLEffectDirection> aXML_AnimationDirection_EnumMap[];
88 extern const SvXMLEnumMapEntry<css::presentation::AnimationSpeed> aXML_AnimationSpeed_EnumMap[];
90 void SdXMLImplSetEffect(css::presentation::AnimationEffect eEffect, XMLEffect& eKind,
91 XMLEffectDirection& eDirection, sal_Int16& nStartScale, bool& bIn);
92 css::presentation::AnimationEffect
93 ImplSdXMLgetEffect(XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, bool bIn);
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */