InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAnimationCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: SusanCL
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __IAnimationCmdData__
25 #define __IAnimationCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "DynamicDocumentsID.h"
29 #include "IAnimationData.h"
30 
31 
33 {
34 public:
35 
40  {
41  kNoDataSet = 0x00000000,
42 
43  kPresetSet = 0x00000001,
44  kDurationSet = 0x00000002,
45  kTransformOffsetSet = 0x00000004,
46  kMotionPathSet = 0x00000008,
47  kOpacitySet = 0x00000010,
48  kRotationSet = 0x00000020,
49  kScaleXSet = 0x00000040,
50  kScaleYSet = 0x00000080,
51  kPlaySet = 0x00000100,
52  kSimpleEaseTypeSet = 0x00000200,
53  kPlaysLoopSet = 0x00000400,
54  kAnimateOptionSet = 0x00000800,
55  kHideInitiallySet = 0x00001000,
56  kHideAfterSet = 0x00002000,
57 
58  kAllDataSet = 0xffffffff,
59 
60  kMaxAnimationDataSetFlags = 0xffffffff
61  };
62 
63  enum {kDefaultIID = IID_IANIMATIONCMDDATA};
64 
68  virtual void SetAnimationDataFlags (const uint32& cmdFlags) = 0;
69 
72  virtual uint32 GetAnimationDataFlags () const = 0;
73 
79  virtual void SetPreserveNonePresetSettings (bool preserveData) = 0;
80 
83  virtual bool GetPreserveNonePresetSettings () const = 0;
84 };
85 
86 #endif // __IAnimationCmdData__