Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sd / anminfo.hxx
blobb3e82e26ff41386d2134976398572c71cb17f745
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 #ifndef _COM_SUN_STAR_PRESENTATION_ANIMATIONEFFECT_HPP_
35 #include <com/sun/star/presentation/AnimationEffect.hpp>
36 #endif
37 #ifndef _COM_SUN_STAR_PRESENTATION_ANIMATIONSPEED_HPP_
38 #include <com/sun/star/presentation/AnimationSpeed.hpp>
39 #endif
40 #ifndef _COM_SUN_STAR_PRESENTATION_CLICKACTION_HPP_
41 #include <com/sun/star/presentation/ClickAction.hpp>
42 #endif
44 #ifndef _SVDOBJ_HXX //autogen
45 #include <bf_svx/svdobj.hxx>
46 #endif
47 #ifndef _COLOR_HXX //autogen
48 #include <tools/color.hxx>
49 #endif
50 class Polygon;
51 class Point;
52 class SvStream;
53 namespace binfilter {
55 class SdrObjSurrogate;
56 class SdrObject;
57 class SdrPathObj;
58 class SdDrawDocument;
60 class SdAnimationInfo : public SdrObjUserData, public SfxListener
62 private:
64 SdDrawDocument* pDoc;
66 public:
68 Polygon* pPolygon; // fuer nichtlinearen Pfad (unbenutzt)
69 Point aStart; // Startpunkt eines linearen Pfades (unbenutzt)
70 Point aEnd; // Endpunkt eines linearen Pfades (unbenutzt)
71 ::com::sun::star::presentation::AnimationEffect eEffect; // Animationseffekt
72 ::com::sun::star::presentation::AnimationEffect eTextEffect; // Animationseffekt fuer Textinhalt
73 ::com::sun::star::presentation::AnimationSpeed eSpeed; // Geschwindigkeit der Animation
74 BOOL bActive; // eingeschaltet ?
75 BOOL bDimPrevious; // Objekt abblenden
76 BOOL bIsMovie; // wenn Gruppenobjekt, dann Sequenz aus den
77 BOOL bDimHide; // verstecken statt abblenden
78 Color aBlueScreen; // identifiziert "Hintergrundpixel"
79 Color aDimColor; // zum Abblenden des Objekts
80 String aSoundFile; // Pfad zum Soundfile in MSDOS-Notation
81 BOOL bSoundOn; // Sound ein/aus
82 BOOL bPlayFull; // Sound ganz abspielen
83 SdrObjSurrogate* pPathSuro; // Surrogat fuer pPathObj
84 SdrPathObj* pPathObj; // das Pfadobjekt
85 ::com::sun::star::presentation::ClickAction eClickAction; // Aktion bei Mausklick
86 ::com::sun::star::presentation::AnimationEffect eSecondEffect; // fuer Objekt ausblenden
87 ::com::sun::star::presentation::AnimationSpeed eSecondSpeed; // fuer Objekt ausblenden
88 String aSecondSoundFile; // fuer Objekt ausblenden
89 BOOL bSecondSoundOn; // fuer Objekt ausblenden
90 BOOL bSecondPlayFull;// fuer Objekt ausblenden
91 String aBookmark; // Sprung zu Objekt/Seite
92 USHORT nVerb; // fuer OLE-Objekt
93 BOOL bInvisibleInPresentation;
94 BOOL bIsShown; // in der Show gerade sichtbar, NICHT PERSISTENT!
95 BOOL bShow; // Befehl: mit 1. Effekt zeigen (TRUE)
96 // oder mit 2. Effekt entfernen (FALSE)
97 // NICHT PERSISTENT!
98 BOOL bDimmed; // in der Show abgeblendet (TRUE) oder
99 // nicht (TRUE)
100 // NICHT PERSISTENT!
101 ULONG nPresOrder;
103 SdAnimationInfo(SdDrawDocument* pTheDoc);
104 SdAnimationInfo(const SdAnimationInfo& rAnmInfo);
105 virtual ~SdAnimationInfo();
107 virtual SdrObjUserData* Clone(SdrObject* pObj) const {DBG_BF_ASSERT(0, "STRIP"); return NULL;} //STRIP001 virtual SdrObjUserData* Clone(SdrObject* pObj) const;
109 virtual void WriteData(SvStream& rOut);
110 virtual void ReadData(SvStream& rIn);
112 // NULL loest die Verbindung zum Pfadobjekt
113 virtual void AfterRead();
116 } //namespace binfilter
117 #endif // _SD_ANMINFO_HXX