bump product version to 4.1.6.2
[LibreOffice.git] / sd / inc / anminfo.hxx
blob72f2a96a7f8fdbe5bd60ace56ce9e1ba76531855
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 _SD_ANMINFO_HXX
21 #define _SD_ANMINFO_HXX
23 #include <com/sun/star/presentation/AnimationEffect.hpp>
24 #include <com/sun/star/presentation/AnimationSpeed.hpp>
25 #include <com/sun/star/presentation/ClickAction.hpp>
26 #include "pres.hxx"
27 #include <svx/svdobj.hxx>
28 #include <tools/color.hxx>
29 #include <sddllapi.h>
31 class SdrObject;
32 class SdrPathObj;
34 class SdAnimationInfo : public SdrObjUserData
36 public:
37 PresObjKind mePresObjKind;
39 /* deprecated animation infos */
40 ::com::sun::star::presentation::AnimationEffect meEffect; ///< Animation effect
41 ::com::sun::star::presentation::AnimationEffect meTextEffect; ///< Animation effect for text content
42 ::com::sun::star::presentation::AnimationSpeed meSpeed; ///< Speed of the animation
43 sal_Bool mbActive; ///< turned on?
44 sal_Bool mbDimPrevious; ///< Object fade out
45 sal_Bool mbIsMovie; ///< if group object than it is a sequence of them.
46 sal_Bool mbDimHide; ///< hide rather than dim
47 Color maBlueScreen; ///< identifies "background pixels"
48 Color maDimColor; ///< for fading the object
49 String maSoundFile; ///< Path to the sound file in MS DOS notation
50 sal_Bool mbSoundOn; ///< Sound on / off
51 sal_Bool mbPlayFull; ///< play sound completely.
52 SdrPathObj* mpPathObj; ///< The path object
53 ::com::sun::star::presentation::ClickAction meClickAction; ///< Action at mouse click
54 ::com::sun::star::presentation::AnimationEffect meSecondEffect; ///< for object fading.
55 ::com::sun::star::presentation::AnimationSpeed meSecondSpeed; ///< for object fading.
56 String maSecondSoundFile; ///< for object fading.
57 sal_Bool mbSecondSoundOn; ///< for object fading.
58 sal_Bool mbSecondPlayFull; ///< for object fading.
59 sal_uInt16 mnVerb; ///< for OLE object
60 sal_uLong mnPresOrder;
61 SdrObject& mrObject;
63 SD_DLLPUBLIC void SetBookmark( const String& rBookmark );
64 SD_DLLPUBLIC String GetBookmark();
65 public:
66 SdAnimationInfo(SdrObject& rObject);
67 SdAnimationInfo(const SdAnimationInfo& rAnmInfo, SdrObject& rObject);
68 virtual ~SdAnimationInfo();
70 virtual SdrObjUserData* Clone(SdrObject* pObject) const;
73 #endif // _SD_ANMINFO_HXX
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */