Update ooo320-m1
[ooovba.git] / sd / inc / anminfo.hxx
blob3fa33a2bf21e56f86919fa197717c7f2bd55041a
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: anminfo.hxx,v $
10 * $Revision: 1.8 $
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 _SD_ANMINFO_HXX
32 #define _SD_ANMINFO_HXX
34 #include <com/sun/star/presentation/AnimationEffect.hpp>
35 #include <com/sun/star/presentation/AnimationSpeed.hpp>
36 #include <com/sun/star/presentation/ClickAction.hpp>
37 #include "pres.hxx"
38 #include "anmdef.hxx"
39 #include <svx/svdobj.hxx>
40 #include <tools/color.hxx>
41 #include <sddllapi.h>
43 class Polygon;
44 class Point;
45 class SvStream;
46 class SdrObjSurrogate;
47 class SdrObject;
48 class SdrPathObj;
49 class SdDrawDocument;
51 class SdAnimationInfo : public SdrObjUserData
53 public:
54 PresObjKind mePresObjKind;
56 /* deprecated animation infos */
57 ::com::sun::star::presentation::AnimationEffect meEffect; // Animationseffekt
58 ::com::sun::star::presentation::AnimationEffect meTextEffect; // Animationseffekt fuer Textinhalt
59 ::com::sun::star::presentation::AnimationSpeed meSpeed; // Geschwindigkeit der Animation
60 BOOL mbActive; // eingeschaltet ?
61 BOOL mbDimPrevious; // Objekt abblenden
62 BOOL mbIsMovie; // wenn Gruppenobjekt, dann Sequenz aus den
63 BOOL mbDimHide; // verstecken statt abblenden
64 Color maBlueScreen; // identifiziert "Hintergrundpixel"
65 Color maDimColor; // zum Abblenden des Objekts
66 String maSoundFile; // Pfad zum Soundfile in MSDOS-Notation
67 BOOL mbSoundOn; // Sound ein/aus
68 BOOL mbPlayFull; // Sound ganz abspielen
69 SdrPathObj* mpPathObj; // das Pfadobjekt
70 ::com::sun::star::presentation::ClickAction meClickAction; // Aktion bei Mausklick
71 ::com::sun::star::presentation::AnimationEffect meSecondEffect; // fuer Objekt ausblenden
72 ::com::sun::star::presentation::AnimationSpeed meSecondSpeed; // fuer Objekt ausblenden
73 String maSecondSoundFile; // fuer Objekt ausblenden
74 BOOL mbSecondSoundOn; // fuer Objekt ausblenden
75 BOOL mbSecondPlayFull;// fuer Objekt ausblenden
76 // String maBookmark; // Sprung zu Objekt/Seite
77 USHORT mnVerb; // fuer OLE-Objekt
78 ULONG mnPresOrder;
79 SdrObject& mrObject;
81 SD_DLLPUBLIC void SetBookmark( const String& rBookmark );
82 SD_DLLPUBLIC String GetBookmark();
83 public:
84 SdAnimationInfo(SdrObject& rObject);
85 SdAnimationInfo(const SdAnimationInfo& rAnmInfo, SdrObject& rObject);
86 virtual ~SdAnimationInfo();
88 virtual SdrObjUserData* Clone(SdrObject* pObject) const;
91 #endif // _SD_ANMINFO_HXX