InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ILinkedPageItemPrefsCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Roey Horns
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 __ILinkedPageItemPrefsCmdData__
25 #define __ILinkedPageItemPrefsCmdData__
26 
27 #include "SharedContentID.h"
28 #include "IPMUnknown.h"
29 
30 #include "GenericID.h"
31 #include "GraphicStylesID.h"
32 #include "GraphicsID.h"
33 #include "DynamicDocumentsID.h"
34 #include "ILinkedPageItemPrefs.h"
35 
40 {
41  public:
42  enum { kDefaultIID = IID_ILINKEDPAGEITEMPREFSCMDDATA };
43 
44  /* Enumerates the state of an option.
45  The option's value should not be accessed if the state is "kValueNotSet" or "kValueMixed".
46  */
47  typedef enum
48  {
49  /* The option is turned OFF*/
50  kUnSet = 0,
51  /* The option is turned ON*/
52  kSet,
53  /* Do not change the option. This is the default */
54  kDoNotChange,
55 
56  } OptionState;
57 
58 
63  virtual void CopyData(const ILinkedPageItemPrefs *pCopyFrom) = 0;
64 
67  virtual void ResetState() = 0;
68 
69  virtual void SetOverridePathgeometry(OptionState bOverride) = 0;
70  virtual void SetOverrideGraphicAttributes(OptionState bOverride) = 0;
71  virtual void SetOverrideInteractiveAttributes(OptionState bOverride) = 0;
72  virtual void SetOverrideContent(OptionState bOverride) = 0;
73  virtual void SetOverrideOtherAttributes(OptionState bOverride) = 0;
74 
75  virtual OptionState GetOverridePathgeometry() = 0;
76  virtual OptionState GetOverrideGraphicAttributes() = 0;
77  virtual OptionState GetOverrideInteractiveAttributes() = 0;
78  virtual OptionState GetOverrideContent() = 0;
79  virtual OptionState GetOverrideOtherAttributes() = 0;
80 
85  virtual void SetUpdateLinkWhileSaving(OptionState bUpdate) = 0;
86 
91  virtual OptionState GetUpdateLinkWhileSaving() const = 0;
92 
98  virtual void SetShowWarningOnUpdateOfEditedPageItem(OptionState bWarn) = 0;
99 
105  virtual OptionState GetShowWarningOnUpdateOfEditedPageItem() const = 0;
106 };
107 
108 #endif